Abstract
Semantic parsing is the task of mapping natural language sentences into machine-readable semantic graphs. However, the diversity of existing graphbanks—such as AMR, DM, and PAS—has led to a fragmented landscape of specialized parsers. This paper presents a unified neural semantic parser based on the Apply-Modify (AM) Algebra. By decomposing various graph types into a common compositional dependency tree format, the proposed model achieves state-of-the-art performance across five major graphbanks. The results demonstrate that a single architecture, enhanced by BERT embeddings and multi-task learning, can effectively generalize across heterogeneous semantic representations.
Introduction
The field of semantic parsing is currently characterized by a lack of uniformity. Different graphbanks employ distinct structural conventions: some are anchored to surface words (e.g., DM), while others utilize abstract concepts (e.g., AMR). These discrepancies often necessitate the development of specialized, format-specific parsers. This research addresses the challenge of creating a "generalist" parser capable of mastering multiple graphbanks (DM, PAS, PSD, AMR, and EDS) within a single framework without sacrificing the accuracy of specialized systems.
Methodology: The AM Algebra
The core of the approach is the Apply-Modify (AM) Algebra, which treats semantic graph construction as a compositional process akin to building a dependency tree. The method involves several key steps:
- As-Graphs and Sources: Complex semantic graphs are decomposed into smaller fragments called "as-graphs." These fragments contain "slots" or sources (e.g., S for subject, O for object) that represent unfilled arguments.
- Algebraic Operations: Two primary operations are used: Apply (APP), which fills an argument slot, and Modify (MOD), which attaches a modifier to a head.
- AM Dependency Trees: By representing these operations as edges in a tree, the parser transforms the task of graph prediction into a simpler dependency parsing problem.
The technical contribution lies in the development of heuristic decomposition rules that map existing graphbanks into these latent AM dependency trees. A standard neural architecture, comprising a BiLSTM-based supertagger and a dependency parser, is then trained to predict these trees. Once predicted, the trees are deterministically converted back into the target graph format.
Universal Compositionality across Graphbanks
A key insight of this work is that despite surface-level differences, the underlying compositional structure of meaning is remarkably consistent across graphbanks. For instance, the "triangle" structure found in control verbs—where a single subject serves as an argument for multiple predicates—is handled uniformly by the AM algebra across all formats.
This uniformity enables effective Multi-Task Learning (MTL), allowing the model to learn shared linguistic features. By converting all graphbanks into the AM Algebra format, the model can recognize the functional similarity between disparate labels, such as an AMR "ARG0" and a PSD "ACT-arg."
Results and Discussion
The parser achieved new state-of-the-art (SOTA) F-scores across nearly all evaluated benchmarks. Notable results include:
- DM: 94.1 (In-domain) / 90.5 (Out-of-domain)
- PAS: 94.7 / 92.8
- PSD: 82.1 / 81.6
- AMR 2015: 74.5 (Smatch F-score)
- EDS: 90.4 (Smatch)
The integration of BERT embeddings proved crucial, typically yielding a 3–6 point increase in F-score and significantly improving performance on out-of-domain data. This suggests that pretrained language models provide a robust semantic backbone that aids generalization to unseen vocabulary or styles.
Limitations and Future Directions
While highly effective, the current system relies on manually designed heuristics for graph decomposition. Future work may explore latent-variable models to automate this process. Additionally, certain complex structures (e.g., 24% of EDS graphs) remain "non-decomposable" under the current AM tree constraints due to complex alignments. Expanding the framework to handle other representations like SQL or Discourse Representation Theory (DRT) is also a goal for future research.
Conclusion
This work demonstrates that a unified compositional framework can reconcile the structural diversity of semantic graphbanks. By transforming graphs into dependency trees via the AM Algebra, the authors have developed a generalist parser that outperforms previous specialized models, proving that a one-size-fits-all approach to semantic parsing is not only possible but superior.
Summary updated