Saved in:
Bibliographic Details
Main Authors: Huang, Wen, Yang, Jiarui, Dai, Tao, Li, Jiawei, Zhan, Shaoxiong, Wang, Bin, Xia, Shu-Tao
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.09459
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911190069805056
author Huang, Wen
Yang, Jiarui
Dai, Tao
Li, Jiawei
Zhan, Shaoxiong
Wang, Bin
Xia, Shu-Tao
author_facet Huang, Wen
Yang, Jiarui
Dai, Tao
Li, Jiawei
Zhan, Shaoxiong
Wang, Bin
Xia, Shu-Tao
contents 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 main issues: resolution diversity, where resizing or padding distorts forensic traces and reduces efficiency, and the modality gap, as images and videos often require separate models. To address these challenges, we propose RelayFormer, a unified framework that adapts to varying resolutions and modalities. RelayFormer partitions inputs into fixed-size sub-images and introduces Global-Local Relay (GLR) tokens, which propagate structured context through a global-local relay attention (GLRA) mechanism. This enables efficient exchange of global cues, such as semantic or temporal consistency, while preserving fine-grained manipulation artifacts. Unlike prior methods that rely on uniform resizing or sparse attention, RelayFormer naturally scales to arbitrary resolutions and video sequences without excessive overhead. Experiments across diverse benchmarks demonstrate that RelayFormer achieves state-of-the-art performance with notable efficiency, combining resolution adaptivity without interpolation or excessive padding, unified modeling for both images and videos, and a strong balance between accuracy and computational cost. Code is available at: https://github.com/WenOOI/RelayFormer.
format Preprint
id arxiv_https___arxiv_org_abs_2508_09459
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RelayFormer: A Unified Local-Global Attention Framework for Scalable Image and Video Manipulation Localization
Huang, Wen
Yang, Jiarui
Dai, Tao
Li, Jiawei
Zhan, Shaoxiong
Wang, Bin
Xia, Shu-Tao
Computer Vision and Pattern Recognition
Artificial Intelligence
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 main issues: resolution diversity, where resizing or padding distorts forensic traces and reduces efficiency, and the modality gap, as images and videos often require separate models. To address these challenges, we propose RelayFormer, a unified framework that adapts to varying resolutions and modalities. RelayFormer partitions inputs into fixed-size sub-images and introduces Global-Local Relay (GLR) tokens, which propagate structured context through a global-local relay attention (GLRA) mechanism. This enables efficient exchange of global cues, such as semantic or temporal consistency, while preserving fine-grained manipulation artifacts. Unlike prior methods that rely on uniform resizing or sparse attention, RelayFormer naturally scales to arbitrary resolutions and video sequences without excessive overhead. Experiments across diverse benchmarks demonstrate that RelayFormer achieves state-of-the-art performance with notable efficiency, combining resolution adaptivity without interpolation or excessive padding, unified modeling for both images and videos, and a strong balance between accuracy and computational cost. Code is available at: https://github.com/WenOOI/RelayFormer.
title RelayFormer: A Unified Local-Global Attention Framework for Scalable Image and Video Manipulation Localization
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2508.09459