Saved in:
Bibliographic Details
Main Authors: Miao, Yisong, Kan, Min-Yen
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.11210
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911207201439744
author Miao, Yisong
Kan, Min-Yen
author_facet Miao, Yisong
Kan, Min-Yen
contents 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).
format Preprint
id arxiv_https___arxiv_org_abs_2510_11210
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discursive Circuits: How Do Language Models Understand Discourse Relations?
Miao, Yisong
Kan, Min-Yen
Computation and Language
Machine Learning
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).
title Discursive Circuits: How Do Language Models Understand Discourse Relations?
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2510.11210