TLDR: This research paper introduces three novel improvements to the circuit discovery process in mechanistic interpretability: bootstrapping for identifying consistently-signed attribution scores, a Positive-Negative Ratio (PNR) strategy for balancing positive and negative edge contributions, and Integer Linear Programming (ILP) for globally optimal edge selection. These methods, when applied to the Mechanistic Interpretability Benchmark (MIB), demonstrate improved circuit faithfulness and outperform traditional greedy selection approaches across various AI models and tasks, despite some computational limitations.
Understanding how complex AI models make decisions is a significant challenge in the field of mechanistic interpretability. Researchers aim to uncover ‘circuits’ – specific subgraphs within a model’s computational structure – that are responsible for particular tasks. The goal is to find circuits that are as small as possible while accurately reflecting the original model’s behavior, a concept known as faithfulness.
A recent paper, “Improving Circuit Faithfulness via Better Edge Selection”, addresses this challenge by focusing on the second stage of circuit discovery: selecting the most relevant components to form a circuit, given their importance scores. While previous work largely concentrated on developing better scoring methods, this research introduces three key improvements to the selection process itself, building upon existing Edge Attribution Patching with Integrated Gradients (EAP-IG) scores.
Addressing Score Instability with Bootstrapping
One crucial observation made by the authors is that EAP-IG scores for individual connections (edges) within a model can vary significantly across different data samples. Some edges might even show both positive and negative scores, indicating instability. Since the sign of a score signifies whether an edge contributes positively or negatively to a model’s performance on a task, such instability can introduce noise.
To tackle this, the paper proposes using a technique called bootstrapping. By repeatedly sampling from the training data, they can identify edges with consistent score signs and filter out those that are unstable. This ensures that the selected edges are more reliable indicators of meaningful model structure.
Balancing Contributions with Positive-Negative Ratio (PNR)
The researchers also found that simply selecting edges based on the magnitude of their scores, without considering their sign, can lead to circuits that misrepresent the model’s true behavior. This is particularly relevant for metrics like Circuit-Model Distance (CMD), which measures how closely a circuit approximates the model’s overall behavior, including both positive and negative contributions.
To mitigate this, they introduce a Positive-Negative Ratio (PNR) strategy. This approach involves a two-phase selection: first, a specified percentage of top positive-scoring edges are chosen, followed by the selection of the remaining edges based on their absolute scores. This allows for finer control over the balance of edge types, leading to more faithful circuits.
Optimizing Selection with Integer Linear Programming (ILP)
Traditionally, circuit selection has relied on greedy algorithms, which make local decisions and might not always yield the best overall circuit. To overcome this limitation, the paper formulates circuit construction as an Integer Linear Programming (ILP) optimization problem. This mathematical approach allows for globally optimal subset selection, taking into account structural and budget constraints, rather than just local choices.
Also Read:
- Enhancing AI Model Understanding with Smarter Data Sampling
- Guiding Causal Discovery with Known Influences: A New Approach to Understanding Relationships
Experimental Validation and Future Directions
The proposed methods were evaluated using the Mechanistic Interpretability Benchmark (MIB) across various models (Gemma-2 2B, Qwen-2.5 0.5B, GPT-2 Small) and tasks (indirect object identification, multiple-choice question answering, AI2 Reasoning Challenge). The results demonstrated that combinations of these new methods, such as ILP with PNR for CMD and ILP with Bootstrapping for CPR (Integrated Circuit Performance Ratio), consistently outperformed prior greedy approaches in creating more faithful circuits.
While these advancements show promise, the authors acknowledge certain limitations. ILP optimization can be computationally intensive for very large models, and the optimal PNR value often requires task-specific tuning. Despite these challenges, the research highlights that a principled approach to edge selection significantly improves the faithfulness and robustness of circuit discovery, paving the way for a deeper understanding of how AI models function internally.


