Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bayat, Farima Fatahi, Liu, Xin, Jagadish, H. V., Wang, Lu
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914829038518272
author Bayat, Farima Fatahi
Liu, Xin
Jagadish, H. V.
Wang, Lu
author_facet Bayat, Farima Fatahi
Liu, Xin
Jagadish, H. V.
Wang, Lu
contents Large language models (LLMs) can generate long-form and coherent text, yet they often hallucinate facts, which undermines their reliability. To mitigate this issue, inference-time methods steer LLM representations toward the "truthful directions" previously learned for truth elicitation. However, applying these truthful directions with the same intensity fails to generalize across different query contexts. We propose LITO, a Learnable Intervention method for Truthfulness Optimization that automatically identifies the optimal intervention intensity tailored to each specific context. LITO explores a sequence of model generations based on increasing levels of intervention intensities. It selects the most accurate response or refuses to answer when the predictions are highly uncertain. Experiments on multiple LLMs and question-answering datasets demonstrate that LITO improves truthfulness while preserving task accuracy. The adaptive nature of LITO counters the limitations of one-size-fits-all intervention methods, maximizing truthfulness by reflecting the model's internal knowledge only when it is confident. Our code is available at https://github.com/launchnlp/LITO.
format Preprint
id arxiv_https___arxiv_org_abs_2405_00301
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression
Bayat, Farima Fatahi
Liu, Xin
Jagadish, H. V.
Wang, Lu
Computation and Language
Large language models (LLMs) can generate long-form and coherent text, yet they often hallucinate facts, which undermines their reliability. To mitigate this issue, inference-time methods steer LLM representations toward the "truthful directions" previously learned for truth elicitation. However, applying these truthful directions with the same intensity fails to generalize across different query contexts. We propose LITO, a Learnable Intervention method for Truthfulness Optimization that automatically identifies the optimal intervention intensity tailored to each specific context. LITO explores a sequence of model generations based on increasing levels of intervention intensities. It selects the most accurate response or refuses to answer when the predictions are highly uncertain. Experiments on multiple LLMs and question-answering datasets demonstrate that LITO improves truthfulness while preserving task accuracy. The adaptive nature of LITO counters the limitations of one-size-fits-all intervention methods, maximizing truthfulness by reflecting the model's internal knowledge only when it is confident. Our code is available at https://github.com/launchnlp/LITO.
title Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression
topic Computation and Language
url https://arxiv.org/abs/2405.00301