arXiv:2609.06699cs.CVSep 2026

Manuscript Offprint

arXiv:2609.06699

Attention-Enhanced Deep Features with Heterogeneous Ensemble Learning for Glaucoma Detection

Abdullah Al Shafi, Nishat Sadaf Lira, Abrar Hasan, Kazi Saeed Alam, Swapnil Kundu Argha

Abdullah Al Shafi*, Nishat Sadaf Lira†, Abrar Hasan‡, Kazi Saeed Alam§, and Swapnil Kundu Argha¶

Department of CSE, Khulna University of Engineering & Technology, Bangladesh*§¶

Department of CSE, Daffodil International University, Bangladesh †

Department of SWE, Green University of Bangladesh‡

abdullah@iict.kuet.ac.bd*, sadaflira.cse@diu.edu.bd†, abrar@swe.green.edu.bd‡,

saeed.alam@cse.kuet.ac.bd§, swapnilkundu01@gmail.com

Abstract—Glaucoma is a progressive optic neuropathy characterized by irreversible damage to the optic nerve, making timely diagnosis critical to prevent permanent vision loss. Although deep learning has demonstrated promising performance in automated glaucoma detection, existing approaches often overlook feature refinement, suffer from class imbalance, and rely on individual classifiers that limit prediction robustness. To address these challenges, this paper proposes a hybrid glaucoma detection framework that integrates attention-enhanced deep feature extraction with heterogeneous ensemble learning. Specifically, deep representations are extracted using InceptionV3 and subsequently refined by incorporating the Convolutional Block Attention Module (CBAM) to enhance discriminative retinal features. To improve classification robustness, the extracted features are classified using multiple machine learning models together with Single-Level Ensemble (SLE) and Double-Level Ensemble (DLE) strategies, while SMOTE combined with Tomek Links (SMOTE+TL) is employed to alleviate class imbalance. Furthermore, a systematic comparison of handcrafted, deep, and attention-enhanced deep feature representations is conducted. Experimental evaluation on two public retinal fundus datasets demonstrates that deep feature-based methods consistently outperform handcrafted feature-based methods, while the proposed attention-enhanced framework achieves the best overall performance. Furthermore, Grad-CAM visualizations confirm that the proposed model focuses on clinically relevant retinal regions, providing interpretable evidence on the model's prediction process.

Index Terms—glaucoma diagnosis, attention mechanism, ensemble learning, class imbalance, Grad-CAM.

I. INTRODUCTION

Glaucoma is a type of eye condition that puts pressure on the eye, resulting in damage to the optic nerve. As a slowly progressive disease, the symptoms of glaucoma are often unnoticeable. Glaucoma usually causes blurred vision, eye pain, and, in severe cases, loss of sight. As the second-leading cause of irreversible blindness globally, glaucoma affected approximately 80 million people in 2020, a number projected to rise to 111.8 million by 2040 [1]. However, early diagnosis can help prevent irreversible vision loss and permanent blindness. The traditional method of glaucoma detection is often based on the expertise of professionals, which is a time-consuming process. It includes perimetry

assessment, conducting a dilated eye examination, cup-to-disc (CDR) ratio, pachymetry, tonometry, etc. [2]. Although traditional detection methods provide an established diagnostic baseline, the detection rate can be improved with the help of automated detection, which will reduce the workload of healthcare professionals [3].

Traditionally, the automated glaucoma detection systems involve two initial stages: feature extraction from retinal fundus images and subsequent classification of these features to identify the presence or absence of the disease [2]. Key diagnostic indicators extracted from fundus images include the morphology of the optic disc (OD) and optic cup (OC), analysis of blood vessels, and calculation of the cup-to-disc ratio (CDR) [4]. If any abnormalities are found in these structures, such as an enlarged OC or a CDR exceeding 0.7, they are the indication of glaucoma risk [5]. Furthermore, there are deep convolutional neural network (CNN) architectures that can extract features from fundus images to detect glaucoma.

The main contributions of this work are summarized below:

i) We incorporate the Convolutional Block Attention Module (CBAM) [6] into InceptionV3 [7] to enhance feature representation of retinal fundus images. In addition, we compare traditional handcrafted CDR-based features with deep learning-based features to analyze their effectiveness in glaucoma detection.

ii) Two heterogeneous ensemble strategies, namely Single Level Ensemble (SLE) and Double Level Ensemble (DLE), were utilized to improve classification stability and performance while using SMOTE+TL [8] to handle the class imbalance issue where applicable.

iii) We employ Gradient-weighted Class Activation Mapping (Grad-CAM) [9] visualization to provide interpretability and highlight diagnostically relevant regions in fundus images.