Sign in
BioinformaticsbioRxiv
Preprint

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

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.

Similarity Map
SelectedSame fieldCross-field
THISRajesh '26Sarwal '23Guo '26Chen '23Ivanov '24Miller '25
68% semantic matchBioinformatics
Varsha Rajesh, Maceo Blumberg, Shreya Jain+1 more·Bioinformatics·Oct 29, 2026