Papers
Topics
Authors
Recent
Search
2000 character limit reached

Residual-based Efficient Bidirectional Diffusion Model

Updated 8 July 2026
  • The paper introduces a residual-driven diffusion method where the forward process is anchored at degraded images rather than pure noise, reducing required reverse steps.
  • It employs bidirectional Markov chains to connect paired image domains for tasks like dehazing and haze generation, enhancing task-specific restoration.
  • Empirical results demonstrate competitive performance with few sampling steps, yielding faster inference and improved restoration quality compared to standard methods.

Searching arXiv for the cited RBDM-related papers to ground the article and confirm bibliographic details. arxiv_search.query({"search_query":"id:(Yue et al., 2024) OR id:(Zheng et al., 3 Mar 2025) OR id:(Liu et al., 15 Aug 2025) OR id:(Wang et al., 27 Oct 2025)","max_results":10,"sort_by":"submittedDate","sort_order":"descending"}) I’m going to retrieve the relevant arXiv entries for the exact identifiers and titles to ensure the terminology and chronology are aligned. arxiv_search.search({"query":"(Yue et al., 2024, Zheng et al., 3 Mar 2025, Liu et al., 15 Aug 2025, Wang et al., 27 Oct 2025) residual-based efficient bidirectional diffusion model"}) Residual-based Efficient Bidirectional Diffusion Model (RBDM) denotes a class of conditional diffusion formulations that replace the conventional image-to-Gaussian trajectory with short, residual-aware transitions between paired image domains. In one established usage, the term is an accurate conceptual description of ResShift, which performs image restoration by shifting the residual between a high-quality (HQ) image and its low-quality (LQ) counterpart along a short Markov chain (Yue et al., 2024). In a later and explicit usage, it names a dual-chain model for image dehazing and haze generation, where residuals between haze-free and hazy images govern bidirectional conditional diffusion (Liu et al., 15 Aug 2025). Across these formulations, the defining idea is that the forward process is anchored to the observed degradation domain rather than to pure Gaussian noise, so the reverse process traverses a shorter and more task-aligned path.

1. Terminology, scope, and conceptual definition

Within image restoration, an RBDM is characterized by three coupled properties. It is residual-based because the diffusion trajectory is parameterized by the difference between paired domains, such as e0=y0x0\bm{e}_0 = \bm{y}_0 - \bm{x}_0 for LQ–HQ image pairs. It is efficient because the forward process terminates near the observed degraded image rather than at white noise, which reduces the number of reverse sampling steps. It is bidirectional because there is an explicit forward transition from one endpoint distribution to the other and a learned reverse transition that inverts this path (Yue et al., 2024, Liu et al., 15 Aug 2025).

The term is not fully canonical across the literature. In the ResShift paper, “Residual-based Efficient Bidirectional Diffusion Model” is not the exact title used by the authors, but it is an accurate conceptual description of the method. By contrast, “RBDM” is also used as an acronym for Regulated Bridge Diffusion Model in polarization-based virtual staining, where the model is a Brownian-bridge construction rather than a residual-shifting image restoration model (Zheng et al., 3 Mar 2025). A related but differently named development is the Residual Diffusion Bridge Model (RDBM), which reformulates generalized diffusion bridges with residual-modulated noise injection for universal image restoration (Wang et al., 27 Oct 2025).

A common misconception is that all conditional diffusion models for restoration are already residual-based and bidirectional in this stronger sense. The cited work distinguishes RBDM-style constructions from standard conditional diffusion pipelines that preserve the classic DDPM forward process to noise and merely condition the reverse process on degraded observations. In the residual-shifting view, the paired domains themselves define the bridge, and the residual becomes the task-specific direction of transport (Yue et al., 2024).

2. Residual shifting between paired image domains

The clearest early formulation appears in ResShift. Let x0\bm{x}_0 denote the HQ image and y0\bm{y}_0 the LQ image at the same resolution, and define the residual

e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.

The forward diffusion is a Markov chain x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T conditioned on y0\bm{y}_0, with transition kernel

q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).

Its marginal form is

q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),

which yields the reparameterization

