Think Twice Before Trusting: Self-Detection for Large Language Models through Comprehensive Answer Reflection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Moxin, Wang, Wenjie, Feng, Fuli, Zhu, Fengbin, Wang, Qifan, Chua, Tat-Seng
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916412210020352
author Li, Moxin
Wang, Wenjie
Feng, Fuli
Zhu, Fengbin
Wang, Qifan
Chua, Tat-Seng
author_facet Li, Moxin
Wang, Wenjie
Feng, Fuli
Zhu, Fengbin
Wang, Qifan
Chua, Tat-Seng
contents Self-detection for Large Language Models (LLMs) seeks to evaluate the trustworthiness of the LLM's output by leveraging its own capabilities, thereby alleviating the issue of output hallucination. However, existing self-detection approaches only retrospectively evaluate answers generated by LLM, typically leading to the over-trust in incorrectly generated answers. To tackle this limitation, we propose a novel self-detection paradigm that considers the comprehensive answer space beyond LLM-generated answers. It thoroughly compares the trustworthiness of multiple candidate answers to mitigate the over-trust in LLM-generated incorrect answers. Building upon this paradigm, we introduce a two-step framework, which firstly instructs LLM to reflect and provide justifications for each candidate answer, and then aggregates the justifications for comprehensive target answer evaluation. This framework can be seamlessly integrated with existing approaches for superior self-detection. Extensive experiments on six datasets spanning three tasks demonstrate the effectiveness of the proposed framework.
format Preprint
id arxiv_https___arxiv_org_abs_2403_09972
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Think Twice Before Trusting: Self-Detection for Large Language Models through Comprehensive Answer Reflection
Li, Moxin
Wang, Wenjie
Feng, Fuli
Zhu, Fengbin
Wang, Qifan
Chua, Tat-Seng
Computation and Language
Self-detection for Large Language Models (LLMs) seeks to evaluate the trustworthiness of the LLM's output by leveraging its own capabilities, thereby alleviating the issue of output hallucination. However, existing self-detection approaches only retrospectively evaluate answers generated by LLM, typically leading to the over-trust in incorrectly generated answers. To tackle this limitation, we propose a novel self-detection paradigm that considers the comprehensive answer space beyond LLM-generated answers. It thoroughly compares the trustworthiness of multiple candidate answers to mitigate the over-trust in LLM-generated incorrect answers. Building upon this paradigm, we introduce a two-step framework, which firstly instructs LLM to reflect and provide justifications for each candidate answer, and then aggregates the justifications for comprehensive target answer evaluation. This framework can be seamlessly integrated with existing approaches for superior self-detection. Extensive experiments on six datasets spanning three tasks demonstrate the effectiveness of the proposed framework.
title Think Twice Before Trusting: Self-Detection for Large Language Models through Comprehensive Answer Reflection
topic Computation and Language
url https://arxiv.org/abs/2403.09972