mlsanityData to 7 Oct 2026

Can Large Language Models Replace Data Scientists in Biomedical Research?

arXiv 2410.21591 ↗First posted 28 Oct 2024cs.AI cs.CL q-bio.GNcited by 1

Not on the map. Why?

Abstract (arXiv)

Data science plays a critical role in biomedical research, but it requires professionals with expertise in coding and medical data analysis. Large language models (LLMs) have shown great potential in supporting medical tasks and performing well in general coding tests. However, existing evaluations fail to assess their capability in biomedical data science, particularly in handling diverse data types such as genomics and clinical datasets. To address this gap, we developed a benchmark of data science coding tasks derived from the analyses of 39 published studies. This benchmark comprises 293 coding tasks (128 in Python and 165 in R) performed on real-world TCGA-type genomics and clinical data. Our findings reveal that the vanilla prompting of LLMs yields suboptimal performances due to drawbacks in following input instructions, understanding target data, and adhering to standard analysis practices. Next, we benchmarked six cutting-edge LLMs and advanced adaptation methods, finding two methods to be particularly effective: chain-of-thought prompting, which provides a step-by-step plan for data analysis, which led to a 21% code accuracy improvement (56.6% versus 35.3%); and self-reflection, enabling LLMs to refine the buggy code iteratively, yielding an 11% code accuracy improvement (45.5% versus 34.3%). Building on these insights, we developed a platform that integrates LLMs into the data science workflow for medical professionals. In a user study with five medical professionals, we found that while LLMs cannot fully automate programming tasks, they significantly streamline the programming process. We found that 80% of their submitted code solutions were incorporated from LLM-generated code, with up to 96% reuse in some cases. Our analysis highlights the potential of LLMs to enhance data science efficiency in biomedical research when integrated into expert workflows.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 47 references that are in the map. First posted on arXiv 28 Oct 2024.

Builds on

30 of 47 references.

References · 30

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  8. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  9. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  10. 2023Teaching Large Language Models to Self-Debugcited by 963
  11. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  12. 2021Measuring Coding Challenge Competence With APPScited by 879
18 more
  1. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  2. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  3. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  4. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  5. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  6. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  7. 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 244
  8. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  9. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  10. 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 89
  11. 2023Matching Patients to Clinical Trials with Large Language Modelscited by 68
  12. 2022Execution-based Evaluation for Data Science Code Generation Modelscited by 31
  13. 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
  14. 2023Large Language Models Streamline Automated Machine Learning for Clinical Studiescited by 24
  15. 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Modelscited by 24
  16. 2019Convolutional neural network models for cancer type prediction based on gene expressioncited by 22
  17. 2024Accelerating Clinical Evidence Synthesis with Large Language Modelscited by 15
  18. 2024Panacea: A foundation model for clinical trial search, summarization, design, and recruitmentcited by 10

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Biomedical Large Languages Models Seem not to be Superior to Generalist Models on Unseen Medical Data
  2. 2025A Scoping Review of Synthetic Data Generation by Language Models in Biomedical Research and Application: Data Utility and Quality Perspectives
  3. 2026Employing General-Purpose and Biomedical Large Language Models with Advanced Prompt Engineering for Pharmacoepidemiologic Study Design
  4. 2025Benchmarking Large Language Models on Multiple Tasks in Bioinformatics NLP with Prompting
  5. 2026A primer on evaluation methods for large language models in healthcare
  6. 2024A Survey for Large Language Models in Biomedicine
  7. 2024A Review on Scientific Knowledge Extraction using Large Language Models in Biomedical Sciences
  8. 2024Entry-level guide to the use of large language models for medical research