{"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/stabilized-medical-image-attacks","title":"Stabilized Medical Image Attacks","arxiv_id":"2103.05232","date":"2021-03-09","proceeding":null,"authors":["Gege Qi","Lijun Gong","Yibing Song","Kai Ma","Yefeng Zheng"],"abstract":"Convolutional Neural Networks (CNNs) have advanced existing medical systems for automatic disease diagnosis. However, a threat to these systems arises that adversarial attacks make CNNs vulnerable. Inaccurate diagnosis results make a negative influence on human healthcare. There is a need to investigate potential adversarial attacks to robustify deep medical diagnosis systems. On the other side, there are several modalities of medical images (e.g., CT, fundus, and endoscopic image) of which each type is significantly different from others. It is more challenging to generate adversarial perturbations for different types of medical images. In this paper, we propose an image-based medical adversarial attack method to consistently produce adversarial perturbations on medical images. The objective function of our method consists of a loss deviation term and a loss stabilization term. The loss deviation term increases the divergence between the CNN prediction of an adversarial example and its ground truth label. Meanwhile, the loss stabilization term ensures similar CNN predictions of this example and its smoothed input. From the perspective of the whole iterations for perturbation generation, the proposed loss stabilization term exhaustively searches the perturbation space to smooth the single spot for local optimum escape. We further analyze the KL-divergence of the proposed loss function and find that the loss stabilization term makes the perturbations updated towards a fixed objective spot while deviating from the ground truth. This stabilization ensures the proposed medical attack effective for different types of medical images while producing perturbations in small variance. Experiments on several medical image analysis benchmarks including the recent COVID-19 dataset show the stability of the proposed method.","url_abs":"https://arxiv.org/abs/2103.05232v1","url_pdf":"https://arxiv.org/pdf/2103.05232v1.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":"stabilized-medical-image-attacks","repo_url":"https://github.com/imogenqi/SMA","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"adversarial-attack","task_name":"Adversarial Attack"},{"task_slug":"medical-diagnosis","task_name":"Medical Diagnosis"},{"task_slug":"medical-image-analysis","task_name":"Medical Image Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2103.05232","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2103.05232"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/imogenqi/SMA","reach":null}],"summary":{"ran":1,"ran_fixture":2,"ran_honours":1,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"96fcbe420136417e","entry":"SMIA","repo":"imogenqi/SMA","repo_kind":"official","path":"SMIA.py","file_url":"https://github.com/imogenqi/SMA/blob/HEAD/SMIA.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96fcbe420136417e"}},{"code_sha256_prefix":"3baa3b32a6530954","entry":"blur","repo":"imogenqi/sma","repo_kind":"official","path":"SMIA.py","file_url":"https://github.com/imogenqi/sma/blob/HEAD/SMIA.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3baa3b32a6530954"}},{"code_sha256_prefix":"8b6f986108a996fa","entry":"blur","repo":"imogenqi/SMA","repo_kind":"official","path":"SMIA.py","file_url":"https://github.com/imogenqi/SMA/blob/HEAD/SMIA.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8b6f986108a996fa"}},{"code_sha256_prefix":"24353c99968baaf4","entry":"gkern","repo":"imogenqi/SMA","repo_kind":"official","path":"SMIA.py","file_url":"https://github.com/imogenqi/SMA/blob/HEAD/SMIA.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"24353c99968baaf4"}},{"code_sha256_prefix":"b7233916481c313a","entry":"gkern","repo":"imogenqi/sma","repo_kind":"official","path":"SMIA.py","file_url":"https://github.com/imogenqi/sma/blob/HEAD/SMIA.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b7233916481c313a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}