---
title: Negative Alpha Blending in Gaussian Splatting
url: https://www.emergentmind.com/topics/negative-alpha-blending-nab-gs
type: topic
---

# Negative Alpha Blending in Gaussian Splatting

Searching arXiv for the cited NAB-GS and related Gaussian Splatting papers.
Negative Alpha Blending (NAB-GS) is a rendering and optimization modification for 3D Gaussian Splatting in which Gaussian density representation is allowed to take negative values, so that per-splat opacity contributions can be signed rather than restricted to the standard non-negative regime. It was introduced in the context of zero-shot volumetric CT super-resolution using 3D Gaussian Splatting with upsampled 2D X-ray projection priors, where the goal is to learn residuals between upsampled low-resolution projections and diffusion-generated high-resolution projections [2508.15151]. In this formulation, signed opacity enables both additive and subtractive residual correction in projection space: positive splats restore or sharpen structure, while negative splats suppress blurred or over-smoothed attenuation. NAB-GS is closely related, but not identical, to the earlier idea of negative contributions in Gaussian Splatting developed in "NegGS: Negative Gaussian Splatting," which realizes subtraction through negative colors while keeping alpha non-negative [2405.18163].

## 1. Definition and conceptual scope

NAB-GS denotes a variant of Gaussian Splatting in which the usual non-negativity constraint on Gaussian density is relaxed. In the standard 3D Gaussian Splatting pipeline for radiative or tomographic rendering, each Gaussian contributes non-negative attenuation or opacity, and front-to-back compositing assumes $\alpha_i \in [0,1]$ with monotone decreasing transmittance. NAB-GS preserves the same compositing equations structurally, but permits $\alpha_i \in \mathbb{R}$ by allowing signed density coefficients $\rho_i$ [2508.15151].

The method was introduced for zero-shot 3D CT super-resolution, where only a single low-resolution volume is available and internal information alone is insufficient to recover high-frequency anatomical structure. In that setting, the reconstruction problem is reframed as residual learning in projection space relative to an upsampled low-resolution baseline, with high-resolution guidance supplied by diffusion-generated 2D X-ray projections. Because such residuals are signed, a model limited to non-negative opacity cannot represent them directly; NAB-GS addresses that restriction by permitting negative opacity contributions [2508.15151].

A central distinction from NegGS is that NegGS does not implement negative alpha. Instead, NegGS allows color vectors $c_i$ to have negative components while keeping opacity standard, thereby preserving conventional transmittance semantics. NAB-GS is therefore a stronger intervention into the Gaussian Splatting renderer, because it modifies not only the contribution term but also the multiplicative transmittance chain through signed $\alpha_i$ [2405.18163].

## 2. Standard Gaussian Splatting formulation and the NAB-GS modification

In the radiative Gaussian field formulation used for tomographic reconstruction, each 3D Gaussian is parameterized by center $\mathbf{p}_i \in \mathbb{R}^3$, covariance $\boldsymbol{\Sigma}_i \in \mathbb{R}^{3\times 3}$, and density coefficient $\rho_i$. The 3D Gaussian kernel is

\[
G_i^3(\mathbf{x}\mid\rho_i,\mathbf{p}_i,\boldsymbol{\Sigma}_i)
= \rho_i \cdot \exp\!\left(-\frac{1}{2}(\mathbf{x}-\mathbf{p}_i)^\top \boldsymbol{\Sigma}_i^{-1}(\mathbf{x}-\mathbf{p}_i)\right).
\]

The continuous density field is

\[
\sigma(\mathbf{x}) = \sum_{i=1}^{M} G_i^3(\mathbf{x}\mid\rho_i,\mathbf{p}_i,\boldsymbol{\Sigma}_i).
\]

After projection to the image plane, each Gaussian induces a 2D splat with projected center $\hat{\mathbf{p}}_i$, projected covariance $\hat{\boldsymbol{\Sigma}}_i$, and per-pixel opacity

\[
\alpha_i(\hat{\mathbf{x}})
= \rho_i \,\mu_i \,\exp\!\left(-\frac{1}{2}(\hat{\mathbf{x}}-\hat{\mathbf{p}}_i)^\top \hat{\boldsymbol{\Sigma}}_i^{-1}(\hat{\mathbf{x}}-\hat{\mathbf{p}}_i)\right),
\]

where $\mu_i$ is a covariance-related normalization term. In the CT setting described for NAB-GS, emission is assumed zero and the local attenuation contribution is set as $c_i=1$ [2508.15151].

Standard front-to-back accumulation is

\[
T_i = \prod_{j=1}^{i-1}(1 - \alpha_j),
\qquad
C(\hat{\mathbf{x}}) = \sum_{i=1}^{N} T_i \,\alpha_i \, c_i.
\]

