TL;DR
BioTool is a new, human-verified dataset of 7,040 query-API pairs designed to teach Large Language Models (LLMs) how to use specialized biomedical databases like NCBI, Ensembl, and UniProt. By instruction-tuning a compact 4-billion-parameter model on BioTool, researchers outperformed frontier models like GPT-5.1 and Claude 4.5 Sonnet in tool-calling accuracy, drastically reducing hallucinations and knowledge gaps in complex biological tasks.
What Problem Does This Paper Address?
While LLMs excel at general-purpose language tasks, they frequently stumble in highly specialized scientific domains. In biomedicine, even human experts cannot deduce the function of a raw nucleotide sequence or find specific genetic linkages without querying external computational tools and databases.
When standard LLMs are asked these questions, they suffer from domain-specific hallucinations, imprecise generalizations, or outright knowledge gaps. Previous attempts to fix this relied on in-context learning (prompting the model with tool descriptions and examples). However, this approach is severely bottlenecked by context window limits and fails to capture the complex schemas, strict identifier formats, and parameter conventions required by primary biological repositories.
Methods
The authors developed a multi-stage pipeline to build BIOTOOL, moving from automated generation to rigorous filtering and human verification:
- Tool & Parameter Selection: The team selected 34 widely used tools comprising 124 API endpoints across NCBI, UniProt, and Ensembl. They manually curated biologically meaningful arguments (e.g., taxon IDs, gene symbols) to ensure realistic API calls.
- API Call Synthesis & Verification: Candidate API calls were randomly sampled and executed. The authors applied a novel heuristic filter to discard failed executions, empty responses, and overly redundant calls, leaving 3,829 unique, functional API calls.
- User Query Generation via CoT: Using OpenAI's o3 model with Chain-of-Thought (CoT) prompting, the system summarized the technical API responses into natural language descriptions, which were then used to generate realistic user queries. This ensured that the API data was necessary to answer the query.
- Informativeness Filtering & Human Refinement: Claude Haiku 4.5 acted as a judge to filter out vague or unrelated pairs. Finally, human bioinformatics experts reviewed and refined the remaining queries to ensure precise biological terminology.
Datasets
The paper introduces BIOTOOL, an instruction fine-tuning dataset containing 7,040 high-quality query-API call pairs. The dataset is highly balanced across its three primary database sources: UniProt (33.9%), Ensembl (33.5%), and NCBI (32.6%). It spans multiple critical biological subdomains, heavily featuring genomics (40.8%) and proteomics (28.2%), alongside variation, evolution, literature, and general biology.
Key Insights and Ideas
- Small Models, Big Domain Expertise: The most significant takeaway is that massive parameter scale isn't necessary for specialized tool use. A 4B parameter model explicitly trained on high-density domain data can easily beat a closed 100B+ parameter model relying on prompts.
- The Literal Translation Trap: Proprietary models fail at biological tool-calling because they try to pass literal natural language terms from the query (e.g., passing
species="goat"orpopulation_name="NextGen") instead of mapping them to strict database identifiers (likespecies="capra_hircus"orpopulation_name="NextGen:All"). Fine-tuning successfully teaches the model this implicit mapping. - Exact Match vs. Functional Success: There is a massive divergence between an Exact Match (EM) of the API string and API Success (AS). While frontier models can sometimes guess a functional API call structure (high AS), their exact parameter matching (EM) is incredibly low, leading to subtly wrong biological data retrieval.
Key Results
The authors evaluated several open-source models (fine-tuned on BioTool) against frontier proprietary models using a specialized BioTool score (which measures the semantic embedding similarity of the retrieved biological facts to the ground truth).
- API Calling Performance: The BioTool-fine-tuned Qwen3-4B-Instruct model achieved the highest overall BioTool score of 93.6, outperforming the strongest proprietary model, Claude 4.5 Sonnet (81.4), by 15.0% and GPT-5.1 (55.4) by 68.9%.
- Syntax Fidelity: In Exact Match (EM) testing on the NCBI subset, GPT-5.1 scored a flat 0.0% due to strict identifier constraints, while the fine-tuned Qwen3-4B-Instruct achieved 66.7%.
- Downstream Answer Quality: In side-by-side human expert evaluations, a GPT-5.1 model augmented with the BioTool-fine-tuned Qwen3-4B tool caller achieved an 84.5% adjusted win rate over the base GPT-5.1 model operating without tools.
Limitations and Future Work
Currently, BioTool is strictly limited to one-hop tool calling. It assumes a single query can be answered with a single API interaction. Real-world biomedical workflows, however, are highly iterative and frequently require multi-hop reasoning or sequential tool chaining (e.g., using BLAST to find a sequence ID, then querying Ensembl for its genomic coordinates).
Additionally, the authors did not fine-tune an end-to-end autonomous agent due to the extreme context lengths of raw biological data. The authors note that future work must explore long-context architectures to handle multi-step reasoning trajectories over raw biological outputs.
Summary updated