From Sharp Eyes to Expert Mind: Internalizing Expert Knowledge in MLLMs for Tampered Text Detection

Kaiqing Lin, Songze Li, Shen Chen, Yunfei Guo, Xiaoye Qiu, Haodong Li, Taiping Yao, Bo Wang, Youchang Xiao, Bin Li, Shouhong DingarXiv 2026

TL;DR

The Expert Knowledge Internalization (EKI) framework bridges the gap between specialized forensic models and general-purpose Multimodal Large Language Models (MLLMs) for document tampering detection. By "internalizing" a forensic expert's perception into the MLLM's own representations during training, the model achieves state-of-the-art accuracy and superior cross-domain generalization without any extra computational overhead at inference time.

What Problem Does This Paper Address?

Tampered Text Detection (TTD) is a high-stakes task in document forensics, aimed at identifying where text has been spliced, erased, or replaced. Currently, the field is split between two suboptimal approaches:

  1. Expert Models: Specialized vision models (CNNs or ViTs) that are great at spotting tiny, low-level artifacts like noise inconsistencies but struggle to generalize to new document types or layouts.
  2. Multimodal Large Language Models (MLLMs): Generalists that understand document structure and semantics beautifully but are "blind" to the microscopic forensic traces left by editing tools.

The authors identify a Double Mismatch that prevents MLLMs from succeeding here:

  • Spatial Precision Mismatch: MLLM visual tokens are often too coarse to resolve character-level forgeries that occupy less than 1% of an image.
  • Perceptual Granularity Mismatch: MLLMs are pre-trained for high-level semantics (e.g., "this is a receipt"), which actually dilutes the low-level textural cues (e.g., "this pixel's noise pattern is wrong") essential for forensics.
Fig. 2. General MLLMs suffer from the Double Mismatch: Spatial Precision Mismatch (difficulty in precisely localizing tiny regions) and Perceptual Granularity Mismatch (understanding semantics but remaining blind to fine- grained artifacts).

Methods

The proposed solution, Expert Knowledge Internalization (EKI), is a two-stage training paradigm that moves away from simply "plugging in" an expert model and instead teaches the MLLM to become the expert.

Stage 1: Precise Spatial Focus (Where to Look)

To fix the spatial mismatch, the authors use two strategies:

  • Text-Focused: They use OCR to create coarse spatial anchors, forcing the MLLM to refine its attention on specific text regions rather than the whole page.
  • Image-Focused: A "divide-and-conquer" approach. The model identifies "hard samples" (tiny forgeries it missed) and is trained on magnified crops of these regions. Learning to classify these zoomed-in patches helps the model eventually localize them in the full-page view.

Stage 2: Forensic Artifact Perception (How to Discern)

To fix the perceptual mismatch, the authors introduce the Forensic-General Representation Alignment (FGRA) loss.

  • They use a pre-trained forensic expert (DINOv2 fine-tuned for forensics) as a teacher.
  • Crucially, they align the shallow layers of the MLLM with the expert's features. The "aha moment" here is that early layers in an LLM still retain structural and textural details; by the time data reaches deeper layers, it has been abstracted into pure semantics, and the forensic signal is lost.
Fig. 3. Overview of our proposed Expert Knowledge Internalization (EKI) framework. Stage 1: Precise Spatial Focus. We enhance spatial precision using Text-Focused and Image-Focused strategies. Stage 2: Forensic Artifact Perception. The proposed FGRA Loss distills forensic knowledge from a pre-trained expert into the LLM’s shallow layers, enabling intrinsic artifact perception. Note that the expert is discarded during inference.

Datasets

The researchers evaluated EKI across a rigorous suite of benchmarks to test both "in-domain" performance and "cross-domain" robustness:

  • Training: DocTamper-TrainingSet (120k samples) and FSTS-T (50k samples).
  • In-Domain Testing: DocTamper-TestingSet and FSTS-S.
  • Cross-Domain Benchmarks: Five diverse datasets including DocTamper-FCD/SCD, FSTS-1.5K, SACP, and RIFLC. These include manual forgeries and different document types to test how well the model handles "unseen" data.

Key Insights and Ideas

  • Internalization > External Reliance: Previous methods often kept the expert model as a separate module during inference. The authors show this is inefficient and actually limits generalization. By distilling the knowledge into the MLLM's weights, the MLLM's inherent reasoning power synergizes with forensic perception.
  • Shallow is Better: The discovery that forensic knowledge should be injected into the first layer of the LLM is vital. As shown in the paper's ablation studies, detection performance drops significantly if you try to align the expert knowledge with deeper, more "semantic" layers.
  • Zero Inference Overhead: Because the expert model is only a teacher during training and is discarded afterward, the final MLLM runs at the same speed as a standard "vanilla" model.

Key Results

  • State-of-the-Art: EKI consistently outperformed all competitors. On the DocTamper benchmark, it achieved an IoU of 0.890, significantly higher than the vanilla MLLM baseline (0.696) and standalone expert models (0.839).
  • Generalization: In cross-domain tests (like the SACP dataset), traditional expert models often saw their performance plummet. EKI maintained much higher stability, proving it isn't just memorizing specific artifacts but learning a generalized "forensic eye."
  • Efficiency: EKI's inference time is ~828ms, nearly identical to the vanilla Qwen2.5-VL baseline (823ms) and much faster than other MLLM-expert hybrids like TVSIP (1063ms).

Limitations and Future Work

While EKI is a leap forward in detection, the authors note a few areas for growth:

  • Explainability: Unlike some other MLLM approaches, EKI currently focuses on localization (bounding boxes) rather than generating natural language explanations of why a region looks tampered.
  • Pixel-Level Boundaries: The model outputs bounding boxes. While sufficient for most forensic needs, applications requiring pixel-perfect masks of irregular shapes would need further refinement.
  • Future Direction: The authors suggest integrating human-readable explanations into the framework to improve the trustworthiness of forensic reports.

Summary updated

BibTeX
@misc{lin2026from,
  author = {Kaiqing Lin and Songze Li and Shen Chen and Yunfei Guo and Xiaoye Qiu and Haodong Li and Taiping Yao and Bo Wang and Youchang Xiao and Bin Li and Shouhong Ding},
  title = {{From Sharp Eyes to Expert Mind: Internalizing Expert Knowledge in MLLMs for Tampered Text Detection}},
  year = {2026},
  eprint = {2609.36145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36145},
}
Figure