Deep Learning with Class Imbalance for Detecting and Classifying Diabetic Retinopathy on Fundus Retina Images

preprint OA: closed CC-BY-4.0
AI-generated summary by claude@2026-07, 2026-07-14

This study applied Densenet201, Resnet101, and EfficientNetb0 with weight balancing and data augmentation to detect and classify diabetic retinopathy in imbalanced fundus images, achieving prediction improvements with accuracies up to 94.74%.

One-sentence paraphrase of the abstract; not a substitute for reading it. No clinical advice. How this works

AI-generated deep summary by claude@2026-07, 2026-07-14 · read from full text

The paper investigates deep learning approaches for detecting and classifying diabetic retinopathy from fundus retina images using three convolutional neural network families (DenseNet201, ResNet101, and EfficientNetB0). The authors report working with a notably imbalanced dataset dominated by normal images, with mild diabetic retinopathy comprising a very small fraction, and they evaluate class-balancing strategies including weight balancing with data augmentation, oversampling with data augmentation, focal loss with data augmentation, and a hybrid oversampling plus focal loss approach. They find that weight balancing with data augmentation substantially improves performance, reporting test accuracies of 94.74% (DenseNet201, ResNet101) and 93.42% (EfficientNetB0). A key caveat is that this is a Research Square preprint and the provided content does not describe peer-reviewed validation or detailed dataset provenance. The paper does not explicitly discuss endometriosis or adenomyosis; it was included in the corpus via a keyword match in the upstream search index.

Read from the paper's body, not the abstract. Not a substitute for reading the paper. No clinical advice. How this works

Abstract

