Papers
Topics
Authors
Recent
Search
2000 character limit reached

Active Diffusion Matching: Score-based Iterative Alignment of Cross-Modal Retinal Images

Published 11 Apr 2026 in cs.CV | (2604.10084v1)

Abstract: Objective: The study aims to address the challenge of aligning Standard Fundus Images (SFIs) and Ultra-Widefield Fundus Images (UWFIs), which is difficult due to their substantial differences in viewing range and the amorphous appearance of the retina. Currently, no specialized method exists for this task, and existing image alignment techniques lack accuracy. Methods: We propose Active Diffusion Matching (ADM), a novel cross-modal alignment method. ADM integrates two interdependent score-based diffusion models to jointly estimate global transformations and local deformations via an iterative Langevin Markov chain. This approach facilitates a stochastic, progressive search for optimal alignment. Additionally, custom sampling strategies are introduced to enhance the adaptability of ADM to given input image pairs. Results: Comparative experimental evaluations demonstrate that ADM achieves state-of-the-art alignment accuracy. This was validated on two datasets: a private dataset of SFI-UWFI pairs and a public dataset of SFI-SFI pairs, with mAUC improvements of 5.2 and 0.4 points on the private and public datasets, respectively, compared to existing state-of-the-art methods. Conclusion: ADM effectively bridges the gap in aligning SFIs and UWFIs, providing an innovative solution to a previously unaddressed challenge. The method's ability to jointly optimize global and local alignment makes it highly effective for cross-modal image alignment tasks. Significance: ADM has the potential to transform the integrated analysis of SFIs and UWFIs, enabling better clinical utility and supporting learning-based image enhancements. This advancement could significantly improve diagnostic accuracy and patient outcomes in ophthalmology.

Summary

  • The paper introduces a dual-path diffusion framework that jointly estimates global homography and local deformations for precise cross-modal retinal image alignment.
  • It employs transformer-based and CNN-based score networks with iterative refinement and input-adaptive guidance to overcome disparities in field-of-view and image quality.
  • ADM demonstrates superior performance over state-of-the-art methods by achieving higher mAUC and robust convergence on challenging SFI-UWFI datasets.

Active Diffusion Matching: A Score-based Iterative Approach for Cross-Modal Retinal Image Alignment

Introduction

Aligning standard fundus images (SFIs) and ultra-widefield fundus images (UWFIs) is a critical but challenging task in ophthalmic image analysis. These modalities display substantial disparities in field-of-view (FOV), scale, color, and local retinal features, making cross-modal registration highly nontrivial. Prior methods either only address SFI-SFI registration or rely on hand-crafted keypoints and affine transformations, which are inadequate given the SFI-UWFI domain gap. The "Active Diffusion Matching: Score-based Iterative Alignment of Cross-Modal Retinal Images" paper (ADM) (2604.10084) introduces a novel, diffusion-based framework that iteratively estimates both global transformations and local deformations, thereby enabling robust, fully automated SFI-UWFI alignment. Figure 1

Figure 1: SFI-UWFI alignment via ADM, with FOV differences and comparative local alignment results versus SuperRetina and GeoFormer.

Methodology

Dual-path Score-based Diffusion Model

ADM builds upon recent advances in score-based generative models and Langevin Markov chains, simultaneously leveraging two independent yet interdependent diffusion models. These models jointly estimate:

  • Global Homography (H\mathcal{H}): Handled by a transformer-based score network, modeling the dominant projective transformation between SFI and UWFI domains.
  • Local Displacement Field (v\mathbf{v}): Captured via a CNN-based (U-net) score estimator, modeling local deformation beyond the global homography.

Each model is trained with a conditional denoising score-matching loss, enabling progressive refinement through a reverse diffusion process. Critically, inference is performed by iteratively updating estimates of Ht\mathcal{H}_t and vt\mathbf{v}_t in a coupled manner, utilizing a customized guidance scheme based on appearance consistency. Figure 2

Figure 2: ADM overview—source (SFI) and dest (UWFI) images are aligned via dual score networks for homography (sθ\mathbf{s}_\theta) and local field (sϕ\mathbf{s}_\phi), conditioned through learned encoders and combined via spatial transformer layers.

