Text Change Detection in Multilingual Documents Using Image Comparison
Doyoung Park, Naresh Reddy Yarram, Sunjin Kim, Minkyu Kim, Seongho Cho, Taehee Lee
TL;DR
This work addresses multilingual document comparison by proposing text change detection (TCD) through image-to-image comparison rather than language-dependent OCR. The model uses a Siamese-like encoder–decoder architecture with multi-scale features, correlation marginalization, and cross-self transformer-based attention to produce bidirectional change maps $S_{st}$ and $S_{ts}$ without explicit text alignment. A synthetic multilingual training regime and a dedicated text-change dataset enable robust performance across languages, validated against semantic segmentation, change detection baselines, and OCR benchmarks; ablation confirms the value of correlation maps and two-way segmentation. Practically, the method offers language-agnostic, robust change detection suitable for contract review and other multilingual document workflows, achieving SotA results on segmentation benchmarks and competitive OCR-like performance without language-specific OCR models.
Abstract
Document comparison typically relies on optical character recognition (OCR) as its core technology. However, OCR requires the selection of appropriate language models for each document and the performance of multilingual or hybrid models remains limited. To overcome these challenges, we propose text change detection (TCD) using an image comparison model tailored for multilingual documents. Unlike OCR-based approaches, our method employs word-level text image-to-image comparison to detect changes. Our model generates bidirectional change segmentation maps between the source and target documents. To enhance performance without requiring explicit text alignment or scaling preprocessing, we employ correlations among multi-scale attention features. We also construct a benchmark dataset comprising actual printed and scanned word pairs in various languages to evaluate our model. We validate our approach using our benchmark dataset and public benchmarks Distorted Document Images and the LRDE Document Binarization Dataset. We compare our model against state-of-the-art semantic segmentation and change detection models, as well as to conventional OCR-based models.
