Abstract
Parsing sentences to linguistically-expressive semantic representations is a key goal of Natural Language Processing. Yet statistical parsing has focused almost exclusively on bilexical dependencies or domain-specific logical forms. We propose a neural encoder-decoder transition-based parser which is the first full-coverage semantic graph parser for Minimal Recursion Semantics (MRS). The model architecture uses stack-based embedding features, predicting graphs jointly with unlexicalized predicates and their token alignments. Our parser is more accurate than attention-based baselines on MRS, and on an additional Abstract Meaning Representation (AMR) benchmark, and GPU batch processing makes it an order of magnitude faster than a high-precision grammar-based parser. Further, the 86.69% Smatch score of our MRS parser is higher than the upper-bound on AMR parsing, making MRS an attractive choice as a semantic representation.
Introduction
Natural Language Understanding (NLU) requires mapping sentences into structured meaning representations. While deep learning has significantly advanced "shallow" parsing tasks like dependency trees, parsing into deep, linguistically expressive semantic graphs—such as Minimal Recursion Semantics (MRS) or Abstract Meaning Representation (AMR)—remains a significant challenge. These graphs capture complex linguistic phenomena including quantification, scope, and abstract concepts that do not always align one-to-one with surface words.
Historically, high-quality MRS parsing has relied on hand-crafted grammars like the English Resource Grammar (ERG). While precise, these grammar-based parsers suffer from incomplete coverage—failing on sentences outside their defined rules—and are computationally expensive. This research introduces a robust, neural transition-based parser that generates these deep semantic graphs directly from text, offering full coverage and vastly improved speed.
Methodology
The proposed system frames graph parsing as a sequence-to-sequence task using a transition-based framework adapted for graphs.
Graph-Adapted Arc-Eager System
Unlike standard dependency parsers, this system dynamically generates graph nodes and their alignments to the input sentence. It utilizes an Arc-Eager transition system that incrementally builds the graph using shift, reduce, and arc actions.
Neural Architecture
The model employs an encoder-decoder architecture designed for structural prediction:
- Encoder: A bidirectional LSTM processes the input sentence, incorporating word, POS, and Named Entity embeddings.
- Stack-Based Features: The RNN decoder is explicitly conditioned on the encoder states corresponding to the tokens currently at the top of the transition system's stack and buffer.
- Hard Attention via Pointer Networks: Instead of standard soft attention, a pointer network predicts the alignment of newly generated graph nodes to specific tokens in the input sentence, providing structural grounding.
- Delexicalization: To handle data sparsity, the model predicts unlexicalized predicates (sense labels). Full surface forms are recovered post-hoc using a dictionary and lemmatizer based on the predicted alignments.
Results and Discussion
The neural parser demonstrates a significant advantage in both robustness and efficiency compared to traditional methods.
Performance and Speed
The model achieved an 84.16% EDM (Elementary Dependency Matching) F1 score and an 86.69% Smatch score on MRS parsing. In AMR parsing, it reached a 60.11% Smatch score, outperforming contemporary neural baselines. Crucially, the neural parser is an order of magnitude faster than grammar-based alternatives; it processes 529 tokens per second via GPU batching, compared to just 7 tokens per second for the ACE parser.
Key Insights
- Delexicalization: Predicting unlexicalized nodes and recovering lemmas via alignments is crucial for generalizing to rare words.
- Structural Features: Conditioning the decoder on stack and buffer states significantly boosts performance over simple top-down linearization.
- Coverage Trade-off: While the grammar-based ACE parser maintains higher precision on the subset of sentences it can handle, the neural approach provides universal coverage and superior speed.
Conclusion
This work presents the first full-coverage neural parser for MRS, bridging the gap between deep linguistic representations and robust, fast statistical parsing. By combining transition-based systems with modern neural architectures like pointer networks and stack-based features, the parser achieves high accuracy and exceptional throughput. Future work will focus on closing the precision gap with grammar-based systems through improved training objectives and semi-supervised learning.
Summary updated