Additional salient aspects include:

  • Input-adaptive guidance: At each inference step, ADM modulates the score prediction for homography (sθ\mathbf{s}_\theta) by incorporating gradients of pixel-level appearance loss, enhancing adaptability to challenging image pairs.
  • Iterative refinement: The aligned output is recursively re-used as input, further minimizing residual misalignment.
  • Dynamic scheduling: Losses and guidance terms are weighted adaptively across the diffusion trajectory to encourage stability and convergence. Figure 3

    Figure 3: Homography estimation path architecture—image features via EH\mathcal{E}_\mathcal{H} and transformer-based predictor sθ\mathbf{s}_\theta.

    Figure 4

    Figure 4: Displacement field estimation path—vessel-enhanced features via Ev\mathcal{E}_{\mathbf{v}} and U-net-based v\mathbf{v}0 yield local deformation maps.

    Figure 5

    Figure 5: Score-based iterative alignment—progressive prediction and composition of global and local alignment transformations.

Experimental Results

Datasets

ADM's efficacy is validated on two benchmarks:

  • KBSMC (private): 3744 SFI-UWFI pairs exhibiting strong real-world variability in scale and FOV.
  • FIRE (public): 134 SFI-SFI pairs, standard benchmark for retinal image registration.

Key metrics are maximum alignment error (MAE), median error (MEE), and mean Area Under the Curve (mAUC) for acceptable registration.

Quantitative Results

ADM demonstrates superior performance on the challenging KBSMC dataset:

Method Acceptable Rate (%) Inaccurate (%) mAUC
GeoFormer 36.10 63.90 24.1
MCNet 32.89 67.11 20.9
ADM 41.98 58.02 29.3

On FIRE, ADM matches or slightly surpasses top-performing SFI-SFI baselines with highest mAUC reported.

Qualitative Results

Figure 6

Figure 6: Direct homography estimation qualitative comparison—ADM achieves superior alignment compared to GLAMPoints, NCNet, RigidIRNet, ISTN, SuperRetina, and GeoFormer on SFI-UWFI pairs.

Figure 7

Figure 7: Iterative homography refinement—ADM attains more accurate and faster convergence than DLKFM and MCNet.

Figure 8

Figure 8: ADM aligns SFI-SFI image pairs in the FIRE dataset robustly, with accurate overlay of anatomical structures.

Ablation and Analysis

ADM's architectural and algorithmic choices are systematically ablated:

  • Guided sampling and iteration: Removing adaptive guidance or iterative updates significantly degrades mAUC and alignment accuracy.
  • Network design: The transformer-for-global, CNN-for-local split provides superior results compared to alternatives.
  • Dynamic loss weighting: Adaptive schedules for key loss terms stabilize global transformation estimation.

ADM also demonstrates robustness to Gaussian noise, blur, and low illumination, with only moderate performance drops. Figure 9

Figure 9: Ablative evaluation on ADM iterations and hyperparameters—performance saturates with increased sampling steps for global estimator; local estimator is sensitive to oversmoothing.

Limitations and Failure Cases

Despite its strengths, ADM's extended inference time (≈47 s per pair) is substantially slower than some baselines due to iterative Langevin steps. Furthermore, in highly degraded scenarios with low vessel visibility, the local deformation path (v\mathbf{v}1) may fail, analogous to keypoint-based approaches under low SNR. Figure 10

Figure 10: Failure cases—ADM and GeoFormer both fail under severe blur and low illumination where anatomical structure extraction is unreliable.

Theoretical and Practical Implications

The integration of dual-path diffusion modeling provides a theoretically grounded framework for disentangling global and local transformations in cross-modal registration. ADM's architecture is extensible: any medical imaging task requiring multimodal registration with significant domain gaps stands to benefit. The stochastic iterative formulation enables adaptation to previously unseen test cases beyond what is achievable with feedforward architectures.

Practically, aligning SFI-UWFI pairs enables the construction of large datasets for image enhancement and super-resolution, potentially elevating UWFI to the gold standard for retinal assessment with minimal diagnostic compromise. Robust cross-modal registration is also fundamental for multimodal fusion and longitudinal studies in ophthalmology.

Future Directions

Potential avenues for extending ADM’s capabilities include:

  • Acceleration: Adoption of fast or one-step diffusion sampling with knowledge distillation [song2023consistency, salimans2022progressive].
  • Enhanced robustness: Integration of adversarial training or hybrid fusion with keypoint-based cues; dynamic preprocessing for quality-aware vessel extraction.
  • Generalization: Application to other anatomical domains (e.g., brain MRI-to-CT registration) and 3D multimodal data.

Conclusion

ADM introduces a diffusion-based, dual-path framework for cross-modal retinal image alignment, outperforming conventional and state-of-the-art deep learning baselines on SFI-UWFI alignment tasks. Its joint treatment of global and local transformation estimation sets a new standard for robust, adaptable medical image registration, with broad implications for downstream clinical applications and cross-modal data fusion (2604.10084).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

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

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.