Introduction
In the digital age, the integrity of document images—such as certificates, contracts, and identification papers—is paramount. However, sophisticated image editing tools have made it increasingly simple to forge these documents. Subtle alterations, such as changing a name or a date, can have significant legal and financial consequences. While these edits are semantically impactful, they are often visually imperceptible, leaving minimal traces for standard forensic tools.
CTP-Net (Character Texture Perception Network) is a novel two-stream neural network designed specifically to address the unique challenges of document image forgery localization. By focusing on character-level textures alongside global image features, CTP-Net identifies inconsistencies that traditional methods often overlook.
The Challenge of Document Forgery
Most existing forgery localization methods are optimized for "natural" images, such as photographs of landscapes or people. Document images present a different set of characteristics: high-contrast text, slender character strokes, and complex backgrounds featuring security watermarks or official stamps.
Traditional forensic tools often struggle to distinguish between the inherent noise of a document's texture and the artificial noise introduced during a forgery. As shown in the figure above, edits like changing "Zhang Hua" to "Alexander" or altering dates are visually seamless but constitute major semantic fraud. CTP-Net treats text as the primary signal to be protected, recognizing that characters are often the "weakest link" in document security.
The CTP-Net Architecture
The core innovation of CTP-Net is its two-stream architecture, which separately processes character-specific textures and global image textures before fusing them for final localization.
1. Character Texture Stream (CTS)
Inspired by Optical Character Recognition (OCR) architectures, the CTS focuses exclusively on text. It utilizes a series of convolution and max-pooling layers designed to capture features at the character level. By isolating the "feel" of specific fonts and strokes, the CTS can detect where characters have been spliced from other sources or moved within the document.
2. Image Texture Stream (ITS)
The ITS analyzes the document as a whole, capturing tampering traces in non-text areas like backgrounds and stamps. It employs "feature-enhanced blocks" (a variant of DenseBlocks) to maintain high spatial resolution. Instead of simple concatenation, the network uses element-wise addition for feature fusion, which preserves spatial details while remaining computationally efficient.
3. Forgery Localization Network
The final stage of the pipeline fuses the outputs from both the CTS and ITS. Using deconvolutional layers, this "decoder" produces a pixel-level mask that highlights the exact regions of the image that have been tampered with.
Experimental Evaluation
To rigorously test CTP-Net, the authors introduced the Fake Chinese Trademark (FCTM) dataset, which simulates realistic forgery operations like copy-move, splicing, and removal. The model was also evaluated on the public Security AI Challenger Program (SACP) dataset and the NIST 2016 benchmark.
Key Results
CTP-Net consistently outperformed state-of-the-art (SOTA) methods such as MT-Net and DFCN. On the SACP dataset, CTP-Net achieved an F1-score of 0.45 and an AUC of 0.72, a significant improvement over previous benchmarks like TS-Net (0.30 F1).
The model demonstrated robustness across multiple scales, successfully identifying both large-scale stamp replacements and minute, single-character edits. Furthermore, it remained resilient against common "laundering" techniques used to hide forgery, such as resizing, cropping, and the addition of Gaussian noise.
Conclusion
CTP-Net represents a significant advancement in document forensics by leveraging the structural properties of text. By combining OCR-inspired character perception with global texture analysis, the network effectively localizes "invisible" forgeries. While detecting extremely small-scale tampering remains a challenge, the integration of character-level texture analysis provides a powerful new tool for ensuring the authenticity of digital documents.
Summary updated