atlas

Research map / Large language models / Agents, code and math

Generalists vs. Specialists: Evaluating LLMs on Highly-Constrained Biophysical Sequence Optimization Tasks

ICML 2025 · Large language models › Agents, code and math · approach: LLMs for scientific discovery · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Ehrlich functions, a procedurally generated closed-form test suite for constrained biophysical sequence optimization, and LLOME, a bilevel LLM optimization loop with a novel MargE preference loss, which is compared against LaMBO-2 and a genetic algorithm.

Problem

Evaluating and improving LLMs for highly constrained black-box biomolecular sequence optimization, where existing benchmarks are either expensive (wet lab/simulation) or too easy or leak into pretraining data.

Approach

Use Ehrlich functions (closed-form, provably solvable, tunable difficulty) as test beds, and train an LLM in an outer loop on oracle-labeled data while an inner loop generates candidates without oracle access; the MargE loss (FReKL objective with clipped margin reward and importance sampling from the reference policy) is used for training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LLOME-MargE instead of LLOME-SFT (ablation)LLOME on Ehrlich functions · Ehr(32, 32)-4-4-4 (f2)minimum regretHelped
Use LLOME-MargE instead of LLOME-DPO (ablation)LLOME · Ehrlich functionsrewardHelped
Use LLOME-MargE instead of LaMBO-2sequence optimization · Ehr(32, 32)-4-4-4 (f2)minimum regretHelped
Use LLOME-MargE instead of LaMBO-2sequence optimization · Ehr(32, 128)-4-4-4 (f3)minimum regretHurt
Add explicit reward-based MargE training after one SFT round (ablation)LLOME · Ehr(32, 32)-4-4-4 (f2)minimum regretHelped
Switch from SFT to MargE at an intermediate point (ablation)LLOME · Ehr(32, 32)-4-4-4 (f2)minimum regretHurt
Replace MargE training with REINFORCE (ablation)LLOME · Ehr(32, 32)-4-4-4 (f2)regretHurt
Use DPO training instead of SFT or MargE (ablation)LLOME · Ehrlich functionsfeasibilityHurt
Prompt with the full test-function specification instead of training with online feedbacko1 and Gemini 2 Flash Thinking · Ehr(32, 32)-4-4-4 (f2)minimum regret: 0.9375 and 0Mixed
Use LLOME-MargE instead of specialized solverssequence optimization · Easy f1 and difficult f4 Ehrlich functionsminimum regretNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Ehrlich functions (procedurally generated)

Benchmarks: Ehrlich functions Ehr(8,128)-8-8-8 Ehr(32,32)-4-4-4 Ehr(32,128)-4-4-4 Ehr(32,128)-8-8-8

Metrics: minimum simple regret average regret feasibility diversity (unique sequences) reward

Baselines: LaMBO-2 genetic algorithm LLOME-SFT LLOME-DPO REINFORCE o1 Gemini 2.0 Flash Thinking

Builds on: direct preference optimization REINFORCE LaMBO-2 generalized variational Bayes

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy