Structured information extraction and anomaly detection of financial vouchers based on a multimodal attention mechanism
Automated processing of financial vouchers such as VAT invoices, reimbursement forms, and receipts remains hindered by diverse layouts, seal and handwriting interference, weak coupling between textual and visual evidence, and the scarcity of abnormal samples. This paper treats structured field extraction and anomaly detection as a single problem built on shared representations. We encode text, visual appearance, and two-dimensional layout in a common space and bind them through cross-modal attention with layout gating, then extract key–value records via joint sequence labeling and biaffine pairing that resolves nested field hierarchies. A reconstruction-based detector reuses the fused features to score amount-logic faults, missing fields, and layout tampering, learning normality from abundant clean vouchers to counter label scarcity. On 6,000 pooled documents from six publicly released, permissively licensed invoice and receipt collections in Chinese, English and Indonesian, split 70/15/15 at the document level, the model attains 0.932 field-level F1, exceeding unimodal, late-fusion, table-structure and pretrained document-understanding baselines and holding at 0.921 and 0.914 when templates or suppliers are disjoint between training and test. At the adopted operating point (k = 2.0, ω = 0.5) the detector reaches 0.920 recall at a false-positive rate of 0.062, with an area under the ROC curve of 0.974 that is unchanged by the threshold multiplier, and it adds only 12.6 ms per document. Ablation confirms that attention-based fusion, rather than extra modalities alone, drives the extraction gain, and that sharing the fused representation with the detector raises anomaly F1 from 0.871 to 0.901 over a decoupled two-stage pipeline. The framework offers a reproducible, low-overhead foundation for financial document automation, with residual limits on low-quality scans, unseen scripts and disguised tampering.
Authors
- Huan Wang
Institutions
- Guangzhou College of Commerce (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1038/s41598-026-83061-w
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00