Designing Biological Sequences without Prior Knowledge Using Evolutionary Reinforcement Learning

Xi Zeng, Xiaotian Hao, Hongyao Tang, Zhentao Tang, Shaoqing Jiao, Dazhi Lu, Jiajie Peng

Abstract

Designing novel biological sequences, such as DNA, RNA, and proteins, is a high-dimensional search problem often constrained by limited labeled data. We present ERLBioSeq, a framework that combines Reinforcement Learning (RL) with Evolutionary Algorithms (EA) to navigate astronomical search spaces without prior knowledge. By utilizing a hybrid loop where RL provides directional guidance and EA facilitates robust local exploration, ERLBioSeq efficiently identifies high-fitness sequences. Our architecture incorporates a Local Global Feature Extraction Network (LGFEN) using CNNs and Bi-LSTMs to accurately predict sequence fitness. Experimental results across RNA binding, protein folding, and DNA transcription factor binding tasks demonstrate that ERLBioSeq consistently outperforms state-of-the-art baselines in both sequence quality and search efficiency.

Introduction

Designing a functional protein or a specific DNA strand is akin to searching for a needle in a galactic-sized haystack. For a protein just 66 amino acids long, the search space encompasses $20^{66}$ possible combinations. Traditional wet-lab experiments are prohibitively slow and expensive for such exploration. While computational methods have emerged, they typically struggle with two hurdles: data scarcity for novel tasks and the inherent trade-off between exploration and exploitation. Reinforcement Learning (RL) excels at directional learning but often converges on local optima, while Evolutionary Algorithms (EA) provide robust exploration but lack efficiency in utilizing directional information.

Methodology

ERLBioSeq introduces a hybrid framework that creates a mutual enhancement loop between RL and EA, allowing for effective sequence design without prior labeled data.

The Hybrid Loop

In each iteration, the RL agent generates sequences based on its learned understanding of the fitness landscape. These sequences are then passed to the EA component, which applies biological operators—specifically crossover and mutation—to explore the local neighborhood of the RL-generated candidates. This synergy allows the RL agent to escape local optima while providing the EA with high-quality starting points.

Local Global Feature Extraction Network (LGFEN)

To minimize reliance on expensive biological simulators, ERLBioSeq employs a predictor model to screen candidates. The LGFEN architecture combines:

  • Convolutional Neural Networks (CNNs): To capture local motifs and short-range functional patterns.
  • Bidirectional Long Short-Term Memory (Bi-LSTM): To model global dependencies and long-range interactions within the sequence.
The ERLBioSeq framework architecture, illustrating the integration of Evolutionary Algorithms (A), Reinforcement Learning (B), and the LGFEN predictor (C).

Experimental Setup

The framework was evaluated across three distinct biological domains:

  1. RNA Binding: Optimizing sequences of length 14 and 50 for maximum binding energy using the ViennaRNA package.
  2. Protein Design: Optimizing the structure of the 3MSI antifreeze protein (66 amino acids) using PyRosetta for folding energy calculations.
  3. DNA Transcription Factor Binding: Identifying length-8 DNA sequences with high binding activity based on the TF Bind 8 benchmark.

Results and Discussion

ERLBioSeq consistently outperformed top-tier baselines, including AdaLead, Dynappo, and GFlowNet, across all evaluated tasks.

Performance in RNA and DNA Design

In RNA binding tasks (L14 and L50), ERLBioSeq achieved higher cumulative maximum fitness scores and maintained superior average quality among the top 100 sequences compared to baselines. For the DNA TF Bind 8 task, the model reached a mean binding activity of 0.989, surpassing the next best baseline, AdaLead (0.984).

Performance comparison of ERLBioSeq against baselines on RNA binding tasks (L14 and L50), showing superior cumulative max fitness and top-sequence scores.

Protein Folding and Ablation Studies

For the complex 3MSI protein task, ERLBioSeq reached a significantly higher fitness plateau than competing methods, demonstrating its scalability to larger search spaces. Ablation studies confirmed the necessity of the LGFEN's dual architecture; removing either the Bi-LSTM or the CNN component resulted in a measurable decline in predictive accuracy and overall optimization performance.

Conclusion

ERLBioSeq represents a significant advancement in zero-knowledge biological sequence design. By merging the directional efficiency of RL with the exploratory power of EA, the framework identifies high-performing sequences in fewer experimental rounds. Future work will focus on tailoring reward functions for specific enzyme classes and scaling the architecture to handle entire genomic regions.

Summary updated

BibTeX
@inproceedings{zeng2024designing,
  author = {Xi Zeng and Xiaotian Hao and Hongyao Tang and Zhentao Tang and Shaoqing Jiao and Dazhi Lu and Jiajie Peng},
  title = {{Designing Biological Sequences without Prior Knowledge Using Evolutionary Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i1.27792},
}
Figure