Frozen DINO Localizes Image Edits Without a Localizer

Zane Kumar, Vishal Jain, Bernhard Kainz
8/19/2026
cs.CV

Official code: VishalJ99/trail-image-edit-localization (2 stars, Python, MIT, last commit 2026-08-14).

Abstract

Localized image edits can change a photograph's meaning while leaving most of it authentic, so forensic analysis must identify where an edit occurred. We show that patch-level perturbation responses from frozen DINO encoders are themselves localization maps.

Show full abstract

Training-free Localization of AI-image Edits from patch-token Drift (TRAIL) applies one global Haar perturbation and maps cosine drift between corresponding patch tokens. On 80 source-disjoint CocoGlide test images, TRAIL reaches .903 patch AUROC versus .912 for the mask-supervised Detective SAM; fixed-threshold Dice is .619 versus .709, while an oracle threshold raises TRAIL to .790. Transferred unchanged to Poisson image interpolation, TRAIL reaches .855 AUROC versus .864, showing that the cue persists without a generator. Across sixteen DINO encoders, the best block lies at normalized depth .80-.94. Global context matters: AUROC falls from .903 globally to .857 for local-in-canvas perturbations and .735 for independently encoded crops. Frozen DINO patch tokens therefore contain a strong late-layer localization signal whose visibility depends on the perturbation and preserved context. Code: https://github.com/VishalJ99/trail-image-edit-localization.

View on arXivView PDF

Code Implementations(1)

MIT

Official reproducibility package for training-free image-edit localization from frozen DINO patch-token drift

20PythonAug 9, 20263 months agoMIT
computer-visiondinov3image-forensicslocalizationreproducible-research

Similar Papers

Cite this paper

@article{kumar2026frozen,
  title  = {Frozen DINO Localizes Image Edits Without a Localizer},
  author = {Zane Kumar and Vishal Jain and Bernhard Kainz},
  year   = {2026},
  eprint = {2608.18968},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.18968v1}
}

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/2608.18968.svg)](https://codeofpaper.com/paper/2608.18968)

Discussion