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

BiasBusters: 检测和缓解大语言模型中的工具选择偏差

BiasBusters: Uncovering and Mitigating Tool Selection Bias in Large Language Models

University of Oxford(牛津大学);Microsoft(微软)

Thierry Blankenstein, Jialin Yu, Zixuan Li, Vassilis Plachouras, Sunando Sengupta, Philip Torr, Yarin Gal, Alasdair Paren, Adel Bibi

AI总结:

研究通过基准测试揭示LLM工具选择中的系统性偏差,并提出轻量级缓解策略以减少选择偏差。

摘要:

基于大语言模型(LLMs)的智能体越来越多地依赖于市场中提供的多种功能等效工具。这引发了一个关键的公平性问题:系统性的工具选择偏差会降低用户体验并扭曲竞争,通过偏袒某些提供商。我们引入了一个包含多个功能等效工具的多样化工具类别基准,以系统地评估工具选择偏差。使用此基准,我们评估了七种LLM,并发现存在显著的偏差,模型要么专注于单一提供商,要么倾向于上下文中出现较早的工具。为了揭示这种行为的来源,我们进行了受控实验,隔离了工具特征、暴露的元数据(名称、描述和参数)以及预训练暴露的影响。我们发现(1)用户查询与工具元数据之间的语义对齐是选择的主要驱动因素;(2)对工具描述的小扰动可以显著改变选择;(3)对单一终点的重复预训练暴露会放大提供商层面的偏差。最后,我们提出了一种轻量级的缓解策略,首先过滤工具到相关子集,然后进行均匀采样,显著减少选择偏差,同时保持强大的任务覆盖。我们的结果突显了工具选择偏差作为公平部署工具增强LLM代理的关键障碍。我们的代码和基准已公开在https://github.com/thierry123454/tool-selection-bias。

英文摘要:

Agents backed by large language models (LLMs) increasingly rely on external tools drawn from marketplaces where multiple providers offer functionally equivalent options. This raises a critical fairness concern: systematic bias in tool selection can degrade user experience and distort competition by privileging certain providers over others. We introduce a benchmark of diverse tool categories, each containing multiple functionally equivalent tools, to systematically evaluate tool-selection bias. Using this benchmark, we evaluate seven LLMs and show that substantial bias persists, with models either fixating on a single provider or disproportionately favoring tools that appear earlier in the context. To uncover the sources of this behavior, we conduct controlled experiments that isolate the effects of tool features, exposed metadata (name, description, and parameters), and pre-training exposure. We find that (1) semantic alignment between user queries and tool metadata is the strongest driver of selection; (2) small perturbations to tool descriptions can significantly shift choices; and (3) repeated pre-training exposure to a single endpoint amplifies provider-level bias. Finally, we propose a lightweight mitigation strategy that first filters tools to a relevant subset and then samples uniformly, substantially reducing selection bias while maintaining strong task coverage. Our results highlight tool-selection bias as a key obstacle to the fair deployment of tool-augmented LLM agents. Our code and benchmark are publicly available at https://github.com/thierry123454/tool-selection-bias.

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

↑