保持信息连贯性:通过吸收马尔可夫链迁移大语言模型中的幻觉
Maintaining Informative Coherence: Migrating Hallucinations in Large Language Models via Absorbing Markov Chains
AI总结:
本文提出利用吸收马尔可夫链量化上下文信息重要性与生成信息损失的免训练解码策略,通过遍历 token 全路径提升可靠性,并在多个基准上验证其幻觉缓解效果。
摘要:
大语言模型(LLM)是用于文本生成、翻译和摘要的强大工具,但它们经常受到幻觉的困扰——所谓幻觉,是指模型在解码过程中无法保持上下文信息的保真度与连贯性,有时会因其采样策略以及训练数据带来的固有偏差和微调差异而忽略关键细节。这些幻觉可能在网络中传播,影响在线信息传播的可信度。为解决这一问题,我们提出一种新颖的解码策略,利用吸收马尔可夫链来量化上下文信息的重要性,并衡量生成过程中信息损失的程度。通过考虑从第一个 token 到最后一个 token 的所有可能路径,我们的方法无需额外训练或外部数据即可提高模型输出的可靠性。在包括 TruthfulQA、FACTOR 和 HaluEval 在内的数据集上的评估突显了我们的方法在缓解幻觉方面的优越性能,并强调了在基于 Web 的应用中确保准确信息流的必要性。
英文摘要:
Large Language Models (LLMs) are powerful tools for text generation, translation, and summarization, but they often suffer from hallucinations-instances where they fail to maintain the fidelity and coherence of contextual information during decoding, sometimes overlooking critical details due to their sampling strategies and inherent biases from training data and fine-tuning discrepancies. These hallucinations can propagate through the web, affecting the trustworthiness of information disseminated online. To address this issue, we propose a novel decoding strategy that leverages absorbing Markov chains to quantify the significance of contextual information and measure the extent of information loss during generation. By considering all possible paths from the first to the last token, our approach enhances the reliability of model outputs without requiring additional training or external data. Evaluations on datasets including TruthfulQA, FACTOR, and HaluEval highlight the superior performance of our method in mitigating hallucinations, underscoring the necessity of ensuring accurate information flow in web-based applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。