Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine

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 **L**LM-based **E**ntropy-guided **O**ptimization with k**N**owledgeable 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.

Cite

Text

Yao et al. "Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine." International Conference on Learning Representations, 2026.

Markdown

[Yao et al. "Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/yao2026iclr-knowledgeable/)

BibTeX

@inproceedings{yao2026iclr-knowledgeable,
  title     = {{Knowledgeable Language Models as Black-Box Optimizers for Personalized Medicine}},
  author    = {Yao, Michael S and Bastani, Osbert and Andersson, Alma and Biancalani, Tommaso and BenTaieb, Aicha and Iriondo, Claudia},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/yao2026iclr-knowledgeable/}
}