Beyond Static Interpretability: Anticipating Post-SFT Mechanisms from Pre-SFT Parameters for Better Tuning
Organizations: College of Computing and Data Science Nanyang Technological University · School of Computer Science and Engineering The Chinese University of Hong Kong
Abstract
Mechanistic Localization bridges mechanistic interpretability and post-training optimization by isolating critical parameters via interpretative approaches and then guiding parameter-efficient Supervised Fine-Tuning (SFT) in a ``locating-then-tuning'' paradigm. However, due to the retrospective nature of mechanistic interpretability, directly interpreting pre-SFT models introduces misleading conclusions. Specifically for novel tasks, initially identified neurons differ drastically from those governing the final model, introducing biases that actively disrupt SFT. To address this, we propose a forward-looking localization framework that accurately estimates the post-SFT interpretability state using only pre-SFT parameters and the target dataset. Theoretically, we model SFT as a continuous parameter evolution, leveraging Taylor expansion to rigorously bridge the post-tuning mechanistic objective with the pre-SFT model's dynamic gradients. Practically, we design dual-granularity (neuron- and component-level) localization pipelines. Extensive experiments demonstrate that our approach not only provides superior SFT guidance but also exhibits robust performance and temporal scalability across increasing model sizes. This work transcends the fundamental limitation of traditional interpretability-its inability to identify task-critical mechanisms before they are trained-pioneering a predictive frontier that unites mechanistic interpretability with targeted optimization.
Figures & tables
| Method | LR | NLU | MR | |||
|---|---|---|---|---|---|---|
| TTA | PTA | TTA | PTA | TTA | PTA | |
| Graft | 82.76 ±0.42 | 33.27 ±0.04 | 84.96 ±0.08 | 31.24 ±0.14 | 24.19 ±2.13 | 44.31 ±0.11 |
| FLU | 88.57 ±0.35 | 42.57 ±0.09 | 84.27 ±0.02 | 36.72 ±0.13 | 87.16 ±1.07 | 49.52 ±0.01 |
| WAGLE | 89.55 ±0.28 | 44.31 ±0.06 | 85.28 ±0.11 | 43.57 ±0.04 | 66.39 ±1.15 | 51.23 ±0.09 |
| CLUE | 90.49 ±0.44 | 45.42 ±0.02 | 85.17 ±0.07 | 45.61 ±0.10 | 52.78 ±1.55 | 53.21 ±0.12 |
| CircuitLoRA | 97.67 ±0.13 | 60.62 ±0.11 | 85.09 ±0.06 | 61.55 ±0.09 | 98.60 ±0.12 | 59.66 ±0.14 |
| Strategy | Neuron-Level | Component-Level | ||||
|---|---|---|---|---|---|---|
| LR | NLU | MR | LR | NLU | MR | |
| Full-Param | 69.27 | 94.03 | 15.66 | 99.73 | 96.33 | 71.83 |
| Random | 88.31 | 95.03 | 43.77 | 99.64 | 96.86 | 76.41 |
| Static | 87.49 | 95.52 | 55.83 | 99.75 | 96.33 | 83.52 |
| Probing | 92.76 | 96.10 | 87.16 | 99.96 | 96.21 | 99.60 |
| Ours | 98.51 | 96.31 | 98.79 | 100.00 | 97.55 | 100.00 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Train | Test | Max Len | Output | Input Prompt Case | Label | |
|---|---|---|---|---|---|---|---|
| IOI | 6,000 | 600 | 50 | Correct name | Then, Aaron and Amber were working at the house. Aaron decided to give a drink to | Amber | |
| Gender | 3,000 | 3,000 | 50 | he / she | So Kelly is always up for an adventure, isn’t | she | |
| BOOL | 10,000 | 4,000 | 100 | True / False | Evaluate the following boolean expression as either ’True’ or ’False’. ( not ( True or True ) ) and ( False or ( not True ) ) | False | |
| SST-2 | 67,349 | 872 | 200 | positive / negative | Is the sentiment of following sentence positive or negative? that ’s far too tragic to merit such superficial treatment. Answer: It is | negative | |
| MRPC | 3,670 | 1,730 | 200 | Yes / No | Are the meanings of the following two sentences equivalent? 1. And if both apply, they are essentially possible. 2. And if both apply, they are essentially impossible. | No | |
| QQP | 364,000 | 391,000 | 200 | Yes / No | Is Question “How do you control your horniness?” a duplicate of Question “How do I control my horny emotions?”? | Yes | |
| Method / Strategy | Bool | SST-2 | Arithmetic | ||||||
| Top@50 | TTA | Top@50 | TTA | Top@50 | TTA | ||||
| 1-Sample Uniform | 35.6 | 28 | 99.64 | 2.1 | 26 | 96.34 | 71.5 | 30 | 99.51 |
| 10-Sample Average | [10, 80] | 30.4 | 100.00 | [1, 10] | 29.6 | 97.55 | [10, 80] | 31.4 | 100.00 |
| Probe (First Layer) | 15.3 | 24 | 98.82 | 8.73 | 28 | 95.17 | 24.8 | 26 | 99.17 |
| Probe (Middle Layer) | 67.2 | 32 | 99.67 | 1.2 | 34 | 96.72 | 72.4 | 30 | 99.88 |
| Probe (Last Layer) | 58.5 | 34 | 99.83 | 1.2 | 30 | 97.26 | 77.2 | 32 | 100.00 |
| Method | Induction | Gender | IOI | Docstring | ||||
|---|---|---|---|---|---|---|---|---|
| Top@50 | KL | Top@50 | KL | Top@50 | KL | Top@50 | KL | |
| 100 | 0 | 100 | 0 | 100 | 0 | 100 | 0 | |
| 22 | 1.37 | 18 | 1.57 | 20 | 1.72 | 24 | 1.31 | |
| 18 | 1.29 | 22 | 2.23 | 22 | 1.25 | 22 | 1.04 | |
| 28 | 1.03 | 36 | 1.31 | 32 | 0.93 | 28 | 1.01 | |
| Method | Induction | Gender | IOI | Docstring | ||||
|---|---|---|---|---|---|---|---|---|
| Top@50 | KL | Top@50 | KL | Top@50 | KL | Top@50 | KL | |
| 100 | 0 | 100 | 0 | 100 | 0 | 100 | 0 | |
| 20 | 1.55 | 24 | 1.61 | 26 | 1.49 | 20 | 1.52 | |
| 20 | 1.51 | 18 | 1.72 | 20 | 1.62 | 18 | 1.27 | |
| 32 | 1.11 | 34 | 1.13 | 34 | 1.21 | 30 | 1.15 | |
Mechanistic Interpretability
Mechanistic interpretability studies how neural networks implement behaviors through internal features, circuits, and causal information flow.
See all 391 papers