Diabetes mellitus is a disorder that causes diabetic retinopathy and is the primary cause of blindness worldwide. Early detection and treatment are required to reduce or avoid vision degradation and loss. For that purpose, various artificial-intelligence-powered approaches for detecting and classifying diabetic retinopathy on fundus retina images have been proposed by the scientific community. This article explores solutions to diabetic retinopathy detection by using three recently developed deep neural networks that have proven effective and efficient. Densenet201, Resnet101, and EfficientNetb0 deep neural network families have been applied to detect and classify diabetic retinopathy on fundus retina images. The dataset was notably not equilibrium; the widespread majority had been normal images, while mild Diabetic retinopathy images made up a very minor percentage of the total dataset. To treatment the skewed distribution and to keep away from biased classification results different scenarios have been used to balance the classes by utilizing (i) weight balancing with data augmentation; (ii) oversampling with data augmentation; (iii) focal loss with data augmentation, and (iv) a hybrid method of oversampling with a focal loss with data augmentation that improves the deep neural network performance of fundus retina images classification with the imbalanced dataset to build an expert system that can rapidly and adequately detect fundus images. The experimental results indicated that using Densenet201, Resnet101, and EfficientNetb0, with weight balancing on the dataset, substantially improves diabetic retinopathy prediction, by re-weighting each class in the loss function, a class that represents an under-represented class will receive a larger weight. The models yielded 94.74%, 94.74%, and 93.42%, respectively, on the test data set.
Full text 11,884 characters · extracted from preprint-html · click to expand
Deep Learning with Class Imbalance for Detecting and Classifying Diabetic Retinopathy on Fundus Retina Images | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Deep Learning with Class Imbalance for Detecting and Classifying Diabetic Retinopathy on Fundus Retina Images Kamel Kamal, Rania. A. Mohamed, Ashraf Darwish, Aboul Ella Hassanien This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-1935432/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Diabetes mellitus is a disorder that causes diabetic retinopathy and is the primary cause of blindness worldwide. Early detection and treatment are required to reduce or avoid vision degradation and loss. For that purpose, various artificial-intelligence-powered approaches for detecting and classifying diabetic retinopathy on fundus retina images have been proposed by the scientific community. This article explores solutions to diabetic retinopathy detection by using three recently developed deep neural networks that have proven effective and efficient. Densenet201, Resnet101, and EfficientNetb0 deep neural network families have been applied to detect and classify diabetic retinopathy on fundus retina images. The dataset was notably not equilibrium; the widespread majority had been normal images, while mild Diabetic retinopathy images made up a very minor percentage of the total dataset. To treatment the skewed distribution and to keep away from biased classification results different scenarios have been used to balance the classes by utilizing (i) weight balancing with data augmentation; (ii) oversampling with data augmentation; (iii) focal loss with data augmentation, and (iv) a hybrid method of oversampling with a focal loss with data augmentation that improves the deep neural network performance of fundus retina images classification with the imbalanced dataset to build an expert system that can rapidly and adequately detect fundus images. The experimental results indicated that using Densenet201, Resnet101, and EfficientNetb0, with weight balancing on the dataset, substantially improves diabetic retinopathy prediction, by re-weighting each class in the loss function, a class that represents an under-represented class will receive a larger weight. The models yielded 94.74%, 94.74%, and 93.42%, respectively, on the test data set. Diabetic retinopathy deep learning imbalanced data set CNN architecture and Convolutional neural network Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-1935432","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":127725848,"identity":"b7dd3e66-b643-477b-95b8-6af57abf6b22","order_by":0,"name":"Kamel Kamal","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAz0lEQVRIiWNgGAWjYLCCDwwMCWAGD7E6GGeQrIWZhyQtBrePP/xsU1OXxz/7AOODt20McvIOhLScyzGWzjnGVixxLoHZcG4bg7HhAQJaJHt42Jhz2HgSG84wsEnztjEkbmwgqIX9GbPFP4nE+WcY2H8DtdQT1MLPw2DGzNhmkLgBaAszUEuCPAEdQC08xpK9fQmJG88wNkvOOSdhuIGQFjYe9ocffnyrS5x3hvnghzdlNvLyhByGBBhBaiUYDA4QrwUKSLFlFIyCUTAKRgYAAEwIN80j8ETBAAAAAElFTkSuQmCC","orcid":"","institution":"Al-Azhar University","correspondingAuthor":true,"prefix":"","firstName":"Kamel","middleName":"","lastName":"Kamal","suffix":""},{"id":127725849,"identity":"693b7ea7-fad8-4389-af09-13910edeeb88","order_by":1,"name":"Rania. A. Mohamed","email":"","orcid":"","institution":"Modern University for Technology \u0026 Information","correspondingAuthor":false,"prefix":"","firstName":"Rania.","middleName":"A.","lastName":"Mohamed","suffix":""},{"id":127725850,"identity":"0779b611-11ed-4df1-bcd0-e8b4bad081a1","order_by":2,"name":"Ashraf Darwish","email":"","orcid":"","institution":"Helwan University","correspondingAuthor":false,"prefix":"","firstName":"Ashraf","middleName":"","lastName":"Darwish","suffix":""},{"id":127725851,"identity":"2d5dadc7-9acf-4e9f-a5a4-c8542c29a09b","order_by":3,"name":"Aboul Ella Hassanien","email":"","orcid":"","institution":"Cairo University","correspondingAuthor":false,"prefix":"","firstName":"Aboul","middleName":"Ella","lastName":"Hassanien","suffix":""}],"badges":[],"createdAt":"2022-08-06 09:29:16","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-1935432/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-1935432/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":25161900,"identity":"e8d65bfc-bc89-45eb-a57b-05e64dd7f21d","added_by":"auto","created_at":"2022-08-12 21:09:49","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":878597,"visible":true,"origin":"","legend":"","description":"","filename":"aboRetina.pdf","url":"https://assets-eu.researchsquare.com/files/rs-1935432/v1_covered.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Deep Learning with Class Imbalance for Detecting and Classifying Diabetic Retinopathy on Fundus Retina Images","fulltext":[{"header":"Full Text","content":"This preprint is available for \u003ca href='/article/rs-1935432/latest.pdf' target='_blank'\u003edownload as a PDF\u003c/a\u003e."}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Diabetic retinopathy, deep learning, imbalanced data set, CNN architecture, and Convolutional neural network","lastPublishedDoi":"10.21203/rs.3.rs-1935432/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-1935432/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eDiabetes mellitus is a disorder that causes diabetic retinopathy and is the primary cause of blindness worldwide. Early detection and treatment are required to reduce or avoid vision degradation and loss. For that purpose, various artificial-intelligence-powered approaches for detecting and classifying diabetic retinopathy on fundus retina images have been proposed by the scientific community. This article explores solutions to diabetic retinopathy detection by using three recently developed deep neural networks that have proven effective and efficient. Densenet201, Resnet101, and EfficientNetb0 deep neural network families have been applied to detect and classify diabetic retinopathy on fundus retina images. The dataset was notably not equilibrium; the widespread majority had been normal images, while mild Diabetic retinopathy images made up a very minor percentage of the total dataset. To treatment the skewed distribution and to keep away from biased classification results different scenarios have been used to balance the classes by utilizing (i) weight balancing with data augmentation; (ii) oversampling with data augmentation; (iii) focal loss with data augmentation, and (iv) a hybrid method of oversampling with a focal loss with data augmentation that improves the deep neural network performance of fundus retina images classification with the imbalanced dataset to build an expert system that can rapidly and adequately detect fundus images. The experimental results indicated that using Densenet201, Resnet101, and EfficientNetb0, with weight balancing on the dataset, substantially improves diabetic retinopathy prediction, by re-weighting each class in the loss function, a class that represents an under-represented class will receive a larger weight. The models yielded 94.74%, 94.74%, and 93.42%, respectively, on the test data set.\u003c/p\u003e","manuscriptTitle":"Deep Learning with Class Imbalance for Detecting and Classifying Diabetic Retinopathy on Fundus Retina Images","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2022-08-12 21:09:43","doi":"10.21203/rs.3.rs-1935432/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"d46b70d5-5740-4258-949a-ded3a2d9081a","owner":[],"postedDate":"August 12th, 2022","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2023-01-06T02:14:22+00:00","versionOfRecord":[],"versionCreatedAt":"2022-08-12 21:09:43","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-1935432","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-1935432","identity":"rs-1935432","version":["v1"]},"buildId":"_2-kVJe1T_tPrBINL-cwx","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.

Source provenance

europepmc
last seen: 2026-05-19T01:45:01.086888+00:00
unpaywall
last seen: 2026-05-27T02:00:06.600101+00:00
License: CC-BY-4.0