English

Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine

Machine Learning 2026-02-09 v2 Artificial Intelligence

Abstract

The goal of personalized medicine is to discover a treatment regimen that optimizes a patient's clinical outcome based on their personal genetic and environmental factors. However, candidate treatments cannot be arbitrarily administered to the patient to assess their efficacy; we often instead have access to an in silico surrogate model that approximates the true fitness of a proposed treatment. Unfortunately, such surrogate models have been shown to fail to generalize to previously unseen patient-treatment combinations. We hypothesize that domain-specific prior knowledge - such as medical textbooks and biomedical knowledge graphs - can provide a meaningful alternative signal of the fitness of proposed treatments. To this end, we introduce LLM-based Entropy-guided Optimization with kNowledgeable priors (LEON), a mathematically principled approach to leverage large language models (LLMs) as black-box optimizers without any task-specific fine-tuning, taking advantage of their ability to contextualize unstructured domain knowledge to propose personalized treatment plans in natural language. In practice, we implement LEON via 'optimization by prompting,' which uses LLMs as stochastic engines for proposing treatment designs. Experiments on real-world optimization tasks show LEON outperforms both traditional and LLM-based methods in proposing individualized treatments for patients.

Keywords

Cite

@article{arxiv.2509.20975,
  title  = {Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine},
  author = {Michael S. Yao and Osbert Bastani and Alma Andersson and Tommaso Biancalani and Aïcha Bentaieb and Claudia Iriondo},
  journal= {arXiv preprint arXiv:2509.20975},
  year   = {2026}
}

Comments

63 pages, Accepted to ICLR 2026

R2 v1 2026-07-01T05:55:48.056Z