# Maximize margins for robust splicing detection

arXiv: https://arxiv.org/abs/2508.00897 · HTML: https://mlsanity.com/paper/2508.00897/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 9 of its 15 references that are in the map.
- First posted on arXiv 28 Jul 2025.

## Builds on (most cited first, 9 of 9)

- [Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification](https://mlsanity.com/paper/1502.01852/) (2015)
- [How transferable are features in deep neural networks?](https://mlsanity.com/paper/1411.1792/) (2014)
- [TruFor: Leveraging all-round clues for trustworthy image forgery detection and localization](https://mlsanity.com/paper/2212.10957/) (2022)
- [Predicting the Generalization Gap in Deep Networks with Margin Distributions](https://mlsanity.com/paper/1810.00113/) (2018)
- [ForensicTransfer: Weakly-supervised Domain Adaptation for Forgery Detection](https://mlsanity.com/paper/1812.02510/) (2018)
- [Towards Universal GAN Image Detection](https://mlsanity.com/paper/2112.12606/) (2021)
- [Using Set Covering to Generate Databases for Holistic Steganalysis](https://mlsanity.com/paper/2211.03447/) (2022)
- [Syn2Real: Forgery Classification via Unsupervised Domain Adaptation](https://mlsanity.com/paper/2002.00807/) (2020)
- [Leveraging Data Geometry to Mitigate CSM in Steganalysis](https://mlsanity.com/paper/2310.04479/) (2023)

## Abstract (arXiv)

Despite recent progress in splicing detection, deep learning-based forensic tools remain difficult to deploy in practice due to their high sensitivity to training conditions. Even mild post-processing applied to evaluation images can significantly degrade detector performance, raising concerns about their reliability in operational contexts. In this work, we show that the same deep architecture can react very differently to unseen post-processing depending on the learned weights, despite achieving similar accuracy on in-distribution test data. This variability stems from differences in the latent spaces induced by training, which affect how samples are separated internally. Our experiments reveal a strong correlation between the distribution of latent margins and a detector's ability to generalize to post-processed images. Based on this observation, we propose a practical strategy for building more robust detectors: train several variants of the same model under different conditions, and select the one that maximizes latent margins.
