Preprint2026 · arXiv

The Geometry of Lies: Knowledge and Persona Directions for Detecting Deception in Large Language Models

Md. Abdullah Al Zami, Suraiya Shanaz, Mahdi Hasan, Shoaib Ahmed Dipu, Farig Yousuf Sadeque, Md. Sabbir Ahmed

Department of Computer Science and Engineering, BRAC University

My undergraduate thesis at BRAC University, written with two teammates, asks whether deception in a large language model can be read from its activations. Our zero-shot detector, built from role-play with no labelled lies, generalises across types of lie on three of the four models we tested. On lies about knowledge it turned out to be tracking the wording of the reply. The rest of the paper examines that failure and a second detector built to address it.

Probes and transfer

Earlier work had shown that a linear probe on a model’s activations can separate honest from deceptive answers. We began by reproducing that: we extracted middle-layer activations from Llama-3.3-70B-Instruct and trained probes on them. In distribution the probes performed well.

Trained on one dataset from Liars’ Bench and evaluated on the others, they averaged 0.732 AUROC, where 0.5 is chance and 1.0 is perfect. A deployed detector will meet lies it was not trained on, so this transfer score is the one we set out to improve.

A detector without labelled lies

A label-free approach had already been proposed: prompt the model to role-play honest and deceptive personas, and take the difference between the mean activations of the two groups as a deception direction. It had not been tested at 70B scale, or on lies about knowledge. We extended the published persona bank with ten roles that deny knowledge they hold, each paired with an honest counterpart.

On the same transfer evaluation the resulting direction reached 0.916. Mistral-Small-3.1-24B and Gemma-3-27B showed the same pattern. Qwen2.5-72B did not: the direction stayed near chance, and a second persona bank that Qwen follows far more reliably made no difference.

Two heatmaps of AUROC for Llama-3.3-70B at layer 40, with training set on the columns and test set on the rows. The probe on raw activations falls as low as 0.06 off the diagonal. The selected detector scores between 0.82 and 1.00 in every cell.
Figure 1.

Train on one dataset (column), test on every dataset (row): Llama-3.3-70B, layer 40. Left, a probe on raw activations. Right, the selected detector, the sum of the persona and knowledge directions. Its rows are constant off the diagonal because the training set only decides its sign, and every training set agrees. CG is Convincing-Game, HP-C Harm-Pressure Choice, HP-KR Harm-Pressure Knowledge Report, IT Insider-Trading, ID Instructed-Deception, and RepE the instruction pairs probes are usually trained on.

The table gives transfer at each model’s middle layer, as the mean AUROC on the datasets a detector was not fitted to.

Detector Llama Qwen Mistral Gemma
Probe on raw activations 0.732 0.559 0.716 0.746
Persona direction published before ours 0.832 0.451 0.633 0.700
Our persona direction 0.916 0.453 0.810 0.921
Knowledge direction 0.823 0.508 0.799 0.457
Sum of the two (selected detector) 0.922 0.514 0.841 0.860

Ranking lies well is not the same as catching them. With the cutoff set so that only 1% of each dataset’s honest answers are flagged, this is the share of lies that gets caught:

Detector Llama Qwen Mistral Gemma
Our persona direction 0.47 0.02 0.14 0.43
Sum of the two (selected detector) 0.38 0.03 0.23 0.30

No detector we tested catches half of the lies on any model at that cutoff.

Two caveats apply to the transfer result, and both are in the paper. Our direction’s gain over the one published before it is within what adding random roles produces. And on Llama, a probe trained on all the other datasets together is level with ours (0.915 against 0.917) once the hardest dataset is set aside.

Lies about knowledge

One dataset remained difficult. It contains lies about knowledge: the model has been shown to know an answer, and then denies knowing it. An honest model that lacks the answer produces the same denial, often word for word.

We restricted the evaluation to pairs in which the lie and the honest denial are identical text, and scored the direction again. On Llama it fell inside the band that random directions reach, which means that on this dataset it had been tracking the phrasing of the reply.

For me this is the most useful finding in the paper. A detector can score well on a benchmark while relying on a lexical cue, and that only shows when the wording is held fixed.

A knowledge direction

We then built a second direction, intended to track what the model knows. It contrasts 60 questions the model can answer with 60 that nobody can, each followed by the same scripted denial, so the reply is constant by construction. This direction separates lies from identical honest denials on Llama and Mistral, narrowly on Qwen, and not on Gemma. The result is consistent with the direction encoding the model’s knowledge, though it does not establish it.

Two line charts of AUROC across 16 layers of Llama-3.3-70B on the two wording-controlled slices of HP-KR. A grey band marks 95% of random directions. On identical text the knowledge direction and the selected detector sit near 0.79, above the band, while the three persona contrasts stay inside it until the last layers.
Figure 2.

AUROC on the two wording-controlled slices of the hardest dataset, across 16 layers of Llama-3.3-70B: lies and honest denials with identical text (left) and all denials (right). Grey is the random band, the central 95% of the AUROCs of random directions. The “contrasts” are persona directions.

Controls

Every score in the paper is reported against the band reached by random directions on the same data, since an AUROC is uninformative if a random direction can match it. Two evaluations were pre-registered and are reported with their negative outcomes. In an external competition the combined detector would have placed 16th of 30, behind a supervised probe.

My contribution

I am the third of six authors, and most of the work was done jointly. With my teammates I extracted activations from Llama-3.3-70B-Instruct, trained the probe baselines and ran the main experiments, and I contributed to three of the external evaluations: held-out lies, the random persona bank and the Aletheia’s Quest tasks. I also drafted sections of the paper and worked on its revision for arXiv.

Our main analyses use layer 40, the model’s middle layer. Independently, I extracted activations at layer 30 and several other depths, and analysed how probe performance changes across the model.

Four line charts against relative depth for Llama, Qwen, Mistral and Gemma: transfer of the extended contrast, transfer of the raw-activation probe, zero-shot mean AUROC of the extended contrast, and the knowledge direction on HP-KR identical text for Llama and Mistral.
Figure 3.

Four measures across each model’s depth, by relative depth. “Extended contrast” is our persona direction. Qwen’s persona curves use its second bank, with the role given in the user turn. The bottom-right panel has the two models with a released identical-text slice.

Limitations

We have not explained why the persona direction fails on Qwen. The added roles and the knowledge direction were designed after the hardest dataset had exposed the failure, so that dataset served as development data and cannot be read as a blind test. All experiments are in English.

Models and compute

The four models are Llama-3.3-70B-Instruct, Qwen2.5-72B-Instruct, Gemma-3-27B-it and Mistral-Small-3.1-24B-Instruct, all open-weight. The benchmark is Liars’ Bench. Every forward pass ran remotely on the National Deep Inference Fabric through nnsight, and the analysis runs on pooled activations on a CPU.

Citation

@article{alzami2026geometry,
  title   = {The Geometry of Lies: Knowledge and Persona Directions for Detecting Deception in Large Language Models},
  author  = {Al Zami, Md. Abdullah and Shanaz, Suraiya and Hasan, Mahdi and Dipu, Shoaib Ahmed and Sadeque, Farig Yousuf and Ahmed, Md. Sabbir},
  journal = {arXiv preprint arXiv:2611.26545},
  year    = {2026}
}