---
title: Differentiable Atmospheric Scattering Model
url: https://www.emergentmind.com/topics/differentiable-atmospheric-scattering-model
type: topic
---

# Differentiable Atmospheric Scattering Model

Searching arXiv for recent papers on differentiable atmospheric scattering, dehazing, and atmospheric transport.
A differentiable atmospheric scattering model is an atmospheric image-formation or radiative-transport model whose outputs are treated as smooth functions of physical parameters, latent geometric variables, or learned fields, so that gradients can be propagated through transmittance, optical-depth integrals, phase functions, inverse operators, and numerical solvers. In the recent literature, the term spans several closely related constructions: pixelwise dehazing models derived from the classical atmospheric scattering model, geometry-aware generalizations for non-uniform media, PDE- and ODE-based differentiable inversion operators, and differentiable or differentiability-oriented formulations of full multiple-scattering transport in the atmosphere [2108.11292], [1402.3927], [2506.08793], [2404.19605], [2606.16392].

## 1. Foundational formulations

At the image-formation level, the standard atmospheric scattering model writes the observed hazy image as
\[
I(x,y) = J(x,y)\, t(x,y) + A\,(1 - t(x,y)),
\]
with
\[
t(x,y) = e^{-\beta d(x,y)}.
\]
Here \(I\) is the observed hazy image, \(J\) the haze-free scene radiance, \(t\) the transmission, \(d\) the scene depth, \(\beta\) the angular scattering coefficient, and \(A\) the atmospheric light factor. In this formulation, differentiability is immediate because the forward map is composed of additions, multiplications, and an exponential [2108.11292].

At the transport level, the same idea appears as an optical-depth or radiative-transfer problem. A Monte Carlo treatment of atmospheric multiple scattering can be viewed as a path-based stochastic solution of the time-dependent radiative transfer equation,
\[
\frac{1}{c}\frac{\partial I(\mathbf{x}, \mathbf{\Omega}, t)}{\partial t} + \mathbf{\Omega}\cdot\nabla I(\mathbf{x}, \mathbf{\Omega}, t)
= -\sigma_t(\mathbf{x}) I(\mathbf{x}, \mathbf{\Omega}, t)
+ \int_{4\pi} \sigma_s(\mathbf{x}) p(\mathbf{\Omega}'\to\mathbf{\Omega}) I(\mathbf{x}, \mathbf{\Omega}', t)\,\mathrm{d}\mathbf{\Omega}'
+ S(\mathbf{x},\mathbf{\Omega},t),
\]
where \(\sigma_t\) is total extinction, \(\sigma_s\) the scattering coefficient, \(p\) the phase function, and \(S\) the source term [1402.3927]. A related planetary rendering formulation uses the phenomenological radiative transfer equation for radiance \(L(\mathbf{x},\boldsymbol{\omega},\lambda)\) with extinction \(\beta^{ext}=\beta^{abs}+\beta^{scat}\), a phase function \(P\), and transmittance
\[
T(\mathbf{x},\mathbf{x}_0)=\exp\left(-\int_{\mathbf{x}}^{\mathbf{x}_0}\beta^{ext}(\mathbf{y})\,d\mathbf{y}\right),
\]
again exposing a smooth dependence on extinction profiles and path geometry [2010.03534].

These two views are not contradictory. The recent literature instead presents a hierarchy: low-dimensional haze equations for inverse imaging, and higher-dimensional radiative-transfer models when multiple scattering, angular structure, or wavelength dependence must be retained. This suggests that “differentiable atmospheric scattering” is best understood as a modeling class rather than a single canonical equation.

## 2. From homogeneous haze models to spatially varying and geometry-aware models

The classical atmospheric scattering model assumes a global atmospheric light \(A\) and a global scattering coefficient \(\beta\), so that only depth varies spatially. This assumption is explicitly challenged in work on real-world dehazing, where non-uniform illumination motivates \(A(x,y)\) and heterogeneous haze motivates \(\beta(x,y)\). The resulting fully non-homogeneous atmospheric scattering model is
\[
I(x,y) = J(x,y)\, e^{-\beta(x,y) d(x,y)} + A(x,y)\bigl(1 - e^{-\beta(x,y) d(x,y)}\bigr),
\]
with inverse
\[
J(x,y) = \bigl(I(x,y) - A(x,y)\bigr)\, e^{\beta(x,y) d(x,y)} + A(x,y).
\]
For each pixel, \(J\) is therefore a smooth function of \(A\), \(\beta\), and \(d\), and the model admits analytic partial derivatives such as
\[
\frac{\partial J}{\partial A} = 1 - e^{\beta d}, \qquad
\frac{\partial J}{\partial \beta} = (I-A)\, d\, e^{\beta d}, \qquad
\frac{\partial J}{\partial d} = (I-A)\, \beta\, e^{\beta d}.
\]
The same work further shows that image error is linear in ALF bias \(\Delta A\), but nonlinear in ASC and depth biases \(\Delta\beta\) and \(\Delta d\), which motivates asymmetric, state-dependent losses for differentiable learning [2108.11292].

