From Misleading Queries to Accurate Answers: A Three-Stage Fine-Tuning Method for LLMs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Guocong, Liu, Weize, Wu, Yihang, Wang, Ping, Huang, Shuaihan, Xu, Hongxia, Wu, Jian
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909628859678720
author Li, Guocong
Liu, Weize
Wu, Yihang
Wang, Ping
Huang, Shuaihan
Xu, Hongxia
Wu, Jian
author_facet Li, Guocong
Liu, Weize
Wu, Yihang
Wang, Ping
Huang, Shuaihan
Xu, Hongxia
Wu, Jian
contents Large language models (LLMs) exhibit excellent performance in natural language processing (NLP), but remain highly sensitive to the quality of input queries, especially when these queries contain misleading or inaccurate information. Existing methods focus on correcting the output, but they often overlook the potential of improving the ability of LLMs to detect and correct misleading content in the input itself. In this paper, we propose a novel three-stage fine-tuning method that enhances the ability of LLMs to detect and correct misleading information in the input, further improving response accuracy and reducing hallucinations. Specifically, the three stages include (1) training LLMs to identify misleading information, (2) training LLMs to correct the misleading information using built-in or external knowledge, and (3) training LLMs to generate accurate answers based on the corrected queries. To evaluate our method, we conducted experiments on three datasets for the hallucination detection task and the question answering~(QA) task, as well as two datasets containing misleading information that we constructed. The experimental results demonstrate that our method significantly improves the accuracy and factuality of LLM responses, while also enhancing the ability to detect hallucinations and reducing the generation of hallucinations in the output, particularly when the query contains misleading information.
format Preprint
id arxiv_https___arxiv_org_abs_2504_11277
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle From Misleading Queries to Accurate Answers: A Three-Stage Fine-Tuning Method for LLMs
Li, Guocong
Liu, Weize
Wu, Yihang
Wang, Ping
Huang, Shuaihan
Xu, Hongxia
Wu, Jian
Computation and Language
Large language models (LLMs) exhibit excellent performance in natural language processing (NLP), but remain highly sensitive to the quality of input queries, especially when these queries contain misleading or inaccurate information. Existing methods focus on correcting the output, but they often overlook the potential of improving the ability of LLMs to detect and correct misleading content in the input itself. In this paper, we propose a novel three-stage fine-tuning method that enhances the ability of LLMs to detect and correct misleading information in the input, further improving response accuracy and reducing hallucinations. Specifically, the three stages include (1) training LLMs to identify misleading information, (2) training LLMs to correct the misleading information using built-in or external knowledge, and (3) training LLMs to generate accurate answers based on the corrected queries. To evaluate our method, we conducted experiments on three datasets for the hallucination detection task and the question answering~(QA) task, as well as two datasets containing misleading information that we constructed. The experimental results demonstrate that our method significantly improves the accuracy and factuality of LLM responses, while also enhancing the ability to detect hallucinations and reducing the generation of hallucinations in the output, particularly when the query contains misleading information.
title From Misleading Queries to Accurate Answers: A Three-Stage Fine-Tuning Method for LLMs
topic Computation and Language
url https://arxiv.org/abs/2504.11277