A research team from the Department of Ophthalmology at Panzhihua Central Hospital has introduced an automated deep learning framework for fundus disease classification that simultaneously addresses subtle pathological morphology, retina-wide spatial organization, and diagnostic evidence concentration. Described in an original research article published in Frontiers in Medicine, the architecture builds upon a hierarchical Swin-Tiny Vision Transformer encoder and incorporates three purpose-built processing stages: a Micro-Lesion Morphology Module, a Retinal Geometry-Aware Selective State-Space Transport module, and an Evidence-Aware Retinal Pooling Head. Across extensive evaluations on the public Age-Related Eye Disease Study benchmark for age-related macular degeneration, the multi-center DDR dataset for diabetic retinopathy, and an internal retrospective clinical cohort of seven hundred patients, the unified system demonstrated consistent performance advantages over conventional convolutional neural networks, standard Transformer baselines, and contemporary visual state-space models.
Automated interpretation of color fundus photographs is a fundamental tool for non-invasive ophthalmic screening, but computerized systems regularly struggle with the distinctive physical characteristics of retinal disorders. Many clinically critical abnormalities—including tiny hemorrhagic spots, microaneurysms, fine exudative deposits, and localized macular texture disruptions—occupy only a minute fraction of the overall image area and exhibit weak visual contrast against healthy tissue. In conventional neural networks, repeated spatial downsampling and global feature pooling tend to dilute these subtle pathological signals. Furthermore, retinal pathologies frequently exhibit structured spatial patterns, directional continuity, and dependencies across distant areas within the ocular fundus. Most standard architectures process images via localized convolutional windows or quadratic self-attention mechanisms that fail to incorporate the approximately circular geometry of the retinal field, while indiscriminate feature pooling allows the vast expanse of normal background retina to dominate the diagnostic decision.
To overcome these challenges, the investigators designed the Micro-Lesion Morphology Module to re-emphasize fine pathological patterns immediately following the hierarchical Swin Transformer backbone without attempting unconstrained pixel-level reconstruction. Given the high-level semantic tokens from the encoder, the module first applies two-dimensional layer normalization across spatial and channel dimensions to stabilize feature distributions. It then routes the normalized representation into three parallel depthwise convolutional pathways with distinct effective receptive fields: a three-by-three kernel branch for compact abnormalities with sharp high-frequency details, a five-by-five kernel branch for broader lesion boundaries and localized textural transitions, and a dilated depthwise three-by-three kernel branch with a dilation rate of two to capture diffuse pathological alterations without inflating parameter counts. An auxiliary gating pathway applies a lightweight projection and sigmoid activation to estimate adaptive spatial-channel modulation weights, which selectively boost locations with strong pathological potential while attenuating background responses, before re-injecting the modulated features into the backbone stream through a residual connection with a learnable scaling coefficient.
The enhanced representations are subsequently processed by the Retinal Geometry-Aware Selective State-Space Transport module to model long-range structural dependencies across separated retinal regions. Rather than relying on standard Cartesian coordinates alone, the module constructs an explicit four-dimensional spatial coordinate field combining normalized horizontal and vertical coordinates with the radial distance from the image-space retinal center and the corresponding angular orientation. These geometric priors reflect the circular imaging domain of fundus photography, establishing relative center-to-periphery and directional relationships without requiring explicit anatomical landmark detection. The geometric positional embeddings are projected and merged with the input features to parameterize input selection, decay behavior, and content propagation within a lightweight diagonal state-space recurrence. By scanning the spatial tokens across four directional traversals—left-to-right, right-to-left, top-to-bottom, and bottom-to-top—the module propagates pathological information across distant areas with linear computational complexity relative to token count, avoiding the quadratic memory overhead of global self-attention.
Because pathological manifestations often follow distinct orientations across the fundus, the state-space module incorporates an adaptive directional routing mechanism that calculates normalized scoring weights across the four scanning traversals. This ensures that feature trajectories aligned with the physical distribution of retinal lesions receive higher emphasis during multi-directional integration. After directional fusion, channel-wise gated modulation suppresses uninformative feature dimensions and accentuates channels carrying salient retinal interactions. The refined feature map is then projected and added back to the input through a learnable residual connection, preserving localized micro-lesion details while embedding them within broader retinal-field structural context. Theoretical complexity analysis confirmed that the recurrent scanning operation scales linearly with spatial sequence length, enabling computationally efficient long-range context modeling across the full two-dimensional feature plane.
To convert the geometry-conditioned spatial maps into a compact diagnostic representation, the researchers implemented an Evidence-Aware Retinal Pooling Head that prioritizes diagnostically critical regions over uninformative background tissue. Traditional global average pooling treats every spatial token equally, which frequently allows normal retinal tissue to wash out localized signals of disease. The proposed pooling head computes a scalar diagnostic response map through sequential convolutions and Gaussian Error Linear Unit activation, followed by spatial normalization to generate attention-like evidence coefficients. These weights guide spatial integration to produce an evidence-concentrated feature vector. To prevent the loss of diffuse retinal abnormalities or isolated high-intensity triggers, the head combines this evidence-weighted vector with global average pooling and global max pooling branches via channel-wise concatenation and one-dimensional layer normalization, forming a tri-branch summary that feeds into a lightweight linear classification head with dropout regularization.
Model training was governed by a specialized retinal asymmetric evidence-margin optimization objective designed to counteract class imbalance and curb overconfident predictions. Using class frequencies computed from the training split, the loss applies category-specific logit margins and prior adjustments, giving minority classes stronger boundary regularization. The framework combines focal-reweighted cross-entropy loss with an evidential learning formulation based on a Dirichlet distribution parameterized from the raw network logits. An evidential negative log-likelihood loss and Kullback-Leibler divergence regularization penalize confident outputs that lack empirical support in the learned feature space. Models were optimized using PyTorch with the AdamW optimizer, cosine learning rate annealing from an initial value of 0.0001, a batch size of 16, mixed precision computation, gradient clipping at 5.0, and weighted random sampling over one hundred epochs, with input images standardized to 224 by 224 pixels.
Evaluation on the Age-Related Eye Disease Study benchmark demonstrated the framework’s diagnostic precision for age-related macular degeneration. The AREDS dataset comprised 67,401 graded field-two color fundus photographs from 4,613 participants, partitioned using strict patient-level separation across bilateral images and follow-up examinations to prevent data leakage. Binary classification merged early, intermediate, and advanced AMD against normal controls across three independent runs. The proposed architecture attained an accuracy of 84.32±1.37 percent, precision of 89.38±1.57 percent, recall of 87.51±1.08 percent, and an area under the receiver operating characteristic curve of 91.75±0.74 percent. In head-to-head comparisons, the model outperformed established architectures such as VGG19, ResNet50, DenseNet, ConvNeXt, Vision Transformer, DeiT, and specialized visual state-space networks including VMamba, MambaVision, EfficientViM, MambaOut, InceptionMamba, and CLEAR-Mamba, delivering particularly pronounced improvements in sensitivity and overall threshold-independent category discrimination.
On the public DDR benchmark, the framework showed similarly strong performance for diabetic retinopathy classification. The DDR dataset includes color retinal photographs collected across 147 clinical centers in China; after excluding 1,151 ungradable images, 12,522 photographs were evaluated under a binary schema combining mild, moderate, severe, and proliferative stages against healthy retinas. Evaluated across three random seeds on official partitions, the proposed model achieved an accuracy of 82.11±1.17 percent, precision of 76.14±0.94 percent, recall of 93.51±1.19 percent, and an AUC of 89.19±0.77 percent. The elevated recall score was notably higher than competing baselines, reflecting robust sensitivity for identifying early and advanced microvascular pathology, a quality that is especially critical in large-scale ophthalmic screening programs where minimizing false-negative assessments takes precedence.
To examine practical utility in real-world clinical practice, the authors evaluated the system on an internal single-center clinical cohort collected retrospectively between January 2023 and December 2025 at Panzhihua Central Hospital. The cohort consisted of 700 unique patients, with each participant contributing exactly one gradable color fundus photograph from one eye (375 positive cases with diabetic retinopathy and 325 negative controls without retinopathy). Independent reference labels were assigned by two ophthalmologists with approximately 7 and 12 years of clinical experience, with disagreements adjudicated by a senior retinal specialist with 18 years of experience. Under independent patient-level splits, the model achieved an accuracy of 84.76±1.09 percent, precision of 80.22±0.96 percent, recall of 95.07±1.15 percent, and an AUC of 92.17±1.10 percent, consistently exceeding all comparative convolutional, attention, and state-space architectures under identical experimental conditions.
Systematic ablation experiments confirmed that each architectural and optimization component provided complementary contributions. Removing the Micro-Lesion Morphology Module reduced accuracy and AUC by 1.06 and 2.38 percentage points on AREDS, 2.22 and 2.44 percentage points on DDR, and 2.38 and 2.51 percentage points on the clinical cohort. Omitting the geometry-aware state-space transport module led to AUC drops of 3.57, 2.63, and 3.73 percentage points, respectively, while reverting the asymmetric evidence-margin objective to standard cross-entropy decreased AUC by 3.05, 3.46, and 2.36 percentage points. Hyperparameter analysis of the state-space decay ceiling across values from 0.80 to 0.99 established that an upper bound of 0.98 yielded the optimal balance between preserving long-range structural memory and allowing local feature renewal, while higher ceilings degraded performance through excessive persistence of obsolete states.
Model interpretability and calibration assessments provided deeper insight into decision reliability. Grad-CAM visual heatmaps revealed that the proposed architecture produced tightly focused, spatially coherent activations over true pathological regions, whereas baseline models exhibited diffuse responses across normal retinal tissue and vascular crossings. In quantitative occlusion experiments masking the top 20 percent of salient pixels, the framework demonstrated significantly higher drop in target-class probability (0.356 on AREDS, 0.327 on DDR, and 0.344 on clinical data) compared to random masking or baseline models, alongside high explanation stability under geometric perturbations. In calibration testing, the method consistently lowered Brier scores and negative log-likelihood values across all three datasets and delivered higher error-detection AUROC scores, though Expected Calibration Error and calibration slope displayed dataset-dependent fluctuations on DDR and the clinical cohort.
The authors highlighted several critical methodological and clinical limitations that require careful consideration before translating these techniques into healthcare environments. First, the clinical dataset was gathered retrospectively from a single hospital and served strictly as an internal validation cohort, meaning the findings cannot be generalized to diverse health systems, varying demographics, or different operational workflows. Furthermore, camera manufacturer specifications and device-level acquisition parameters were inconsistently recorded in historical clinical files, preventing direct assessment of hardware-induced variations. The public benchmarks were also evaluated within their native partitions rather than under cross-dataset domain shifts. Finally, the researchers noted that while Grad-CAM and uncertainty metrics provide informative post-hoc diagnostics, they do not replace formal pixel-level lesion annotations or prospective clinical trials, which remain essential future milestones for validating automated retinal artificial intelligence.
Subject of Research: Deep learning framework for fundus photograph retinal disease recognition
Article Title: Retinal field geometry meets lesion morphology: a unified framework for fundus disease recognition
Article References: Tang, Y., & Yang, Z. (2026). Retinal field geometry meets lesion morphology: a unified framework for fundus disease recognition. Frontiers in Medicine, 13, Article 1994362. https://doi.org/10.3389/fmed.2026.1994362
Image Credits: AI Generated
DOI: 10.3389/fmed.2026.1994362
Keywords: fundus photography, retinal disease recognition, diabetic retinopathy, age-related macular degeneration, Swin Transformer, micro-lesion morphology module, selective state-space models, retinal geometry modeling, evidence-aware pooling, AREDS dataset, DDR dataset, clinical cohort validation, predictive calibration, Grad-CAM interpretability, asymmetric evidence-margin learning, ophthalmic artificial intelligence
News Source: Ophelia Keating. (November 24, 2026). Unified Retinal Framework Combines Lesion Morphology and Geometry for Fundus Disease Classification. Scienmag.



