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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 12 code samples harvested from 1 repository linked to this paper: 10 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 4 honoured, 0 violated, 1 with no contract checked; 5 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 5 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 10 ran (5 with no instrument failure; 5 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-25 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

thierry123454/tool-selection-bias found in paper text by SyntologySyntology: 12 samples, 10 ran (5 instrument-failed) · 2 unverified 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: 10 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 4 honoured, 0 violated, 1 with no contract checked; 5 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
5ran · our draft was wrong
1ran
2unverified

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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

thierry123454/tool-selection-bias found in paper text by Syntology 12 samples, 10 ran (5 instrument-failed) · 2 unverified
approx_tokens 5_bias_investigation/continued_pretraining/generate_data_gemini.py ran · honoured contract fingerprinted no licence file found · pointer only · 9100f6fca4585d96 · report fixture: signature s:str/0/str · returned int · level recorded 2026-09-25
compute_stats in 23 papers 5_bias_investigation/analyze_features/calc_stats_feats.py ran · honoured contract fingerprinted no licence file found · pointer only · 93a14e5a9ccc1a74 · report fixture: signature values:list/1/float · returned tuple · level recorded 2026-09-25
cosine_similarity in 120 papers
census: 26 implementations from 30 papers, 11 distinct outputs across 5 buckets, one shared input per bucket
5_bias_investigation/analyze_features/sense_of_scale.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 2bad52a890367fbe · report fixture: signature a:ndarray/1/float, b:ndarray/1/float · returned float · level recorded 2026-09-25
count_existing_lines 5_bias_investigation/continued_pretraining/generate_data_gemini.py ran · honoured contract fingerprinted no licence file found · pointer only · ff4ecc06bb7d6319 · report fixture: signature path:str/0/str · returned int · level recorded 2026-09-25
count_words in 28 papers 5_bias_investigation/continued_pretraining/generate_data_gemini.py ran · honoured contract fingerprinted no licence file found · pointer only · 2498e76b5f8a7bd9 · report fixture: signature s:str/0/str · returned int · level recorded 2026-09-25
escape_tex 5_bias_investigation/analyze_features/lr.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 7d76e26c69b1b999 · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-25
example_call 5_bias_investigation/continued_pretraining/generate_data.py ran fingerprinted no licence file found · pointer only · 58cafcae23a256be · report fixture: signature path:str/0/str, text_sample:str/0/str · returned str · level recorded 2026-09-25
load_json in 344 papers 5_bias_investigation/extract_features/add_selection_rate.py ran · our draft was wrong no licence file found · pointer only · a0c7393409fd0be9 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-26
render_param 5_bias_investigation/continued_pretraining/generate_data.py ran · our draft was wrong no licence file found · pointer only · 64903b61e4b03492 · report fixture: signature p:dict/0/? · returned str · level recorded 2026-09-25
standardize in 47 papers 5_bias_investigation/continued_pretraining/plot_compare_base_vs_adapted.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 853c161b9ef4dc1e · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-25
get_conv_template in 72 papers toolbench/tool_conversation.py unverified no licence file found · pointer only · eab40e1435b85709 · report
parse_action in 33 papers 5_bias_investigation/continued_pretraining/plot_compare_base_vs_adapted.py unverified no licence file found · pointer only · 98bbe08b08d7a02b · 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