Exploring the generalization of LLM truth directions on conversational formats
Timour Ichmoukhamedov, David Martens
TL;DR
This work investigates whether a universal truth direction in LLM activations—where true and false statements are linearly separable—generalizes across conversational formats. Using twelve dataset variants derived from base formats and a linear probe trained on centered activations from open-source models, the study finds strong cross-format generalization from statements to short dialogues but poor generalization to longer prompts where the lie is buried earlier. A fixed closing key phrase appended to each conversation dramatically improves cross-format generalization to longer formats, offering a practical prompt-engineering solution despite some trade-offs on base formats. The findings underscore significant challenges in building broadly reliable LLM lie detectors and point to targeted, format-aware interventions as a viable path forward, while noting limitations like model size and reliance on activation centering.
Abstract
Several recent works argue that LLMs have a universal truth direction where true and false statements are linearly separable in the activation space of the model. It has been demonstrated that linear probes trained on a single hidden state of the model already generalize across a range of topics and might even be used for lie detection in LLM conversations. In this work we explore how this truth direction generalizes between various conversational formats. We find good generalization between short conversations that end on a lie, but poor generalization to longer formats where the lie appears earlier in the input prompt. We propose a solution that significantly improves this type of generalization by adding a fixed key phrase at the end of each conversation. Our results highlight the challenges towards reliable LLM lie detectors that generalize to new settings.
