Truth-value judgment in language models: 'truth directions' are context sensitive

Stefan F. Schouten, Peter Bloem, Ilia Markov, Piek Vossen
4/29/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Recent work has demonstrated that the latent spaces of large language models (LLMs) contain directions predictive of the truth of sentences. Multiple methods recover such directions and build probes that are described as uncovering a model's "knowledge" or "beliefs". We investigate this phenomenon, looking closely at the impact of context on the probes. Our experiments establish where in the LLM the probe's predictions are (most) sensitive to the presence of related sentences, and how to best characterize this kind of sensitivity. We do so by measuring different types of consistency errors that occur after probing an LLM whose inputs consist of hypotheses preceded by (negated) supporting and contradicting sentences. We also perform a causal intervention experiment, investigating whether moving the representation of a premise along these truth-value directions influences the position of an entailed or contradicted sentence along that same direction. We find that the probes we test are generally context sensitive, but that contexts which should not affect the truth often still impact the probe outputs. Our experiments show that the type of errors depend on the layer, the model, and the kind of data. Finally, our results suggest that truth-value directions are causal mediators in the inference process that incorporates in-context information.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{schouten2024truthvalue,
  title  = {Truth-value judgment in language models: 'truth directions' are context sensitive},
  author = {Stefan F. Schouten and Peter Bloem and Ilia Markov and Piek Vossen},
  year   = {2024},
  eprint = {2404.18865},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.18865v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.18865.svg)](https://codeofpaper.com/paper/2404.18865)

Discussion