Ever wonder what’s actually happening inside a Large Language Model (LLM) after it goes through "medical school"? We know that post-training—like Supervised Fine-Tuning (SFT) or Reinforcement Learning (RL)—boosts their scores on medical exams. But does the model become a better doctor, or just a better test-taker?
A new paper, "Empirical Margin Sensitivity: An Interventional Neuron-Level Probe of Post-Trained Medical LLMs," takes a scalpel to these models to find out. By "crushing" individual neurons, the authors discovered that different training methods leave very different fingerprints deep within the model’s architecture.
TL;DR
Researchers developed a "crush test" for individual neurons to identify the "anchors" of medical knowledge within LLMs. They found that while all medical models rely on specific sets of neurons, models trained with simple fine-tuning (SFT) develop "interfering" neurons deep in their layers that help on some tests but hurt on others—a signature notably absent in models trained with Reinforcement Learning.
What Problem Does This Paper Address?
We usually evaluate LLMs using aggregate scores like accuracy. If a model gets 80% on a medical exam, we celebrate. But accuracy is a blunt instrument. it doesn't tell us which internal components the model is relying on, or if the parts that help it pass one test are actually sabotaging it on another.
The challenge is "mechanistic interpretability"—trying to understand the black box. Most existing methods are correlational (e.g., "this neuron fires when we talk about hearts"). This paper moves toward causal understanding: "If I break this specific part of the neuron's tuning, how much does the model's confidence in the right answer drop?"
Methods
The authors introduce a novel intervention called the Neuron Crush.
Instead of just "turning off" a neuron (which is like removing a component entirely), they "crush" it. They take a single column in the model's MLP (Multi-Layer Perceptron) layer and replace its specific values with their average, while keeping the overall scale and sign pattern intact. This isolates the effect of the neuron's fine-grained tuning—its "learned structure"—from its mere presence.
To measure the impact, they use Empirical Margin Sensitivity (EMS). This scores a neuron based on how much the "decision margin" (the gap between the correct answer and the strongest wrong answer) changes when that neuron is crushed.
They use a three-stage pipeline to find "anchor" neurons:
- Taylor Screening: A fast gradient-based check to find candidates.
- Early Stopping: A quick intervention test on a small data sample.
- Full EMS Validation: A rigorous test on held-out data to confirm the neuron is a true "anchor."
Datasets
The study evaluated ten models (including variants of Gemma, Llama, and Qwen) across three major medical benchmarks:
- MedQA: The primary dataset used to discover "anchor" neurons.
- MedMCQA: A held-out benchmark with a similar multiple-choice format.
- PubMedQA: A more complex held-out benchmark involving longer contexts and yes/no/maybe answers.
Key Insights and Ideas
- The "Anchor" Explosion: Pre-trained base models have very few "anchor" neurons for medical tasks. Post-training (medical fine-tuning) causes a massive increase in these anchors, showing that the models are carving out specific internal "circuits" for medical knowledge.
- SFT vs. RL Fingerprints: The most striking finding is the difference between training styles. Models trained with pure SFT (Supervised Fine-Tuning) developed "interfering" anchors. These are neurons that help the model on MedQA but actually reduce the margin on PubMedQA.
- The Depth Signature: In SFT models, these interfering neurons aren't just anywhere—they are consistently located deeper in the transformer layers (about 2-3 layers deeper) than "normal" anchors. Models trained with RL or mixed recipes didn't show this depth shift.
- Generalization vs. Memorization: The "transfer geometry" (Figure 2) shows that RL-trained models tend to have neurons that help across all benchmarks, suggesting better generalization. SFT models have a cluster of neurons that are highly specialized (or perhaps "overfit") to the discovery format.
Key Results
- Causal Necessity: When the authors completely removed (mean-ablated) the discovered anchor sets, MedQA accuracy plummeted by 6 to 28 points across the six post-trained models.
- Dose-Response: The more top-tier anchors you crush, the more the margin drops. Crushing just the top 32 neurons removed 9-13% of the model's total decision margin.
- AlphaMed-8B Outlier: One RL-trained model (AlphaMed-8B) showed the highest dependence on its anchors (a 28.4 point drop when removed), yet those same anchors transferred perfectly to other tasks. This proves that "strong dependence" and "good generalization" can coexist in the same set of neurons.
Limitations and Future Work
- Observational Nature: Because the authors used public checkpoints, they couldn't control for every variable (like the exact data used in training). A controlled study training SFT and RL models on the exact same data would be the next logical step.
- English Only: The study was limited to English-language medical benchmarks.
- Semantic Mystery: While we now know where these important neurons are and that they are causally important, we still don't know exactly what medical concepts they represent (e.g., "is this the 'cardiology' neuron?"). Mapping EMS scores to semantic concepts is a clear path for future research.
Summary updated