推论
计算机科学
水准点(测量)
有用性
干预(咨询)
集合(抽象数据类型)
代表(政治)
人工智能
机器学习
心理学
程序设计语言
社会心理学
大地测量学
精神科
政治学
政治
法学
地理
作者
Kenneth Li,Oam Patel,Fernanda Viégas,Hanspeter Pfister,Martin Wattenberg
标识
DOI:10.48550/arxiv.2306.03341
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI