Skip to content
AI.info

Research

Robustness of Structured Data Extraction from Perspectively Distorted Documents

Overview Research area: Computer Vision / Document Understanding — specifically OCR-based structured data extraction using multi-modal Large Language Models. Technical level: Intermediate. The paper s

Robustness of Structured Data Extraction from Perspectively Distorted Documents
arXiv
2511.17607
Published
2025-11-18
Authors
Hyakka Nakada, Yoshiyasu Tanaka

AI summary

Overview

Research area: Computer Vision / Document Understanding — specifically OCR-based structured data extraction using multi-modal Large Language Models.

Technical level: Intermediate. The paper sits at the intersection of document image analysis, projective geometry, and multimodal LLM evaluation; the framing is accessible, but familiarity with OCR metrics and multi-modal model evaluation helps.

One-sentence scope: The paper studies how perspective distortions in document images degrade the structured data extraction accuracy of a state-of-the-art multi-modal LLM, and proposes a reduced-parameter way to test that degradation systematically.

What This Paper Is About

Multi-modal LLMs such as Gemini-1.5-pro are increasingly used to read information out of document images — digitizing medical records, recognizing road signs, and similar tasks. Prior work has noticed that accuracy drops when documents are rotated in-plane, but real photographs of documents are usually not just rotated: they are also perspectively distorted, because the camera is rarely perfectly parallel to the page. This paper asks how much that additional, realistic distortion hurts extraction accuracy, and how to make the question testable given how many ways a perspective distortion can vary.

Key Contributions

  1. A tractable parameterization of perspective distortion. The authors observed typical distortions in document images and showed that most approximately follow an isosceles-trapezoidal transformation. This reduces the number of independent distortion parameters from eight to two: rotation angle and distortion ratio.
  2. An evaluation protocol on synthetic documents. Using this two-parameter model, they generated sample documents with controlled, varied distortion and extracted specific entities from them.
  3. A two-part accuracy metric for LLM-based OCR. They evaluated both character-recognition accuracy (the classical OCR indicator) and structure-recognition accuracy, which reflects correctness of reading order rather than just character identity.
  4. A simple mitigation finding. They found that a basic rotational correction improves the structure-recognition accuracy under distortion, offering a practical intervention.

Main Findings

  • In-plane rotation was already a known concern; perspective distortion is the new variable. The paper builds directly on prior observations that multi-modal LLM extraction accuracy is affected by in-plane rotation, and extends the question to the more realistic case of documents that are both rotated and perspectively skewed.

  • Perspective distortion can be approximated with few parameters. Empirically observed distortions of document images mostly resemble an isosceles-trapezoidal transform, collapsing what would normally be an eight-parameter projective problem down to two: rotation angle and distortion ratio. The abstract presents this as an enabling observation for the experimental design, not as a formal theoretical result.

  • Structure-recognition accuracy degrades notably under distortion. The character-level accuracy and the reading-order/structure accuracy were both measured, and the abstract singles out structure-recognition accuracy as significantly degraded by document distortion. The abstract does not report the magnitude of that degradation or any numerical comparison.

  • Structure accuracy improves with simple rotational correction. Applying a straightforward rotational correction raised the structure-recognition accuracy. Notably, the fix is a rotational one while the degradation was attributed to distortion generally; the abstract does not detail how much improvement was obtained or under which parameter settings.

  • Details of the accuracy figures are not in the abstract. No scores, percentages, dataset sizes, baseline comparisons, or per-parameter breakdowns are given in the abstract text available.

Methodology in Plain English

The core methodological problem is that perspective distortion has too many degrees of freedom to sweep through experimentally the way a single rotation angle can be swept. The researchers addressed this by first looking at what real document distortions actually look like, and finding that most of them can be approximated by an isosceles-trapezoidal transform. That single approximation is what makes the study feasible: it lets a distortion be described by just two numbers — how much the document is rotated, and how distorted (skewed) it is.

With that two-parameter space in hand, they generated synthetic sample documents, applied distortions across varying values of those two parameters, and asked Gemini-1.5-pro to extract specified entities from each one. Because the task is structured extraction rather than raw transcription, they scored the output on two separate axes: whether the characters were recognized correctly, and whether the overall structure — essentially, reading order — was reconstructed correctly. They then tested whether a simple rotational correction step could recover any of the lost accuracy.

