SCALPEL: Selective Capability Ablation via Low-rank Parameter Editing for Large Language Model Interpretability Analysis
Zihao Fu, Xufeng Duan, Zhenguang G. Cai
TL;DR
SCALPEL tackles the challenge of understanding and controlling distributed capability encoding in large language models by modeling capabilities as low-rank subspaces within the parameter space. It uses LoRA adapters with a probability equalization loss and a trio of regularizers to selectively ablate a target capability while preserving general language performance, revealing the low-dimensional structure of capabilities across layers. Experiments across 24 capability tasks and 67 BLiMP linguistic tasks show effective ablation with minimal perplexity increase and consistent cross-architecture generalization, uncovering distinct layer-wise distribution patterns for different cognitive functions. The work provides a principled, fine-grained interpretability framework with practical implications for safe deployment and targeted knowledge editing in high-stakes domains.
Abstract
Large language models excel across diverse domains, yet their deployment in healthcare, legal systems, and autonomous decision-making remains limited by incomplete understanding of their internal mechanisms. As these models integrate into high-stakes systems, understanding how they encode capabilities has become fundamental to interpretability research. Traditional approaches identify important modules through gradient attribution or activation analysis, assuming specific capabilities map to specific components. However, this oversimplifies neural computation: modules may contribute to multiple capabilities simultaneously, while single capabilities may distribute across multiple modules. These coarse-grained analyses fail to capture fine-grained, distributed capability encoding. We present SCALPEL (Selective Capability Ablation via Low-rank Parameter Editing for Large language models), a framework representing capabilities as low-rank parameter subspaces rather than discrete modules. Our key insight is that capabilities can be characterized by low-rank modifications distributed across layers and modules, enabling precise capability removal without affecting others. By training LoRA adapters to reduce distinguishing correct from incorrect answers while preserving general language modeling quality, SCALPEL identifies low-rank representations responsible for particular capabilities while remaining disentangled from others. Experiments across diverse capability and linguistic tasks from BLiMP demonstrate that SCALPEL successfully removes target capabilities while preserving general capabilities, providing fine-grained insights into capability distribution across parameter space. Results reveal that capabilities exhibit low-rank structure and can be selectively ablated through targeted parameter-space interventions, offering nuanced understanding of capability encoding in LLMs.
