MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps

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%.

Authors

Institutions

Publication Details

Journal
SoftwareX
Published
2026-04-22
DOI
https://doi.org/10.1016/j.softx.2026.102668
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps

Turan Göktuğ Altundoğan, Mert Çeçen, Mehmet Karakose
SoftwareX
Generative Adversarial Networks and Image Synthesis
article

MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps

Turan Göktuğ Altundoğan, Mert Çeçen, Mehmet Karakose
article en

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%.

SoftwareXVol. 34
Fırat University (TR), Manisa Celal Bayar University (TR)
Openalex Percentile: Top 8%
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MedFakeDet: multi-organ medical deepfake detection and inpainting localization system via effective deep learning models and density maps — Turan Göktuğ Altundoğan, Mert Çeçen, et al. · SoftwareX (2026) | TGRS Research Map | TGRS