TL;DR
Deep learning models that map out the microscopic layers of the human retina often break down when tested on images from an unfamiliar scanner or when confronted with strange anatomical curves. AA-OCTSeg solves this by baking the actual rules of eye anatomy directly into its data augmentations, semi-supervised training, and final post-processing. The result is an open-source segmentation framework that generalizes cleanly across clinical devices and took first place in the MICCAI 2026 Domain Adaptation for OCT Segmentation Challenge.
What Problem Does This Paper Address?
Think of Optical Coherence Tomography (OCT) as ultrasound, except it uses near-infrared light to capture high-resolution cross-sections (B-scans) of the back of your eye. The retina is structured like a delicate, ten-layer phyllo pastry. Measuring the thickness of those layers is vital for spotting diseases like glaucoma, multiple sclerosis, or diabetic macular edema.
While deep learning is great at tracing these layers on a single machine, it hits a wall in the real world: cross-device generalization. Different commercial scanners have wildly different optics, noise profiles, and scanning protocols. Worse, widefield scans capture dramatic anatomical terrain—like the steep pit of the fovea or the canyon-like plunge of the optic nerve head—alongside lesions and blood vessel shadows. Because paying clinical experts to manually trace pixel-level annotations for every scanner vendor is prohibitively expensive, we need models that can learn from limited, messy, or partial labels and still generalize to unseen hardware and complex anatomy.
Methods
Instead of treating cross-device adaptation, semi-supervised learning, and anatomical rules as separate band-aids, AA-OCTSeg weaves anatomical priors into every step of the pipeline:
- Anatomy-Aware Augmentation & Perturbation (Novel): Standard image flips and rotations don't teach a model about eye morphology. The authors mathematically warp the B-scans along the depth axis to simulate natural variations: axial shifts bend the retina, thickness modulations expand or compress layers (like around the fovea), and optic-disc-like depressions carve steep, realistic canyons into macular scans. They also apply vertical bands of local signal degradation—blur, noise, shadows, and artifacts—forcing the network to infer hidden layer boundaries from surrounding context.
- Partial-Label Loss & Cross-Teaching: Because datasets don't all annotate the same nine layer boundaries, the supervised loss computes probabilities over admissible class intervals rather than requiring exact labels everywhere. Next, two distinct architectures—a vision foundation model (SAM encoder + multi-scale decoder) and a classic CNN (nnU-Net)—teach each other on unlabeled scans. Using Exponential Moving Average (EMA) "teachers," each network generates pseudo-labels for the other. Crucially, pseudo-labels are filtered by reliability weighting: an interface is only trusted if both teachers agree on its location, confidence is high, and the layers don't anatomically invert.
- Anatomically Constrained Inference: Raw pixel predictions can hallucinate impossible biology, like Layer 4 appearing above Layer 2. After fusing the two networks' probability maps, the authors run 1D Viterbi decoding down each pixel column—a classic dynamic programming algorithm repurposed here to guarantee that retinal layers strictly follow their true shallow-to-deep anatomical order.
Datasets
The authors combined a massive pool of 251,406 labeled and 377,646 unlabeled B-scans:
- Training: Public Spectralis datasets with manual labels (JHU HC-MS, Duke DME, OCT5k), DA-OCT synthetic scans, and the large-scale AI-READI cohort (spanning Spectralis, Maestro2, Triton, and Cirrus devices, using imperfect device-software outputs as partial/full labels).
- Evaluation: Tested on the hidden, specialist-annotated MICCAI 2026 DA-OCT Challenge test set, two local held-out AI-READI sets (one machine-labeled, one manually labeled across macular and widefield scans by the first author for method comparison), and an external Duke AMD dataset from a completely unseen Bioptigen scanner.
Key Insights and Ideas
- Foundation models struggle on widefield terrain without anatomical guidance: Out of the box, fine-tuned vision foundation baselines (SAM, RETFound, MIRAGE) plummeted to ~51–56% Dice on widefield scans, frequently breaking down around the optic disc and edema. Pairing a SAM-based network with a U-Net under anatomical constraints fixed this vulnerability.
- Teaching models to "fill in the blanks" matters: In ablations, removing the loss term on degraded/perturbed views caused the widefield score to drop sharply (from 0.837 to 0.782). Simulating vessel shadows and blur is essential for teaching networks to use neighboring anatomical context.
- Guaranteeing biological order is a massive free lunch: Enforcing monotonic depth order via Viterbi decoding boosted all manual-labeled evaluation subsets by over 0.03 points and slashed boundary error on the unseen device from 3.52 down to 2.46 pixels.
Key Results
- 1st Place in the MICCAI 2026 DA-OCT Challenge, achieving a score of 0.8068 on the hidden test set across four devices and multiple scan types.
- Unseen Hardware Generalization: On the external Bioptigen (Duke AMD) dataset, AA-OCTSeg achieved the lowest Mean Absolute Error (2.49 pixels) among nine competitive baselines and an 84.0% Dice score (nearly matching standalone SAM's 84.3% Dice while beating its 2.81 px MAE).
- Widefield Dominance: Achieved the highest Dice score (77.5%) on challenging widefield scans, outperforming standalone nnU-Net (73.8%) and SAM (51.1%), with an MAE of 4.15 pixels (statistically tied with Swin-UNETR's 4.13 px).
- Efficiency & Access: The full dual-pipeline trains in 14.5 GPU hours on a single NVIDIA H200 and is openly available via GitHub and the MONAI Model Zoo.
Limitations and Future Work
While the authors do not include a formal limitations section, several practical constraints are noted in the methodology:
- Ambiguous Boundaries: In local evaluations, the authors had to exclude interfaces $b_2$ (RNFL/GCL) and $b_3$ (GCL/IPL)—and $b_4$ in manual labels—because their exact anatomical positions could not be clearly identified.
- Non-Expert Local Benchmarks: The local "Manual Labeled" test set was annotated by the first author rather than clinical specialists, meaning it serves strictly for relative algorithm comparison rather than clinical ground truth.
- 2D Context Only: AA-OCTSeg operates purely on 2D B-scans rather than 3D OCT volumes. Future directions are not explicitly discussed in the paper, though the authors release the codebase and weights to support downstream clinical and research applications.
Summary updated