Introduction
In high-stakes sectors like finance and corporate compliance, ensuring data integrity across massive documents is a critical yet daunting task. A single financial fact, such as a company's "net assets," may appear in multiple tables throughout a 100-page report. Manually verifying that these values are consistent is labor-intensive and prone to error. Automating this "numerical cross-checking" is difficult due to the combinatorial explosion of potential pairs and the complex semantics required to understand if two identical numbers actually represent the same underlying fact.
The CoFiTCheck Framework
To address these challenges, the authors propose CoFiTCheck, a two-stage framework that employs a "coarse-to-fine" strategy to achieve both efficiency and high precision.
Stage 1: Coarse Filtering
To avoid the computational cost of comparing every numerical pair with a heavy Large Language Model (LLM), CoFiTCheck first uses a lightweight embedding-based model (EmbLLM). A key innovation here is Contextualized Instructional Parallel Encoding (CIPE), which allows the system to encode all numerical mentions within a table in a single forward pass, resulting in a 25x speedup. Additionally, a Decoupled InfoNCE loss function is used to handle "isolated mentions"—numbers that appear only once in a document and have no semantic equivalent.
Stage 2: Fine Classification
Candidate pairs identified in the first stage are passed to a specialized discriminative classifier (ClsLLM), based on Qwen2.5. This model performs a deep analysis of the surrounding context—including row/column headers, units, and chapter titles—to confirm semantic identity.
Cross-table Numerical Alignment Pretraining (CNAP)
To imbue the model with domain expertise without requiring extensive manual labeling, the researchers developed CNAP. This weak supervision technique assumes that if two numbers in a document are numerically equal, they are potential semantic matches. By pretraining on over 11,000 annual reports using this signal, the model learns to distinguish complex financial relationships autonomously.
Experimental Results
CoFiTCheck was evaluated on three real-world Chinese disclosure datasets: IPO Prospectuses, Auditor’s Reports, and Annual Reports. These datasets are notoriously difficult due to extreme class imbalance, where positive matches are rare compared to the millions of possible negative pairs.
- Performance: CoFiTCheck achieved F1 scores between 87.0% and 90.8%, outperforming previous state-of-the-art systems like AutoCheck by approximately 10 points.
- Efficiency: The system processes full documents in 15.7 to 40.8 seconds on consumer-grade hardware (RTX 4090s), a task that would take human experts several hours.
- Comparison: The framework significantly outperformed general-purpose frontier models such as OpenAI-o1 and DeepSeek-V3, demonstrating the value of task-specific fine-tuning in specialized domains.
Conclusion
CoFiTCheck provides a robust solution for automated numerical verification in complex documents. By combining efficient parallel embedding with high-precision classification and a novel weak-supervision pretraining strategy, it bridges the gap between the need for absolute data integrity and the practical constraints of processing large-scale financial disclosures. Future work will look to expand this framework to other table-rich domains, such as scientific publications and regulatory filings.
Summary updated