Abstract
PeptideBERT adapts the ProtBERT transformer architecture to predict three critical peptide properties—hemolysis, solubility, and non-fouling—directly from raw amino acid sequences. By treating proteins as a "language," the model achieves state-of-the-art (SOTA) performance in hemolysis and non-fouling prediction, effectively bypassing the need for expensive and difficult-to-obtain 3D structural data. This approach demonstrates the power of transfer learning from large-scale protein language models to specific peptide classification tasks.
Introduction
Peptides, short chains of amino acids, are fundamental building blocks in drug discovery and biomaterials science. However, the utility of a peptide is determined by its functional properties: Is it toxic to red blood cells (hemolysis)? Is it sufficiently soluble for delivery? Does it resist protein adsorption on surfaces (non-fouling)?
Traditionally, Quantitative Structure-Activity Relationship (QSAR) models have been used to predict these traits. A significant bottleneck for many QSAR models is the requirement for explicit 3D structural information. Since determining a peptide's structure is significantly more resource-intensive than sequencing it, a substantial "data gap" exists. PeptideBERT addresses this challenge by leveraging Transformer-based Large Language Models (LLMs) to extract functional features directly from the primary amino acid sequence, treating the sequence as a biological text.
Methods
The core of PeptideBERT is based on ProtBERT, a transformer model pretrained on over 217 million unique protein sequences from the UniRef100 database. This pretraining allows the model to learn a rich representation of protein space before being fine-tuned on specific tasks.
Architecture and Fine-Tuning
The base architecture utilized in this study features 12 attention heads and 12 hidden layers. To adapt this general-purpose model for property prediction, the authors added a task-specific "regression head"—a fully connected layer consisting of 480 nodes—followed by a Sigmoid activation function to facilitate binary classification.
Training was conducted using the AdamW optimizer and a "ReduceLROnPlateau" scheduler, which dynamically adjusts the learning rate based on validation performance. For the solubility task, which proved particularly challenging, the researchers implemented data augmentation strategies including random deletion, masking, and "random swap" (exchanging adjacent amino acids) to improve model robustness and generalization.
Datasets
The model's performance was rigorously evaluated across three distinct datasets, each representing a critical challenge in peptide engineering:
- Hemolysis: Comprising 9,316 sequences sourced from the DBAASPv3 database.
- Solubility: Consisting of 18,453 sequences from the PROSO II dataset (Protein Structure Initiative).
- Non-fouling: A dataset of 17,185 examples (3,600 positive and 13,585 negative) compiled from literature, where negative samples were intentionally drawn from insoluble and hemolytic peptides to ensure discriminative power.
The researchers employed a strict 81/9/10 split for training, validation, and testing, ensuring that the results are directly comparable to previous benchmarks.
Key Results and Insights
PeptideBERT established new state-of-the-art benchmarks in two of the three evaluated categories:
- Non-fouling: The model achieved 88.365% accuracy, a significant improvement over the previous LSTM-based SOTA of 82.0%.
- Hemolysis: It reached 86.051% accuracy, slightly outperforming the previous HAPPENN model (85.7%).
- Solubility: With data augmentation (specifically "random swap," which provided a ~0.84% boost), the model achieved 70.018% accuracy. While competitive, it did not surpass the specialized DSResSol model (75.1%), indicating that solubility remains a complex property influenced by factors beyond simple sequence patterns.
Biological Representations
A key insight from the study is the effectiveness of the attention mechanism in capturing "long-range dependencies" within sequences. By visualizing the model's internal representations using t-SNE, the authors found that the [CLS] token naturally clusters peptides according to their biological properties. This suggests that PeptideBERT learns a meaningful biological "fingerprint" rather than merely memorizing training data.
Conclusion and Future Work
PeptideBERT demonstrates that sequence-only Transformer models can match or exceed the performance of models requiring complex structural data. The model is also computationally efficient, with fine-tuning for each task requiring less than two hours on a single NVIDIA 1080Ti GPU.
Limitations include a potential bias in the hemolysis dataset toward antimicrobial peptides, which may affect generalization to more exotic synthetic sequences. Future research will focus on expanding training datasets to include more diverse peptide classes and transitioning from binary classification to the prediction of continuous property values.
Summary updated