Equivalently, under a piecewise-constant volumetric interpretation,

\[
\alpha_i = 1 - e^{-\sigma_i \Delta_i},\quad
T_i = \exp\!\Big(-\sum_{j=1}^{i-1}\sigma_j \Delta_j\Big),\quad
C = \sum_{i=1}^{N} T_i \,(1-e^{-\sigma_i \Delta_i}) \, c_i.
\]

The standard assumptions are $\alpha_i \in [0,1]$, $\sigma_i \ge 0$, and non-increasing transmittance. NAB-GS keeps the same rendering and sorting structure but removes the non-negativity bottleneck by replacing softplus with a leaky ReLU parameterization of density:

\[
\rho_i = \phi(x_i),\quad
\phi(x) =
\begin{cases}
x,& x\ge 0,\\
\gamma x, & x<0,
\end{cases}
\qquad
\phi^{-1}(\rho) =
\begin{cases}
\rho,& \rho\ge 0,\\
\frac{\rho}{\gamma},& \rho<0.
\end{cases}
\]

This yields signed $\rho_i \in \mathbb{R}$, and therefore signed $\alpha_i \in \mathbb{R}$, while retaining the same front-to-back depth ordering and compositing equations [2508.15151].

## 3. Residual learning interpretation in zero-shot volumetric CT super-resolution

The immediate motivation for NAB-GS is residual learning between an upsampled low-resolution projection and a diffusion-based high-resolution projection prior. Let $I^{\text{proj}}_{\text{LR,up}}$ denote the upsampled low-resolution projection and $I^{\text{proj}}_{\text{HR}}$ the target high-resolution projection generated from the diffusion prior. NAB-GS models the residual as

\[
I^{\text{proj}}_{\text{HR}}(\hat{\mathbf{x}})
=
I^{\text{proj}}_{\text{LR,up}}(\hat{\mathbf{x}}) + R(\hat{\mathbf{x}}),
\qquad
R(\hat{\mathbf{x}})
=
\sum_{i=1}^{N} T_i(\hat{\mathbf{x}})\,\alpha_i(\hat{\mathbf{x}})\,c_i.
\]

Because $R$ is signed, negative opacity is used to cancel erroneous or over-smoothed attenuation, while positive opacity adds missing high-frequency structure [2508.15151].

This residual interpretation is the main reason NAB-GS departs from standard physical attenuation constraints. The paper explicitly notes that physical attenuation and density in CT are non-negative, and does not claim physical interpretability for the signed densities. Instead, signed contributions operate in residual space relative to low-resolution projections. This suggests that the method should be understood as a reconstruction device for correcting low-resolution blur under projection consistency, rather than as a literal model of material attenuation [2508.15151].

A plausible implication is that NAB-GS is best viewed as a hybrid between volumetric rendering and residual field estimation. Its signed splats do not merely encode scene occupancy or attenuation; they encode correction terms conditioned on an external prior. That differentiates it from standard radiance-field-style compositing and also from NegGS, where subtraction is introduced through signed color but the opacity chain remains physically conventional [2405.18163].

## 4. Optimization, regularization, and implementation

The optimization objective combines reconstruction, residual, structural, and total-variation terms:

\[
\mathcal{L}_{\text{recon}} = \mathcal{L}_1(y,x) + \mathcal{L}_{\text{res}}(\hat{y},\hat{x}) + \lambda_1 \,\mathcal{L}_{\text{dssim}}(y,x),
\]

\[
\mathcal{L}_{\text{total}} = \mathcal{L}_{\text{recon}} + \lambda_2 \,\mathcal{L}_{\text{tv}},
\]

where $y$ is the ground-truth high-resolution projection, $x$ is the predicted projection, $\hat{y} = y - I^{\text{proj}}_{\text{LR,up}}$ is the residual ground truth, and $\hat{x}$ is the residual prediction. The loss weights are $\lambda_1=0.5$ and $\lambda_2=0.05$ [2508.15151].

The renderer itself is minimally modified. The GS pipeline is unchanged except for the density activation: softplus is replaced by leaky ReLU, while the rasterizer, depth sorting, over-operator, and X-ray accumulation remain the same. For a pixel $\hat{\mathbf{x}}$, the front-to-back procedure is:

- Initialize $T = 1$ and $C = 0$.
- For splats sorted by depth:
  - Compute the 2D Gaussian weight
    \[
    g_i = \exp\!\left(-\tfrac{1}{2}(\hat{\mathbf{x}}-\hat{\mathbf{p}}_i)^\top \hat{\boldsymbol{\Sigma}}_i^{-1}(\hat{\mathbf{x}}-\hat{\mathbf{p}}_i)\right).
    \]
  - Compute signed density $\rho_i = \phi(x_i)$.
  - Compute signed alpha $\alpha_i = \rho_i \,\mu_i \, g_i$.
  - Accumulate $C += T * \alpha_i * c_i$ with $c_i=1$.
  - Update $T *= (1 - \alpha_i)$.

