arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08904cs.AI
收藏

MIH-TCCT:通过事件驱动的文本-代码循环训练缓解大语言模型中的不一致幻觉

MIH-TCCT: Mitigating Inconsistent Hallucinations in LLMs via Event-Driven Text-Code Cyclic Training

Tsinghua University(清华大学);Beihang University(北京航空航天大学);iFLYTEK Research(讯飞研究院);Beijing University of Posts and Telecommunications(北京邮电大学)

Xinxin You, Xien Liu, Qixin Sun, Huan Zhang, Kaiyin Zhou, Shaohui Liu, GuoPing Hu, ShiJin Wang, Si Liu, Ji Wu

AI总结:

提出MIH-TCCT框架,通过事件驱动文本生成代码并循环训练,将代码逻辑一致性迁移至自然语言,显著减少三个LLM在两类任务中的不一致幻觉,无需下游适应,具泛化性。

摘要:

最近利用合成数据集的方法旨在解决大语言模型(LLMs)中的不一致幻觉问题;然而,这些方法主要针对特定任务,限制了其泛化能力。受代码训练模型在逻辑密集型领域中强大表现的启发,我们提出了一种新颖的框架,利用基于事件的文本生成相应的代码,并采用循环训练将代码的逻辑一致性有效地迁移到自然语言中。我们的方法显著减少了三个领先的LLMs和两类自然语言任务中的不一致幻觉,同时保持了整体性能。该框架无需适应下游任务即可有效缓解幻觉,展示了泛化性,并为解决不一致幻觉挑战提供了新视角。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