Search papers, labs, and topics across Lattice.
This study investigates the robustness of linear probes, trained on hidden states of large language models, to various shifts in medical question-answering contexts, specifically focusing on writing style, medical specialty, and dataset corpus. The authors constructed a benchmark with 500 MedQA entries rewritten in four distinct styles and evaluated the performance of four open-weight LLMs across different corpora. The findings reveal that while the truth direction remains stable across writing styles and medical specialties, it degrades significantly with certain corpus shifts, indicating that the linear probe's effectiveness is influenced by dataset structure rather than solely by medical knowledge.
The truth direction in linear probes is robust to writing style and medical specialty but falters dramatically with specific corpus shifts, revealing hidden vulnerabilities in medical QA systems.
Linear classifiers trained on hidden states of a large language model (LLM), linear probes, can flag factual errors from a single forward pass. Geometrically, that implies that true and false statements separate along a stable direction in hidden state space, i.e., the truth direction. Prior work disagrees on whether this generalises across input shifts, but the disagreement is hard to interpret because cross-dataset probe transfer experiments confound several kinds of input change at once. We isolate three such variables in medical question-answering (QA): writing style (register), domain (medical specialty), and corpus (dataset). We build a benchmark using 500 MedQA entries, each rewritten into four styles (textbook, patient, clinical note, colloquial), annotated with clinical specialty, and grouped with two other exam corpora, MedMCQA and MMLU-medical, for cross-dataset evaluation. Probing four open-weight LLMs (2--8B), we find that the truth direction is largely robust to writing style (mean $螖_\text{register} \approx 0.10$ AUROC on held-out facts) and to medical specialty ($螖_\text{specialty} \approx 0.03$), but degrades unevenly across corpora: by $0.12$ AUROC on MMLU-medical and by $0.21$ on MedMCQA, roughly twice the register gap. The register result replicates with a second generator and carries over to human-written patient questions. The truth direction is therefore largely stable within the medical domain but breaks under some corpus shifts, and question format does not explain the break, which suggests that the signal a linear probe recovers is partly bound to dataset structure rather than to medical knowledge alone.