LICO: Large Language Models for In-Context Molecular Optimization

Tung Nguyen, Aditya Grover
2/12/2026

No official code found. Best implementation: tung-nd/LICO (6 stars, last commit 2024-07-15).

Abstract

Optimizing black-box functions is a fundamental problem in science and engineering. To solve this problem, many approaches learn a surrogate function that estimates the underlying objective from limited historical evaluations. Large Language Models (LLMs), with their strong pattern-matching capabilities via pretraining on vast amounts of data, stand out as a potential candidate for surrogate modeling. However, directly prompting a pretrained language model to produce predictions is not feasible in many scientific domains due to the scarcity of domain-specific data in the pretraining corpora and the challenges of articulating complex problems in natural language. In this work, we introduce LICO, a general-purpose model that extends arbitrary base LLMs for black-box optimization, with a particular application to the molecular domain. To achieve this, we equip the language model with a separate embedding layer and prediction layer, and train the model to perform in-context predictions on a diverse set of functions defined over the domain. Once trained, LICO can generalize to unseen molecule properties simply via in-context prompting. LICO performs competitively on PMO, a challenging molecular optimization benchmark comprising 23 objective functions, and achieves state-of-the-art performance on its low-budget version PMO-1K.

View on arXivView PDF

Code Implementations(1)

tung-nd/LICOCommunity68%

Official implementation of LICO: Large Language Models for In-Context Molecular Optimization

60Apr 19, 20242 years ago

Similar Papers

Cite this paper

@article{nguyen2026lico,
  title  = {LICO: Large Language Models for In-Context Molecular Optimization},
  author = {Tung Nguyen and Aditya Grover},
  year   = {2026},
  eprint = {2406.18851},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.18851},
  journal = {ICLR 2024 2024}
}

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/2406.18851.svg)](https://codeofpaper.com/paper/2406.18851)

Discussion