Abstract
Most state-of-the-art information extraction (IE) approaches rely on token-level labels to identify areas of interest in text. However, these labels are costly to produce and often serve only as an intermediary step rather than the desired output. We propose an end-to-end (E2E) model based on pointer networks that can be trained directly on pairs of raw input and output text. Evaluated on the ATIS, MIT Restaurant, and MIT Movie corpora, our model achieves competitive results within a few percentage points of neural baselines that utilize token-level labels. This demonstrates the feasibility of E2E information extraction without granular supervision, opening new possibilities for tasks where only raw input-output data is available.
Introduction
Information Extraction (IE) is traditionally framed as a sequence tagging problem. Training such systems requires "token-level" labels, where every word in a sentence is annotated (e.g., using BIO tagging to mark "Boston" as B-CITY). This requirement creates a significant bottleneck: manual labeling is estimated to cost approximately $3 per sentence. Furthermore, in many real-world scenarios, we possess the raw input (e.g., a query) and the final structured output (e.g., a database entry) but lack the specific word-to-field mappings. This paper introduces a model that learns from this "weak supervision," bypassing the need for expensive intermediate labels.
Methodology: Pointer Networks for E2E Extraction
The proposed architecture utilizes Pointer Networks to treat IE as a copying task. The system consists of three primary components:
- Encoder: A Bidirectional Long Short-Term Memory (Bi-LSTM) network processes the input sequence into high-dimensional vector representations.
- Multiple Decoders: Unlike standard sequence-to-sequence models, this architecture employs independent decoders for each field to be extracted (e.g., one for "Destination," another for "Departure Time"). This allows the model to focus on specific information types in isolation.
- Pointing Mechanism: Instead of generating words from a fixed vocabulary, the decoders use an attention mechanism to "point" to specific indices in the input sequence. The model calculates a probability distribution over the input words and selects the most likely candidates to populate the output fields.
The model is trained using standard cross-entropy loss by comparing the predicted sequence of pointed-to words against the ground-truth values for each field.
Experimental Setup
The model was evaluated on three standard NLP benchmarks, converted from token-labeled formats into E2E input/output pairs:
- ATIS (Airline Travel Information System): Flight reservation queries.
- MIT Restaurant Corpus: Restaurant search queries.
- MIT Movie Corpus: Movie information and review queries.
Results
The E2E model demonstrated performance nearly identical to fully supervised baselines, despite lacking access to token-level labels during training.
As shown in the results, the E2E model achieved an F1 score of 0.974 on ATIS (vs. 0.977 baseline) and 0.817 on the MIT Movie corpus, slightly outperforming the baseline. On the MIT Restaurant corpus, the model trailed the baseline by only 3 percentage points (0.694 vs. 0.724). These results suggest that the granular labels typically used in IE are often redundant when sufficient input-output pairs are available.
Discussion and Limitations
The primary constraint of the current approach is the "Verbatim Constraint." Because the pointer network copies words directly from the input, it cannot handle fields requiring normalization. For instance, if a query contains "Jan 17" but the output requires "01-17," the model will fail as the exact string "01-17" is absent from the input. Future work may involve integrating character-level models to allow for minor string transformations and formatting.
Conclusion
This research proves that end-to-end information extraction is not only feasible but highly effective. By utilizing pointer networks to learn directly from raw input and structured output, practitioners can build robust IE systems without the prohibitive cost of token-level annotation.
Summary updated