---
title: 'EqDiff-CT: Equivariant Diffusion for CT Synthesis'
url: https://www.emergentmind.com/topics/eqdiff-ct
type: topic
---

# EqDiff-CT: Equivariant Diffusion for CT Synthesis

EqDiff-CT is a conditional denoising diffusion probabilistic model (DDPM) for CBCT-to-CT synthesis in image-guided radiotherapy (IGRT). It generates anatomically consistent, HU-preserving synthetic CT (sCT) from cone-beam CT (CBCT) by combining a slice-wise DDPM with a group-equivariant conditional U-Net backbone implemented with e2cnn steerable layers and cyclic $C_4$ rotational symmetry. In the reported study, the model was trained and validated on the SynthRAD2025 Head-and-Neck cohort and compared with CycleGAN and a baseline DDPM, with improvements in structural fidelity, HU accuracy, and quantitative metrics [2509.21913].

## 1. Clinical setting and problem formulation

CBCT is widely used for daily image guidance because it is integrated into linear accelerators and acquired with a single rotation. However, scatter, truncated projections, and low-dose acquisition cause noise and streaking artifacts, and CBCT lacks standardized HU calibration. CT, conversely, offers accurate HU and high SNR but is often acquired offline during planning, so it cannot reflect day-to-day anatomical changes. Synthetic CT from CBCT is intended to bridge this gap and enable dose recalculation and anatomical monitoring on the daily anatomy without repeat CT scans [2509.21913].

The artifact profile emphasized for CBCT includes increased scatter and beam hardening, truncated projections and non-uniformity, rotationally oriented streaks emanating from high-contrast structures such as bone and dental fillings, and reduced soft-tissue contrast and signal-to-noise ratio. Within adaptive radiotherapy workflows, these degradations are clinically relevant because HU inaccuracies translate into erroneous electron density, affecting path length and attenuation modeling in photon or proton dose engines. The HU definition is given as
$$
HU(x) = 1000 \cdot \frac{\mu(x)-\mu_{water}}{\mu_{water}},
$$
where $\mu(x)$ is the linear attenuation coefficient at voxel $x$ and $\mu_{water}$ is the water attenuation coefficient. The reported motivation states that percent-level HU errors can produce several percent dose discrepancies that jeopardize target coverage or increase OAR dose [2509.21913].

EqDiff-CT is framed specifically as a method for closing the imaging-quality gap between daily CBCT and planning CT. The stated objective is accurate CBCT-to-CT synthesis for dose calculation, adaptive planning, and anatomical monitoring on intra-treatment anatomy.

## 2. Conditional diffusion formulation

Let $x_0$ denote a ground-truth CT slice and $y$ the paired CBCT slice. EqDiff-CT learns $p_\theta(x_0 \mid y)$ via the DDPM framework. The forward noising process uses a variance schedule $\{\beta_t\}_{t=1}^T$, with $\alpha_t = 1-\beta_t$ and $\bar\alpha_t = \prod_{s=1}^t \alpha_s$, and is written as
$$
q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I),
$$
with the closed form
$$
q(x_t \mid x_0) = \mathcal{N}(\sqrt{\bar\alpha_t}\,x_0, (1-\bar\alpha_t)I),
$$
so that during training
$$
x_t = \sqrt{\bar\alpha_t}x_0 + \sqrt{1-\bar\alpha_t}\,\epsilon,\qquad \epsilon \sim \mathcal{N}(0,I).
$$
The reverse denoising step is
$$
p_\theta(x_{t-1}\mid x_t,y) = \mathcal{N}(\mu_\theta(x_t,t,y), \sigma_t^2 I),
$$
with
$$
\mu_\theta(x_t,t,y) = \frac{1}{\sqrt{\alpha_t}}\left(x_t-\frac{1-\alpha_t}{\sqrt{1-\bar\alpha_t}}\cdot \epsilon_\theta(x_t \parallel y,t)\right),
$$
and
$$
\sigma_t^2 = \beta_t \cdot \frac{1-\bar\alpha_{t-1}}{1-\bar\alpha_t}.
$$
Sampling uses
$$
x_{t-1} = \mu_\theta(x_t,t,y) + \sqrt{\sigma_t^2}\,z,
$$
with $z \sim \mathcal{N}(0,I)$ for $t>0$ [2509.21913].

Conditioning is implemented by concatenation conditioning: the CBCT slice $y$ is concatenated channel-wise to $x_t$ at every scale $(x_t \parallel y)$. No classifier-free guidance or conditioning dropout is used. The training objective is a hybrid noise-prediction loss,
$$
L_{MSE} = \mathbb{E}\big[\lVert \epsilon-\epsilon_\theta(x_t \parallel y,t)\rVert^2\big],
$$
$$
L_{SSIM} = 1 - SSIM(\epsilon,\epsilon_\theta(x_t \parallel y,t)),
$$
$$
L_{hybrid} = \lambda_{MSE} \cdot L_{MSE} + \lambda_{SSIM} \cdot L_{SSIM},
$$
with $\lambda_{MSE}=\lambda_{SSIM}=0.5$. The reported rationale is that the use of SSIM on noise stabilizes perceptual structure in reconstructions [2509.21913].

