paper-with-me

Papers

Position-aware Automatic Circuit Discovery

2025-02-07 · Tal Haklay, Hadas Orgad, David Bau, Aaron Mueller, Yonatan Belinkov

A widely used strategy to discover and understand language model mechanisms is circuit analysis. A circuit is a minimal subgraph of a model's computation graph that executes a specific task. We identify a gap in existing circuit discovery methods: they assume circuits are position-invariant, treating model components as equally relevant across input positions. This limits their ability to capture cross-positional interactions or mechanisms that vary across positions. To address this gap, we propose two improvements to incorporate positionality into circuits, even on tasks containing variable-length examples. First, we extend edge attribution patching, a gradient-based method for circuit discovery, to differentiate between token positions. Second, we introduce the concept of a dataset schema, which defines token spans with similar semantics across examples, enabling position-aware circuit discovery in datasets with variable length examples. We additionally develop an automated pipeline for schema generation and application using large language models. Our approach enables fully automated discovery of position-sensitive circuits, yielding better trade-offs between circuit size and faithfulness compared to prior work.

📄 PDF Abstract BibTeX arXiv:2502.04577

Code (1)

technion-cs-nlp/peap 공식 구현 jax

Tasks

Language ModelingLanguage ModellingPosition

Similar Papers 제목 키워드 기반

Investigating the Indirect Object Identification circuit in Mamba

2024-07-19 · Danielle Ensign, Adrià Garriga-Alonso

How well will current interpretability techniques generalize to future models? A relevant case study is Mamba, a recent recurrent architecture with scaling comparable to Transformers. We adapt pre-Mamba techniques to Mam…

MambaObjectPosition

Granular Concept Circuits: Toward a Fine-Grained Circuit Discovery for Concept Representations

2025-08-03 · Dahee Kwon, Sehyun Lee, Jaesik Choi arxiv

Deep vision models have achieved remarkable classification performance by leveraging a hierarchical architecture in which human-interpretable concepts emerge through the composition of individual neurons across layers. G…

Image Classification

All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMs

2026-05-12 · Xi Chen, Mingyu Jin, Jingcheng Niu, Yutong Yin 외 arxiv

In this paper, we present empirical and theoretical evidence against a central but largely implicit assumption in circuit and sheaf discovery (CSD), which we term the Functional Anisotropy Hypothesis: the idea that funct…

Efficient Automated Circuit Discovery in Transformers using Contextual Decomposition

2024-07-01 · Aliyah R. Hsu, Georgia Zhou, Yeshwanth Cherapanamjeri, Yaxuan Huang 외

Automated mechanistic interpretation research has attracted great interest due to its potential to scale explanations of neural network internals to large models. Existing automated circuit discovery work relies on activ…

Computational EfficiencySST-2

AnalogGenie: A Generative Engine for Automatic Discovery of Analog Circuit Topologies

2025-02-28 · Jian Gao, Weidong Cao, Junyi Yang, Xuan Zhang

The massive and large-scale design of foundational semiconductor integrated circuits (ICs) is crucial to sustaining the advancement of many emerging and future technologies, such as generative AI, 5G/6G, and quantum comp…