arXiv:2610.23747cs.CVOct 2026

Manuscript Offprint

arXiv:2610.23747

Beyond Multi-Stage Pipelines: A Label-Correlation Ensemble for Multi-Label Retinal Fundus Disease Classification

Md Asif Uddin, Jannatul Ferdous, Asif Islam, Zobaer Mahmud Zisan, Promit Ghosh, Shah Ahafik Arman, Niloy Farhan, Rafeed Rahman

Md Asif Uddin*, Jannatul Ferdous, Asif Islam, Zobaer Mahmud Zisan, Promit Ghosh, Shah Ahafik Arman, Niloy Farhan, Rafeed Rahman

Department of Computer Science and Engineering, BRAC University, Dhaka, Bangladesh

{md.asif.uddin, jannatul.ferdous17, asif.islam, zobaer.mahmud.zisan,

Promit.ghosh, shah.ahafik.arman}@g.bracu.ac.bd; {niloy.farhan, rahman.rafeed}@bracu.ac.bd

*Corresponding author

Abstract—Retinal fundus images frequently carry more than one disease, and public fundus datasets are heterogeneous and severely long-tailed. Clinical triage suggests a staged design, in which a screening gate, a disease-group router and group-specific classifiers operate in sequence, but it is unclear whether this hierarchy earns its complexity. We present a controlled comparison of three architectures on a unified 39-target label space built from RFMiD 1.0, RFMiD 2.0 and ODIR-5K (12,652 images): (i) a three-stage gated cascade of eight models, (ii) a flat model with 39 independent sigmoid outputs, and (iii) a label-correlation model that replaces the flat linear head with 39 learned label queries and a two-layer transformer decoder. All three share one Swin-V2-B backbone, one preprocessing pipeline and one training protocol, so differences are attributable to the architecture. Staging offers no consistent advantage: tracing every missed disease instance to the stage that lost it shows that the two coarse gates discard 34.2% of true instances while the fine-grained classifiers lose only 6.7%, and the gates' hard zeros depress the cascade's macro-AUC to 0.747. Label-correlation modeling gives the largest single gain, raising the detection rate from 0.621 to 0.682 (0.689 with test-time augmentation). Blending the flat and label-correlation models under four-view test-time augmentation is the best configuration on six of eight metrics (exact match 0.694, micro-F1 0.678, macro-F1 0.456, macro-AUC 0.972). On definition-matched class subsets it matches or exceeds four recent studies on macro- and micro-F1, most clearly on low-support pathologies. We also show that ensembling a gated cascade with continuous-output models is harmful, and that per-source negative sampling is needed to remove a dataset shortcut that otherwise yields a spurious AUC of 1.000.

Index Terms—Retinal fundus imaging, multi-label classification, hierarchical cascade, label correlation, transformer decoder, shortcut learning, test-time augmentation, ensembling.

I. INTRODUCTION

Diabetic retinopathy, glaucoma and age-related macular degeneration are among the leading causes of preventable blindness; more than 2.2 billion people live with a vision impairment, nearly half of which could have been prevented or remains unaddressed [1]. Fundus photography is cheap and non-invasive, and deep networks reach specialist-level accuracy on single diseases such as diabetic retinopathy [2], [3]. Real screening, however, is a multi-label problem: one eye may show diabetic retinopathy, laser scars and media haze at once, and the clinically important tail contains dozens of conditions with only a handful of examples each [4], [5].

Two design philosophies compete for this problem. A hierarchical cascade mirrors clinical triage: a binary gate removes healthy eyes, a router assigns the remaining eyes to broad disease groups, and small group-specific classifiers make the fine-grained call. Each sub-problem is easier, and failures are attributable to a stage. A flat model predicts every target from one shared representation, avoiding early irreversible decisions. A third option keeps the flat topology but lets labels interact, so that evidence for one disease can inform another.

Prior multi-disease fundus studies usually compare across different backbones, preprocessing and label sets, which makes it impossible to separate the effect of the architecture from everything else. We hold everything except the architecture fixed and ask a direct question: does the hierarchy earn its complexity?

References (26)