Skip to content
Preprint

GAP-SAM: A Global Artifact Prior for Generalizable AI-Generated Image Manipulation Localization

Aug 2026 · 0 citations · 38 references
Computer Science

TL;DR

GAP-SAM encodes an image and its frozen VAE reconstruction into a global artifact token and injects it into SAM3's feature pyramid via zero-gated FiLM via zero-gated FiLM before pixel decoding to preserve localization while suppressing semantic-boundary shortcuts.

Abstract

AI-generated image manipulation localization identifies edited pixels, but its OOD performance lags behind image-level detection partly because pixel supervision entangles forensic evidence with dataset-specific mask geometry and semantic boundaries. Extending image-level distribution alignment to localization, we construct COCO-ControlNet with source-image Canny edges and depth maps to align semantics and geometry, improving OOD performance across multiple localizers. Yet tighter Mask-VAE Reconstruction Alignment (Mask-VAE) underperforms COCO-ControlNet, showing that VAE reconstruction artifacts transfer poorly to local diffusion-inpainting artifacts. We also identify \emph{boundary adhesion}, where fine-tuned segmentation models snap predictions to semantic object contours rather than true manipulation boundaries. These findings motivate GAP-SAM, which encodes an image and its frozen VAE reconstruction into a global artifact token and injects it into SAM3's feature pyramid via zero-gated FiLM before pixel decoding. Without prescribing a spatial region, this token modulates dense decoding to preserve localization while suppressing semantic-boundary shortcuts. Across six datasets, GAP-SAM averages 79.8 Pixel-F1, outperforming the strongest prior method by 12.6 points. It also performs best at every tested severity of JPEG compression, Gaussian blur, and resizing.

View source

Similar papers

Conference Aug 2026

MaskFlow: Attention-Guided Localized Editing for Rectified Flow Models

Text-guided image editing using rectified flow models such as Multimodal Diffusion Transformer (DiT) has demonstrated impressive generation quality. However, existing methods apply edits globally, inevitably modifying background regions unrelated to the intended semantic change. Our key observation is that the Text-to-...

Trong-Tai Dam Vu, Vinh-Tiep Nguyen · 0 citations
Preprint Aug 2026

PoseAdapter: Dual-Stream 2.5D Controllable Image Generation for Complex Multi-Object Scenes

PoseAdapter, a lightweight framework for high-fidelity 2.5D controllable image generation, and a Context-Aware Dual-Stream Representation, to resolve the generative trade-off between strict instance isolation and global coherence.

Yu-Feng Chi, Hui-Min Ma, Fan Gao et al. · 0 citations
Preprint Aug 2026

PixSDS: Why Latent SDS Makes Noisy Pixels

PixSDS is proposed, a lightweight VAE-consistent gradient repair method that decodes a latent SDS lookahead step and uses the decoded image as a clean direction for pixel-space optimization, reducing motion in VAE-inconsistent directions without retraining the diffusion model, changing the renderer, or replacing the SD...

Vsevolod Skorokhodov · 0 citations
Preprint Aug 2026

Spatially-Grounded Flow Matching: Structured Source Distributions for Image Generation

StructFlow is proposed which encodes spatial locality directly into the source by having the pixels within a small region share a common noise component, enabling properties that generic flow matching struggles to provide: fine-grained local editing that naturally respects boundaries, robust structure preservation, and...

Arman Zarei, Mahdi M. Kalayeh · 0 citations
Preprint Sep 2026

Less Supervision, Better Generalization: Weakly Supervised Fake Region Localization in Diffusion-Edited Images

Localizing AI-edited regions is essential for interpretable forensic analysis, but remains challenging due to subtle and spatially distributed artifacts that are misaligned with semantic or object boundaries. Existing approaches rely on pixel-level supervision from controlled editing pipelines, which is difficult to sc...

Junhee Lee, Donghyeon Jeon, Taeoh Kim et al. · 0 citations
Open access Oct 2026

Image Manipulation Detection via Multiscale Region and Cross-Image Edge Contrastive Learning

Pixel-level image manipulation localization requires separating weak forensic traces from image content while recovering manipulated regions under post-processing and domain shift. Existing methods do not jointly impose structured discrimination on multiscale region features and edge features drawn from different image...

Xiao-Yi Zhou, Wen-Zhong Tang, Jin-Yu Zhang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.