Inference-Time Intervention: Eliciting Truthful Answers from a Language Model

By Kenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister, Martin Wattenberg. Neural Information Processing Systems, 2023

1,288 citations recorded by the source corpus.

We introduce Inference-Time Intervention (ITI), a technique designed to enhance the"truthfulness"of large language models (LLMs). ITI operates by shifting model activations during inference, following a set of directions across a limited number of attention heads. This intervention significantly improves the performance of LLaMA models on the TruthfulQA benchmark. On an instruction-finetuned LLaMA called Alpaca, ITI improves its truthfulness from 32.5% to 65.1%. We identify a tradeoff between truthfulness and helpfulness and demonstrate how to balance it by tuning the intervention strength. ITI is minimally invasive and computationally inexpensive. Moreover, the technique is data efficient: while approaches like RLHF require extensive annotations, ITI locates truthful directions using only few hundred examples. Our findings suggest that LLMs may have an internal representation of the likelihood of something being true, even as they produce falsehoods on the surface.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/405f8f5f1c6df1b3343c812832479aad5180b65f

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Percy Liang
  3. Sergey Levine
  4. Quoc V. Le
  5. Yonatan Belinkov
  6. Jianfeng Gao
  7. James R. Glass
  8. Kyunghyun Cho

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. James R. Glass
  3. Dacheng Tao
  4. Andrew Zisserman
  5. Ming-Hsuan Yang
  6. Trevor Darrell
  7. Jitendra Malik
  8. Andrea Vedaldi

Citations in the corpus