Saved in:
Bibliographic Details
Main Authors: You, Xinxin, Liu, Xien, Sun, Qixin, Zhang, Huan, Zhou, Kaiyin, Liu, Shaohui, Hu, GuoPing, Wang, ShiJin, Liu, Si, Wu, Ji
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.08904
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910847299747840
author You, Xinxin
Liu, Xien
Sun, Qixin
Zhang, Huan
Zhou, Kaiyin
Liu, Shaohui
Hu, GuoPing
Wang, ShiJin
Liu, Si
Wu, Ji
author_facet You, Xinxin
Liu, Xien
Sun, Qixin
Zhang, Huan
Zhou, Kaiyin
Liu, Shaohui
Hu, GuoPing
Wang, ShiJin
Liu, Si
Wu, Ji
contents Recent methodologies utilizing synthetic datasets have aimed to address inconsistent hallucinations in large language models (LLMs); however,these approaches are primarily tailored to specific tasks, limiting their generalizability. Inspired by the strong performance of code-trained models in logic-intensive domains, we propose a novel framework that leverages event-based text to generate corresponding code and employs cyclic training to transfer the logical consistency of code to natural language effectively. Our method significantly reduces inconsistent hallucinations across three leading LLMs and two categories of natural language tasks while maintaining overall performance. This framework effectively alleviates hallucinations without necessitating adaptation to downstream tasks, demonstrating generality and providing new perspectives to tackle the challenge of inconsistent hallucinations.
format Preprint
id arxiv_https___arxiv_org_abs_2502_08904
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MIH-TCCT: Mitigating Inconsistent Hallucinations in LLMs via Event-Driven Text-Code Cyclic Training
You, Xinxin
Liu, Xien
Sun, Qixin
Zhang, Huan
Zhou, Kaiyin
Liu, Shaohui
Hu, GuoPing
Wang, ShiJin
Liu, Si
Wu, Ji
Artificial Intelligence
Recent methodologies utilizing synthetic datasets have aimed to address inconsistent hallucinations in large language models (LLMs); however,these approaches are primarily tailored to specific tasks, limiting their generalizability. Inspired by the strong performance of code-trained models in logic-intensive domains, we propose a novel framework that leverages event-based text to generate corresponding code and employs cyclic training to transfer the logical consistency of code to natural language effectively. Our method significantly reduces inconsistent hallucinations across three leading LLMs and two categories of natural language tasks while maintaining overall performance. This framework effectively alleviates hallucinations without necessitating adaptation to downstream tasks, demonstrating generality and providing new perspectives to tackle the challenge of inconsistent hallucinations.
title MIH-TCCT: Mitigating Inconsistent Hallucinations in LLMs via Event-Driven Text-Code Cyclic Training
topic Artificial Intelligence
url https://arxiv.org/abs/2502.08904