The paper states three contributions in this formulation: a slice-wise conditional DDPM framework with volume-wise analysis for CBCT$\to$CT synthesis; a group-equivariant, attention-enhanced, time-conditioned U-Net backbone implemented with e2cnn $(C_4$ symmetry), with CBCT concatenated at every scale; and a stable hybrid training objective combining MSE and SSIM on the predicted noise, coupled with an HU-preserving normalization/denormalization pipeline.

## 3. Group-equivariant denoiser and architectural design

The denoiser is a group-equivariant U-Net in which equivariance is defined by
$$
f(\rho(g)x)=\pi(g)f(x),
$$
where $\rho(g)$ and $\pi(g)$ are input and output representations, and $g \in C_4$ corresponds to in-plane rotations by $0^\circ$, $90^\circ$, $180^\circ$, and $270^\circ$. The stated reason for enforcing rotational equivariance is that CBCT acquisition and its artifacts have strong rotational structure; enforcing equivariance reduces the need to learn multiple rotated copies of filters and helps preserve orientation-consistent details such as bone edges and airway [2509.21913].

The steerable group convolution is summarized as
$$
[\Phi f](z)=\sum_y \kappa(z-y)f(y),
$$
with kernel constraint
$$
\kappa(R_g z)=\rho_{out}(g)\,\kappa(z)\,\rho_{in}(g)^{-1}
$$
for all $g \in C_4$. The implementation uses e2cnn with $R2Conv$, $InnerBatchNorm$, and $Norm$-$ReLU$. The nonlinearity is written as
$$
NormReLU(v)=\frac{\sigma(\lVert v\rVert)}{\max(\lVert v\rVert,\epsilon)}\cdot v,
$$
where $\sigma$ is a gating function; dependence only on invariant norms preserves equivariance [2509.21913].

Architecturally, the network is a 2D U-Net with three scales and channel multipliers $(1,2,4)$. The encoder consists of three double G-equivalent conv blocks $(3\times 3)$, each followed by $InnerBatchNorm$ and ReLU $(Norm$-$ReLU)$, with equivariant down-sampling. The decoder is the mirror of the encoder with up-sampling and skip connections. The residual topology is standard U-Net skip connections, with no internal residual addition within blocks. CBCT $y$ is concatenated channel-wise at every resolution scale. Self-attention blocks capture long-range dependencies, and the attention mechanism is implemented with equivariant self-attention in which $Q/K/V$ are computed via equivariant $1\times 1$ intertwiners and attention weights use a $G$-invariant inner product to remain equivariant [2509.21913].

Time conditioning uses sinusoidal encoding,
$$
p^{sin}_t[k] = \sin\left(\frac{t}{10000^{2k/d}}\right),\qquad
p^{cos}_t[k] = \cos\left(\frac{t}{10000^{2k/d}}\right),
$$
followed by a two-layer MLP that maps $p_t$ to $e_t$, injected at the bottleneck via a linear projection and broadcast addition. In combination, rotational equivariance, self-attention, and sinusoidal time embeddings constitute the core inductive bias of EqDiff-CT.

## 4. Dataset, preprocessing, and optimization protocol

The reported experiments use SynthRAD2025 (Head-and-Neck cohort), comprising 325 patients and approximately 23,927 axial slices, with paired CBCT and planning CT volumes curated for CBCT$\to$CT synthesis research [2509.21913].

Preprocessing consists of cropping to a non-zero bounding box for anatomical centering; HU windowing to $[-1000, 2000]$ HU; normalization to $[-1,1]$ using
$$
\hat S = 2 \cdot \frac{clip(S,H_{min},H_{max})-H_{min}}{H_{max}-H_{min}} - 1;
$$
2D axial slice extraction; zero-padding to $224 \times 224$ to preserve aspect ratio and network compatibility; slice pairing by axial index across modalities; and random horizontal and vertical flips. The split is patient-wise 80/20, with 259 train and 66 test patients. Training uses paired CBCT-CT slices, and testing uses CBCT as input and CT for evaluation [2509.21913].

The diffusion schedule uses linear $\beta$ with $T=1000$ steps and $\beta \in [10^{-4},0.02]$. Optimization uses Adam with $\beta_1=0.9$, $\beta_2=0.999$, learning rate $10^{-4}$, batch size $8$, and $650$ epochs. The loss is the hybrid noise-prediction objective with equal weights $0.5$ for $L_{MSE}$ and $L_{SSIM}$. Multi-GPU training is noted; inference was measured on an NVIDIA RTX A5000 with FP32. For a 61-slice case and 250 sampling steps, EqDiff-CT averages $33.5$ s/slice [2509.21913].

