Aligning Transformers with Continuous Feedback via Energy Rank Alignment
On the map: LLM alignment / RLHF / preference optimisation → Preference optimization for molecular design
Abstract (arXiv)
Searching through chemical space is an exceptionally challenging problem because the number of possible molecules grows combinatorially with the number of atoms. Large, autoregressive models trained on databases of chemical compounds have yielded powerful generators, but we still lack robust strategies for generating molecules with desired properties. This molecular search problem closely resembles the "alignment" problem for large language models, though for many chemical tasks we have a specific and easily evaluable reward function. Here, we introduce an algorithm called energy rank alignment (ERA) that leverages an explicit reward function to produce a gradient-based objective that we use to optimize autoregressive policies. We show theoretically that this algorithm is closely related to proximal policy optimization (PPO) and direct preference optimization (DPO), but has a minimizer that converges to an ideal Gibbs-Boltzmann distribution with the reward playing the role of an energy function. Furthermore, this algorithm is highly scalable, does not require reinforcement learning, and performs well relative to DPO when the number of preference observations per pairing is small. We deploy this approach to align molecular transformers and protein language models to generate molecules and protein sequences, respectively, with externally specified properties and find that it does so robustly, searching through diverse parts of chemical space.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Preference optimization for molecular design, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 20 of its 53 references that are in the map. First posted on arXiv 21 May 2024.
Builds on
20 of 53 references.
Closest ancestors · 1
Same direction, newest first
Other references · 19
- 2017Attention Is All You Needcited by 60,361
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 912
- 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 765
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 759
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 504
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
- 2021Therapeutics Data Commons: Machine Learning Datasets and Tasks for Drug Discovery and Developmentcited by 264
- 2018Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Predictioncited by 229
7 more
- 2023Nash Learning from Human Feedbackcited by 224
- 2024Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Datacited by 185
- 2022Sample Efficiency Matters: A Benchmark for Practical Molecular Optimizationcited by 155
- 2023Beyond One-Preference-Fits-All Alignment: Multi-Objective Direct Preference Optimizationcited by 124
- 2017"Found in Translation": Predicting Outcomes of Complex Organic Chemistry Reactions using Neural Sequence-to-Sequence Modelscited by 55
- 2023Direct Preference-based Policy Optimization without Reward Modelingcited by 36
- 2024ACEGEN: Reinforcement learning of generative chemical agents for drug discoverycited by 14
Built on by
Citing papers per year: 2024: 4; 2025: 0; 2026: 3.
7 papers.
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Modelscited by 129
- 2024Preference Learning Algorithms Do Not Learn Preference Rankingscited by 48
- 2024Reflections from the 2024 Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistrycited by 8
- 2024Boltzmann-Aligned Inverse Folding Model as a Predictor of Mutational Effects on Protein-Protein Interactionscited by 5
- 2026Pareto-Optimal Offline Reinforcement Learning via Smooth Tchebycheff Scalarizationcited by 0
- 2026Training Large Language Models for Small-Molecule Design with Synthetic Task Scalingcited by 0
- 2026Generative modeling of intrinsically disordered protein regions by reinforcing sparse autoencoder featurescited by 0
- 2026Generative modeling of intrinsically disordered protein regions by reinforcing sparse autoencoder features1 Oct 2026
- 2026Training Large Language Models for Small-Molecule Design with Synthetic Task Scaling4 Sep 2026
- 2026Pareto-Optimal Offline Reinforcement Learning via Smooth Tchebycheff Scalarization14 Apr 2026
- 2024Reflections from the 2024 Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistry20 Nov 2024
- 2024Boltzmann-Aligned Inverse Folding Model as a Predictor of Mutational Effects on Protein-Protein Interactions12 Oct 2024
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Models3 Jun 2024
- 2024Preference Learning Algorithms Do Not Learn Preference Rankings29 May 2024
Similar, not cited
Close in wording, no citation either way
- 2026PairIT: Autoregressive Transformers for Low-Data Molecule Optimization
- 2024Aligning Target-Aware Molecule Diffusion Models with Exact Energy Optimization
- 2024It Takes Two to Tango: Directly Optimizing for Constrained Synthesizability in Generative Molecular Design
- 2026Adopting Reinforcement Learning with Verifiable Rewards for Molecular Generation
- 2026C-MORAL: Controllable Multi-Objective Molecular Optimization with Reinforcement Alignment for LLMs
- 2026Scaffold-Conditioned Preference Triplets for Controllable Molecular Optimization with Large Language Models
- 2026Physio-DPO: Aligning Large Language Models with the Protein Energy Landscape to Eliminate Structural Hallucinations
- 2021Generating stable molecules using imitation and reinforcement learning