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

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

30 Sep 2025ICLRarXiv:2510.00307added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.00307")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

thierry123454/tool-selection-bias found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from thierry123454/tool-selection-bias. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

approx_tokens thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/generate_data_gemini.py found in paper text by Syntology unverified no licence file found · pointer only · 9100f6fca4585d96 · report
compute_stats thierry123454/tool-selection-bias/5_bias_investigation/analyze_features/calc_stats_feats.py found in paper text by Syntology unverified no licence file found · pointer only · 93a14e5a9ccc1a74 · report
cosine_similarity thierry123454/tool-selection-bias/5_bias_investigation/analyze_features/sense_of_scale.py found in paper text by Syntology unverified no licence file found · pointer only · 2bad52a890367fbe · report
count_existing_lines thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/generate_data_gemini.py found in paper text by Syntology unverified no licence file found · pointer only · ff4ecc06bb7d6319 · report
count_words thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/generate_data_gemini.py found in paper text by Syntology unverified no licence file found · pointer only · 2498e76b5f8a7bd9 · report
escape_tex thierry123454/tool-selection-bias/5_bias_investigation/analyze_features/lr.py found in paper text by Syntology unverified no licence file found · pointer only · 7d76e26c69b1b999 · report
example_call thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/generate_data.py found in paper text by Syntology unverified no licence file found · pointer only · 58cafcae23a256be · report
get_conv_template thierry123454/tool-selection-bias/toolbench/tool_conversation.py found in paper text by Syntology unverified no licence file found · pointer only · eab40e1435b85709 · report
load_json thierry123454/tool-selection-bias/5_bias_investigation/extract_features/add_selection_rate.py found in paper text by Syntology unverified no licence file found · pointer only · a0c7393409fd0be9 · report
parse_action thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/plot_compare_base_vs_adapted.py found in paper text by Syntology unverified no licence file found · pointer only · 98bbe08b08d7a02b · report
render_param thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/generate_data.py found in paper text by Syntology unverified no licence file found · pointer only · 64903b61e4b03492 · report
standardize thierry123454/tool-selection-bias/5_bias_investigation/continued_pretraining/plot_compare_base_vs_adapted.py found in paper text by Syntology unverified no licence file found · pointer only · 853c161b9ef4dc1e · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.00307, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections