arXiv:2609.00755cs.AISep 2026

Manuscript Offprint

arXiv:2609.00755

S^3martCirc: Self-supervised Smart Circuit Discovery

Wendy Zheng, Yinhan He, Liang Wu, Jundong Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

S³martCirc: Self-supervised Smart Circuit Discovery

Wendy Zheng¹*, Yinhan He¹*, Liang Wu² Jundong Li¹†

¹University of Virginia

²Nokia

ncd9cf@virginia.edu, nee7ne@virginia.edu, liang.wu@nokia.com, jundong@virginia.edu

Abstract

Large Language Models (LLMs) have demonstrated remarkable performance across diverse tasks, from text summarization to question answering. Despite these capabilities, their black-box nature obscures internal decision-making processes. Mechanistic interpretability (MI) aims to address this by reverse-engineering neural networks into human-understandable algorithms. Current MI approaches for LLMs typically follow a two-stage paradigm: first identifying important components (circuit discovery), where components are typically individual nodes such as an attention head or feed-forward neuron, and second determining the role they play in a certain task (functional interpretation). However, this sequential approach overlooks a fundamental insight: a component's importance and its functional role are inherently codependent. Unifying these stages presents two key challenges: (1) functional roles are often tied to specific nodes or components, limiting generalization, and (2) their identification relies on subjective interpretation rather than quantifiable metrics. To address these challenges, we propose S³martCirc (Self-supervised Smart Circuit Discovery), a unified framework that simultaneously discovers circuits and interprets functionality. S³martCirc abstracts node behavior into two general computational roles that generalize across tasks and defines a quantitative metric for assigning them, enabling importance and functional role to be discovered jointly rather than in sequence. Extensive experiments show that our framework outperforms existing methods in circuit discovery.

Code — https://anonymous.4open.science/r/s3martcirc

References (47)