





Before adding the logo as a forensic distraction, TruFor detects the forgery with high accuracy (c). After adding the distraction, TruFor fails (d). With our masked-convolution approach, TruFor ignores the distraction and recovers — using both manual (e) and automatic (f) masking.
Manipulating images has become increasingly easier due to advanced editing tools, leading to a surge in forged images being shared online, raising the need for robust multimedia forensics. Particularly, image forgery localization (IFL) methods aim to detect and localize image tampering. In this paper, we expose and quantify the impact of forensic distractions on state-of-the-art IFL models. We define distractions as benign visual elements that occur in real-world scenarios, such as logos and visible watermarks. Our analysis, first of its kind, reveals that some recent IFL models (like CAT-Net and TruFor) are highly sensitive to distractions, suffering average performance degradations of 15.06% and 55.65%, respectively. To address this issue, we propose masked convolutions, which enable CNN-based IFL methods to ignore masked regions during inference. Masked convolutions require no retraining, allowing existing models to be adapted seamlessly. Distractions can be manually masked, or automatically through a two-step detection process. Experiments show that our proposed approaches significantly improve robustness against distractions, reducing performance degradation to just 4.15% for CAT-Net and 2.94% for TruFor. This demonstrates our method's potential as a distraction-aware technique to enhance the real-world applicability of IFL models.
Benign overlays such as logos, visible watermarks or blurred faces can act as forensic distractions, pulling IFL models away from the true manipulated region. Below, predictions by TruFor and CAT-Net are shown, both with and without distraction present (red = high suspicion, blue = low). Performance is measured with the F1* scoreF1* score excludes distraction pixels from the evaluation. Only pixels where the distraction mask M = 0 are considered. This way models are neither rewarded nor penalized for detecting the distraction itself.F1* = 2·TP / (2·TP + FP + FN)
(computed only over non-distraction pixels), which excludes distraction pixels so models are judged solely on detecting the actual forgery.
We developed masked convolutions: drop-in replacements for standard convolution and pooling layers that ignore explicitly masked regions during inference. We implemented them into both TruFor and CAT-Net, allowing these models to be made distraction-aware without requiring any retraining. Existing pretrained weights are reused as-is.
Masked convolutions are drop-in replacements for standard Conv2D and pooling layers, which take an additional binary mask alongside the input. Masked regions are treated as being cut from the input: (1) padding is applied to the holes, mirroring the inputs outer padding, before the (2) convolution is applied. The masked regions are then zeroed out and the (3) updated mask is propagated to the next layer. No retraining is needed, meaning existing weights can be reused directly.
Instead of manually masking distractions, we can automatically generate a distraction mask using an iterative two-step process: (1) run inference without a mask, (2) threshold the prediction to generate a distraction mask, then (3) run inference again with that mask. This loop can be repeated for a configurable number of rounds.
Some IFL models, particularly CAT-Net and TruFor, are highly sensitive to forensic distractions, suffering large performance drops when distractions are present. Adapting them with masked convolutions consistently recovers this lost performance.
| Model | DSO-1 | VIPP | OpenForensics | IMD2020 | Average | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Orig | Distr. | Orig | Distr. | Orig | Distr. | Orig | Distr. | Orig | Distr. | |
| DCT | .185 | .183 -0.81% | .150 | .139 -7.73% | .120 | .115 -4.34% | .131 | .124 -5.44% | .147 | .140 -4.34% |
| ADQ1 | .214 | .215 +0.64% | .176 | .177 +0.92% | .113 | .112 -1.28% | .133 | .134 +0.42% | .159 | .159 +0.33% |
| BLK | .181 | .178 -2.02% | .137 | .130 -5.08% | .080 | .076 -4.19% | .115 | .112 -2.57% | .128 | .124 -3.29% |
| CAGI | .224 | .228 +1.67% | .158 | .166 +4.96% | .065 | .068 +4.74% | .111 | .120 +7.90% | .139 | .145 +4.20% |
| PSCC-Net | .061 | .051 -16.91% | .135 | .120 -11.15% | .078 | .058 -26.22% | .098 | .082 -16.33% | .093 | .078 -16.64% |
| CAT-Net | .073 | .065 -11.42% | .136 | .093 -31.66% | .281 | .230 -18.20% | .409 | .376 -8.04% | .225 | .191 -15.06% |
| TruFor | .422 | .225 -46.53% | .321 | .103 -67.96% | .405 | .127 -68.56% | .447 | .252 -43.72% | .399 | .177 -55.65% |
| Mod. CAT-Net Manual | .073 | .068 -6.76% | .136 | .138 +1.92% | .281 | .260 -7.62% | .409 | .395 -3.31% | .225 | .215 -4.15% |
| Mod. CAT-Net Auto | .075 | .068 -9.23% | .144 | .145 +0.71% | .276 | .248 -10.21% | .401 | .377 -5.95% | .224 | .209 -6.46% |
| Mod. TruFor Manual | .422 | .406 -3.70% | .321 | .308 -4.04% | .405 | .395 -2.54% | .447 | .439 -1.81% | .399 | .387 -2.94% |
| Mod. TruFor Auto | .422 | .374 -11.43% | .346 | .290 -16.39% | .392 | .330 -15.68% | .423 | .369 -12.88% | .396 | .341 -13.95% |
TruFor and CAT-Net were trained on the IMD2020 dataset, which explains their higher performance and robustness to distractions on this dataset.
Prediction heatmaps by TruFor and CAT-Net (red = high suspicion, blue = low). Performance is measured with the F1* scoreF1* score excludes distraction pixels from the evaluation. Only pixels where the distraction mask M = 0 are considered. This way models are neither rewarded nor penalized for detecting the distraction itself.F1* = 2·TP / (2·TP + FP + FN)
(computed only over non-distraction pixels). Hover the mask tags to see the used distraction mask.
























The scatter plots compare the impact of distractions on the original TruFor model and our adapted version. Each point represents one image. The y-axis shows the F1* scoreF1* score excludes distraction pixels from the evaluation. Only pixels where the distraction mask M = 0 are considered. This way models are neither rewarded nor penalized for detecting the distraction itself.F1* = 2·TP / (2·TP + FP + FN)
(computed only over non-distraction pixels) without distractions, while the x-axis shows the F1* scoreF1* score excludes distraction pixels from the evaluation. Only pixels where the distraction mask M = 0 are considered. This way models are neither rewarded nor penalized for detecting the distraction itself.F1* = 2·TP / (2·TP + FP + FN)
(computed only over non-distraction pixels) after a distraction is added. Points on the diagonal are unaffected by the distraction, whereas points to the left indicate degraded performance. Our approach shifts these points back toward the diagonal, demonstrating improved robustness.
@InProceedings{Staelens_2026_WACVW,
author = {Staelens, Xander and Lambert, Peter and Van Wallendael, Glenn and Mareen, Hannes},
title = {Ignoring the Decoy: Exposing and Tackling Forensic Distractions in Image Forgery Localization using Masked Convolutions},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) Workshops},
year = {2026},
pages = {924--932}
}
This work was funded in part by IDLab (Ghent University – imec), by Flanders Innovation & Entrepreneurship (VLAIO), by Research Foundation – Flanders (FWO) (1SA9O26N & G0A2523N), and by the European Union. This work builds on TruFor (GRIP-UNINA) and CAT-Net (Myung-Joon Kwon). This project page was adapted from the Nerfies project page.