Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
Li, Kenneth, Patel, Oam, Viégas, Fernanda, Pfister, Hanspeter, Wattenberg, Martin
–arXiv.org Artificial Intelligence
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 trade-off 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.
arXiv.org Artificial Intelligence
Oct-19-2023
- Country:
- Indian Ocean > Red Sea (0.04)
- Antarctica (0.04)
- Atlantic Ocean > North Atlantic Ocean (0.04)
- Europe
- France (0.14)
- Germany (0.14)
- Russia (0.14)
- Ireland (0.04)
- Switzerland (0.04)
- Sweden (0.04)
- Norway (0.04)
- Austria (0.04)
- Bulgaria (0.04)
- Denmark (0.04)
- Greece (0.04)
- Holy See > Vatican City (0.04)
- Finland (0.04)
- Monaco (0.04)
- Estonia (0.04)
- Portugal (0.04)
- Belgium (0.04)
- Northern Europe (0.04)
- Belarus (0.04)
- Netherlands > North Holland
- Amsterdam (0.04)
- Spain
- Galicia > Madrid (0.04)
- Catalonia > Barcelona Province
- Barcelona (0.04)
- Italy > Lazio
- Rome (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- United Kingdom
- Scotland (0.04)
- Northern Ireland (0.04)
- Wales (0.04)
- England
- Oxfordshire > Oxford (0.27)
- Cambridgeshire > Cambridge (0.14)
- Leicestershire > Leicester (0.04)
- Oceania
- Nauru (0.04)
- Tonga (0.04)
- Samoa (0.04)
- Australia > Northern Territory (0.04)
- New Zealand > North Island
- Auckland Region > Auckland (0.04)
- South America
- Argentina (0.04)
- Uruguay (0.04)
- Chile (0.04)
- Falkland Islands (0.04)
- Brazil > Rio de Janeiro
- Rio de Janeiro (0.04)
- Asia
- Russia (0.14)
- South Korea (0.14)
- Pakistan (0.13)
- India (0.04)
- Singapore (0.04)
- China > Hong Kong (0.04)
- Taiwan (0.04)
- North Korea (0.04)
- Nepal (0.04)
- Cambodia (0.04)
- Thailand > Bangkok
- Bangkok (0.04)
- Middle East
- Yemen (0.04)
- Saudi Arabia (0.04)
- Israel (0.04)
- UAE (0.04)
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- Japan > Honshū
- Kantō > Tokyo Metropolis Prefecture > Tokyo (0.04)
- North America
- Bermuda (0.04)
- Mexico > Puebla (0.04)
- Jamaica (0.04)
- Dominica (0.04)
- United States
- Texas (0.04)
- West Virginia (0.04)
- Kansas (0.04)
- Alaska (0.04)
- Alabama (0.04)
- Oregon (0.04)
- Hawaii (0.04)
- Michigan (0.04)
- Pennsylvania (0.04)
- Mississippi (0.04)
- Kentucky > Warren County
- Bowling Green (0.04)
- Indiana > Marion County
- Indianapolis (0.04)
- Nevada > Clark County
- Las Vegas (0.04)
- Arizona > Maricopa County
- Phoenix (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- New York
- Onondaga County > Syracuse (0.13)
- Erie County > Buffalo (0.13)
- Queens County > New York City (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Washington > King County
- Seattle (0.04)
- Vermont > Chittenden County
- Burlington (0.04)
- California
- San Francisco County > San Francisco (0.14)
- Santa Clara County > Palo Alto (0.04)
- Los Angeles County
- Los Angeles (0.14)
- Glendale (0.04)
- Canada
- Quebec
- Montreal (0.04)
- Capitale-Nationale Region
- Québec (0.04)
- Quebec City (0.04)
- Ontario > Hastings County
- Belleville (0.04)
- Quebec
- Africa
- Sudan (0.04)
- Nigeria (0.04)
- Eritrea (0.04)
- North Africa (0.04)
- South Africa
- Western Cape > Cape Town (0.04)
- Gauteng > Pretoria (0.04)
- Middle East
- Genre:
- Research Report > New Finding (1.00)
- Personal > Honors (1.00)
- Industry:
- Law Enforcement & Public Safety > Crime Prevention & Enforcement (1.00)
- Law > Criminal Law (1.00)
- Energy > Power Industry (0.67)
- Banking & Finance > Trading (0.67)
- Consumer Products & Services
- Travel (0.92)
- Food, Beverage, Tobacco & Cannabis (0.92)
- Health & Medicine
- Pharmaceuticals & Biotechnology (1.00)
- Consumer Health (1.00)
- Therapeutic Area
- Psychiatry/Psychology (1.00)
- Oncology (1.00)
- Infections and Infectious Diseases (1.00)
- Immunology (1.00)
- Cardiology/Vascular Diseases (1.00)
- Obstetrics/Gynecology (0.92)
- Endocrinology (0.67)
- Government
- Military (1.00)
- Regional Government
- North America Government > United States Government (1.00)
- Europe Government (1.00)
- Education
- Health & Safety > School Nutrition (1.00)
- Educational Setting (1.00)
- Transportation
- Media
- Leisure & Entertainment > Sports
- Soccer (0.67)
- Technology: