Policy-Based Radiative Transfer: Solving the $2$-Level Atom Non-LTE Problem using Soft Actor-Critic Reinforcement Learning
Brandon Panos, Ivan Milic
TL;DR
This work reframes the classical 2-level atom non-LTE radiative transfer problem as a control task where a reinforcement learning agent learns a depth-dependent source function $S(τ_c)$ that self-consistently satisfies the SE. Using Soft Actor-Critic to optimize a parameterized sigmoid-based representation of $S(τ_c)$, the agent interacts with a radiative transfer solver to maximize a reward based on the SE residual, avoiding labeled data or backpropagation through the solver. In a 1D plane-parallel, CRD setup, the SAC policy achieves SE with fewer inner-loop iterations than the traditional ALI method, whereas a greedy feedforward network fails due to the moving-target nature of the problem. The study demonstrates a Λ*-free RL pathway to SE with potential applicability to more complex atmospheres and geometries, offering a flexible framework that could accelerate radiative transfer computations when generalized beyond the training regime.
Abstract
We present a novel reinforcement learning (RL) approach for solving the classical 2-level atom non-LTE radiative transfer problem by framing it as a control task in which an RL agent learns a depth-dependent source function $S(τ)$ that self-consistently satisfies the equation of statistical equilibrium (SE). The agent's policy is optimized entirely via reward-based interactions with a radiative transfer engine, without explicit knowledge of the ground truth. This method bypasses the need for constructing approximate lambda operators ($Λ^*$) common in accelerated iterative schemes. Additionally, it requires no extensive precomputed labeled datasets to extract a supervisory signal, and avoids backpropagating gradients through the complex RT solver itself. Finally, we show through experiment that a simple feedforward neural network trained greedily cannot solve for SE, possibly due to the moving target nature of the problem. Our $Λ^*-\text{Free}$ method offers potential advantages for complex scenarios (e.g., atmospheres with enhanced velocity fields, multi-dimensional geometries, or complex microphysics) where $Λ^*$ construction or solver differentiability is challenging. Additionally, the agent can be incentivized to find more efficient policies by manipulating the discount factor, leading to a reprioritization of immediate rewards. If demonstrated to generalize past its training data, this RL framework could serve as an alternative or accelerated formalism to achieve SE. To the best of our knowledge, this study represents the first application of reinforcement learning in solar physics that directly solves for a fundamental physical constraint.
