Benchmarking Large Language Models for Bio-Image Analysis Code Generation
Robert HaaseiD, Christian TischeriD, Jean-Karim HèrichéiD, Nico ScherfiD
Abstract
In the computational age, life-scientists often have to write Python code to solve bio-image analysis (BIA) problems. Many of them have not been formally trained in programming though. Code-generation, or coding assistance in general, with Large Language Models (LLMs) can have a clear impact on BIA. To the best of our knowledge, the quality of the generated code in this domain has not been studied. We present a quantitative benchmark to estimate the capability of LLMs to generate code for solving common BIA tasks. Our benchmark currently consists of 57 human-written prompts with corresponding reference solutions in Python, and unit-tests to evaluate functional correctness of potential solutions. We demonstrate our benchmark here and compare 18 state-of-the-art LLMs. To ensure that we will cover most of our community needs we also outline mid- and long-term strategies to maintain and extend the benchmark by the BIA open-source community. This work should support users in deciding for an LLM and also guide LLM developers in improving the capabilities of LLMs in the BIA domain.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Out-of-the-box bioinformatics capabilities of large language models (LLMs)
Varsha Rajesh, Maceo Blumberg, … Geoffrey Siwo·BioinformaticsPeer-reviewed·Oct 29, 2026
- A benchmark for large language models in bioinformatics
Varuni Sarwal, Gaia Andreoletti, … Serghei Mangul·bioRxiv·Dec 19, 2023
- PromptBio-Bench: Benchmarking LLM-based Bioinformatics Agents for End-to-End Data Analysis
Wenbin Guo, Minzhe Zhang, … Shashi Dhar·bioRxiv·Jun 1, 2026
- Bioinfo-Bench: A Simple Benchmark Framework for LLM Bioinformatics Skills Evaluation
Qiyuan Chen, Cheng Deng·bioRxiv·Oct 18, 2023
- BioLP-bench: Measuring understanding of biological lab protocols by large language models
Igor Ivanov·bioRxiv·Aug 21, 2024
- BioML-bench: Evaluation of AI Agents for End-to-End Biomedical ML
Henry E. Miller, Matthew Greenig, … Bo Wang·bioRxiv·Sep 1, 2025