Datasets:
image imagewidth (px) 224 224 | image_id stringlengths 7 12 | image_path stringlengths 17 31 | dr_grade int64 0 4 | dr_grade_name stringclasses 5
values | region stringclasses 5
values | country stringclasses 23
values | sex stringclasses 2
values | age float64 18 90 | urban bool 2
classes | care_setting stringclasses 2
values | synthetic bool 1
class | image_population stringclasses 1
value | ehr_params_version stringclasses 1
value | screening_weight float64 0.07 2.57 | age_band stringclasses 4
values | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
002c21358ce6 | No_DR/002c21358ce6.png | 0 | No_DR | central | Cameroon | M | 53.7 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
00cc2b75cddd | No_DR/00cc2b75cddd.png | 0 | No_DR | southern | Zimbabwe | F | 37.5 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
00f6c1be5a33 | No_DR/00f6c1be5a33.png | 0 | No_DR | west | Senegal | M | 59.7 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0125fbd2e791 | No_DR/0125fbd2e791.png | 0 | No_DR | east | Rwanda | F | 59.4 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0182152c50de | No_DR/0182152c50de.png | 0 | No_DR | southern | Zambia | F | 40.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0212dd31f623 | No_DR/0212dd31f623.png | 0 | No_DR | central | Gabon | F | 48.4 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0232dfea7547 | No_DR/0232dfea7547.png | 0 | No_DR | east | Rwanda | F | 41.3 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
02da652c74b8 | No_DR/02da652c74b8.png | 0 | No_DR | east | Tanzania | M | 71.9 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
0304bedad8fe | No_DR/0304bedad8fe.png | 0 | No_DR | north | Algeria | M | 46.8 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
03b373718013 | No_DR/03b373718013.png | 0 | No_DR | east | Rwanda | M | 54.8 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0423237770a7 | No_DR/0423237770a7.png | 0 | No_DR | southern | Zimbabwe | M | 63.4 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
04579e31e4be | No_DR/04579e31e4be.png | 0 | No_DR | southern | Botswana | F | 65.2 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
04efb1a284cc | No_DR/04efb1a284cc.png | 0 | No_DR | central | Cameroon | M | 64.8 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
05339950962e | No_DR/05339950962e.png | 0 | No_DR | central | Gabon | M | 69.9 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
054b1b305160 | No_DR/054b1b305160.png | 0 | No_DR | west | Mali | M | 45.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
05e9126dfa5c | No_DR/05e9126dfa5c.png | 0 | No_DR | southern | Zimbabwe | F | 42.6 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
07596907347b | No_DR/07596907347b.png | 0 | No_DR | central | Chad | F | 80.2 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
07751b94a88a | No_DR/07751b94a88a.png | 0 | No_DR | north | Sudan | F | 64.8 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
07a2b8cabf6b | No_DR/07a2b8cabf6b.png | 0 | No_DR | north | Algeria | M | 73.8 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
0851d6a69589 | No_DR/0851d6a69589.png | 0 | No_DR | east | Kenya | M | 59.6 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
08bef347f40d | No_DR/08bef347f40d.png | 0 | No_DR | east | Kenya | M | 64.3 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
08ee569d4721 | No_DR/08ee569d4721.png | 0 | No_DR | central | Chad | M | 90 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
08f8838d69bb | No_DR/08f8838d69bb.png | 0 | No_DR | central | Chad | M | 57.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
09c8323c612e | No_DR/09c8323c612e.png | 0 | No_DR | west | Senegal | F | 67.6 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0a4e1a29ffff | No_DR/0a4e1a29ffff.png | 0 | No_DR | west | Nigeria | M | 83.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
0a902c80d5da | No_DR/0a902c80d5da.png | 0 | No_DR | north | Algeria | M | 67 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0afbeeef0ff7 | No_DR/0afbeeef0ff7.png | 0 | No_DR | east | Ethiopia | M | 48.5 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0d744aed4d64 | No_DR/0d744aed4d64.png | 0 | No_DR | east | Ethiopia | F | 48.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0d9a9896f801 | No_DR/0d9a9896f801.png | 0 | No_DR | north | Algeria | M | 65.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0daddc45d832 | No_DR/0daddc45d832.png | 0 | No_DR | east | Kenya | M | 77.6 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
0e0003ddd8df | No_DR/0e0003ddd8df.png | 0 | No_DR | southern | Zimbabwe | F | 45.5 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0e3572b5884a | No_DR/0e3572b5884a.png | 0 | No_DR | east | Rwanda | M | 48.4 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
0e94cd271c00 | No_DR/0e94cd271c00.png | 0 | No_DR | southern | South Africa | F | 61.1 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0ef4c61dc056 | No_DR/0ef4c61dc056.png | 0 | No_DR | east | Uganda | M | 55.1 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
0fe31196e0e8 | No_DR/0fe31196e0e8.png | 0 | No_DR | west | Cote d'Ivoire | F | 34.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
10bf25731c08 | No_DR/10bf25731c08.png | 0 | No_DR | west | Nigeria | M | 81.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
10f10fd30718 | No_DR/10f10fd30718.png | 0 | No_DR | central | Gabon | M | 47.6 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
12058bbb8299 | No_DR/12058bbb8299.png | 0 | No_DR | west | Cote d'Ivoire | F | 51.2 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
12ae44be0d38 | No_DR/12ae44be0d38.png | 0 | No_DR | west | Ghana | M | 50.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
12ef75375322 | No_DR/12ef75375322.png | 0 | No_DR | southern | Malawi | F | 64.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
13_right | No_DR/13_right.png | 0 | No_DR | west | Cote d'Ivoire | M | 53.5 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
13d014ccd136 | No_DR/13d014ccd136.png | 0 | No_DR | central | Gabon | M | 73.1 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
13d411c85ffd | No_DR/13d411c85ffd.png | 0 | No_DR | west | Cote d'Ivoire | F | 58.1 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1409ab48175a | No_DR/1409ab48175a.png | 0 | No_DR | southern | Malawi | M | 61.5 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
143db89c11c8 | No_DR/143db89c11c8.png | 0 | No_DR | southern | Zimbabwe | M | 68.4 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1509d097b69a | No_DR/1509d097b69a.png | 0 | No_DR | east | Tanzania | M | 47.5 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
150f92b45349 | No_DR/150f92b45349.png | 0 | No_DR | east | Ethiopia | M | 58.6 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
155e2df6bfcf | No_DR/155e2df6bfcf.png | 0 | No_DR | east | Ethiopia | M | 56.3 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
15b21c80cc31 | No_DR/15b21c80cc31.png | 0 | No_DR | west | Senegal | F | 47.3 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
15c24478ac72 | No_DR/15c24478ac72.png | 0 | No_DR | central | Chad | M | 78.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
15e24b73d4a7 | No_DR/15e24b73d4a7.png | 0 | No_DR | west | Nigeria | M | 70.2 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
16060f05d047 | No_DR/16060f05d047.png | 0 | No_DR | west | Mali | M | 46.3 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
165c548185f8 | No_DR/165c548185f8.png | 0 | No_DR | west | Cote d'Ivoire | M | 61.7 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
174db0854291 | No_DR/174db0854291.png | 0 | No_DR | west | Nigeria | M | 71.7 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
17f6c7072f61 | No_DR/17f6c7072f61.png | 0 | No_DR | southern | Botswana | M | 64.2 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
186c1835eec5 | No_DR/186c1835eec5.png | 0 | No_DR | west | Nigeria | F | 53 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
18b7e34eab8f | No_DR/18b7e34eab8f.png | 0 | No_DR | west | Mali | F | 65.6 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
19545647508e | No_DR/19545647508e.png | 0 | No_DR | east | Kenya | F | 67.9 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
197af0de76e2 | No_DR/197af0de76e2.png | 0 | No_DR | central | Chad | M | 47.5 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
19b0e3c734f5 | No_DR/19b0e3c734f5.png | 0 | No_DR | southern | Zambia | F | 46.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1a0dbc6c0cda | No_DR/1a0dbc6c0cda.png | 0 | No_DR | east | Ethiopia | F | 55.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1b862fb6f65d | No_DR/1b862fb6f65d.png | 0 | No_DR | west | Ghana | F | 51.7 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1c13a1483f4a | No_DR/1c13a1483f4a.png | 0 | No_DR | east | Tanzania | F | 66 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1c7a013eeba7 | No_DR/1c7a013eeba7.png | 0 | No_DR | east | Ethiopia | M | 48.3 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1ca91751be4d | No_DR/1ca91751be4d.png | 0 | No_DR | east | Rwanda | M | 59.2 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1caba2fb38f6 | No_DR/1caba2fb38f6.png | 0 | No_DR | west | Ghana | F | 46.6 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1d2472849dce | No_DR/1d2472849dce.png | 0 | No_DR | southern | South Africa | M | 55.8 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1d37f1c8b6d8 | No_DR/1d37f1c8b6d8.png | 0 | No_DR | west | Nigeria | F | 57 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1da4a17c18c9 | No_DR/1da4a17c18c9.png | 0 | No_DR | west | Cote d'Ivoire | F | 50.7 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1db6bb46c102 | No_DR/1db6bb46c102.png | 0 | No_DR | west | Mali | F | 40.3 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1df1530b9b8d | No_DR/1df1530b9b8d.png | 0 | No_DR | north | Egypt | F | 48 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
1e8c31e29dd3 | No_DR/1e8c31e29dd3.png | 0 | No_DR | north | Algeria | M | 66 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1f31701dd61b | No_DR/1f31701dd61b.png | 0 | No_DR | southern | Malawi | M | 62.5 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
1f3f32efaf20 | No_DR/1f3f32efaf20.png | 0 | No_DR | southern | Botswana | F | 37.2 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
1faf8664816c | No_DR/1faf8664816c.png | 0 | No_DR | southern | Botswana | F | 52.1 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
201f6e10c108 | No_DR/201f6e10c108.png | 0 | No_DR | north | Egypt | F | 36.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
207dd0487264 | No_DR/207dd0487264.png | 0 | No_DR | central | DR Congo | F | 47.6 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
21037f5c7790 | No_DR/21037f5c7790.png | 0 | No_DR | southern | Zimbabwe | F | 76.1 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
22449af52060 | No_DR/22449af52060.png | 0 | No_DR | east | Tanzania | F | 69.2 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
224c14366e11 | No_DR/224c14366e11.png | 0 | No_DR | west | Senegal | F | 43.6 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
22_left | No_DR/22_left.png | 0 | No_DR | east | Rwanda | M | 89.1 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
22_right | No_DR/22_right.png | 0 | No_DR | east | Tanzania | F | 59 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
242fc19be06f | No_DR/242fc19be06f.png | 0 | No_DR | north | Morocco | F | 50.7 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
24de56d433cd | No_DR/24de56d433cd.png | 0 | No_DR | west | Nigeria | F | 61.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
252305189b3a | No_DR/252305189b3a.png | 0 | No_DR | west | Ghana | M | 53 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
259d30f693b6 | No_DR/259d30f693b6.png | 0 | No_DR | east | Ethiopia | F | 57.3 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
25a0a1e41afd | No_DR/25a0a1e41afd.png | 0 | No_DR | east | Rwanda | F | 52.9 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
266fbefa58fb | No_DR/266fbefa58fb.png | 0 | No_DR | east | Kenya | F | 59.3 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
274f4de2a59d | No_DR/274f4de2a59d.png | 0 | No_DR | southern | South Africa | F | 60.5 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
2821998fc002 | No_DR/2821998fc002.png | 0 | No_DR | west | Cote d'Ivoire | M | 37.5 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
28751f290ba3 | No_DR/28751f290ba3.png | 0 | No_DR | west | Cote d'Ivoire | F | 90 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
28dc010a0780 | No_DR/28dc010a0780.png | 0 | No_DR | southern | Malawi | M | 49.5 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
29192375ab1b | No_DR/29192375ab1b.png | 0 | No_DR | east | Uganda | M | 32.4 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | <40 | train | |
2927665214e1 | No_DR/2927665214e1.png | 0 | No_DR | east | Tanzania | F | 47.4 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
2974c6ad1d58 | No_DR/2974c6ad1d58.png | 0 | No_DR | north | Morocco | M | 62.2 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
29a13e666266 | No_DR/29a13e666266.png | 0 | No_DR | west | Nigeria | F | 77.7 | true | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 70+ | train | |
2a2a6435f7f3 | No_DR/2a2a6435f7f3.png | 0 | No_DR | east | Tanzania | F | 56.9 | false | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
2a93334f663a | No_DR/2a93334f663a.png | 0 | No_DR | west | Cote d'Ivoire | F | 46.2 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 40-54 | train | |
2b3a4a81d748 | No_DR/2b3a4a81d748.png | 0 | No_DR | west | Ghana | M | 58.4 | true | clinic | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train | |
2c9dfc270f1b | No_DR/2c9dfc270f1b.png | 0 | No_DR | east | Uganda | F | 62.2 | false | screening | true | APTOS-2019-India | 1.0.0 | 2.57 | 55-69 | train |
- Abstract
- 1. Introduction
- 2. Background and Related Work
- 3. Construction
- 4. Dataset Statistics
- 5. Distribution Audit (Validation)
- 6. How to Use the Benchmark
- 7. Intended Uses
- 8. Limitations
- 9. Ethical Considerations and Data Governance
- 10. Licensing, Access, and Provenance
- 11. Maintenance and Versioning
- 12. References
- Citation
DR-Africa-Benchmark — Screening-Prevalence-Corrected, Fairness-Instrumented DR Evaluation
An evaluation benchmark for diabetic-retinopathy grading under African screening conditions. It does not introduce new labels; it introduces evaluation validity — per-record importance weights that reweight a referral-skewed image set to real Sub-Saharan-Africa population prevalence, plus synthetic subgroup metadata for fairness reporting.
Version 1.0.0 · core dr_synth 1.0.0 · part of the DR-Africa dataset
family (see also dr-grading and
dr-progression).
Abstract
A DR model that scores well on a curated, referral-skewed test set can fail in
real screening, where the overwhelming majority of imaged eyes have no
retinopathy. In Sub-Saharan-Africa (SSA) population-based studies, any-DR
prevalence is ~30–35% and proliferative DR ~1% [1, 10], whereas curated research
sets (including the source images here) over-represent severe disease. Evaluating
on the curated distribution therefore inflates apparent screening performance and
hides subgroup disparities. DR-Africa-Benchmark corrects this at evaluation
time. For each of 3,554 fundus records it provides (i) a screening_weight that
reweights the empirical grade distribution to an SSA population-based target, and
(ii) synthetic subgroup metadata (region, sex, age_band, urban,
care_setting) for fairness slicing. We verify by audit that the weighted grade
prevalence reproduces the target to within 0.001 and that every subgroup is
represented. The benchmark is a held-out evaluation set for models trained on the
sibling datasets. As with the whole family, the images are not African and the
metadata is synthetic; the benchmark tests how a model holds up under a
screening-prevalence setting, and is not itself African imaging.
1. Introduction
Two distributions matter for a screening DR model and they are very different: the training/research distribution (often enriched for disease) and the deployment distribution (screening, dominated by no-DR). Reporting a single accuracy number on the former is one of the most common ways a medical-imaging result fails to translate. The standard remedies are (a) importance-weighted evaluation toward the deployment prevalence, and (b) disaggregated, per-subgroup reporting to surface disparities that a pooled metric conceals.
DR-Africa-Benchmark provides both. It is not a training set; it is for measurement. By supplying weights and subgroup labels alongside the same images used elsewhere in the family, it lets any DR grader be re-scored as if it were running on an SSA screening population, and checked for fairness across demographic and access groups.
Contributions.
- Per-record screening-prevalence importance weights, audited to reproduce an SSA population-based target.
- Synthetic subgroup metadata enabling fairness/robustness evaluation.
- A reproducible audit of weighted prevalence and subgroup representation.
2. Background and Related Work
Prevalence gap. SSA population-based DR prevalence (~30–35% any DR, ~1% PDR [1, 10]) versus the referral-skewed curated source distribution (PDR ~31% here) motivates prevalence correction.
Importance-weighted evaluation. Under label shift, an estimator of deployment
performance reweights each test example by target(y)/source(y). We apply this
at the grade level (a label-shift assumption: image appearance given grade is
held fixed — see §8 for why this addresses prevalence but not appearance shift).
Disaggregated evaluation / fairness. Following model-card and subgroup-
reporting practice, we attach strata (region, sex, age_band,
urban/rural, care_setting) so that sensitivity/specificity can be reported
per group rather than pooled.
3. Construction
3.1 Image source
APTOS 2019 (India) [11], 224×224 RGB, five DR-grade folders. Not African; transfer/evaluation source only (§8–§9).
3.2 Screening weights
Let obs(g) be the empirical proportion of grade g in the image set and
target(g) the SSA population-based prevalence. Each record receives
screening_weight(g) = target(g) / obs(g), then mean-normalised to 1.
The target prevalence (proportion of diabetics by grade) is
| Grade | Target |
|---|---|
| No_DR | 0.70 |
| Mild | 0.13 |
| Moderate | 0.10 |
| Severe | 0.05 |
| Proliferate_DR | 0.02 |
derived from SSA population-based estimates [1]. Weights are an evaluation device: they correct prevalence without fabricating images for rare-but-here grades. They must not be used to up-sample images you do not have.
3.3 Subgroup metadata
region, country, sex, age, age_band (<40, 40–54, 55–69, 70+),
urban, and care_setting are generated by the shared dr_synth core (seed
42) from SSA-grounded parameters (dr_synth/params.yaml).
They are synthetic (§8).
3.4 Splits
Stratified 70/15/15 on dr_grade (split seed 7), as a split column and
data/{train,validation,test}.parquet. No image-id leakage (audit-verified). For
pure benchmarking, the test split is the primary evaluation set; the others
support weighted-model selection if desired.
4. Dataset Statistics
| Field | Type | Description |
|---|---|---|
image_id, image_path |
string | fundus image reference |
dr_grade, dr_grade_name |
int/string | grade label (0–4) |
screening_weight |
float | importance weight for prevalence-corrected eval |
region, country, sex, age, age_band, urban, care_setting |
mixed | subgroup metadata (synthetic) |
split |
string | train/val/test |
Grade distribution (n = 3,554): No_DR 968 · Mild 527 · Moderate 395 · Severe 575 · PDR 1,089 (referral-skewed). Splits: train 2,487 · validation 532 · test 535.
Subgroups (shares): region — west 30.2%, east 28.9%, southern 17.4%, central
12.2%, north 11.4%; sex ~52% F; age bands span <40 to 70+; urban ~55%;
care setting clinic ~74% / screening ~26%.
5. Distribution Audit (Validation)
python build.py regenerates audit/AUDIT.md; verdict
PASS. Key results:
5.1 Weighted prevalence reproduces the target
| Grade | Weighted prevalence | Target | Status |
|---|---|---|---|
| No_DR | 0.7000 | 0.70 | pass |
| Mild | 0.1300 | 0.13 | pass |
| Moderate | 0.1000 | 0.10 | pass |
| Severe | 0.0500 | 0.05 | pass |
| Proliferate_DR | 0.0200 | 0.02 | pass |
Maximum deviation < 0.001.
5.2 Subgroup representation
Every region, sex, age_band, and urban stratum exceeds a 2% minimum
share, so per-subgroup metrics are estimable. Per-stratum label-proportion tables
are written to audit/tables/subgroup_*.csv.
5.3 Integrity
No cross-split id leakage; age and screening_weight within range; no missing
values.
6. How to Use the Benchmark
Compute weighted metrics (deployment-prevalence estimate) and per-subgroup metrics (fairness):
import pandas as pd, numpy as np
from datasets import load_dataset
test = load_dataset("macular/diabetic-retinopathy-screening-benchmark-africa", split="test").to_pandas()
preds = model_predict(test["image_path"]) # your grader
# prevalence-corrected accuracy
w = test["screening_weight"].to_numpy()
acc = np.average((preds == test["dr_grade"]).to_numpy(), weights=w)
# fairness: per-region sensitivity for sight-threatening DR (grade >= 3)
for region, g in test.groupby("region"):
stdr = g["dr_grade"] >= 3
sens = np.average((preds[g.index] >= 3)[stdr], weights=w[g.index][stdr])
print(region, f"STDR sensitivity (weighted): {sens:.3f}")
Local: pip install -r requirements.txt && python build.py && python loader.py --split test.
loader.py returns (image, grade, screening_weight, subgroup_dict).
7. Intended Uses
Intended. Held-out, prevalence-corrected evaluation of DR graders; fairness and robustness auditing across demographic/access strata; reporting that separates referral-set accuracy from screening-realistic accuracy.
Out of scope. Training (this is an evaluation resource); resampling rare images to "hit" the weights; clinical claims about real African patients.
8. Limitations
- Prevalence shift, not appearance shift. Weights correct the grade distribution under a label-shift assumption. They do not correct image-appearance domain shift (African fundus pigmentation, smartphone-camera optics); a model can still fail on real African images even after weighting.
- Non-African images. As above, the imagery is APTOS (India).
- Synthetic subgroups.
region,age,sex, etc. are generated, so fairness slices reflect the encoded distribution and are valid for methodology and tooling, not as evidence about real African subpopulations. - Single target prevalence. One SSA population-based target is used; regional
prevalence varies and can be substituted by editing the target in
params.yaml.
9. Ethical Considerations and Data Governance
- Subgroup labels measure, they do not certify: they let you measure disparities, but because they are synthetic they cannot prove real-world equity. Real subgroup data and local validation are needed for that.
- Synthetic flagged (
synthetic = True); imagery provenance stated plainly. - Data sovereignty: substituting real African imagery and real subgroup attributes must follow local consent, ethics approval, and data-sovereignty principles.
- Purpose: to make screening-realistic, disaggregated evaluation the default for DR models intended to serve African populations.
10. Licensing, Access, and Provenance
- Images: APTOS 2019-derived (Aravind Eye Hospital, India), released under the
Apache License 2.0; redistribution permitted with attribution. Bundled
images are provided under Apache-2.0; see
LICENSEandATTRIBUTION.md[11]. - Weights, metadata, code, audit: reproducible from
dr_synth/params.yamland fixed seeds; released under Apache-2.0. - Provenance fields per row:
synthetic,image_population,ehr_params_version.
11. Maintenance and Versioning
Regenerable via python build.py. To target a different regional prevalence,
edit audit_targets.screening_prevalence in params.yaml and rebuild; the audit
re-verifies the weighted distribution automatically. Core/version stamping as in
the rest of the family.
12. References
- Diabetic retinopathy in Sub-Saharan Africa: prevalence and regional variations — a systematic review and meta-analysis. BMC Ophthalmology, 2025. https://link.springer.com/article/10.1186/s12886-025-04589-5
- Epidemiology of diabetic retinopathy and maculopathy in Africa: a systematic review. 2015. https://pmc.ncbi.nlm.nih.gov/articles/PMC4463765/
- APTOS 2019 Blindness Detection. Kaggle. https://www.kaggle.com/competitions/aptos2019-blindness-detection
- Gebru et al. Datasheets for Datasets. Communications of the ACM, 2021.
(Reference numbers are shared across the DR-Africa family; the full bibliography
appears in dr-progression.)
Citation
@misc{drafrica_benchmark_2026,
title = {DR-Africa-Benchmark: Screening-Prevalence-Corrected,
Fairness-Instrumented Diabetic-Retinopathy Evaluation},
author = {DR-Africa dataset family},
year = {2026},
note = {Version 1.0.0. Images derived from APTOS 2019 (India);
weights and subgroup metadata are epidemiology-grounded
synthetic data.},
howpublished = {Hugging Face Datasets}
}
- Downloads last month
- 25