Multi-task Neural Networks with Spatial Activation for Retinal Vessel Segmentation and Artery/Vein Classification

Wenao Ma, Shuang Yu, Kai Ma, Jiexiang Wang, Xinghao Ding, Yefeng Zheng

TL;DR

Researchers have developed a multi-task deep learning framework that simultaneously segments retinal blood vessels and classifies them as arteries or veins. By using a novel "spatial activation mechanism," the model allows the relatively easier task of vessel detection to "guide" the more difficult task of artery/vein (A/V) classification, achieving state-of-the-art results on the AV-DRIVE dataset.

What Problem Does This Paper Address?

The condition of retinal arteries and veins is a "window" into a patient’s cardiovascular health. Changes in vessel thickness or the ratio between arteries and veins can signal hypertension or other systemic diseases.

Traditionally, automated systems handle this in two steps: first, they find the vessels (segmentation), and then they classify them (A/V classification). This approach has a major flaw: if the segmentation step misses a tiny vessel or breaks a connection, the classification step is doomed to fail. Furthermore, existing deep learning models often struggle with fine capillary vessels, which are difficult to distinguish from the background. The authors aim to bridge this gap by performing both tasks at once, allowing the network to learn shared features that benefit both objectives.

Methods

The authors propose a multi-task U-Net architecture with several clever modifications:

  1. Multi-input Module: Instead of just feeding in raw images, the network receives three versions of the data: the original image, an illumination-corrected version, and a vessel-enhanced version (using traditional Gabor filters and line detectors). This integrates "domain knowledge" into the deep learning pipeline.
  2. ResNet Encoder with Deep Supervision: The model uses a pretrained ResNet as the backbone. To ensure low-level layers learn useful semantic information, they added "side outputs" (deep supervision) that calculate loss at various stages of the encoder, speeding up convergence.
  3. Spatial Activation Mechanism: This is the paper's core innovation. The network splits into two branches at the end: one for general vessel segmentation and one for A/V classification. The vessel segmentation branch generates a probability map. Since capillaries often have values around 0.5 in these maps, the authors apply a Gaussian-based activation function to these values. This creates a weight map that "activates" or highlights potential capillary regions, which is then used to boost the features in the A/V classification branch.

Datasets

The model was trained and evaluated on three primary datasets:

  • AV-DRIVE: The primary benchmark, containing 20 training and 20 test images with pixel-wise labels for both segmentation and A/V classification.
  • INSPIRE-AVR: Used for testing "skeletal" A/V classification (classification along the vessel centerlines).
  • HRF (High Resolution Fundus): Because A/V labels are scarce, the authors manually labeled the A/V classes for this dataset to provide extra training data.

Key Insights and Ideas

  • The "Easier Task" Advantage: The authors realized that identifying if a pixel is a vessel is easier than identifying which type of vessel it is. By using the vessel map as a spatial guide, they effectively tell the A/V classifier, "Pay extra attention to these pixels; they are definitely vessels, even if they are very thin."
  • Capillary Focus: Most models fail at the "ends" of the vascular tree. The Gaussian activation function specifically targets the 0.5 probability range—the "uncertain" zone where capillaries usually reside—to ensure they aren't ignored as background noise.
  • Hybrid Intelligence: While deep learning is powerful, the inclusion of traditional vessel enhancement techniques (Gabor filters) in the input layer proved to still be beneficial for overall accuracy.

Key Results

The proposed model achieved state-of-the-art performance on the AV-DRIVE dataset:

  • Vessel Segmentation: 95.70% accuracy.
  • A/V Classification: 94.50% accuracy.
  • INSPIRE-AVR: 91.6% skeletal A/V classification accuracy (without fine-tuning on this specific dataset).

Ablation studies confirmed that the multi-task approach and the spatial activation mechanism were responsible for significant jumps in performance, particularly in correctly identifying complex crossovers and parallel vessels.

Limitations and Future Work

While the model performs exceptionally well, the authors note that the current system focuses on segmentation and classification. The logical next step—and the ultimate goal for clinical use—is quantitative parameterization. This involves automatically measuring vessel diameters and tortuosity (twists and turns) based on the model's output to provide doctors with concrete biomarkers for disease diagnosis. The authors plan to implement these automated measurement modules in future iterations of the work.

Summary updated

BibTeX
@inproceedings{ma2019multi,
  author = {Wenao Ma and Shuang Yu and Kai Ma and Jiexiang Wang and Xinghao Ding and Yefeng Zheng},
  title = {{Multi-task Neural Networks with Spatial Activation for Retinal Vessel Segmentation and Artery/Vein Classification}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2019},
  doi = {10.1007/978-3-030-32239-7\_85},
}
Figure