A distinct generalization is geometry-aware rather than purely pixelwise. For UAV imagery, the UAV Atmospheric Scattering Model introduces flight altitude \(H\), pitch angle \(\varphi\), and altitude-varying extinction. Along a line of sight parameterized by arc length \(s\),
\[
z(s) = H - s\sin\varphi,
\]
and the optical thickness is
\[
\tau(\mathbf{p};\varphi,H) = \int_{0}^{d(\mathbf{p})} \beta_g \exp\left( -\frac{H - s\sin\varphi}{h_s} \right) \bigl(1+\delta_{\beta}(\mathbf{p})\bigr)\,ds.
\]
For ground-intersecting rays this yields the closed form
\[
\tau(\mathbf{p};\varphi,H) = \frac{\beta_g h_s}{\sin\varphi} \bigl(1-e^{-H/h_s}\bigr) \bigl(1+\delta_{\beta}(\mathbf{p})\bigr),
\]
and transmittance
\[
t(\mathbf{p};\varphi,H)=\exp\big(-\tau(\mathbf{p};\varphi,H)\big).
\]
The image-formation equation remains
\[
\mathbf{I}_c(\mathbf{p}) = \mathbf{J}_c(\mathbf{p})\,t(\mathbf{p};\varphi,H) + \mathbf{A}_c(\mathbf{p})\Bigl(1-t(\mathbf{p};\varphi,H)\Bigr),
\]
but now the non-uniformity is tied to explicit geometry rather than an unconstrained per-pixel field [2606.16392].

A common misconception is that differentiability requires abandoning physical parameterization. The current literature instead tends to preserve an explicit optical-depth structure—global \(A,\beta\) in the classical model, \(A(x,y),\beta(x,y)\) in FNH-ASM, or altitude–pitch factorization in UASM—and then differentiates through that structure.

## 3. Phase functions, vertical profiles, and multiple scattering

In full atmospheric transport, differentiability depends not only on transmittance but also on how densities and phase functions are parameterized. A representative multiple-scattering study models a vertically inhomogeneous, laterally homogeneous atmosphere with two populations—molecules and aerosols—using height-dependent attenuation lengths \(\Lambda_{\mathrm{mol}}(h_{\mathrm{agl}})\) and \(\Lambda_{\mathrm{aer}}(h_{\mathrm{agl}})\) of exponential form. Typical molecular parameters are \(\Lambda^{0}_{\mathrm{mol}}=14.2\,\text{km}\) and \(H^{0}_{\mathrm{mol}}=8.0\,\text{km}\), while aerosols use \(H^{0}_{\mathrm{aer}}=1.5\,\text{km}\) and variable \(\Lambda^{0}_{\mathrm{aer}}\). Because these profiles are exponential in altitude and scale parameters, they are explicitly smooth with respect to \(\Lambda^0\), \(H^0\), and height [1402.3927].

The same study uses the Rayleigh phase function for molecules,
\[
P_{\mathrm{mol}}(\psi) = \frac{3}{16 \pi} \bigl( 1 + \cos^2{\psi} \bigr),
\]
and a Double Henyey–Greenstein phase function for aerosols,
\[
P_{\mathrm{aer}}(\psi \mid g,f)
= \frac{1-g^2}{4\pi}
\left[
\frac{1}{\left(1+g^2-2g\cos{\psi}\right)^{3/2}}
+ f\,\frac{3\cos^2{\psi}-1}{2\left(1+g^2\right)^{3/2}}
\right],
\]
with asymmetry parameter \(g=\langle\cos\psi\rangle\) and backward-scattering correction \(f\in[0,1]\). In the reported simulations, \(f=0.4\) is fixed and \(g\) is varied across regimes loosely associated with aerosols, haze, mist, fog, and rain. The extracted analysis emphasizes that \(P_{\mathrm{aer}}(\psi|g,f)\) is smooth in \(\psi\), \(g\), and \(f\) except near the formal limit \(g\to \pm 1\), making it suitable for gradient-based estimation of aerosol size via \(g\) [1402.3927].

