Introduction
Quantitative Information Extraction (QIE) is the task of identifying numerical values in text and associating them with their relevant context—specifically the "who" (agent), "what" (quantity/relation), and "when" (time). While critical for domains like finance and scientific research, QIE faces significant hurdles: a severe lack of labeled training data and the inherent rigidity of traditional rule-based systems.
This paper, presented at AAAI-23, introduces a novel framework that addresses these challenges by automatically generating training data through syntactic structure searching and leveraging the generative power of pre-trained language models via prefix-guided decoding.
Methodology: A Two-Stage Pipeline
The proposed system moves away from manual labeling and brittle pattern matching, opting instead for a two-stage approach: structure-based data harvesting followed by generative extraction.
Stage 1: Structure Searching for Data Generation
To overcome the data bottleneck, the authors utilize Constituency Parsing (CP) to identify potential quantitative facts. They define a Quantitative Fact as a 6-tuple: <quantity, agent, relation, value, unit, time>.
The core insight is that a numerical value and its related entities typically share a close relationship within a syntax tree (often as siblings or ancestors). By applying a set of search rules to the CP tree, the system can automatically "harvest" silver-standard training examples from unlabeled text.
Stage 2: Prefix-Based Text Generation
With the generated data, the authors fine-tune a T5 model to treat information extraction as a text-to-text problem. Instead of standard sequence labeling, the model is prompted with natural language prefixes like "the agent of value 80,000 is".
The researchers explored two primary decoding strategies:
- Batch-decoding: Generating all roles in parallel for maximum efficiency.
- Back-tracking: An auto-regressive approach where previously extracted roles (e.g., the "agent") are fed back into the prompt to provide context for subsequent roles (e.g., the "relation").
To ensure factual accuracy and prevent model hallucinations, a copy mechanism is employed, forcing the generated output to align strictly with spans found in the source text.
Key Results and Insights
The framework demonstrates significant improvements over existing state-of-the-art systems like BONIE and MARVE.
- Superior Recall and Accuracy: The search-based approach captures long-range dependencies that flat pattern-matching systems miss. The generative model ("Our Gen") achieved an Exact Match F1-score of 0.80 for quantities, a massive leap from the 0.31–0.34 range seen in baseline systems.
- Enhanced Reasoning: Integrating these high-quality extractions into a downstream quantitative reasoning system (Q-REAS) resulted in a 3.1% accuracy boost on natural language datasets, proving that precise extraction is a prerequisite for effective numerical reasoning.
- Contextual Synergy: The success of the back-tracking strategy highlights that extraction tasks are interdependent; knowing one part of a quantitative fact significantly aids in identifying the others.
Conclusion
By combining syntactic structure searching with prefix-based text generation, this framework provides a robust solution for low-resource Quantitative Information Extraction. While the current model focuses on sentence-level facts, it sets a strong foundation for future work in cross-sentence and document-level numerical analysis.
Summary updated