Abstract
This paper investigates whether Abstract Meaning Representation (AMR)—a framework that maps sentence meanings into structured graphs—can enhance AI performance on complex legal and logical reasoning tasks. While AMR-integrated models do not yet consistently outperform standard text-only baselines, analysis reveals that they solve distinct types of problems. This suggests that semantic graphs offer complementary reasoning capabilities that are currently constrained by the limitations of automated parsing quality.
Introduction
Legal and logical reasoning represent "boss-level" challenges for Natural Language Processing (NLP). Unlike simple sentiment analysis, legal tasks require an exact understanding of conditions, negations, and complex relationships (e.g., "The defendant is liable unless X occurred"). Standard Pre-trained Language Models (PLMs) like BERT are excellent at pattern matching but often struggle with the explicit rules of logic. This study explores whether providing a model with an explicit semantic map—an AMR graph—helps it navigate these logical hurdles by compensating for the ambiguities of natural language.
Methodology
The researchers proposed several architectures to test the utility of AMR, most notably the Fusion Model. This architecture uses a dual-encoder approach: one branch processes raw text (using LegalBERT for legal data), while the other branch processes the AMR graph. The resulting embeddings are concatenated and fed into a prediction head for final classification.
Other tested methods included "Linearized AMR," which flattens graphs into strings of text while preserving structural tags, and "AMRBART," a model specifically pre-trained on these flattened graphs to better understand their unique syntax.
Experimental Setup
The study utilized two primary benchmarks:
- CaseHOLD: A large-scale legal dataset (45,000 training instances) where models must identify the legal "holding" (the rule applied) of a court case based on a provided context.
- LogiQA: A logical reasoning dataset (7,300 training instances) derived from the National Civil Servants Examination of China, featuring questions on categorical, conditional, and disjunctive reasoning.
Key Results and Discussion
On the CaseHOLD dataset, the Fusion Model achieved an accuracy of 0.74, exactly matching the text-only BART baseline. However, the AMR-only model lagged behind at 0.51, likely due to information lost during the parsing of complex legal text. The researchers found that for multi-sentence inputs, current parsers often dropped up to 50% of the sentences, leading to incomplete graphs.
Despite the lack of an overall accuracy boost, an "Intersection Analysis" revealed a significant "aha moment": AMR-based models and text-only models were often correct about different instances. In the LogiQA dataset, the overlap in correct answers between the two models was only 29%. This suggests that AMR captures logical nuances—such as representing "unless" as a negative condition (:condition + :polarity -)—that text-only models miss.
Conclusion and Future Work
The primary bottleneck for AMR-assisted reasoning is the "lossy" nature of current sentence-level parsers, especially when applied to specialized legal language. Future work should focus on developing Document-level AMR to resolve coreferences across sentences and implementing more sophisticated co-attention layers to allow text and graph representations to interact more deeply during the encoding process. Training AMR parsers specifically on legal corpora remains a critical step for improving performance in the legal domain.
Summary updated