RelayFormer: A Unified Local-Global Attention Framework for Scalable Image and Video Manipulation Localization
Not on the map. Why?
Abstract (arXiv)
Visual manipulation localization (VML) aims to identify tampered regions in images and videos, a task that has become increasingly challenging with the rise of advanced editing tools. Existing methods face two central issues. The first is resolution diversity. Resizing or padding can distort subtle forensic cues and introduce unnecessary computational cost. The second is the difficulty of extending spatial models for images to spatio-temporal inputs in videos, which often results in maintaining separate architectures for the two data types. To address these challenges, we propose RelayFormer, a unified framework that adapts to varying resolutions and naturally handles both static and temporal visual data. RelayFormer partitions inputs into fixed-size sub-images and introduces Global Local Relay (GLR) tokens that propagate structured context through a relay-based attention mechanism. This design enables efficient exchange of global cues, such as semantic or temporal consistency, while preserving fine-grained manipulation artifacts. Unlike prior approaches that depend on uniform resizing or sparse attention, RelayFormer scales to variable resolutions and video sequences with minimal overhead. Experiments across diverse benchmarks demonstrate superior performance and strong efficiency, combining resolution adaptivity without interpolation or excessive padding, unified processing for images and videos, and a favorable balance between accuracy and computational cost. Code is available at~hrefhttps://github.com/WenOOI/RelayFormerhttps://github.com/WenOOI/RelayFormer.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 29 of its 51 references that are in the map. First posted on arXiv 13 Aug 2025.
Builds on
29 of 51 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2023MOSE: A New Dataset for Video Object Segmentation in Complex Scenescited by 234
- 2020Learning Joint Spatial-Temporal Transformations for Video Inpaintingcited by 163
- 2021PSCC-Net: Progressive Spatio-Channel Correlation Network for Image Manipulation Detection and Localizationcited by 133
- 2022TruFor: Leveraging all-round clues for trustworthy image forgery detection and localizationcited by 130
17 more
- 2022Towards An End-to-End Framework for Flow-Guided Video Inpaintingcited by 113
- 2021Image Manipulation Detection by Multi-View Multi-Scale Supervisioncited by 111
- 2021FuseFormer: Fusing Fine-Grained Information in Transformers for Video Inpaintingcited by 95
- 2021Learning JPEG Compression Artifacts for Image Manipulation Detection and Localizationcited by 78
- 2022ObjectFormer for Image Manipulation Detection and Localizationcited by 78
- 2023Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learningcited by 53
- 2019Onion-Peel Networks for Deep Video Completioncited by 46
- 2024IMDL-BenCo: A Comprehensive Benchmark and Codebase for Image Manipulation Detection & Localizationcited by 42
- 2024Mesoscopic Insights: Orchestrating Multi-scale & Hybrid Architecture for Image Manipulation Localizationcited by 35
- 2024Can We Get Rid of Handcrafted Feature Extractors? SparseViT: Nonsemantics-Centered, Parameter-Efficient Image Manipulation Localization through Spare-Coding Transformercited by 29
- 2023Pre-training-free Image Manipulation Localization through Non-Mutually Exclusive Contrastive Learningcited by 23
- 2023Rethinking Image Forgery Detection via Soft Contrastive Learning and Unsupervised Clusteringcited by 12
- 2021Deep Video Inpainting Detectioncited by 11
- 2022VideoFACT: Detecting Video Forgeries Using Attention, Scene Context, and Forensic Tracescited by 9
- 2024Omni-IML: Towards Unified Image Manipulation Localizationcited by 7
- 2023UVL2: A Unified Framework for Video Tampering Localizationcited by 1
- 2024Video Inpainting Localization with Contrastive Learningcited by 1
Built on by
Not cited yet.