TextShield-R1: Reinforced Reasoning for Tampered Text Detection

Authors

  • Chenfan Qu South China University of Technology, Ant Group
  • Yiwu Zhong Peking University
  • Jian Liu Ant Group
  • Xuekang Zhu Ant Group
  • Bohan Yu Ant Group
  • Lianwen Jin South China University of Technology

DOI:

https://doi.org/10.1609/aaai.v40i10.37814

Abstract

The growing prevalence of tampered images poses serious security threats, highlighting the urgent need for reliable detection methods. Multimodal large language models (MLLMs) demonstrate strong potential in analyzing tampered images and generating interpretations. However, they still struggle with identifying micro-level artifacts, exhibit low accuracy in localizing tampered text regions, and heavily rely on expensive annotations for forgery interpretation. To this end, we introduce TextShield-R1, the first reinforcement learning based MLLM solution for tampered text detection and reasoning. Specifically, our approach introduces Forensic Continual pre-training, an easy-to-hard curriculum that well prepares the MLLM for tampered text detection by harnessing the large-scale cheap data from natural image forensic and OCR tasks. During fine-tuning, we perform Group Relative Policy Optimization with novel reward functions to reduce annotation dependency and improve reasoning capabilities. At inference time, we enhance localization accuracy via OCR Rectification, a method that leverages the MLLM’s strong text recognition abilities to refine its predictions. Furthermore, to support rigorous evaluation, we introduce Text Forensics Reasoning (TFR) benchmark, comprising over 45k real and tampered images across 16 languages, 10 tampering techniques, and diverse domains. Rich reasoning-style annotations are included, allowing for comprehensive assessment. Our TFR benchmark simultaneously addresses seven major limitations of existing benchmarks and enables robust evaluation under cross-style, cross-method, and cross-language conditions. Extensive experiments demonstrate that TextShield-R1 significantly advances the state of the art in interpretable tampered text detection.

Downloads

Published

2026-03-14

How to Cite

Qu, C., Zhong, Y., Liu, J., Zhu, X., Yu, B., & Jin, L. (2026). TextShield-R1: Reinforced Reasoning for Tampered Text Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 40(10), 8621-8629. https://doi.org/10.1609/aaai.v40i10.37814

Issue

Section

AAAI Technical Track on Computer Vision VII