[Paper Review] One-shot Information Extraction from Document Images using Neuro-Deductive Program Synthesis
This paper proposes a neuro-symbolic framework that enables one-shot information extraction from document images by combining pre-trained deep neural networks with neuro-deductive program synthesis. Using a single labeled image and a meta-interpreter for logical deduction, the system synthesizes reusable logic programs that generalize well across similar documents, achieving high accuracy with minimal supervision, and supports human-in-the-loop refinement for outlier cases.
Our interest in this paper is in meeting a rapidly growing industrial demand for information extraction from images of documents such as invoices, bills, receipts etc. In practice users are able to provide a very small number of example images labeled with the information that needs to be extracted. We adopt a novel two-level neuro-deductive, approach where (a) we use pre-trained deep neural networks to populate a relational database with facts about each document-image; and (b) we use a form of deductive reasoning, related to meta-interpretive learning of transition systems to learn extraction programs: Given task-specific transitions defined using the entities and relations identified by the neural detectors and a small number of instances (usually 1, sometimes 2) of images and the desired outputs, a resource-bounded meta-interpreter constructs proofs for the instance(s) via logical deduction; a set of logic programs that extract each desired entity is easily synthesized from such proofs. In most cases a single training example together with a noisy-clone of itself suffices to learn a program-set that generalizes well on test documents, at which time the value of each entity is determined by a majority vote across its program-set. We demonstrate our two-level neuro-deductive approach on publicly available datasets ("Patent" and "Doctor's Bills") and also describe its use in a real-life industrial problem.
Motivation & Objective
- Address the industrial challenge of extracting structured information from document images with minimal labeled training data.
- Develop a data-efficient approach for information extraction that generalizes from one or few examples.
- Enable human-in-the-loop correction for outlier cases by leveraging interpretable logic programs.
- Integrate deep learning-based vision with symbolic reasoning to improve robustness and interpretability in document understanding.
- Demonstrate the framework on public datasets and real industrial applications for practical validation.
Proposed method
- Use pre-trained deep neural networks (VisionAPI) to detect and extract entities and spatial relations from document images, populating a relational database.
- Represent document structure using a set of primitive relations (e.g., 'above', 'below') and entity categories derived from visual and contextual cues.
- Apply a resource-bounded meta-interpreter to construct proofs for task-specific extraction using meta-rules and the detected facts.
- Synthesize reusable logic programs from these proofs via meta-interpretive learning, enabling generalization to unseen documents of the same type.
- Use majority voting across multiple programs in a program-set to determine the final value of each extracted entity.
- Introduce a human-in-the-loop mechanism where additional annotations (1–2 examples) refine programs for outlier cases, improving robustness.
Experimental results
Research questions
- RQ1Can a neuro-symbolic system achieve effective one-shot information extraction from document images using only a single labeled example?
- RQ2How well can a logic program synthesized via meta-interpretive learning generalize to unseen documents of the same type?
- RQ3To what extent does human-in-the-loop correction improve performance on outlier document variations?
- RQ4How does the integration of deep learning with symbolic reasoning enhance data efficiency and interpretability in document understanding?
- RQ5Can the proposed framework be effectively applied to real-world industrial document types beyond public benchmarks?
Key findings
- The system achieves high generalization performance on public datasets (Patent and Doctor’s Bills) using only one labeled example per document type.
- In most cases, a single training example combined with a noisy clone suffices to learn a program-set that generalizes well on test documents.
- The use of majority voting across multiple synthesized programs improves robustness and accuracy of entity extraction.
- Human-in-the-loop correction with just one or two additional examples enables near-perfect performance on outlier cases.
- The approach demonstrates strong data efficiency and scalability for industrial deployment, especially where data collection is costly.
- The framework is extensible to other document types, including engineering drawings, indicating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.