arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.05483cs.AIcs.CL
收藏

我们能信任一个黑盒大语言模型吗?通过偏见扩散和多智能体强化学习进行大语言模型不可信边界检测

Can We Trust a Black-box LLM? LLM Untrustworthy Boundary Detection via Bias-Diffusion and Multi-Agent Reinforcement Learning

Worcester Polytechnic Institute(伍斯特理工学院);Indiana University Bloomington(印第安纳大学布卢明顿分校)

Xiaotian Zhou, Di Tang, Xiaofeng Wang, Xiaozhong Liu

AI总结:

本文提出GMRL-BD算法,通过知识图谱和多智能体强化学习识别大语言模型在特定主题上的偏见边界,实验表明该算法能以少量查询高效检测不可信边界,并发布包含多个流行大语言模型的标注数据集。

摘要:

大型语言模型(LLMs)在回答各种主题的问题上表现出强大的能力。然而,这些模型有时会产生偏见、意识形态化或错误的响应,限制了其应用,除非清楚了解哪些主题的答案可以被信任。在本研究中,我们介绍了一种名为GMRL-BD的新算法,旨在识别给定LLM的不可信边界(在主题方面),在具有黑盒访问权限的情况下,并在特定查询约束下。基于从维基百科导出的一般知识图谱(KG),我们的算法结合多个强化学习智能体,以高效识别LLM可能生成偏见回答的主题(KG中的一些节点)。我们的实验展示了该算法的效率,仅需有限的LLM查询即可检测不可信边界。此外,我们发布了包含流行LLM(如Llama2、Vicuna、Falcon、Qwen2、Gemma2和Yi-1.5)的新数据集,并附有标明每个LLM可能偏见的主题的标签。

英文摘要:

Large Language Models (LLMs) have shown a high capability in answering questions on a diverse range of topics. However, these models sometimes produce biased, ideologized or incorrect responses, limiting their applications if there is no clear understanding of which topics their answers can be trusted. In this research, we introduce a novel algorithm, named as GMRL-BD, designed to identify the untrustworthy boundaries (in terms of topics) of a given LLM, with black-box access to the LLM and under specific query constraints. Based on a general Knowledge Graph (KG) derived from Wikipedia, our algorithm incorporates with multiple reinforcement learning agents to efficiently identify topics (some nodes in KG) where the LLM is likely to generate biased answers. Our experiments demonstrated the efficiency of our algorithm, which can detect the untrustworthy boundary with just limited queries to the LLM. Additionally, we have released a new dataset containing popular LLMs including Llama2, Vicuna, Falcon, Qwen2, Gemma2 and Yi-1.5, along with labels indicating the topics on which each LLM is likely to be biased.

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

↑