DualStreamFoveaNet: A Dual Stream Fusion Architecture With Anatomical Awareness for Robust Fovea Localization

Sifan Song, Jinfeng Wang, Zilong Wang, Hongxing Wang, Jionglong Su, Xiaowei Ding, Kang Dang

TL;DR

DualStreamFoveaNet (DSFN) is a novel transformer-based architecture that locates the fovea in retinal images by fusing standard fundus photos with blood vessel maps. By using a "Bilateral Token Incorporation" module to learn anatomical landmarks, it achieves state-of-the-art accuracy while requiring only 25% of the computational power of previous top-performing models.

What Problem Does This Paper Address?

The fovea is the tiny pit in the center of your retina responsible for sharp, detailed vision. Accurately locating it is critical for diagnosing diseases like macular degeneration. However, finding the fovea is surprisingly difficult for AI:

  1. Lack of Landmarks: The fovea itself is just a dark spot with no distinct local features.
  2. Disease Interference: Hemorrhages or lesions can easily be mistaken for the fovea or hide it entirely.
  3. Image Quality: Poor lighting or non-standard camera angles can make the fovea indistinguishable from the background.

While humans use global context—like the position of the optic disc and the "arch" of major blood vessels—to estimate the fovea's location, most deep learning models rely only on local textures, leading to failures in diseased or poorly lit eyes.

Methods

The authors propose DualStreamFoveaNet (DSFN), which mimics clinical reasoning by looking at multiple "cues" simultaneously.

The Dual-Stream Encoder

Instead of just one input, DSFN uses two:

  • Main Stream: Processes the raw fundus image (using a ResNet34 backbone).
  • Satellite Stream: Processes a vessel segmentation map (using a ResNet18 backbone).

Bilateral Token Incorporation (BTI)

The core innovation is the BTI module, which bridges these two streams using a transformer-based approach. Standard transformers are computationally expensive because they treat every part of an image as a "token."

DSFN uses a TokenLearner to adaptively "distill" the image into just 64 informative tokens (an 8x8 grid). This drastically reduces the math required. These tokens are then processed by Multi-Head Self-Attention (MHSA) to model long-range anatomical relationships (e.g., "the fovea is usually 2.5 optic disc diameters away from the disc center"). Finally, a TokenFuser maps these features back to the original image resolution.

The overall architecture of DSFN, showing the dual-stream encoder and the BTI modules.

RSU Decoder

The decoder uses Residual U-blocks (RSU), which are essentially "U-Nets within a U-Net." This structure is highly effective at capturing features at multiple scales, ensuring the final "probabilistic map" of the fovea is precise.

Datasets

The model was evaluated on three distinct datasets:

  • Messidor: A standard public dataset with 1,136 images (normal and diabetic retinopathy).
  • PALM: 400 images focused on pathologic myopia, which are significantly more challenging due to severe retinal thinning and lesions.
  • Tisu: A large-scale private dataset of 4,103 images used to test the model's robustness and generalization in real-world scenarios.

Key Insights and Ideas

  • Anatomical Awareness is Key: By explicitly feeding vessel maps into the network, the model learns to "look" at the vascular structure to find the fovea, just like a doctor would.
  • Efficiency through Learning, Not Pooling: Most models reduce image size using simple averaging (pooling). DSFN’s TokenLearner learns which spatial areas are important, allowing it to cut token numbers from 1024 to 64 without losing critical anatomical data.
  • Global vs. Local: Transformers allow the model to connect distant landmarks (like the optic disc on one side of the eye) to the fovea, a feat that standard convolutional networks struggle with due to their limited "receptive field."
Visualizations showing how the TokenLearner focuses on the optic disc and vessel branches to locate the fovea.

Key Results

DSFN outperformed all previous methods across all datasets:

  • Accuracy: On the challenging PALM dataset, DSFN achieved 69% accuracy at the strictest threshold (1/4R), a 4% improvement over the previous state-of-the-art.
  • Computational Efficiency: DSFN requires only 62.11G FLOPs, compared to the 249.89G FLOPs of the previous best model (Bilateral-ViT). This makes it much more practical for real-world clinical hardware.
  • Robustness: In diseased images where the fovea was obscured by lesions, DSFN remained accurate by relying on the surrounding vessel structure.
A comparison of mean error vs. computational cost, highlighting DSFN's efficiency.

Limitations and Future Work

The authors note that DSFN is somewhat dependent on the quality of the initial vessel segmentation map. If the pre-trained vessel model fails completely, DSFN's performance may degrade.

Future work includes:

  • Integrating more advanced foundation models (like Segment Anything) for even better vessel detection.
  • Applying the "DualStream" architecture to other medical tasks, such as using rib structures to help locate lung lesions in CT scans or using pelvic bones to guide MRI analysis.

Summary updated

BibTeX
@article{song2024dualstreamfoveanet,
  author = {Sifan Song and Jinfeng Wang and Zilong Wang and Hongxing Wang and Jionglong Su and Xiaowei Ding and Kang Dang},
  title = {{DualStreamFoveaNet: A Dual Stream Fusion Architecture With Anatomical Awareness for Robust Fovea Localization}},
  journal = {IEEE Journal of Biomedical and Health Informatics},
  year = {2024},
  url = {https://openreview.net/forum?id=93F2FgHRhm},
}
Figure