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