Pareto-Optimized Open-Source LLMs for Healthcare via Context Retrieval

Jordi Bayarri-Planas, Ashwin Kumar Gururajan, Dario Garcia-Gasulla
9/23/2024
cs.AI

No official code found. Best implementation: HPAI-BSC/prompt_engine (21 stars, Apache-2.0, last commit 2026-01-30).

Abstract

This study leverages optimized context retrieval to enhance open-source Large Language Models (LLMs) for cost-effective, high performance healthcare AI. We demonstrate that this approach achieves state-of-the-art accuracy on medical question answering at a fraction of the cost of proprietary models, significantly improving the cost-accuracy Pareto frontier on the MedQA benchmark. Key contributions include: (1) OpenMedQA, a novel benchmark revealing a performance gap in open-ended medical QA compared to multiple-choice formats; (2) a practical, reproducible pipeline for context retrieval optimization; and (3) open-source resources (Prompt Engine, CoT/ToT/Thinking databases) to empower healthcare AI development. By advancing retrieval techniques and QA evaluation, we enable more affordable and reliable LLM solutions for healthcare.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Evaluate your model using advanced prompt strategies

213PythonMay 8, 20248 months agoApache-2.0

Similar Papers

Cite this paper

@article{bayarriplanas2024paretooptimized,
  title  = {Pareto-Optimized Open-Source LLMs for Healthcare via Context Retrieval},
  author = {Jordi Bayarri-Planas and Ashwin Kumar Gururajan and Dario Garcia-Gasulla},
  year   = {2024},
  eprint = {2409.15127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.15127v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.15127.svg)](https://codeofpaper.com/paper/2409.15127)

Discussion