{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/detecting-melanoma-fairly-skin-tone-detection","title":"Detecting Melanoma Fairly: Skin Tone Detection and Debiasing for Skin Lesion Classification","arxiv_id":"2202.02832","date":"2022-02-06","proceeding":null,"authors":["Peter J. Bevan","Amir Atapour-Abarghouei"],"abstract":"Convolutional Neural Networks have demonstrated human-level performance in the classification of melanoma and other skin lesions, but evident performance disparities between differing skin tones should be addressed before widespread deployment. In this work, we propose an efficient yet effective algorithm for automatically labelling the skin tone of lesion images, and use this to annotate the benchmark ISIC dataset. We subsequently use these automated labels as the target for two leading bias unlearning techniques towards mitigating skin tone bias. Our experimental results provide evidence that our skin tone detection algorithm outperforms existing solutions and that unlearning skin tone may improve generalisation and can reduce the performance disparity between melanoma detection in lighter and darker skin tones.","url_abs":"https://arxiv.org/abs/2202.02832v4","url_pdf":"https://arxiv.org/pdf/2202.02832v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"detecting-melanoma-fairly-skin-tone-detection","repo_url":"https://github.com/obsinaan/detecting-melanoma-fairly","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"detecting-melanoma-fairly-skin-tone-detection","repo_url":"https://github.com/pbevan1/detecting-melanoma-fairly","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"lesion-classification","task_name":"Lesion Classification"},{"task_slug":"skin-lesion-classification","task_name":"Skin Lesion Classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2202.02832","atlas_url":"https://app.syntology.ai/?focus=2202.02832","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.02832"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pbevan1/detecting-melanoma-fairly","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/obsinaan/detecting-melanoma-fairly","reach":{"status":"ok"}}],"summary":{"ran_honours":1,"ran_draft_wrong":2},"by_repo_kind":{"official":{"samples":3,"ran":3,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":3,"samples":[{"code_sha256_prefix":"ba8470699bf72aa4","entry":"get_mean_std","repo":"pbevan1/detecting-melanoma-fairly","repo_kind":"official","path":"preprocessing.py","file_url":"https://github.com/pbevan1/detecting-melanoma-fairly/blob/HEAD/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ba8470699bf72aa4"}},{"code_sha256_prefix":"1e48325cf21a28e8","entry":"get_size_ISIC","repo":"pbevan1/detecting-melanoma-fairly","repo_kind":"official","path":"preprocessing.py","file_url":"https://github.com/pbevan1/detecting-melanoma-fairly/blob/HEAD/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1e48325cf21a28e8"}},{"code_sha256_prefix":"e6d83a666e60e46d","entry":"get_size_from_raw","repo":"pbevan1/detecting-melanoma-fairly","repo_kind":"official","path":"preprocessing.py","file_url":"https://github.com/pbevan1/detecting-melanoma-fairly/blob/HEAD/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e6d83a666e60e46d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}