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

Honest AI:微调“小”语言模型使其说“我不知道”,并减少 RAG 中的幻觉

Honest AI: Fine-Tuning "Small" Language Models to Say "I Don't Know", and Reducing Hallucination in RAG

Independent Researcher

Xinxi Chen, Li Wang, Wei Wu, Qi Tang, Yiyao Liu

AI总结:

提出 Honest AI 策略,通过微调参数少于 100 亿的“小”语言模型使其回答“我不知道”,并结合 RAG 等混合方法,有效减少幻觉,在 CRAG 基准和 Task 2 中取得最佳成绩。

摘要:

幻觉是大型语言模型(LLMs)应用的关键障碍,特别是对于对信息准确性敏感的企业应用。为解决此问题,已探索两种通用方法:检索增强生成(RAG)为 LLMs 提供更新信息作为上下文,以及用新信息和期望的输出风格微调 LLMs。在本文中,我们提出 Honest AI:一种微调“小”语言模型使其说“我不知道”以减少幻觉的新策略,并附带几种替代的 RAG 方法。该解决方案在 Task 2 的错误前提问题中排名第一。替代方法包括将 RAG 与搜索引擎和知识图谱结果结合使用、用新信息微调基础 LLMs,以及结合这两种方法。尽管所有方法都改善了 LLMs 的性能,但仅使用 RAG 并未显著提升性能,需要微调以获得更好结果。最后,混合方法在 CRAG 基准中取得了最高分。此外,我们的方法强调使用参数少于 100 亿的相对较小的模型,促进资源效率。

英文摘要:

Hallucination is a key roadblock for applications of Large Language Models (LLMs), particularly for enterprise applications that are sensitive to information accuracy. To address this issue, two general approaches have been explored: Retrieval-Augmented Generation (RAG) to supply LLMs with updated information as context, and fine-tuning the LLMs with new information and desired output styles. In this paper, we propose Honest AI: a novel strategy to fine-tune "small" language models to say "I don't know" to reduce hallucination, along with several alternative RAG approaches. The solution ranked 1st in Task 2 for the false premise question. The alternative approaches include using RAG with search engine and knowledge graph results, fine-tuning base LLMs with new information and combinations of both approaches. Although all approaches improve the performance of the LLMs, RAG alone does not significantly improve the performance and fine-tuning is needed for better results. Finally, the hybrid approach achieved the highest score in the CRAG benchmark. In addition, our approach emphasizes the use of relatively small models with fewer than 10 billion parameters, promoting resource efficiency.

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

↑