Twitxy Saved

Daking Rai

Verified account This account is verified. Learn more

@DakingRai

CS PhD Student @GeorgeMasonU
Fairfax, Virginia dakingrai.github.io Joined September 2014
467 Following 281 Followers 77 Posts

Latest posts 5

Pinned post

Daking Rai Verified account @DakingRai
๐Ÿšจ New paper: Data-driven Circuit Discovery for Interpretability of Language Models ๐Ÿšจ

Do circuits actually explain how language models (LM) implement a task?

In mechanistic interpretability, the goal of circuit study is to discover a โ€œcircuitโ€ that is responsible for implementing a โ€œtaskโ€.

But we find that existing methods often discover circuits that are:

โŒ not general task circuits: they do not capture the full range of mechanisms LMs uses across the task.

Instead, they find:

โœ… dataset-specific circuits: they explain how the model processes the examples used for circuit discovery.

โœ… mixed-mechanism circuits: consisting of multiple independent mechanisms mixed in a single circuit.

1/๐Ÿงต
0:12
2 replies 17 reposts 123 likes 22K views View on X
Daking Rai Verified account @DakingRai
In our new paper (arxiv.org/pdf/2605.09129โ€ฆ), we also make similar observations to the paper in parallel --- that ๐‹๐Œ๐ฌ ๐ฎ๐ฌ๐ž ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ž ๐๐ข๐ฌ๐ญ๐ข๐ง๐œ๐ญ ๐œ๐ข๐ซ๐œ๐ฎ๐ข๐ญ๐ฌ ๐Ÿ๐จ๐ซ ๐ข๐ฆ๐ฉ๐ฅ๐ž๐ฆ๐ž๐ง๐ญ๐ข๐ง๐  ๐ญ๐š๐ฌ๐ค.

We find that the existing circuit discovery methods do not discover:
โŒ General task circuits: they do not capture the full range of mechanisms LMs uses across the task.

Instead, they find:
โœ…dataset-specific circuits: they explain how the model processes the examples used for circuit discovery.
โœ… mixed-mechanism circuits: consisting of multiple independent mechanisms mixed in a single circuit.

๐Ÿงต More in our paper thread: x.com/DakingRai/statโ€ฆ
Mingyu_Jin19 Verified account @fnruji316625 May 14
Does mechanistic interpretability really find the circuit?

Our new paper, "All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMs," (Accepted by ICML 2026) suggests the answer may be: not always.

A common implicit assumption in mechanistic interpretability is that a model's behavior is explained by the circuit โ€” a sparse, canonical, almost-unique mechanism.

Instead, for the same LLM task, we find multiple circuits/sheaves that are:
โœ… faithful
โœ… sparse
โœ… structurally different
โœ… low-overlap

This means a discovered circuit may not be the unique mechanism behind a behavior, but one realization among many possible mechanisms. We call for rethinking how circuit/sheaf discovery results should be interpreted and evaluated.

Huge thanks to my amazing collaborators: @frankniujc, @YutongYin774638, and @zhaoran_wang

Paper: arxiv.org/abs/2605.12671

#MechanisticInterpretability #LLM #AI #MachineLearning
View quoted post on X
1 replies 9 reposts 68 likes 8.8K views View on X
Daking Rai Verified account @DakingRai
๐Ÿšจ New NeurIPS 2025 Paper ๐Ÿšจ

Does 0% accuracy mean a language model (LM) has no correct mechanism for the task? ๐Ÿค” We investigated this question on the balanced parentheses task and uncover surprising insights:

1๏ธโƒฃ Even at 0%, models can contain mechanisms that solve the task with high accuracyโ€”but theyโ€™re overshadowed by the faulty ones.

2๏ธโƒฃ Building on this, we introduce RaSTEER to improve model performance by amplifying the output of sound mechanisms โ€”yielding dramatic performance boosts of up to 100%. ๐Ÿงต(1/9)

Paper link: arxiv.org/pdf/2507.00322
1 replies 3 reposts 10 likes 1.2K views View on X
Daking Rai Verified account @DakingRai
Had a great time collaborating on this paper led by @siddarthpm1, undergrad (read: PhD applicant very soon) from UCSC . We study how LMs handle two- and three-operand arithmetic and discovered a highly faithful AF1 circuit that shows:
1๏ธโƒฃ Early layers donโ€™t do instance-specific computation
2๏ธโƒฃ Few mid-layer attention heads transfer info from other token positions to the last token position
3๏ธโƒฃ Final answer is computed only in later layers at the last token.

Please refer to our paper for more: arxiv.org/abs/2509.09650
arxiv.org All for One: LLMs Solve Mental Math at the Last Token With... Large language models (LLMs) demonstrate proficiency across numerous computational tasks, yet their inner workings remain unclear. In theory, the combination of causal self-attention and...
Siddarth Mamidanna Verified account @siddarthpm1 Sep 14, 2025
๐ŸšจNew EMNLP 2025 Paper: When a human does mental math like 12+45-8, we tend to do it stepwise: first compute 12+45=57, then 57-8=49. Does an LLM do the same? Turns out it doesnโ€™t. But how does it work? Our paper investigates exactly this! ๐Ÿงต(1/10)

Paper: arxiv.org/abs/2509.09650
Code: github.com/siddarth-pm/alโ€ฆ
View quoted post on X
Daking Rai Verified account @DakingRai
โฐOnly 5 days left, the deadline is approaching for XLLM-Reason-Plan, the first workshop on the application of LLM explainability to reasoning and Planning.
๐Ÿ—“๏ธSubmission Date: June 23, 2025
More Info: โ€ฆreasoning-planning-workshop.github.io
XLLM-Reason-Plan @XllmReasonPlan Jun 18, 2025
๐ŸšจDeadline alert: If you work on LLM explainability for reasoning and planning, submit your work by June 23!
- Non-archival, two formats (long/short)
- Welcome recently accepted papers and dual submissions
- ๐Ÿ†Two awards will be announced!
Details: โ€ฆreasoning-planning-workshop.github.io
View quoted post on X