Language models are often reported to hallucinate factual information. Activation probes offer a lightweight way to detect them, yet probes trained on one benchmark often fail to generalize to others. In this work, we introduce a balanced four-class labelling scheme which improves cross-dataset performance. Across three instruction-tuned LLMs and three QA datasets with up to 6.2K test examples, non-linear probes trained solely on TriviaQA generalize zero-shot to HaluEval and PopQA, outperforming conventional binary end-of-sequence probes in five of six out-of-distribution settings. We also show that non-linear probes outperform linear baselines. We hope that our findings will enable more generally usable probes in detecting factual recall errors.
翻译:暂无翻译