arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.15576cs.CL
收藏

使用认知神经网络减少大语言模型幻觉

Reducing LLM Hallucinations using Epistemic Neural Networks

Georgia Institute of Technology(佐治亚理工学院)

Shreyas Verma, Kien Tran, Yusuf Ali, Guangyu Min

AI总结:

本研究提出在Llama-2 7B模型上训练认知神经网络并结合对比解码,以利用潜在嵌入减少大语言模型幻觉,并在TruthfulQA数据集上验证其有效性。

摘要:

减少和检测大语言模型中的幻觉是一个开放的研究问题。在本项目中,我们尝试利用不确定性估计领域的最新进展来减少冻结的大语言模型中的幻觉。认知神经网络(ENNs)最近被提出用于改进大型预训练模型的输出联合分布。ENN是附加在大型冻结模型上的小型网络,用于改进模型的联合分布和不确定性估计。在这项工作中,我们在Llama-2 7B模型之上训练了一个认知神经网络,并结合了对比解码特征增强技术。我们是首个为下一词预测任务训练ENN的研究团队,并探索了该方法在TruthfulQA数据集上减少幻觉的有效性。本质上,我们提供了一种利用预训练模型的潜在嵌入来减少幻觉的方法。

英文摘要:

Reducing and detecting hallucinations in large language models is an open research problem. In this project, we attempt to leverage recent advances in the field of uncertainty estimation to reduce hallucinations in frozen large language models. Epistemic neural networks have recently been proposed to improve output joint distributions for large pre-trained models. ENNs are small networks attached to large, frozen models to improve the model's joint distributions and uncertainty estimates. In this work, we train an epistemic neural network on top of the Llama-2 7B model combined with a contrastive decoding feature enhancement technique. We are the first to train an ENN for the next token prediction task and explore the efficacy of this method in reducing hallucinations on the TruthfulQA dataset. In essence, we provide a method that leverages a pre-trained model's latent embeddings to reduce hallucinations.

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

↑