Discursive Circuits: How Do Language Models Understand Discourse Relations?
Authors:
Preprint
Abstract
Which components in transformer language models are responsible for discourse understanding? We hypothesize that sparse computational graphs, termed as discursive circuits, control how models process discourse relations. Unlike simpler tasks, discourse relations involve longer spans and complex reasoning. To make circuit discovery feasible, we introduce a task called Completion under Discourse Relation (CuDR), where a model completes a discourse given a specified relation. To support this task, we construct a corpus of minimal contrastive pairs tailored for activation patching in circuit discovery. Experiments show that sparse circuits ($\approx 0.2\%$ of a full GPT-2 model) recover discourse understanding in the English PDTB-based CuDR task. These circuits generalize well to unseen discourse frameworks such as RST and SDRT. Further analysis shows lower layers capture linguistic features such as lexical semantics and coreference, while upper layers encode discourse-level abstractions. Feature utility is consistent across frameworks (e.g., coreference supports Expansion-like relations).Keywords
All Related Versions
This publication has 36 references indexed in Scilit:
- eRST: A Signaled Graph Theory of Discourse Relations and OrganizationComputational Linguistics, 2025
- Towards Faithful Model Explanation in NLP: A SurveyComputational Linguistics, 2024
- Design Choices for Crowdsourcing Implicit Discourse Relations: Revealing the Biases Introduced by Task DesignTransactions of the Association for Computational Linguistics, 2023
- pNLP-Mixer: an Efficient all-MLP Architecture for Language2023
- Connective Prediction for Implicit Discourse Relation Recognition via Knowledge Distillation2023
- Knowledge Neurons in Pretrained Transformers2022
- Towards Unification of Discourse Annotation Frameworks2022
- RST Signalling Corpus: a corpus of signals of coherence relationsLanguage Resources and Evaluation, 2017
- The GUM corpus: creating multilayer resources in the classroomLanguage Resources and Evaluation, 2016
- Brain correlates of discourse processing: An fMRI investigation of irony and conventional metaphor comprehensionNeuropsychologia, 2006