mlsanityData to 14 Oct 2026

Aligning Transformers with Continuous Feedback via Energy Rank Alignment

arXiv 2405.12961 ↗First posted 21 May 2024cs.LG cs.AI physics.chem-phcited by 7

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

  1. 2023Preference Optimization for Molecular Language Models18 Oct

Other references · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  6. 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 912
  7. 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 765
  8. 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 759
  9. 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 504
  10. 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
  11. 2021Therapeutics Data Commons: Machine Learning Datasets and Tasks for Drug Discovery and Developmentcited by 264
  12. 2018Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Predictioncited by 229
7 more
  1. 2023Nash Learning from Human Feedbackcited by 224
  2. 2024Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Datacited by 185
  3. 2022Sample Efficiency Matters: A Benchmark for Practical Molecular Optimizationcited by 155
  4. 2023Beyond One-Preference-Fits-All Alignment: Multi-Objective Direct Preference Optimizationcited by 124
  5. 2017"Found in Translation": Predicting Outcomes of Complex Organic Chemistry Reactions using Neural Sequence-to-Sequence Modelscited by 55
  6. 2023Direct Preference-based Policy Optimization without Reward Modelingcited by 36
  7. 2024ACEGEN: Reinforcement learning of generative chemical agents for drug discoverycited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 0; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026PairIT: Autoregressive Transformers for Low-Data Molecule Optimization
  2. 2024Aligning Target-Aware Molecule Diffusion Models with Exact Energy Optimization
  3. 2024It Takes Two to Tango: Directly Optimizing for Constrained Synthesizability in Generative Molecular Design
  4. 2026Adopting Reinforcement Learning with Verifiable Rewards for Molecular Generation
  5. 2026C-MORAL: Controllable Multi-Objective Molecular Optimization with Reinforcement Alignment for LLMs
  6. 2026Scaffold-Conditioned Preference Triplets for Controllable Molecular Optimization with Large Language Models
  7. 2026Physio-DPO: Aligning Large Language Models with the Protein Energy Landscape to Eliminate Structural Hallucinations
  8. 2021Generating stable molecules using imitation and reinforcement learning