Investigating Neuron Ablation in Attention Heads: The Case for Peak Activation Centering
<|reference_start|>Investigating Neuron Ablation in Attention Heads: The Case for Peak Activation Centering: The use of transformer-based models is growing rapidly throughout society. With this growth, it is important to understand how they work, and in particular, how the attention mechanisms represent concepts. Though there are many interpretability methods, many look at models through their neuronal activations, which are poorly understood. We describe different lenses through which to view neuron activations, and investigate the effectiveness in language models and vision transformers through various methods of neural ablation: zero ablation, mean ablation, activation resampling, and a novel approach we term 'peak ablation'. Through experimental analysis, we find that in different regimes and models, each method can offer the lowest degradation of model performance compared to other methods, with resampling usually causing the most significant performance deterioration. We make our code available at https://github.com/nickypro/investigating-ablation.<|reference_end|>
@article{pochinkov2024investigating,
    title={Investigating Neuron Ablation in Attention Heads: The Case for Peak
  Activation Centering},
    author={Nicholas Pochinkov, Ben Pasero, Skylar Shibayama},
    journal={arXiv preprint arXiv:2408.17322},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.17322},
    primaryClass={cs.LG cs.AI cs.CL cs.CV}
}