FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies

Shuqiao Liang, Jian Liu, Renzhang Chen, Quanlong Guan
9/25/2025
cs.CVcs.AI

Official code: xigua7105/FerretNet (25 stars, Apache-2.0, last commit 2025-09-26).

Abstract

The increasing realism of synthetic images generated by advanced models such as VAEs, GANs, and LDMs poses significant challenges for synthetic image detection. To address this issue, we explore two artifact types introduced during the generation process: (1) latent distribution deviations and (2) decoding-induced smoothing effects, which manifest as inconsistencies in local textures, edges, and color transitions. Leveraging local pixel dependencies (LPD) properties rooted in Markov Random Fields, we reconstruct synthetic images using neighboring pixel information to expose disruptions in texture continuity and edge coherence. Building upon LPD, we propose FerretNet, a lightweight neural network with only 1.1M parameters that delivers efficient and robust synthetic image detection. Extensive experiments demonstrate that FerretNet, trained exclusively on the 4-class ProGAN dataset, achieves an average accuracy of 97.1% on an open-world benchmark comprising 22 generative models. Our code and datasets are publicly available at https://github.com/xigua7105/FerretNet.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS 2025] Official implementation of FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies

252PythonSep 25, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{liang2025ferretnet,
  title  = {FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies},
  author = {Shuqiao Liang and Jian Liu and Renzhang Chen and Quanlong Guan},
  year   = {2025},
  eprint = {2509.20890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.20890v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.20890.svg)](https://codeofpaper.com/paper/2509.20890)

Discussion