Identifying the key components in ResNet-50 for diabetic retinopathy grading from fundus images: a systematic investigation

Yijin Huang, Li Lin, Pujin Cheng, Junyan Lyu, Roger Tam +1 more
10/27/2021
60 citations
eess.IVcs.CV

Official code: YijinHuang/pytorch-classification (70 stars, Python, MIT, last commit 2025-09-19).

Abstract

Although deep learning based diabetic retinopathy (DR) classification methods typically benefit from well-designed architectures of convolutional neural networks, the training setting also has a non-negligible impact on the prediction performance. The training setting includes various interdependent components, such as objective function, data sampling strategy and data augmentation approach.

Show full abstract

To identify the key components in a standard deep learning framework (ResNet-50) for DR grading, we systematically analyze the impact of several major components. Extensive experiments are conducted on a publicly-available dataset EyePACS. We demonstrate that (1) the DR grading framework is sensitive to input resolution, objective function, and composition of data augmentation, (2) using mean square error as the loss function can effectively improve the performance with respect to a task-specific evaluation metric, namely the quadratically-weighted Kappa, (3) utilizing eye pairs boosts the performance of DR grading and (4) using data resampling to address the problem of imbalanced data distribution in EyePACS hurts the performance. Based on these observations and an optimal combination of the investigated components, our framework, without any specialized network design, achieves the state-of-the-art result (0.8631 for Kappa) on the EyePACS test set (a total of 42670 fundus images) with only image-level labels. We also examine the proposed training practices on other fundus datasets and other network architectures to evaluate their generalizability. Our codes and pre-trained model are available at https://github.com/YijinHuang/pytorch-classification.

View on arXivView PDF

Code Implementations(1)

MIT

A general, feasible, and extensible framework for classification tasks.

7019PythonFeb 1, 20201 years agoMIT
classificationimbalance-classificationimbalanced-datamedical-image-analysis

Similar Papers

Cite this paper

@article{huang2021identifying,
  title  = {Identifying the key components in ResNet-50 for diabetic retinopathy grading from fundus images: a systematic investigation},
  author = {Yijin Huang and Li Lin and Pujin Cheng and Junyan Lyu and Roger Tam and Xiaoying Tang},
  year   = {2021},
  eprint = {2110.14160},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14160}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14160.svg)](https://codeofpaper.com/paper/2110.14160)

Discussion