These design choices place EqDiff-CT in a slice-wise regime with volume-wise analysis, rather than a full volumetric 3D diffusion regime. The paper explicitly identifies this as a modeling decision rather than a claim of full 3D contextual reasoning.

## 5. Quantitative performance, ablations, and runtime

Evaluation uses SSIM, MSE, and PSNR, with
$$
MSE = \frac{1}{N}\sum_i (x_0(i)-\hat x_0(i))^2,
$$
and
$$
PSNR = 10 \cdot \log_{10}\left(\frac{1}{MSE}\right).
$$
On the test set, the reported CT-versus-sCT metrics are as follows [2509.21913].

| Method | SSIM | PSNR |
|---|---:|---:|
| EqDiff-CT | $0.85 \pm 0.09$ | $27.74 \pm 3.98$ dB |
| Baseline DDPM (non-equivariant) | $0.79 \pm 0.11$ | $24.77 \pm 3.88$ dB |
| CycleGAN | $0.67 \pm 0.16$ | $21.16 \pm 4.16$ dB |
| Baseline CBCT vs CT | $0.54 \pm 0.14$ | $20.64 \pm 4.35$ dB |

The relative improvements reported for EqDiff-CT are $+0.06$ SSIM and $+3.0$ dB PSNR versus the non-equivariant DDPM, and $+0.18$ SSIM and $+6.6$ dB PSNR versus CycleGAN. The baseline CBCT-versus-CT gap is included to highlight the synthesis problem that the method is attempting to close [2509.21913].

The ablation on equivariance compares the model with a non-equivariant attention U-Net denoiser. The equivariant model improved average SSIM by approximately $0.03$ and PSNR by approximately $0.9$ dB, with reduced loss variability. Training loss converged more stably, and PSNR and SSIM increased more smoothly over epochs. Qualitatively, EqDiff-CT produces sharper soft-tissue boundaries, realistic bone reconstructions in the mandible and cervical spine, and suppresses rotationally patterned streaks. Difference maps show lower residual intensity near sudden HU transitions and interfaces such as airway walls and jawbone [2509.21913].

Runtime measurements on a 61-slice test case with 250 sampling steps report $38.4$ min for the non-equivariant DDPM $(37.8$ s/slice; $1.6$ slices/min$)$ and $34.0$ min for EqDiff-CT $(33.5$ s/slice; $1.8$ slices/min$)$, indicating negligible overhead for $C_4$ equivariance and attention [2509.21913].

## 6. Clinical role, limitations, and later developments

The clinical argument for EqDiff-CT is that by learning a CBCT-conditioned CT distribution and enforcing rotational equivariance, the model reduces artifacts and yields HU-consistent sCT volumes. Better HU correspondences reduce electron density errors, which improves dose calculation accuracy for adaptive planning. The paper further states that daily sCT enables rapid dose recalculation on the current anatomy, supports adaptive re-planning criteria, and improves confidence in target and OAR delineations. Enhanced bone detail and soft-tissue boundary recovery are described as supporting robust auto-segmentation and reducing inter-observer variability, while artifact suppression yields more reliable CBCT guidance without additional imaging dose [2509.21913].

The stated limitations are equally explicit. The current design is 2D and cannot leverage through-plane 3D context. Training and validation were limited to the Head-and-Neck SynthRAD2025 domain, so generalization to other anatomies or scanners requires validation and potentially domain-adaptive fine-tuning. End-to-end dose recalculation comparisons were not reported, so clinical physics validation across photon and proton pipelines remains needed. DDPM sampling remains iterative, and accelerating sampling through fewer steps or distillation is identified as a route to reduced latency in online settings. Future work is described in terms of richer symmetry groups such as $C_8$ or approximate $SO(2)$, multi-view conditioning such as neighboring slices or projections, uncertainty quantification, and patient-specific fine-tuning strategies [2509.21913].

A later related framework, "EPC-3D-Diff: Equivariant Physics Consistent Conditional 3D Latent Diffusion for CBCT to CT Synthesis" [2605.20470], describes an equivariant, physics-consistent conditional 3D latent diffusion framework that introduces a projection-domain equivariance loss derived from acquisition physics, operates in a compact 3D latent space, and reports $+7.4$ dB PSNR on phantom data and $+1.8$ dB on clinical data compared to state-of-the-art methods. This suggests a subsequent design trajectory in which slice-wise $C_4$-equivariant denoising is extended toward volumetric latent diffusion and projection-domain physics consistency rather than remaining confined to image-domain rotational equivariance [2605.20470].

Within CBCT-to-CT synthesis, EqDiff-CT is therefore characterized by the conjunction of three elements: conditional diffusion synthesis, rotational equivariance implemented with e2cnn steerable layers, and an HU-preserving training pipeline. In the source description, this combination is presented as delivering anatomically faithful, HU-consistent sCT suitable for adaptive radiotherapy workflows [2509.21913].

Source: https://www.emergentmind.com/topics/eqdiff-ct