Training uses PyTorch on a single NVIDIA A6000 with Adam for 5k iterations. Initial learning rates are position $2\times 10^{-4}$, density $10^{-3}$, scale $5\times 10^{-3}$, and rotation $10^{-3}$, all exponentially decayed by a factor of $0.1$ by the end. Initialization uses 50k Gaussians, density threshold $0.05$, and scaling term $0.15$. Adaptive densification is performed between iterations 500 and 5000 with gradient threshold $5\times 10^{-5}$ every 100 iterations, and Gaussians are pruned when density lies in $[-10^{-5},10^{-5}]$ [2508.15151].

The paper emphasizes that numerical stability is not enforced through explicit clamping of $\alpha_i$ or $T_i$. Instead, stability is achieved empirically through the leaky-ReLU negative slope $\gamma$, total variation regularization, and gradient-controlled densification and pruning. The gradients of the density activation are piecewise constant: $\partial \rho_i / \partial x_i = \gamma$ for $x_i<0$ and $1$ for $x_i\ge 0$ [2508.15151].

## 5. Diffusion priors, PAS, and the broader reconstruction pipeline

NAB-GS is not presented as an isolated renderer modification; it is embedded in a zero-shot CT super-resolution framework that uses diffusion-generated upsampled 2D X-ray projection priors. The diffusion prior is constructed using DDNM and DDNM+, with degradation model $\mathbf{y}=\mathbf{A}\mathbf{x}$. The DDNM estimate at diffusion step $t$ is

\[
\hat{\mathbf{x}}_{0|t} = \mathbf{A}^{\dagger}\mathbf{y} + (\mathbf{I}-\mathbf{A}^{\dagger}\mathbf{A})\,\mathbf{x}_{0|t},
\]

and with noise correction in DDNM+,

\[
\hat{\mathbf{x}}_{0|t} = \mathbf{x}_{0|t} - \Sigma_t \mathbf{A}^{\dagger} (\mathbf{A}\mathbf{x}_{0|t} - \mathbf{y}).
\]

The framework also introduces per-projection adaptive sampling strategy (PAS) through DDIM initialization

\[
\mathbf{x}_t = \mathbf{z} \sqrt{1-\alpha_t} + \mathbf{y}^{up} \sqrt{\alpha_t},
\]

followed by a per-projection change criterion

\[
\Delta_t = \|\hat{\mathbf{x}}_{0|t} - \mathbf{y}^{up}\|_2,
\]

and adaptive step selection

\[
t_{\text{start}} = \max\{t_{ddnm}\mid \Delta_{t_{ddnm}} \le \tau_{\text{thr}}\}.
\]

These high-resolution projections become the targets $y$ and residuals $\hat{y}$ used for NAB-GS training [2508.15151].

The diffusion model is trained unconditionally on ChestX-ray14 with 112,120 images and CheXpert with 80,845 images at $512\times512$, batch size 12 over 620k iterations, with attention at $32\times$, $16\times$, and $8\times$. Inference uses DDIM with 50 steps and DDNM+ with noise $\sigma_y=0.0015$. The PAS thresholds are $\tau_{\text{thr}}=7$ for $4\times$ and $11$ for $8\times$. Projections are acquired at 100 uniformly spaced angles from $0^\circ$ to $180^\circ$ using TIGRE [2508.15151].

This design places NAB-GS within a specific computational role: it is the 3D volumetric residual integrator that reconciles low-resolution consistency and external high-frequency priors. A plausible implication is that the signed-opacity formulation derives much of its practical value from this coupling with projection-space priors; the paper does not claim that signed alpha alone is sufficient independent of the diffusion stage.

## 6. Empirical behavior, ablations, and comparison with related negative-contribution methods

The reported evaluation covers MELA and UHRCT at super-resolution scales of $4\times$ and $8\times$, measured by PSNR and SSIM. Quantitatively, the method reports:

| Dataset/scale | Ours (NAB-GS) | Selected comparisons |
|---|---:|---|
| MELA 4× | 34.13 / 0.9518 | CuNeRF 33.76 / 0.9096; ArSSR 32.92 / 0.9589 |
| MELA 8× | 30.74 / 0.9153 | CuNeRF 30.11 / 0.8535; ArSSR 30.38 / 0.9294 |
| UHRCT 4× | 25.41 / 0.8963 | CuNeRF 25.25 / 0.8459; ArSSR 24.81 / 0.8900 |
| UHRCT 8× | 21.94 / 0.8255 | CuNeRF 21.04 / 0.7572; ArSSR 21.72 / 0.8458 |

