CycleChemist: A Dual-Pronged Machine Learning Framework for Organic Photovoltaic Discovery

Hou Hei Lam, Jiangjie Qiu, Xiuyuan Hu, Wentao Li, Fankun Zeng, Siwei Fu, Hao Zhang, Xiaonan Wang · DOI

Abstract

Organic photovoltaics (OPVs) represent a promising frontier for flexible, low-cost solar energy. However, the vast chemical space of potential donor-acceptor pairs makes experimental discovery prohibitively slow. We present CycleChemist, a dual-pronged machine learning framework that integrates high-accuracy property prediction with generative molecular design. By leveraging a novel, curated dataset (OPV2D) and a transformer-based generator (MatGPT) optimized via reinforcement learning, CycleChemist identifies high-efficiency material pairs while ensuring chemical validity and physical realism.

Introduction

The search for optimal organic photovoltaic materials is often described as a "needle-in-a-haystack" problem. Traditional silicon solar cells are efficient but rigid and expensive to manufacture. OPVs offer a lightweight alternative, yet their performance depends on the complex synergistic interaction between a donor and an acceptor molecule.

Existing computational approaches often suffer from two primary limitations: a "one-sided" bias that optimizes molecules in isolation, and a severe scarcity of high-quality experimental data for donor-acceptor pairs. CycleChemist addresses these gaps by treating the donor-acceptor pair as a unified system and providing a generative tool capable of designing novel molecules tailored to specific electronic requirements.

The CycleChemist Framework

The CycleChemist architecture is divided into two synergistic modules: a Predictive Prong for evaluating material performance and a Generative Prong for designing new candidates.

The dual-pronged CycleChemist framework combining material design (generative) and property prediction (predictive) modules.

Predictive Prong

The predictive module consists of three specialized components:

  1. OPVC (Classifier): A Random Forest model that acts as a first-pass filter to exclude molecules unlikely to function as OPV materials.
  2. MOE² (Molecular Orbital Energy Estimator): A hierarchical Graph Neural Network (GNN) based on GATv2 that predicts HOMO and LUMO energy levels, providing the "electronic fingerprints" necessary for device physics.
  3. P³ (Photovoltaic Performance Predictor): The core predictive innovation, P³ utilizes a cross-attention mechanism to explicitly model the "handshake" or interaction between donor and acceptor molecules, allowing for accurate estimation of Power Conversion Efficiency (PCE).

Generative Prong: MatGPT

The generative component, MatGPT, is built upon the GPT-2 architecture and trained on SMILES strings. To better handle the cyclic patterns inherent in chemical structures, the authors incorporated Rotary Positional Embeddings (RoPE) and Gated Linear Units (GLU). The generator is fine-tuned using reinforcement learning (RL) with a multi-objective reward function that balances predicted PCE, chemical validity, and adherence to realistic electronic property distributions via KL divergence.

Data Foundations and Key Insights

A significant contribution of this work is the OPV2D dataset, the largest curated collection of its kind, containing 2,000 experimentally characterized donor-acceptor pairs. This dataset, supplemented by pre-training on 5 million molecules from PubChem and 51,000 non-fullerene acceptors, provides the robust foundation needed for generalization.

A key insight of the framework is the importance of interaction modeling. By using cross-attention in the P³ model, CycleChemist mimics the physical charge transfer process. Furthermore, the use of KL divergence in the RL loop prevents the "reward hacking" common in generative models, ensuring that "dreamed up" molecules remain statistically similar to known high-performers.

Results and Validation

CycleChemist demonstrates state-of-the-art performance across both prediction and generation tasks. The P³ model achieved a peak $R^2$ score of 0.716 for PCE prediction, significantly outperforming standard GNNs.

Performance comparison of MatGPT variants against baseline models across various chemical validity and novelty metrics.

As shown in the performance analysis, MatGPT variants achieve exceptional scores in chemical validity (97.4%) and novelty (99.9%). Physical validation using Density Functional Theory (DFT) simulations confirmed that the AI-designed acceptors for the donor PTB7-Th exhibited perfectly aligned energy levels and complementary absorption spectra, bridging the gap between computational generation and experimental reality.

Conclusion and Future Directions

CycleChemist represents a major advancement in the automated discovery of organic electronics. While the framework currently faces challenges regarding the synthetic feasibility of generated molecules and the impact of real-world fabrication noise, it establishes a powerful template for unified material design. Future work will focus on incorporating active learning cycles and embedding more stringent experimental constraints directly into the generative reward function.

Summary updated

BibTeX
@inproceedings{lam2026cyclechemist,
  author = {Hou Hei Lam and Jiangjie Qiu and Xiuyuan Hu and Wentao Li and Fankun Zeng and Siwei Fu and Hao Zhang and Xiaonan Wang},
  title = {{CycleChemist: A Dual-Pronged Machine Learning Framework for Organic Photovoltaic Discovery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i45.41224},
}
Figure