xt=(1ηt)x0+ηty0+κηtξt.\bm{x}_t = (1-\eta_t)\bm{x}_0 + \eta_t \bm{y}_0 + \kappa \sqrt{\eta_t}\,\bm{\xi}_t.

The mean is therefore a convex combination of HQ and LQ endpoints, while the variance is controlled independently by κ\kappa and the schedule x0\bm{x}_00 (Yue et al., 2024).

This construction changes the geometry of the diffusion path. At x0\bm{x}_01, with x0\bm{x}_02, the state remains close to the HQ image. At x0\bm{x}_03, with x0\bm{x}_04, the terminal distribution is a perturbation around the LQ image rather than around pure Gaussian noise. The forward process therefore moves from HQ to a noisy LQ prior, and the reverse process starts from that noisy LQ prior and restores the HQ image. The bidirectionality is thus defined in residual space: forward diffusion shifts along x0\bm{x}_05, and reverse denoising learns to invert that shift (Yue et al., 2024).

The reverse kernel is parameterized as a Gaussian whose mean depends on a network prediction of the clean image x0\bm{x}_06, not on direct noise prediction. With fixed posterior variance, the ELBO simplifies to an x0\bm{x}_07-style loss on the prediction x0\bm{x}_08. In practice, the weighted form is dropped and an unweighted x0\bm{x}_09 loss is used, and a perceptual LPIPS term is added because pure y0\bm{y}_00 leads to average solutions and oversmoothing, especially when y0\bm{y}_01 (Yue et al., 2024).

The schedule is equally central. ResShift enforces y0\bm{y}_02, sets

y0\bm{y}_03

and uses a non-uniform geometric schedule for intermediate steps. The parameter y0\bm{y}_04 controls how quickly y0\bm{y}_05 grows: smaller y0\bm{y}_06 yields smoother residual shifting at early steps, while larger y0\bm{y}_07 yields more aggressive residual change. This explicit separation between shifting speed and noise strength is a defining feature of the residual-based efficient formulation (Yue et al., 2024).

3. Dual Markov chains for dehazing and haze generation

The 2025 dehazing paper uses the name Residual-based Efficient Bidirectional Diffusion Model directly and extends the residual-shifting principle to two symmetric conditional distributions: haze-free y0\bm{y}_08 hazy (Liu et al., 15 Aug 2025). Let y0\bm{y}_09 denote the haze-free image and e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.0 the hazy image. Two residuals are defined: e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.1 The model then constructs dual Markov chains. The dehazing chain starts from e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.2 and drifts toward e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.3,

e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.4

while the haze-generation chain starts from e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.5 and drifts toward e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.6,

e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.7

In both directions, the terminal state is a Gaussian perturbation around the opposite endpoint rather than an unconditional noise prior (Liu et al., 15 Aug 2025).

The reverse processes are likewise paired. One chain models e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.8 for dehazing, and the other models e0=y0x0.\bm{e}_0 = \bm{y}_0 - \bm{x}_0.9 for haze generation. The reverse kernels are Gaussian and share a unified network x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T0, which parameterizes the means in both directions. The theoretical KL objectives reduce to a unified x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T1-type regression loss with constant weight x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T2, and the paper reports that this unweighted form performs better than more sophisticated weighting (Liu et al., 15 Aug 2025).

A notable design choice is patch-based training and inference. The network is trained on randomly cropped patches defined by binary masks and Crop, rather than on full images. At test time, arbitrary-resolution images are decomposed into overlapping patches, each patch is processed independently through the diffusion update, and overlapping predictions are averaged pixelwise: x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T3 This makes the model size-agnostic, reduces memory and computation, and increases effective data diversity on relatively small dehazing datasets (Liu et al., 15 Aug 2025).

The resulting RBDM is explicitly bidirectional in a stronger operational sense than ResShift. The same model supports dehazing and haze generation, uses only 15 sampling steps, and implements smooth transitions between haze-free and hazy domains. The paper further situates this design against the atmospheric scattering model

x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T4

arguing that paired residuals provide a practical conditional generative alternative to directly estimating all ASM factors (Liu et al., 15 Aug 2025).

4. Relation to bridge diffusion and acronym ambiguity

The RBDM label sits within a broader landscape of bridge-based diffusion methods, but not all bridge models are residual-shifting models, and not all uses of the acronym refer to the same idea.

