PolyRL: reinforcement learning-guided polymer generation for multi-objective polymer discovery

Wentao Li, Y. H. Li, Lei Qi, Zhi Wang, Xiaonan WangDigital 2025

Abstract

PolyRL integrates property prediction, polymer generation, reinforcement learning, and molecular dynamics validation into a closed-loop framework for polymer discovery.

Introduction

The design of polymers with tailored properties, such as high permeability and selectivity for gas separation, presents a significant challenge due to the vastness of the chemical space. Traditional discovery methods, characterized by trial-and-error and computationally intensive simulations, are insufficient for exploring this near-infinite domain. While machine learning has advanced property prediction, "inverse design"—generating specific chemical structures to meet predefined performance targets—remains a hurdle. Furthermore, many existing models lack integrated physical validation. PolyRL addresses these gaps by providing a goal-directed, closed-loop system for automated polymer discovery.

The PolyRL Framework

The PolyRL system operates through a four-stage integrated pipeline designed to move from data acquisition to physical validation.

The PolyRL framework: a closed-loop system integrating property modeling, generative pre-training, reinforcement learning, and molecular dynamics validation.
  1. Property Model Training: Surrogate "reward models," including Random Forest and PolyBERT, are trained to predict gas permeability and selectivity from polymer structures.
  2. Generative Model Pre-training: Large language models (LLMs) such as GPT-2, LLaMA2, and LSTM are trained on a dataset of 1 million hypothetical polymer sequences. These models utilize P-SMILES, a specialized text representation, to learn the underlying grammar of polymer chemistry.
  3. Reinforcement Learning (RL) Fine-tuning: At the core of the framework, an RL agent (the Generator) proposes novel structures. A Predictor evaluates these structures, providing rewards based on performance goals. Evaluation of six RL algorithms identified REINVENT and REINFORCE as the most effective for balancing exploration and exploitation.
  4. Molecular Dynamics (MD) Evaluation: Top candidates are subjected to rigorous physical simulations to verify their transport properties, closing the loop between AI prediction and physical reality.

Experimental Setup and Datasets

The framework was evaluated using a primary dataset of 353 gas separation polymers curated from literature. Pre-training was conducted on 1 million hypothetical polymers to ensure the generative models understood polymer semantics. A standardized benchmark was established to evaluate RL-based generation across eight metrics, including validity, novelty, and synthetic accessibility.

Results and Discussion

Performance and Architecture

Transformer-based architectures (GPT-2, LLaMA2) significantly outperformed RNN-based models (LSTM) in exploring chemical space and identifying specific substructure information. In the RL phase, policy gradient methods (REINVENT) proved superior to actor-critic methods (A2C, PPO), which often converged prematurely to local optima.

Chemical Insights

The AI-driven discovery process revealed a consistent preference for monomers containing silicon (Si) atoms and large ring structures. These bulky, fan-shaped groups disrupt polymer chain packing, thereby increasing the "free volume" essential for high gas permeability.

Validation and Benchmarking

PolyRL successfully generated candidates that exceeded the Robeson upper bound, the empirical limit for the trade-off between permeability and selectivity. The generative models achieved up to 100% validity in P-SMILES string production. Crucially, MD simulations confirmed the AI's predictions; one top candidate achieved an MD-derived performance score of 1.90, closely matching the predicted score of 2.01.

Conclusion

PolyRL demonstrates the potential of closed-loop reinforcement learning for materials discovery. While the framework successfully identifies high-performance candidates, future work will focus on refining reward models to reduce performance overestimation and integrating synthetic accessibility filters to ensure the manufacturability of generated polymers. Expanding the framework to include properties like thermal stability and mechanical strength will further enhance its utility in industrial applications.

Summary updated

BibTeX
@inproceedings{li2025polyrl,
  author = {Wentao Li and Y. H. Li and Lei Qi and Zhi Wang and Xiaonan Wang},
  title = {{PolyRL: reinforcement learning-guided polymer generation for multi-objective polymer discovery}},
  booktitle = {Digital},
  year = {2025},
  doi = {10.1039/d5dd00272a},
}
Figure