Against R$^2$-GS on MELA, the reported gains are $+0.41$ dB PSNR at $4\times$ and $+0.44$ dB PSNR at $8\times$ [2508.15151]. For direct ground-truth reconstruction, where residual learning is still used, the paper reports R$^2$-GS at 40.88 / 0.9865 and NAB-GS at 43.14 / 0.9902 [2508.15151].

Ablation on activation functions is especially important because it isolates the signed-density mechanism. On MELA, softplus gives 33.65 / 0.9433 with 49k Gaussians at $4\times$ and 30.60 / 0.9009 with 50k Gaussians at $8\times$; tanh gives 33.95 / 0.9481 with 224k Gaussians at $4\times$ and 30.05 / 0.8953 with 540k Gaussians at $8\times$ and is described as grainy/noisy; tanh† with a 100k cap gives 34.05 / 0.9499 with 92k Gaussians at $4\times$ and 30.45 / 0.9042 with 134k at $8\times$; leaky ReLU, i.e. NAB-GS, gives 34.13 / 0.9518 with 68k Gaussians at $4\times$ and 30.74 / 0.9153 with 75k at $8\times$ [2508.15151]. The paper therefore attributes improved fidelity and fewer artifacts specifically to the leaky-ReLU signed-density parameterization.

The negative slope $\gamma$ is dataset-dependent: $0.09$ for MELA $4\times$, $0.003$ for MELA $8\times$, $0.03$ for UHRCT $4\times$, and $0.003$ for UHRCT $8\times$ [2508.15151]. The paper states that ablations show sensitivity to $\gamma$, indicating that signed blending is beneficial but not plug-and-play.

NegGS provides the closest related precedent for negative contributions in Gaussian Splatting. That work introduces negative Gaussians interpreted as items with negative colors, motivated by a difference-based density family built from two Gaussian PDFs and analyzed through the ratio of Gaussian PDFs. It reports improved modeling of high-frequency elements with rapid color transitions and improved representation of shadows, while preserving standard alpha semantics and CUDA kernels [2405.18163]. NegGS explicitly states that it does not introduce negative alpha, and frames "Negative Alpha Blending (NAB-GS)" as a hypothetical, riskier alternative that can break transmittance semantics and stability unless constrained [2405.18163]. NAB-GS, by contrast, operationalizes exactly that stronger alternative in the residual CT setting [2508.15151].

## 7. Interpretation, limitations, and technical significance

NAB-GS introduces signed alpha into a front-to-back renderer whose conventional semantics assume non-negative extinction. The resulting transmittance chain no longer guarantees $T_i \in [0,1]$ or monotonic decrease, because negative $\alpha_i$ can increase later transmittance factors. The paper acknowledges this indirectly by noting that negative $\alpha_i$ increases $T_{k>i}$ and subtracts from accumulated attenuation, and by emphasizing that training stability must be maintained through activation design, pruning, densification control, and TV regularization rather than through explicit theoretical constraints [2508.15151].

From a reconstruction perspective, the method is justified not as a physically interpretable attenuation model but as a residual corrector. This suggests that its admissibility depends on the task formulation. In zero-shot CT super-resolution, where the objective is to recover high-frequency structure absent from the low-resolution volume but hinted by diffusion priors, signed opacity is presented as the mechanism that makes residual volumetric correction feasible [2508.15151].

The contrast with NegGS clarifies an important conceptual point. Negative contributions in Gaussian Splatting can be introduced at least two different ways: through signed color with conventional alpha, or through signed alpha itself. NegGS chooses the former because it preserves transmittance semantics and implementation stability, while NAB-GS adopts the latter because residual learning in projection space requires signed attenuation rather than merely signed radiance or color [2405.18163; 2508.15151]. This division also resolves a potential misconception: NAB-GS is not simply another name for NegGS. The two methods are related by the broader goal of subtractive modeling, but they intervene at different points in the rendering equation.

In practical terms, NAB-GS is a minimal renderer modification with nontrivial modeling consequences. The paper reports that the density activation change adds no separate overhead in the pipeline, training proceeds for 5k iterations on a single A6000 GPU, and the number of active Gaussians remains moderate due to controlled densification, for example approximately 68–75k for MELA [2508.15151]. A plausible implication is that the principal cost of NAB-GS is not computational but statistical and numerical: careful tuning of $\gamma$, regularization, and pruning is required to exploit signed blending without destabilizing the renderer.

Source: https://www.emergentmind.com/topics/negative-alpha-blending-nab-gs