Differentiability becomes more intricate when multiple scattering and detector observables are included. The atmospheric point spread function is defined through the angular deviation \(\zeta\) between direct and indirect photons and a cumulative fraction
\[
\text{PSF}(\zeta) =
\frac{N_{\mathrm{indirect}}(\zeta)}
{N_{\mathrm{direct}} + N_{\mathrm{indirect}}(\zeta)}.
\]
The direct beam obeys Beer–Lambert attenuation,
\[
N_{\mathrm{direct}}(D)=N_0 \exp\!\left(
- \int_0^D \left[ \Lambda_{\mathrm{mol}}^{-1}(l) + \Lambda_{\mathrm{aer}}^{-1}(l) \right] \mathrm{d}l
\right),
\]
which is smooth in the vertical-profile parameters. By contrast, stochastic branching, detector-hit classification, and arrival-time thresholds are not differentiable in the ordinary sense, and the same analysis identifies reparameterization gradients, likelihood-ratio estimators, and adjoint or path-space differentiation as the relevant remedies for differentiable rendering [1402.3927].

Related atmospheric transport work extends differentiable structure beyond haze imaging. Finite plane-parallel atmospheres with isotropic scattering and thermal emission are written in optical-depth form, introducing modified reflection and transmission operators \(S(\tau;\mu,\phi;\mu_0,\phi_0)\) and \(T(\tau;\mu,\phi;\mu_0,\phi_0)\), together with emission-generalized response functions \(V(\mu)\) and \(W(\mu)\). Their integral equations are smooth in total optical thickness \(\tau_1\), single-scattering albedo \(\tilde{\omega}_0\), and boundary emission parameters \(U(T_0)\) and \(U(T_{\tau_1})\), and the extracted analysis explicitly notes that they are suitable for automatic differentiation after angular discretization [2208.06656].

## 4. Numerical realizations and differentiable solvers

Recent work implements differentiable atmospheric scattering through several numerical templates. The principal families can be summarized as follows.

| Family | Core mechanism | Representative papers |
|---|---|---|
| Pixelwise inversion layer | Closed-form haze inversion with elementwise exponentials | [2108.11292] |
| PDE-based inversion | Elliptic PDE with differentiable diffusion and Gaussian regularization | [2506.08793] |
| Neural ODE transmission | Forward and inverse atmospheric transmission operator \(T\) via ODE solve | [2404.19605] |
| Deep unfolding | Unrolled proximal gradient descent with physics-based data term | [2606.16392] |

In the CNN-based dehazing setting, FNHD-Net uses a shared U-Net style encoder, three decoders for \(\hat{A}(x,y)\), \(\hat{\beta}(x,y)\), and \(\hat{d}(x,y)\), and an Estimating Haze-Free Image Module that implements
\[
\hat{J}(x,y) = \bigl(I(x,y) - \hat{A}(x,y)\bigr) e^{\hat{\beta}(x,y) \hat{d}(x,y)} + \hat{A}(x,y).
\]
The module is followed by a convolution layer and a BReLU activation, while the losses include FWB-Loss for \(A\), the exponential \(\beta\)-Loss,
\[
\text{Loss}_\beta(\beta_{\text{est}}, \beta_{\text{gt}})
= \frac{1}{N} \sum_{x=1}^N \bigl| \lambda_1^{\beta_{\text{est}}(x)} - \lambda_1^{\beta_{\text{gt}}(x)} \bigr|,
\]
and the analogous D-Loss for depth. Training uses a two-stage alternating strategy in PyTorch with SGD, learning rate \(1\times10^{-4}\), weight decay \(1\times10^{-4}\), and momentum \(0.9\) [2108.11292].

