Abstract
Logical reasoning in machine reading comprehension remains a significant challenge for standard language models, which often rely on surface-level pattern matching rather than structural understanding. We introduce the Discourse-Aware Graph Network (DAGN), a framework designed to explicitly capture the rhetorical structure of arguments. By decomposing text into Elementary Discourse Units (EDUs) and organizing them into a discourse-based logic graph, DAGN enables reasoning over the connective tissue of an argument. Our results on the ReClor and LogiQA benchmarks demonstrate that discourse awareness provides a substantial performance boost, particularly on complex logical tasks where standard models falter.
Introduction
While modern Large Language Models (LLMs) excel at finding keywords and entities, they often stumble on logical reasoning tasks—the kind found in standardized tests like the LSAT or GMAT. In these tasks, the answer is not merely a fact hidden in the text; it requires understanding how different parts of an argument relate to one another. For example, identifying which statement "weakens" a claim or finding an unstated "assumption."
Standard models typically treat text as a linear sequence of tokens. This approach captures local context but often misses the high-level "logical skeleton" provided by discourse relations. We argue that discourse structures, which define how clauses are linked via connectives like "because," "although," or "if," serve as a natural language proxy for formal logic. To solve logic-heavy QA, a model must be aware of these discourse structures: the way clauses are linked to form a coherent line of reasoning.
Methodology: The DAGN Framework
The Discourse-Aware Graph Network (DAGN) incorporates structural priors into the reasoning process through a multi-stage pipeline.
1. Graph Construction
The first step involves segmenting the context and answer options into Elementary Discourse Units (EDUs). These are typically clauses or short text spans that carry distinct semantic meaning. Using a "delimiter library" derived from the Penn Discourse TreeBank (PDTB 2.0), the model identifies explicit connectives (e.g., since, but, therefore) and punctuation marks to define boundaries.
- Nodes: Each EDU is represented as a node in the graph.
- Edges: Edges are established between adjacent EDUs, labeled with the specific discourse marker or punctuation that separates them.
2. EDU Encoding and Graph Reasoning
Initial token embeddings are generated using a pre-trained transformer (e.g., RoBERTa-Large). These embeddings are then pooled to create a single vector for each EDU node. The core of the model is the Graph Reasoning module, where a Discourse-Aware Graph Network performs message passing. This process allows each node to update its representation based on its neighbors in the discourse graph, effectively "reasoning" over the argument's structure.
3. Answer Prediction
The structural features derived from the graph are fused back with the original token-level embeddings. This combined representation is processed through a Residual BiGRU and a final classification layer to select the most logically sound answer from the multiple-choice options.
Experimental Evaluation
We evaluated DAGN on two primary logical reasoning datasets:
- ReClor: A dataset of 6,138 questions from the GMAT and LSAT, featuring "Easy" and "Hard" subsets to test model robustness.
- LogiQA: A collection of 8,678 questions from the Chinese National Civil Servants Examination, translated into English.
Results and Discussion
DAGN consistently outperformed baseline models across both datasets. On the ReClor test set, the augmented DAGN model achieved an accuracy of 58.30%, marking a significant improvement over the RoBERTa-Large baseline.
A key finding is the model's performance on the "Hard" subset of ReClor, where it showed a 4.46% improvement over RoBERTa-Large. This suggests that discourse awareness is most beneficial when the logical complexity of the task is high. Similarly, on LogiQA, DAGN reached 39.32% accuracy, a 4.01% gain over the baseline.
Ablation Insights
Ablation studies revealed several critical insights into the model's design:
- Granularity: Using EDUs (clauses) as nodes is more effective than using full sentences, indicating that the "units of thought" in logic are often sub-sentential.
- Structure: Replacing the discourse graph with a "fully connected" graph (where every node connects to every other node) led to a drop in performance. This confirms that the specific, sparse structure of discourse relations provides essential guidance for logical reasoning.
Conclusion
DAGN demonstrates that explicitly modeling the discourse structure of a text is a powerful way to enhance the logical reasoning capabilities of language models. By treating discourse markers as logical operators, the model can uncover the underlying structure of an argument. Future work will focus on identifying implicit discourse relations—those not marked by explicit words—and refining the segmentation process to be more adaptive to different linguistic styles.
Summary updated