arXiv

Correcting Gradient-Based Circuit Localization via Interaction-Aware Backpropagation

Title: Refining Gradient-Based Circuit Localization Through Interaction-Aware Backpropagation

Abstract: The primary objective of circuit localization is to pinpoint the specific subsets of model components that drive particular behaviors within large language models, thereby facilitating granular mechanistic analysis. Conventional approaches typically operate under the assumption that components function independently, calculating their significance by perturbing them one at a time. However, because neural network components inherently interact, neglecting these interdependencies results in a systematic distortion of importance estimates. Our research identifies "attention self-repair" as a particularly disruptive interaction; in this scenario, the redistribution of softmax weights causes the gradients associated with high-impact attention scores to disappear, as other positions with comparable values step in to compensate. To address this, we propose Gradient Interaction Modifications (GIM), a method that explicitly incorporates feature interactions into the backpropagation process. GIM sets a new standard for performance on the circuit localization track of the Mechanistic Interpretability Benchmark and surpasses current gradient-based techniques in feature attribution across a wide range of tasks. By capturing interaction effects and clarifying why previous methods tend to undervalue component importance, GIM supports more accurate mechanistic investigations of large language models. The GIM Python package is publicly accessible at https://github.com/corticph/gim.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...