A PDE-based alternative defines the dehazed image \(u\) as the weak solution of
\[
-\operatorname{div}\bigl(D(\nabla u)\nabla u\bigr) + \lambda(t)\, G(u) = \Phi(I,t,A),
\]
with
\[
D(\nabla u) = (|\nabla u| + \epsilon)^{-1}, \qquad
\lambda(t)(x) = \lambda_0\exp\bigl(-\beta(1 - t(x))\bigr),
\]
and
\[
\Phi(I,t,A)(x) = \frac{I(x) - A(1 - t(x))}{\max(t(x),t_0)}.
\]
The paper proves existence and uniqueness of weak solutions in \(H_0^1(\Omega)\) using the Lax–Milgram theorem, and implements a fixed-point iteration scheme in PyTorch using Scharr filters, Gaussian convolution, and unrolled updates. The extracted discussion emphasizes that the resulting map \((I,t,A)\mapsto u\) is differentiable almost everywhere and can be backpropagated through as an unrolled optimization layer [2506.08793].

A spectrally resolved approach is DINSAT, which replaces explicit radiative transfer with a differentiable atmospheric transmission operator \(T\) defined by an ODE,
\[
\frac{dL}{dx} = f(L;\theta),
\]
solved on \([0,1]\). In the linear case,
\[
\frac{dL}{dx} = -\alpha \odot L,
\qquad
T(L)=L\odot e^{-\alpha},
\]
while the nonlinear case uses
\[
\frac{dL}{dx} = h(g(L;\theta);\phi)\odot L,
\]
with encoder and decoder MLPs. The forward model
\[
L_4 = C + T\big(\rho\, T(L_0)\big)
\]
and its inverse
\[
\rho_p = \frac{T^{-1}\left(\frac{L_{4,p}-C}{m}\right)}{T(\mathbf{1}_n)}
\]
are both evaluated with a differentiable ODE solver, so gradients can be propagated through forward transmission, inverse transmission, and spectral losses [2404.19605].

A deep-unfolding formulation appears in GP-DUN for UAV dehazing. Its Latent Geometry Estimator predicts
\[
\hat{t}_k = \exp\!\left(-\alpha \odot \mathbf{M}\right),
\]
where \(\mathbf{M}(\mathbf{p}) \approx 1/\sin\varphi(\mathbf{p})\) and \(\alpha \approx \beta_g h_s (1 - e^{-H/h_s})\). The Geometry-aware Gradient Descent Module then applies the closed-form data-term gradient
\[
\nabla_J \mathcal{D}(J) = t \odot \big(J \odot t + A \odot (1-t) - I\big)
\]
through the stage update
\[
z_k = J_k - \rho_k\, \hat{t}_k \odot R_k.
\]
The learned proximal step is implemented by the Pooling-Expert Proximal Mapping Module, and the \(K\)-stage architecture is trained end-to-end with \(K=7\) [2606.16392].

## 5. Observables, tasks, and representative systems

Differentiable atmospheric scattering models are used to predict or invert different observables depending on domain. In dehazing, the target is the haze-free image \(J\), together with intermediate fields such as \(A(x,y)\), \(\beta(x,y)\), \(d(x,y)\), transmittance, or geometry proxies. In atmospheric optics and astronomical imaging, the observables include transmission spectra, atmospheric point spread functions, photometry, background, and differential astrometry.

For dehazing, the fully non-homogeneous model reports that FNH-ASM strictly generalizes both ASM and NH-ASM, and that PSNR gains from replacing ASM/NH-ASM by FNH-ASM are approximately \(0.7\), \(1.0\), and \(1.2\) dB for base \(\beta\) levels \(0.35\), \(0.55\), and \(0.75\), respectively; \(\beta\)-Loss adds approximately \(0.7\)–\(1.4\) dB and D-Loss approximately \(0.4\)–\(0.6\) dB. The same work states that performance improvement becomes more obvious in dense and heterogeneous haze scenes [2108.11292].

For UAV imagery, UASM-HazeSet provides \(22{,}208\) paired hazy/clear synthetic images and \(2{,}285\) real UAV haze images for testing. The corresponding GP-DUN formulation is explicitly built so that the synthetic data generator and the unfolded data-fidelity term share the same UASM, which the paper argues improves generalization to real UAV haze [2606.16392].

For hyperspectral atmospheric correction, DINSAT is designed to perform atmospheric correction, recast spectral data between various modalities such as radiance and reflectance at the surface and at the sensor, and infer atmospheric transmission profiles including absorbing bands and their relative magnitudes. On the HyMap Cooke City scene, the reported supervised linear model gives surface reflectance MSE of approximately \(1.5\%\) and at-sensor radiance synthesis MSE of approximately \(0.6\%\) for a red fabric target, while the supervised nonlinear model gives surface reflectance MSE of approximately \(0.3\%\) and at-sensor radiance synthesis MSE of approximately \(16\%\) [2404.19605].