Model Domain Defining mechanism
ResShift (Yue et al., 2024) SR, inpainting, blind face restoration HQ-to-noisy-LQ residual shifting
RBDM (Liu et al., 15 Aug 2025) Dehazing and haze generation Dual residual-shifting Markov chains
Regulated Bridge Diffusion Model (Zheng et al., 3 Mar 2025) Polarization-based virtual staining Brownian bridge with SSR and RR
RDBM (Wang et al., 27 Oct 2025) Universal image restoration Generalized OU bridge with residual-modulated diffusion

The Regulated Bridge Diffusion Model for virtual staining defines a Brownian bridge between target modality x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T5 and source modality x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T6,

x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T7

To handle 16-channel Mueller matrix input, it introduces an encoder x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T8 with two convolutional layers, 16x0x1xT\bm{x}_0 \to \bm{x}_1 \to \cdots \to \bm{x}_T964 and 64y0\bm{y}_003, plus Tanh, and supplements the bridge loss with Starting State Regulation (SSR) using a VGG-based perceptual loss and Route Regulation (RR) using MS-SSIM. Its complete objective is y0\bm{y}_01 (Zheng et al., 3 Mar 2025). This model is bridge-based and bidirectional, but it is not presented as a residual-shifting efficient image restoration model.

The Residual Diffusion Bridge Model provides a different unification. It starts from a generalized OU process and sets the diffusion modulation variable to the residual

y0\bm{y}_02

leading to the bridge SDE

y0\bm{y}_03

Here the residual scales the diffusion term spatially, so intact regions receive little perturbation while degraded regions receive more aggressive reconstruction. The paper argues that Brownian bridges, VE bridges, VP bridges, OU bridges, stochastic interpolants, and even flow matching arise as special cases of this generalized bridge family (Wang et al., 27 Oct 2025). A plausible implication is that the residual-shifting RBDM lineage and the analytically derived RDBM lineage can be read as complementary rather than competing: one emphasizes short conditional chains between paired endpoints, the other emphasizes a unified bridge theory with residual-modulated variance.

5. Architectures, objectives, and efficiency mechanisms

Architecturally, residual-based efficient bidirectional models are not tied to a single backbone. ResShift uses a U-shaped network with Swin Transformer blocks instead of global self-attention because global self-attention performs poorly when test resolution differs from training resolution, leading to uniform attention maps and blur; in some settings, diffusion is performed in the latent space of a pretrained VQGAN and then decoded back to images (Yue et al., 2024). The dehazing RBDM uses a modified UNet derived from DDPM, with time embeddings for y0\bm{y}_04 and y0\bm{y}_05, and conditions jointly on noisy haze-free and hazy patches y0\bm{y}_06 (Liu et al., 15 Aug 2025).

The training target also differs from standard DDPM conventions. In ResShift, the network predicts the clean HQ image y0\bm{y}_07, and the loss is an unweighted y0\bm{y}_08 term augmented with LPIPS: y0\bm{y}_09 In the dehazing RBDM, the shared network is trained with an q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).0 objective to recover the clean pair signal from jointly perturbed hazy and haze-free patches: q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).1 The virtual staining bridge model instead trains a noise predictor q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).2 with SSR and RR as explicit regularizers (Yue et al., 2024, Liu et al., 15 Aug 2025, Zheng et al., 3 Mar 2025).

Efficiency follows from the same structural principle across these variants: the trajectory is shortened because the forward process ends near the observed conditioning domain, not in isotropic noise. ResShift states this explicitly: the chain goes from HQ to noisy LQ, not to pure Gaussian noise, so only a few reverse steps are required. It further notes that methods such as StableSR and LDM train with 1000 steps and then rely on DDIM or DPM-Solver to reduce inference steps, with performance loss and oversmoothing, whereas ResShift avoids post-hoc acceleration and still restores with four steps (Yue et al., 2024). The dehazing RBDM makes the same argument for bidirectional haze modeling, attributing its 15-step inference regime to residual-based forward processes, patch-based operation, and a shared model for both directions (Liu et al., 15 Aug 2025).

6. Empirical performance, limitations, and significance

