pith. sign in

arxiv: 2311.15131 · v1 · pith:CDOQMGGZnew · submitted 2023-11-25 · 💻 cs.LG · cs.AI· cs.CL

Localizing Lying in Llama: Understanding Instructed Dishonesty on True-False Questions Through Prompting, Probing, and Patching

classification 💻 cs.LG cs.AIcs.CL
keywords dishonestylyingbehaviorfindinstructedknowledgelayersllms
0
0 comments X
read the original abstract

Large language models (LLMs) demonstrate significant knowledge through their outputs, though it is often unclear whether false outputs are due to a lack of knowledge or dishonesty. In this paper, we investigate instructed dishonesty, wherein we explicitly prompt LLaMA-2-70b-chat to lie. We perform prompt engineering to find which prompts best induce lying behavior, and then use mechanistic interpretability approaches to localize where in the network this behavior occurs. Using linear probing and activation patching, we localize five layers that appear especially important for lying. We then find just 46 attention heads within these layers that enable us to causally intervene such that the lying model instead answers honestly. We show that these interventions work robustly across many prompts and dataset splits. Overall, our work contributes a greater understanding of dishonesty in LLMs so that we may hope to prevent it.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Rep2Text: Decoding Full Text from a Single LLM Token Representation

    cs.CL 2025-11 conditional novelty 6.0

    Rep2Text recovers roughly half the tokens from 16-token sequences using only the last-token representation while retaining semantic coherence across several LLMs.