For physically based atmospheric blur, the multiple-scattering study emphasizes that aerosols can have a non-negligible effect on the atmospheric point spread function even though they are usually in lower density than molecules, especially for ground-based detectors when large aerosols are present. The reported sensitivities indicate that the indirect-light fraction near the direct path increases with larger \(g\), longer integration time \(t_{\mathrm{det}}\), and smaller inclination angle \(\theta_{\rm inc}\), making PSF measurements informative for aerosol asymmetry and density estimation [1402.3927].

Astronomical transport simulations extend the same paradigm to broader observables. A self-consistent atmosphere representation coupled to photon Monte Carlo yields differential astrometry and elliptical point spread functions predicted completely to the horizon, arcminute-scale spatial-dependent photometry variations at \(20\) mmag for short exposures, excess background spatial variations at \(0.2\%\) due the atmosphere, and a point spread function wing due to water droplets. The same study reports correlations of altitude with absolute photometry and relative photometry, anti-correlations of altitude with differential astrometry and background levels, and a significant correlation of PSF wing with cloud depth [2403.15562].

These examples show that the “output” of a differentiable atmospheric scattering model is not restricted to a restored RGB image. It may instead be a PSF, a transmission curve, a dehazed solution of a PDE, or a hyperspectral inverse estimate, depending on which part of atmospheric transport is treated as primary.

## 6. Assumptions, misconceptions, and limitations

A recurrent limitation is that many differentiable dehazing models are built on single-scattering or Koschmieder-style assumptions. The PDE-based dehazing framework explicitly assumes a homogeneous participating medium, a single-scattering approximation, and spatially constant atmospheric light \(A\), with transmission map \(t(x)\) estimated by the dark channel prior [2506.08793]. Likewise, the classical ASM and its immediate variants do not model explicit phase functions, vertical layering, or multi-angle geometry [2108.11292].

At the opposite end, full multiple-scattering formulations remain computationally and algorithmically harder to differentiate. The Monte Carlo PSF study identifies the main difficulties as random draws, discrete branching between scatter and no-scatter, aerosol versus molecular interactions, and discontinuous detector classification or arrival-time thresholds; its extracted analysis therefore points to reparameterization, score-function estimators, and adjoint or path-space differentiation as necessary tools [1402.3927]. A hybrid Monte Carlo/deterministic transport method for a scattering and absorbing atmosphere similarly suggests that deterministic adjoint surrogates can reduce variance, and the extracted discussion explicitly frames this as compatible with differentiable programming, although the original work is not itself a differentiable-rendering paper [1105.1449].

Even when the forward model is analytic, strict smoothness is not universal. The PDE framework uses \(\max(t,t_0)\) and clamping, which are only piecewise smooth; the planetary visualization model relies on texture interpolation, precomputed LUTs, and conditional occlusion logic; and the Cerro Paranal sky model includes piecewise spectral fits and discrete seasonal and night-time bins [2506.08793], [2010.03534], [1205.2003]. These are not fatal to gradient-based methods, but they constrain where exact derivatives exist and where subgradients or smoothed surrogates may be needed.

Another misconception is that a differentiable model must always be physically complete. The surveyed literature shows the opposite design pattern: models are often deliberately low-dimensional. FNH-ASM keeps only \(A(x,y)\), \(\beta(x,y)\), and \(d(x,y)\); UASM factorizes transmittance as \(\exp(-\alpha M)\); DINSAT collapses transport into a single Beer–Lambert-like ODE layer; and finite-atmosphere scattering-with-emission can be compressed into boundary response functions \(S\), \(T\), \(V\), and \(W\) [2108.11292], [2606.16392], [2404.19605], [2208.06656]. This suggests that differentiability and physical fidelity are typically balanced through carefully chosen state reduction rather than maximal mechanistic detail.

The current literature therefore presents differentiable atmospheric scattering models as a spectrum of physics-informed operators. At one end lie explicit haze inversion layers embedded in CNNs; at the other lie transport solvers with angular, spectral, or vertical structure. What unifies them is not a particular equation, but a shared commitment to parameterized atmospheric physics that remains amenable to gradient-based estimation, optimization, or learning.

Source: https://www.emergentmind.com/topics/differentiable-atmospheric-scattering-model