The empirical record reported for residual-based efficient bidirectional models is task-specific but consistent in pattern: few-step residual-aware bridges remain competitive with, and often outperform, substantially longer diffusion pipelines.

For image restoration in ResShift, the paper reports that the method achieves superior or comparable performance on image super-resolution, image inpainting, and blind face restoration even only with four sampling steps. On ImageNet-Test SR, ResShiftL-4 reports PSNR 25.02, SSIM 0.683, LPIPS 0.208, runtime 0.186 s, compared with LDM-15 at PSNR 24.89, SSIM 0.670, LPIPS 0.269, runtime 0.247 s, and StableSR-15 at PSNR 23.37, SSIM 0.631, LPIPS 0.262, runtime 1.070 s. An ablation further reports that q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).3 already yields PSNR 25.64 and SSIM 0.6903 on ImageNet-Test SR, while increasing q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).4 beyond about 15 mainly improves LPIPS and is not necessary when perceptual loss is added (Yue et al., 2024).

For dehazing and haze generation, the explicit RBDM reports PSNR = 32.68 dB and SSIM = 0.976 on RESIDE-6K, outperforming FFA-Net at 29.96/0.973 and TSNet at 31.31/0.975, while remaining second to DehazeFormer only in SSIM by a margin of 0.001. On NTIRE2020/2021/2023, it reports an average PSNR = 23.89 and SSIM = 0.7085, compared with the best listed competitor, SCANet, at 20.37 and 0.6933. Its best ablation setting on NTIRE2020 is 15 steps, q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).5, q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).6, with PSNR 23.19 and SSIM 0.6665 (Liu et al., 15 Aug 2025).

The bridge-based variants outside the strict residual-shifting definition show analogous gains. In virtual staining, full RBDM reports for polarization q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).7 H&E: PSNR q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).8, SSIM q(xtxt1,y0)=N(xt;  xt1+αte0,  κ2αtI).q(\bm{x}_t \mid \bm{x}_{t-1}, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_{t-1} + \alpha_t \bm{e}_0,\; \kappa^2 \alpha_t \bm{I}\bigr).9, FID 19.67, LPIPS 0.26, improving over Pix2Pix and Pyramid Pix2Pix on all metrics; for polarization q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),0 fluorescence it reports PSNR q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),1, SSIM q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),2, FID 43.03, LPIPS 0.39 (Zheng et al., 3 Mar 2025). RDBM reports state-of-the-art or best average PSNR/SSIM across deraining, low-light enhancement, desnowing, dehazing, and deblurring, with performance peaking at 10 sampling steps and with residual modulation outperforming settings such as q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),3 or q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),4 (Wang et al., 27 Oct 2025).

The limitations are equally consistent. ResShift notes that training degradations may not cover all real degradations and reports failures on some extremely degraded comic images. The dehazing RBDM reports performance drop under extremely heavy haze, where details are inherently absent, and notes that simple pixel-difference residuals may not capture all atmospheric effects. The virtual staining RBDM depends on a large, strictly registered paired dataset of 18,000 patches from 7 breast cancer patient samples, which constrains generalization to other organs or setups. RDBM, while analytically broader, still assumes paired HQ/LQ distributions and fixed bridge design choices such as the stationary variance parameter q(xtx0,y0)=N(xt;  x0+ηte0,  κ2ηtI),q(\bm{x}_t \mid \bm{x}_0, \bm{y}_0) = \mathcal{N}\bigl(\bm{x}_t;\; \bm{x}_0 + \eta_t \bm{e}_0,\; \kappa^2 \eta_t \bm{I}\bigr),5 (Yue et al., 2024, Liu et al., 15 Aug 2025, Zheng et al., 3 Mar 2025, Wang et al., 27 Oct 2025).

Taken together, these papers establish RBDM not as a single immutable architecture but as a family resemblance among residual-guided bridge constructions. The recurring principle is that image restoration benefits when diffusion is reformulated as transport between paired domains, with residuals governing the direction and, in some formulations, even the spatial strength of the stochastic process. This suggests that the lasting significance of RBDM lies less in a specific acronym than in a design thesis: start from the observed degradation, build a short bridge to the target, and let residual structure determine how the bridge is traversed.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Residual-based Efficient Bidirectional Diffusion Model (RBDM).