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
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 ↗
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
- TriviaQA leaderboard accuracy 66.79 · rank 43 of 67 papers
- Natural Questions leaderboard accuracy 59.6 · rank 6 of 13 papers
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
- 1,706 improved
- 42 no clear effect
- 21 mixed
- 35 hurt
- Beyond Looking Up, Try Looking Around: Harmonizing Global Structure and Local Consistency in Optimal Transport for Short Text Clustering ICML 2026 · add contrastive learning · SearchSnippets · ACC: 56.65 -> 80.12Improved
- SleepLM: Natural-Language Intelligence for Human Sleep ICML 2026 · add contrastive objective to captioning (CoCa vs Cap) · sleep event IoU · IoU: 29.2 -> 27.4Hurt
- LIMSSR: LLM-Driven Sequence-to-Score Reasoning under Training-Time Incomplete Multimodal Observations ICML 2026 · add contrastive loss L_con · FS1000 average · Spearman correlation: 0.759 -> 0.789Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| edit representations with TruthX instead of plain Llama-2-7B-Chat | Llama-2-7B-Chat · TruthfulQA open-ended | True*Info (%): 31.90 -> 65.45 | Improved |
| edit representations with TruthX | Llama-2-7B-Chat · TruthfulQA multiple-choice | MC1 (%): 34.64 -> 54.22 | Improved |
| edit attention and FFN representations rather than attention heads (vs ITI) | TruthX · TruthfulQA open-ended | Info (%): 77.72 (ITI) -> 89.72; 'I have no comment' 187/817 (ITI) vs 87/817 | Improved |
| apply TruthX trained on TruthfulQA out of distribution | Llama-2-7B-Chat · Natural Questions | accuracy (%): 54.90 -> 59.60 | Improved |
| apply TruthX trained on TruthfulQA out of distribution | Llama-2-7B-Chat · TriviaQA | accuracy (%): 66.75 -> 66.79 | No clear effect |
| apply ITI out of distribution | Llama-2-7B-Chat · FACTOR-wiki | accuracy (%): 56.95 -> 43.82 | Hurt |
| apply TruthX to 13 LLMs | 13 LLMs · TruthfulQA | True*Info and MC1: average 20% True*Info, 15% MC1 | Improved |
| add contrastive learning L_ctr (ablation) | TruthX · TruthfulQA multiple-choice | MC1 (%): 34.64 -> 54.22 | Improved |
| use only tokens shared by truthful and untruthful answers (ablation) | TruthX · TruthfulQA multiple-choice | MC1 (%): 41.62 -> 54.22 | Improved |
| add separate semantic space (ablation) | TruthX · TruthfulQA multiple-choice | MC1 (%): 43.70 -> 54.22 | Improved |
| merge latents with attention instead of addition (ablation) | TruthX · TruthfulQA multiple-choice | MC1 (%): 44.19 -> 54.22 | Improved |
| add editing loss L_edit (ablation) | TruthX · TruthfulQA multiple-choice | MC1 (%): 45.41 -> 54.22 | Improved |
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.
- Search for Truth from Reasoning: A Dynamic Representation Editing Framework for Steering LLM Trajectories (ICML 2026 · better on 1 of 1 shared result)
- Factual Decoding via Head Coordination Graphs in Large Language Models (EMNLP 2026 · better on 1 of 1 shared result)
- NoVo: Norm Voting off Hallucinations with Attention Heads in Large Language Models (ICLR 2025 · better on 4 of 4 shared results)
- Alleviating Hallucinations in Large Language Models via Truthfulness-driven Rank-adaptive LoRA (ACL 2025 · better on 2 of 2 shared results)
- One SPACE to Rule Them All: Jointly Mitigating Factuality and Faithfulness Hallucinations in LLMs (NeurIPS 2025 · better on 1 of 1 shared result)
- Token-Aware Editing of Internal Activations for Large Language Model Alignment (EMNLP 2025 · better on 1 of 1 shared result)
- DSVD: Dynamic Self-Verify Decoding for Faithful Generation in Large Language Models (EMNLP 2025 · better on 1 of 1 shared result)
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.
- DoLa — DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models (ICLR 2024) · better on 1 of 1 shared result
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?
- Tested on a few open models of about 7B to 9B, so larger and other models are untested. · 37 papers state it
- Evidence comes from English text only. · 16 papers state it
- Steering assumes linear directions and tests only simple additive interventions. · 13 papers state it
Closest papers by meaning
- Alleviating Hallucinations in Large Language Models via Truthfulness-driven Rank-adaptive LoRA (ACL 2025 · similarity 0.93)
- In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation (ICML 2024 · similarity 0.91)
- Improving Factuality in Large Language Models via Decoding-Time Hallucinatory and Truthful Comparators (AAAI 2025 · similarity 0.91)
- DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models (ICLR 2024 · similarity 0.91)
- LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations (ICLR 2025 · similarity 0.91)
- FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees (ICML 2025 · similarity 0.90)
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.