Making large language models reliable data science programming copilots for biomedical research. Wang, Z., Danek, B., Yang, Z., Chen, Z., & Sun, J. Nature Biomedical Engineering, Nature Publishing Group, January, 2026.
Making large language models reliable data science programming copilots for biomedical research [link]Paper  doi  abstract   bibtex   
Large language models (LLMs) can generate impressive data visualizations from simple requests, yet their accuracy remains underexplored. Here we present a benchmark of 293 coding tasks derived from 39 studies across 7 biomedical research areas, including biomarkers, integrative analysis, genomic profiling, molecular characterization, therapeutic response, translational research and pan-cancer analysis. Benchmarking eight proprietary and eight open-source LLMs under various prompting strategies reveals an overall accuracy below 40%. This low accuracy raises serious concerns about the risk of propagating incorrect scientific findings when blindly relying on AI-generated analyses. Therefore, we develop an AI agent that begins with and iteratively refines an analysis plan before generating code, achieving 74% accuracy. We embody this insight in a platform that enables users to codevelop analysis plans with LLMs and execute them within an integrated environment. In a user study with five medical researchers, the platform enabled users to complete over 80% of the analysis code for three studies.
@article{wang_making_2026,
	title = {Making large language models reliable data science programming copilots for biomedical research},
	copyright = {2026 The Author(s), under exclusive licence to Springer Nature Limited},
	issn = {2157-846X},
	url = {https://www.nature.com/articles/s41551-025-01587-2},
	doi = {10.1038/s41551-025-01587-2},
	abstract = {Large language models (LLMs) can generate impressive data visualizations from simple requests, yet their accuracy remains underexplored. Here we present a benchmark of 293 coding tasks derived from 39 studies across 7 biomedical research areas, including biomarkers, integrative analysis, genomic profiling, molecular characterization, therapeutic response, translational research and pan-cancer analysis. Benchmarking eight proprietary and eight open-source LLMs under various prompting strategies reveals an overall accuracy below 40\%. This low accuracy raises serious concerns about the risk of propagating incorrect scientific findings when blindly relying on AI-generated analyses. Therefore, we develop an AI agent that begins with and iteratively refines an analysis plan before generating code, achieving 74\% accuracy. We embody this insight in a platform that enables users to codevelop analysis plans with LLMs and execute them within an integrated environment. In a user study with five medical researchers, the platform enabled users to complete over 80\% of the analysis code for three studies.},
	language = {en},
	urldate = {2026-01-26},
	journal = {Nature Biomedical Engineering},
	publisher = {Nature Publishing Group},
	author = {Wang, Zifeng and Danek, Benjamin and Yang, Ziwei and Chen, Zheng and Sun, Jimeng},
	month = jan,
	year = {2026},
	keywords = {Computational science, Data mining, Software},
	pages = {1--15},
}

Downloads: 0