TextShield-R1: 用于篡改文本检测的强化推理
TextShield-R1: Reinforced Reasoning for Tampered Text Detection
AI总结:
TextShield-R1通过强化学习和OCR校正技术,提升篡改文本检测的准确性和鲁棒性,解决现有方法在微特征识别和跨语言评估中的不足。
摘要:
随着篡改图像的日益增多,这带来了严重的安全威胁,凸显了可靠检测方法的迫切需求。多模态大语言模型(MLLMs)在分析篡改图像和生成解释方面显示出强大的潜力。然而,它们仍然在识别微级别特征方面存在困难,局部化篡改文本区域的准确性较低,并且严重依赖昂贵的注释进行伪造解释。为此,我们引入了TextShield-R1,这是首个基于强化学习的MLLM解决方案,用于篡改文本检测和推理。具体而言,我们的方法引入了刑侦连续预训练,一种由易到难的课程,通过利用大规模廉价数据从自然图像刑侦和OCR任务中,充分准备MLLM进行篡改文本检测。在微调过程中,我们采用分组相对策略优化,结合新的奖励函数,以减少注释依赖并提高推理能力。在推理阶段,我们通过OCR校正增强局部化准确性,这是一种利用MLLM强大的文本识别能力来精修其预测的方法。此外,为了支持严谨的评估,我们引入了文本刑侦推理(TFR)基准,包含超过45000张真实和篡改图像,覆盖16种语言、10种篡改技术及多样的领域。丰富的推理式注释被包含在内,允许全面评估。我们的TFR基准同时解决了现有基准的七个主要限制,并在跨风格、跨方法和跨语言条件下实现了稳健的评估。大量实验表明,TextShield-R1在可解释的篡改文本检测方面显著推动了现有技术水平。
英文摘要:
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 the 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。