arXiv:2610.24480cs.CVOct 2026

Manuscript Offprint

arXiv:2610.24480

RiSE: Residual Subspace Expert for Generalizable Text-Centric Image Forgery Localization

Kahim Wong, Kemou Li, Yiming Chen, Haiwei Wu, Jiantao Zhou

Abstract

As AI-assisted image editing becomes increasingly prevalent, Text-Centric Image Forgery Localization (TFL) is essential for protecting trust in financial and legal records. However, we observe that existing TFL detectors predominantly rely on Full-Parameter Fine-Tuning (FPFT) and fail to generalize to unseen forgery types because FPFT can induce low-rank feature collapse and overfit training artifacts. Meanwhile, prior detectors capture diverse forgery traces with a single unified representation, making subtle traces entangled and difficult to learn. To address these challenges, we propose RiSE, a Residual Subspace Expert model that preserves pre-trained priors by freezing principal SVD components and adapting only the residual subspaces with a ViT-only segmentor to avoid feature collapse. RiSE introduces forgery-aware residual experts, where each expert is trained independently on a training subset with a particular forgery type, and we show that cross-domain localization performance improves consistently as more experts are added. At inference, we introduce Latent Perturbation Confidence (LPC), which selects the most confident expert by analytically computing the latent-perturbed output. LPC enables efficient confidence estimation with a single forward pass, avoiding repeated forward passes on perturbed samples and improving expert selection. By training on synthetic forgery data, RiSE with 1 expert outperforms prior methods on real-world forgery images by 20.4% while reducing training steps by 10×. Scaling the number of experts to 9 yields a 35.8% gain. RiSE remains effective with DCT feature, even when the majority of the parameters is frozen with RGB-only pretraining. Code: https://github.com/KahimWong/RiSE.

1 Introduction

Text-Centric Image Forgery Localization (TFL) aims to identify manipulated regions in scanned or captured text-centric images. This problem is increasingly important because modern AI-assisted editing tools allow ordinary users to alter document and scene-text images with little expertise [Wong et al., 2025b,a, 2026b], threatening trust in images used for financial verification, legal review, and identity authentication. Although recent TFL methods have improved accuracy by combining RGB, frequency [Qu et al., 2023], and multi-scale cues [Dong et al., 2024], their performance still drops sharply under cross-domain evaluation, where unseen forgery patterns and acquisition artifacts differ from the training distribution [Du et al., 2025, Gushchin et al., 2026]. We argue that this failure is not merely a data scarcity issue. Unlike semantic segmentation, TFL depends on weak, non-semantic forensic traces whose statistics vary sharply across editing pipelines, recompression settings, and capture conditions. As a result, many existing TFL detectors [Qu et al., 2023, Chen et al., 2024, Wong et al., 2025c] rely on Full-Parameter Fine-Tuning (FPFT) and end up specializing to the limited

*Corresponding author: Jiantao Zhou (jtzhou@um.edu.mo).

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

forgery patterns seen during training. Their penultimate features become highly low-rank, as shown in Fig. 1, indicating representation collapse that harms cross-domain generalization.

This observation points to a different formulation of TFL: the central challenge is to control where task-specific adaptation happens. Recent work on residual subspace adaptation [Yan et al., 2025] shows that transferable priors from Vision Foundation Models (VFMs), typically built on the Vision Transformer [Dosovitskiy et al., 2021] (ViT) architecture (e.g., CLIP [Radford et al., 2021], DINOv2 [Oquab et al., 2024], and DINOv3 [Siméoni et al., 2025]), can be preserved by freezing the dominant SVD components of ViT linear layers and fine-tuning only residual subspaces. This prior-preserving adaptation avoids representation collapse and improves performance in AI-generated image detection [Yan et al., 2025]. However, bringing this idea to TFL requires more than inserting residual adaptation into an off-the-shelf segmentor. In TFL, the task-specific decoders and fusion modules can become a second adaptation pathway, allowing the model to memorize dataset-specific compression, synthesis, or capture artifacts outside the pre-trained backbone. At the same time, learning all forgery types in a single shared residual space entangles heterogeneous traces, causing subtle manipulation cues to be overwhelmed by dominant but less transferable patterns. This leads to two questions: (1) Can TFL be reformulated as a prior-preserving localization problem, with minimal trainable modules beyond the ViT so that adaptation remains constrained and transferable? (2) Can the limited trainable capacity be expertized, so that different residual subspaces specialize to complementary forgery cues and generalize better under domain shift?

To answer these questions, we propose RiSE, a Residual Subspace Expert model for TFL built on a ViT-only segmenter. We instantiate RiSE on EoMT [Kerssies et al., 2025], which turns a ViT into a segmenter using only query embeddings and a lightweight mask module, thereby minimizing additional adaptation pathways beyond the backbone. On top of this architecture, RiSE divides the training set into non-overlapping subsets with a particular forgery type and trains one residual expert on each subset independently. All experts share the dominant principal subspaces of the VFM backbone, while each expert learns only a tiny residual subspace tailored to a more homogeneous forgery regime. We show that this offline image-level routing is more stable than learnable routing [Shazeer et al., 2017], and that scaling the number of experts consistently improves cross-domain performance as shown in Fig. 2 while parameter growth remains sublinear because the principal components are shared among experts. To select the final prediction among experts, we further propose Latent Perturbation Confidence (LPC), which addresses the limitation that existing confidence metrics [Hendrycks and Gimpel, 2017, Borges et al., 2024] often become unreliable when forged regions are small. LPC estimates the expected latent-perturbed output analytically and favors experts whose forged predictions remain stable under perturbations. As a result, LPC enables single-pass confidence estimation, avoiding repeated forward passes on perturbed samples and improving expert selection for more accurate localization. Trained on DocTamper [Qu et al., 2023] synthetic forgery data, a single RiSE expert generalizes effectively to real-world forgery images, achieving a substantial 20.4% performance improvement while reducing training steps by 10×10\times compared with existing TFL methods. Scaling to 9 experts further boosts the performance gain to 35.8%.

Our contributions are fourfold:

• We identify uncontrolled task-specific adaptation as a key cause of poor cross-domain TFL, show that FPFT induces low-rank feature collapse, and reformulate TFL as a prior-preserving localization problem with a ViT-only residual adaptation architecture.

• We introduce residual subspace experts for TFL, each optimized on a training subset with a specific forgery type, so that different residual subspaces specialize to complementary forgery cues and improve cross-domain localization as more experts are added while keeping parameter growth sublinear.

• We develop a plug-and-play confidence estimator, LPC, that analytically computes expected latent-perturbed outputs to measure expert confidence effectively and efficiently.

• Extensive experiments demonstrate that RiSE consistently improves cross-domain localization performance by 35.8% across 4 test sets.

References (66)