The behavior of large language models (LLMs) is typically not determined by isolated components but arises from complex dependencies among features, training data, and internal components. Existing interpretability methods—feature attribution, data attribution, and mechanistic interpretability—all face the same fundamental obstacle: scaling complexity. As the number of features, data points, or components grows, the number of potential interactions grows exponentially, making exhaustive analysis computationally infeasible.
Attribution is fundamentally about ablation: removing input segments, training subsets, or internal components and observing output changes. Each ablation carries a high cost, whether in inference calls or retraining. Therefore, the goal is to compute attributions with the fewest ablations, and SPEX is designed for this purpose.