MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps
| dc.contributor.author | Karakose, Mehmet | |
| dc.contributor.author | Altundoğan, T. Göktuğ | |
| dc.contributor.author | Çeçen, Mert | |
| dc.date.accessioned | 2026-08-12T16:15:20Z | |
| dc.date.issued | 2026 | |
| dc.department | Fırat Üniversitesi | |
| dc.description.abstract | The ability of deepfake technologies to produce highly realistic images has become a significant security concern for healthcare systems and insurance auditing processes, either through the generation of fake medical images or the realistic manipulation of original ones. This study employs effective deep learning methods to detect medical images generated by deepfake technologies and to localize inpainting-based manipulations. Two different datasets were constructed for this purpose: the MedFake dataset, which contains brain, lung, kidney, and chest images generated using multiple synthesis approaches; and the MedFakeInpaint dataset, which includes localized inpainting manipulations applied to brain images. For deepfake synthesis detection, an 8-class ResNet-based model was trained to jointly classify the organ type of a medical image and its real or fake status. For manipulation localization, a U-Net-based model was trained to predict density maps corresponding to manipulated regions within the image. Bounding boxes were subsequently derived from the predicted density maps to explicitly represent the localized manipulated regions. The performance of the proposed approach was evaluated using F1-score, and IoU-based localization metrics under strict training, validation, and test data splits with varying threshold values. The developed models were integrated into a backend system using FastAPI, and a lightweight web application was implemented to connect the provided endpoints with end users. MedFakeDet is released as a reproducible software package, including pretrained models and inference scripts. When the developed models were evaluated under different ablation configurations and threshold values, it was observed that in some configurations, the F1 score reached levels of up to 99%. © 2026 The Authors. | |
| dc.identifier.doi | 10.1016/j.softx.2026.102668 | |
| dc.identifier.issn | 2352-7110 | |
| dc.identifier.scopus | 2-s2.0-105036419493 | |
| dc.identifier.scopusquality | Q2 | |
| dc.identifier.uri | https://doi.org/10.1016/j.softx.2026.102668 | |
| dc.identifier.uri | https://hdl.handle.net/11508/43640 | |
| dc.identifier.volume | 34 | |
| dc.indekslendigikaynak | Scopus | |
| dc.language.iso | en | |
| dc.publisher | Elsevier B.V. | |
| dc.relation.ispartof | SoftwareX | |
| dc.relation.publicationcategory | Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı | |
| dc.rights | info:eu-repo/semantics/openAccess | |
| dc.snmz | KA_Scopus_20260511 | |
| dc.subject | Medical deepfake detection; Synthesis detection; Tumor inpaint detection; UNET | |
| dc.title | MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps | |
| dc.type | Article |







