Directed evolution is a Nobel Prize-winning method that mimics natural selection to engineer proteins with improved functions, such as better thermal stability or higher catalytic efficiency. However, the search space is astronomical—a protein of just 100 amino acids has $20^{100}$ possible variants.
Existing Machine Learning-assisted Directed Evolution (MLDE) methods typically treat this as a pure data-driven search. They often ignore the "why" behind mutations: the underlying biochemical properties like charge, polarity, and molecular volume. Without this domain knowledge, models can struggle to navigate the complex "fitness landscape," often getting stuck in local optima or requiring an impractical number of expensive laboratory experiments to find a winner.
To address this, researchers have introduced KnowRLM (Knowledge-aware Reinforced Language Model), a new framework that combines Protein Language Models (PLMs) with Reinforcement Learning and a specialized Amino Acid Knowledge Graph (AAKG). By embedding biochemical domain knowledge directly into the mutation search process, it identifies high-performance protein mutants much more efficiently than purely data-driven methods.
The KnowRLM Framework
KnowRLM consists of three innovative components designed to blend statistical sequence patterns with biochemical rules:
- Amino Acid Knowledge Graph (AAKG): Instead of treating amino acids as arbitrary tokens, the researchers built a graph where nodes are amino acids and edges represent their physicochemical similarities (based on the "AAontology" dataset).
- Knowledge-Aware Policy: The system uses a pre-trained PLM (ESM-2) to identify where to mutate a sequence. To decide what to mutate it into, it performs a preferential random walk on the AAKG. This walk is guided by the cosine similarity of PLM embeddings, effectively blending statistical sequence patterns with biochemical rules.
- Dynamic Sliding Window: To balance exploration (trying very different amino acids) and exploitation (refining similar ones), the model uses a sliding window on the AAKG.
If a mutation increases fitness, the window stays "near" the original amino acid. If progress stalls, the window slides "further away" in the graph to force the model to explore biochemically diverse mutations. This is a clever solution to a classic RL problem, allowing the model to "jump" to distant parts of the fitness landscape to escape local optima.
The entire system is optimized via Active Learning. The model proposes mutants, an "oracle" (representing a lab experiment) provides the ground-truth fitness, and this data is used to fine-tune the reward model and the policy network iteratively.
Experimental Validation and Key Results
The model was evaluated on two benchmark datasets widely used in the protein engineering community: GB1 (149,361 annotated mutants known for a complex fitness landscape) and PhoQ (140,517 annotated data points focusing on phosphatase and kinase activity).
KnowRLM consistently outperformed baselines like EvoPlay, CLADE, and ftMLDE across various sample sizes:
- Higher Max Fitness: On the GB1 dataset with a sample size of 384, KnowRLM achieved a maximum fitness of 0.972, significantly higher than the next best RL-based method, EvoPlay (0.840).
- Better Ranking (NDCG): The model showed superior ability in ranking high-fitness mutants, achieving an NDCG of 0.884 on GB1, compared to baselines which hovered around 0.78–0.85.
- Sample Efficiency and Faster Convergence: Analysis of the mutation trajectories showed that KnowRLM identifies high-fitness variants in fewer steps than "no-knowledge" versions of the same model. It surpasses the performance of existing SOTA methods using significantly fewer experimental rounds—crucial because "wet lab" experiments are the primary bottleneck in protein engineering.
Limitations and Future Work
While highly effective, the current AAKG is based on a fixed set of physicochemical properties. Incorporating more dynamic or expansive biological data, such as 3D structural information, could further refine the search. Additionally, while the model excels at single-site and multi-site substitutions, future work could explore its applicability to more complex protein engineering tasks, such as insertions, deletions, or de novo design. Finally, generalizing specific biochemical relationships across all protein families remains an ongoing area of research.
Summary updated