paper-with-me

Papers

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

2024-02-27 · Shaolei Zhang, Tian Yu, Yang Feng

Large Language Models (LLMs) sometimes suffer from producing hallucinations, especially LLMs may generate untruthful responses despite knowing the correct knowledge. Activating the truthfulness within LLM is the key to fully unlocking LLM's knowledge potential. In this paper, we propose TruthX, an inference-time intervention method to activate the truthfulness of LLM by identifying and editing the features within LLM's internal representations that govern the truthfulness. TruthX employs an auto-encoder to map LLM's representations into semantic and truthful latent spaces respectively, and applies contrastive learning to identify a truthful editing direction within the truthful space. During inference, by editing LLM's internal representations in truthful space, TruthX effectively enhances the truthfulness of LLM. Experiments show that TruthX improves the truthfulness of 13 advanced LLMs by an average of 20% on TruthfulQA benchmark. Further analyses suggest that TruthX can control LLM to produce truthful or hallucinatory responses via editing only one vector in LLM's internal representations.

📄 PDF Abstract BibTeX arXiv:2402.17811

Code (1)

ictnlp/truthx 공식 구현 jax

Tasks

Contrastive LearningHallucinationHallucination EvaluationLanguage ModellingLarge Language ModelQuestion AnsweringText GenerationTruthfulQA

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…
Solana Customer Service Number +1-833-534-1729 설명 없음
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Alleviating Hallucinations in Large Language Models with Scepticism Modeling

2024-09-10 · Yetao Wu, Yihong Wang, Teng Chen, Chenxi Liu 외

Hallucinations is a major challenge for large language models (LLMs), prevents adoption in diverse fields. Uncertainty estimation could be used for alleviating the damages of hallucinations. The skeptical emotion of huma…

Can Knowledge Editing Really Correct Hallucinations?

2024-10-21 · Baixiang Huang, Canyu Chen, Xiongxiao Xu, Ali Payani 외

Large Language Models (LLMs) suffer from hallucinations, referring to the non-factual information in generated content, despite their superior capacities across tasks. Meanwhile, knowledge editing has been developed as a…

Hallucinationknowledge editing

PURR: Efficiently Editing Language Model Hallucinations by Denoising Language Model Corruptions

2023-05-24 · Anthony Chen, Panupong Pasupat, Sameer Singh, Hongrae Lee 외

The remarkable capabilities of large language models have been accompanied by a persistent drawback: the generation of false and unsubstantiated claims commonly known as "hallucinations". To combat this issue, recent res…

DenoisingLanguage ModelingLanguage Modellingmodel

PretrainRL: Alleviating Factuality Hallucination of Large Language Models at the Beginning

2026-02-02 · Langming Liu, Kangtao Lv, Haibin Chen, Weidong Zhang 외 arxiv

Large language models (LLMs), despite their powerful capabilities, suffer from factual hallucinations where they generate verifiable falsehoods. We identify a root of this issue: the imbalanced data distribution in the p…

Reinforcement Learningknowledge editing

NoiseBoost: Alleviating Hallucination with Noise Perturbation for Multimodal Large Language Models

2024-05-30 · Kai Wu, Boyuan Jiang, Zhengkai Jiang, Qingdong He 외

Multimodal large language models (MLLMs) contribute a powerful mechanism to understanding visual information building on large language models. However, MLLMs are notorious for suffering from hallucinations, especially w…

Hallucination