scimeatlas

Research map / Large language models / Language, safety and interpretability

TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Space

Shaolei Zhang, Tian Yu, Yang Feng

ACL 2024Large language models › Language, safety and interpretabilityapproach: Task vectors and steeringopen problems in this approach156 citations (OpenAlex)

University of Chinese Academy of Sciences · Chinese Academy of Sciences (ICT/CAS) · Chinese Academy of Sciences

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
11improved
2no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

This paper tried a common change: Add a contrastive loss

add contrastive learning L_ctr · TruthfulQA multiple-choice · MC1 (%): 34.64 -> 54.22 Improved

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
edit representations with TruthX instead of plain Llama-2-7B-ChatLlama-2-7B-Chat · TruthfulQA open-endedTrue*Info (%): 31.90 -> 65.45Improved
edit representations with TruthXLlama-2-7B-Chat · TruthfulQA multiple-choiceMC1 (%): 34.64 -> 54.22Improved
edit attention and FFN representations rather than attention heads (vs ITI)TruthX · TruthfulQA open-endedInfo (%): 77.72 (ITI) -> 89.72; 'I have no comment' 187/817 (ITI) vs 87/817Improved
apply TruthX trained on TruthfulQA out of distributionLlama-2-7B-Chat · Natural Questionsaccuracy (%): 54.90 -> 59.60Improved
apply TruthX trained on TruthfulQA out of distributionLlama-2-7B-Chat · TriviaQAaccuracy (%): 66.75 -> 66.79No clear effect
apply ITI out of distributionLlama-2-7B-Chat · FACTOR-wikiaccuracy (%): 56.95 -> 43.82Hurt
apply TruthX to 13 LLMs13 LLMs · TruthfulQATrue*Info and MC1: average 20% True*Info, 15% MC1Improved
add contrastive learning L_ctr (ablation)TruthX · TruthfulQA multiple-choiceMC1 (%): 34.64 -> 54.22Improved
use only tokens shared by truthful and untruthful answers (ablation)TruthX · TruthfulQA multiple-choiceMC1 (%): 41.62 -> 54.22Improved
add separate semantic space (ablation)TruthX · TruthfulQA multiple-choiceMC1 (%): 43.70 -> 54.22Improved
merge latents with attention instead of addition (ablation)TruthX · TruthfulQA multiple-choiceMC1 (%): 44.19 -> 54.22Improved
add editing loss L_edit (ablation)TruthX · TruthfulQA multiple-choiceMC1 (%): 45.41 -> 54.22Improved

Later papers that compared with this method

7 later accepted papers report TruthX as a baseline in their results tables; 7 of them report a better number on most of the results they share with it.

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in task vectors and steering

Does steering and task-vector localization found on small open models carry over to larger models, other languages and non-linear representations?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy