[Paper Review] ReLSO: A Transformer-based Model for Latent Space Optimization and Generation of Proteins
ReLSO is a transformer-based autoencoder that learns a structured, regularized latent space for joint protein sequence generation and fitness prediction. By enabling gradient-based optimization in latent space, ReLSO achieves higher fitness optimization efficiency and generates more robust high-fitness sequences than baseline methods on anti-ranibizumab and GFP datasets.
The development of powerful natural language models have increased the ability to learn meaningful representations of protein sequences. In addition, advances in high-throughput mutagenesis, directed evolution, and next-generation sequencing have allowed for the accumulation of large amounts of labeled fitness data. Leveraging these two trends, we introduce Regularized Latent Space Optimization (ReLSO), a deep transformer-based autoencoder which features a highly structured latent space that is trained to jointly generate sequences as well as predict fitness. Through regularized prediction heads, ReLSO introduces a powerful protein sequence encoder and novel approach for efficient fitness landscape traversal. Using ReLSO, we explicitly model the sequence-function landscape of large labeled datasets and generate new molecules by optimizing within the latent space using gradient-based methods. We evaluate this approach on several publicly-available protein datasets, including variant sets of anti-ranibizumab and GFP. We observe a greater sequence optimization efficiency (increase in fitness per optimization step) by ReLSO compared to other approaches, where ReLSO more robustly generates high-fitness sequences. Furthermore, the attention-based relationships learned by the jointly-trained ReLSO models provides a potential avenue towards sequence-level fitness attribution information.
Motivation & Objective
- Address the challenge of navigating the vast, epistatic protein sequence space for efficient design of functional proteins.
- Leverage large-scale labeled fitness data from high-throughput screening to train a deep generative model with joint sequence and fitness modeling.
- Develop a highly structured, smooth, and pseudo-convex latent space that enables efficient gradient-based optimization of protein sequences.
- Enable direct optimization in latent space using gradient ascent on a jointly trained fitness prediction head, improving search efficiency over black-box or sequential methods.
Proposed method
- Employ a transformer-based autoencoder architecture to encode protein sequences into a low-dimensional, information-rich latent space.
- Train a joint latent representation with a regularized fitness prediction head to predict functional properties directly from the latent code.
- Apply three key regularizations: (1) smoothness via fitness prediction loss, (2) continuity and interpolatability via latent space regularization, and (3) pseudo-convexity via negative sampling outside training data.
- Perform gradient-based optimization in the latent space using the gradients of the fitness prediction head, enabling efficient traversal toward high-fitness regions.
- Compare ReLSO’s performance against multiple baselines, including in-silico directed evolution, MCMC, hill climbing, and adaptive sampling (DbAS, CbAS), both in sequence and latent space.
- Use a publicly available implementation of DbAS and CbAS with hyperparameter tuning (q ∈ [0.5, 0.8], epochs ∈ [1, 15]) for fair comparison.
Experimental results
Research questions
- RQ1Can a jointly trained, regularized latent space in a transformer-based autoencoder enable more efficient protein sequence optimization than standard black-box or sequential methods?
- RQ2To what extent does the regularized latent space of ReLSO improve fitness landscape traversal and convergence to high-fitness sequences?
- RQ3How does gradient-based optimization in the latent space compare to gradient-free methods like MCMC, hill climbing, and adaptive sampling in terms of fitness gain per optimization step?
- RQ4Does the attention mechanism in ReLSO provide interpretable, sequence-level fitness attribution information through learned attention patterns?
- RQ5Can ReLSO generalize across diverse protein families, such as anti-ranibizumab and GFP, to generate high-fitness variants with minimal in silico screening?
Key findings
- ReLSO achieves significantly higher fitness optimization efficiency—measured as increase in fitness per optimization step—compared to other methods on both anti-ranibizumab and GFP datasets.
- The ReLSO model robustly generates high-fitness sequences, with gradient-based latent space optimization (ReLSO-GA) outperforming both gradient-free methods and black-box adaptive sampling approaches.
- The attention-based relationships learned during joint training provide a potential pathway for sequence-level fitness attribution, offering interpretability beyond simple prediction.
- The regularized latent space enables smooth, continuous, and interpolatable representations that support stable and effective gradient ascent, reducing the risk of local optima.
- ReLSO’s performance surpasses that of state-of-the-art methods like DbAS and CbAS, particularly in early optimization steps, due to the integration of structural and fitness inductive biases in the latent space.
- The use of negative sampling and interpolation regularization enhances the pseudo-convexity of the latent space, improving optimization stability and convergence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.