TL;DR
This paper introduces "Explainable Tampered Text Detection," a new task that aims to not only identify tampered text in images but also explain why it's considered tampered using natural language. To support this, they've created the ETTD dataset and a novel model, TextSleuth, which leverages multimodal large models to achieve state-of-the-art explainability and detection performance.
What Problem Does This Paper Address?
In today's digital world, text in images is a crucial information carrier, but it's increasingly vulnerable to manipulation for malicious purposes like fraud. While existing methods can detect where text has been tampered with, they often act as "black boxes," failing to provide a clear, interpretable explanation for their decisions. This lack of transparency makes their predictions unreliable and hinders trust. The authors tackle this by proposing a new task: explainable tampered text detection, which bridges the gap between detection and human-understandable reasoning.
Methods
The core of their approach lies in leveraging large multimodal models (LMMs) for both detection and explanation.
- Dataset Creation (ETTD): To address the lack of suitable data, they created the ETTD (Explainable Tampered Text Detection) dataset. This dataset includes pixel-level annotations for tampered text regions and, crucially, natural language descriptions of the anomalies. They used GPT-4o with carefully crafted prompts to generate these descriptions, employing techniques like a "fused mask prompt" to improve GPT-4o's understanding of the tampered region and an automatic filtering mechanism based on OCR accuracy to ensure annotation quality.
- TextSleuth Model: They propose a novel, simple yet effective model called TextSleuth. It employs a two-stage analysis:
- Region Detection: A Swin-Transformer based detection model first identifies potential tampered text regions.
- Explainable Analysis: The detected region is then used to form an "auxiliary grounding prompt." This prompt, along with the image and a question, is fed into an LMM (like GPT-4o). This focused approach helps the LMM pinpoint the anomaly and generate a natural language explanation, improving fine-grained perception and cross-domain generalization.
Datasets
- ETTD Dataset (New Benchmark): This is the primary contribution. It's a large-scale, comprehensive dataset containing:
- 12,000 tampered text images with pixel-level annotations.
- 10,500 authentic text images.
- Multilingual content (English and Chinese).
- Tampering methods include copy-move, splicing, and the DiffUTE diffusion model.
- The dataset is split into ETTD-Train, ETTD-Test (in-domain), and ETTD-CD (cross-domain) for robust evaluation.
- Public Datasets: Tampered IC-13 dataset was used for comparison and cross-domain evaluation.
Key Insights and Ideas
- The Need for Explainability: The paper strongly emphasizes that simply detecting tampered text isn't enough. For critical applications like security, understanding why a region is flagged is paramount for trust and reliability.
- LMMs as Explainers: Large multimodal models, when guided correctly, can effectively translate visual anomalies into coherent natural language explanations.
- Prompt Engineering is Key: The quality of the generated explanations heavily depends on the prompts used. The "fused mask prompt" and the structured textual prompt for GPT-4o were crucial for improving annotation quality and reducing confusion.
- Focusing Attention: The TextSleuth model's success hinges on its ability to direct the LMM's attention to the suspected tampered region, preventing it from being distracted by irrelevant background details.
- Scaling Laws Apply: The performance of LMMs in this task generally improves with larger model sizes, confirming existing scaling trends.
Key Results
- ETTD Dataset: The creation of a large-scale, annotated dataset for explainable tampered text detection, filling a significant gap in the field.
- TextSleuth Performance: TextSleuth significantly outperforms baseline models and existing methods on both the ETTD and Tampered IC-13 datasets, demonstrating strong in-domain and cross-domain generalization. For instance, on ETTD-Test, TextSleuth achieved a final score of 96.5, while the best baseline (Qwen2VL-7B) reached 92.4. On the cross-domain ETTD-CD, TextSleuth achieved 97.9, compared to 88.9 for Qwen2VL-7B.
- Anomaly Description Quality: The proposed fused mask prompt significantly improved the accuracy of anomaly descriptions generated by GPT-4o, as evidenced by a substantial increase in OCR accuracy (from 47.3% to 84.2%) compared to a simple binary mask prompt.
- Detection Performance: TextSleuth achieved high detection performance, with F1-scores of 0.990 on ETTD-Test and 0.989 on ETTD-CD.
Limitations and Future Work
- Model Dependence: The performance of TextSleuth is inherently tied to the capabilities of the underlying LMM. While it improves upon existing models, further advancements in LMMs could lead to even better results.
- Tampered Text Detector Improvement: The paper notes that TextSleuth's performance could be further enhanced by using more advanced tampered text region detectors.
- Generalization to Unseen Tampering: While TextSleuth shows good cross-domain generalization, exploring its robustness against entirely novel or more sophisticated tampering techniques remains an area for future work.
- Efficiency: While TextSleuth is described as "simple yet effective," the computational cost of using large multimodal models for explanation might be a consideration for real-time applications.
Summary updated