Why This Matters

Impact on research: Most robustness evaluations of multi-modal LLMs on documents focus on clean scans, simple rotations, or natural photographic variation without controlled parameterization. This work supplies a low-dimensional, reproducible way to probe perspective robustness, and it argues that the field should be measuring structural correctness, not just character-level correctness — a metric that classical OCR benchmarks have largely not emphasized, and one that this work finds is the more fragile of the two.

Real-world applications:

  • Medical record digitization: Records photographed by hand or from a handheld scanner are routinely skewed; if reading order breaks down, extracted fields can be silently mis-associated even when every character was recognized.
  • Road sign and in-the-wild text recognition: Camera angle relative to a sign or label is almost never head-on, making perspective distortion the normal case rather than an edge case.
  • Mobile document capture and expense/receipt processing: Phone-based capture produces exactly the rotated-plus-perspectively-distorted images this paper models.
  • Archival and field data collection: Documents photographed in situ by non-specialists, where no controlled scanning setup exists.

Industry relevance: Any product pipeline that routes photographed documents through a multi-modal LLM for structured extraction needs an estimate of how much accuracy it loses to camera geometry. The finding that a cheap rotational correction recovers structure accuracy is directly actionable — it suggests a lightweight preprocessing step with real downstream value, and it implies that the ordering/structure failure mode, not character recognition, may be the binding constraint on accuracy in deployed systems.

Future Directions

  • Extending beyond the isosceles-trapezoidal approximation. The abstract states that most observed distortions approximately follow this transform, leaving open what happens for the remainder and whether richer distortion families change the conclusions.
  • Testing the rotational-correction finding more broadly. The abstract reports improvement from a simple rotational correction without specifying its scope; whether it generalizes across distortion ratios, document layouts, and entity types remains an open question.
  • Applying the two-parameter protocol to other models and tasks. The study evaluates one model, Gemini-1.5-pro; whether the structure-accuracy degradation is a general property of multi-modal LLMs or specific to this model is not addressed in the abstract.
  • Bridging to real rather than synthetic documents. The samples were synthetically generated, so how closely the observed degradation tracks real photographed documents — with their lighting, blur, noise, and paper texture — is a natural next step.

Target Audience

Researchers and engineers working on document AI, OCR, and multi-modal LLM evaluation; practitioners building extraction pipelines from photographed documents; and anyone interested in robustness benchmarking who wants a compact, parameterized way to stress-test a vision-language model. Readers looking for a rigorous projective-geometry treatment or for detailed quantitative benchmark tables will find the abstract points toward a focused empirical robustness study rather than a theoretical one. Some background in OCR and multi-modal models is useful, but the central idea — reducing a complex distortion to two measurable knobs and checking whether reading order survives — is explained in plain terms.

Authors’ abstract

Optical Character Recognition (OCR) for data extraction from documents is essential to intelligent informatics, such as digitizing medical records and recognizing road signs. Multi-modal Large Language Models (LLMs) can solve this task and have shown remarkable performance. Recently, it has been noticed that the accuracy of data extraction by multi-modal LLMs can be affected when in-plane rotations are present in the documents. However, real-world document images are usually not only in-plane rotated but also perspectively distorted. This study investigates the impacts of such perturbations on the data extraction accuracy for the state-of-the-art model, Gemini-1.5-pro. Because perspective distortions have a high degree of freedom, designing experiments in the same manner as single-parametric rotations is difficult. We observed typical distortions of document images and showed that most of them approximately follow an isosceles-trapezoidal transformation, which allows us to evaluate distortions with a small number of parameters. We were able to reduce the number of independent parameters from eight to two, i.e. rotation angle and distortion ratio. Then, specific entities were extracted from synthetically generated sample documents with varying these parameters. As the performance of LLMs, we evaluated not only a character-recognition accuracy but also a structure-recognition accuracy. Whereas the former represents the classical indicators for optical character recognition, the latter is related to the correctness of reading order. In particular, the structure-recognition accuracy was found to be significantly degraded by document distortion. In addition, we found that this accuracy can be improved by a simple rotational correction. This insight will contribute to the practical use of multi-modal LLMs for OCR tasks.

Read the original paper