bio.rodeo
ModelsOrganizationsProvidersLeaderboardAboutSign in
bio.rodeo

The authoritative source for evaluating biological foundation models. No hype, just honest analysis.

Categories
  • DNA & Gene
  • RNA
  • Protein
  • Small molecule
  • Single-cell
  • Spatial omics
  • Pathology
  • Imaging
  • Metabolomics
  • Biosignals
  • Language model
bio.rodeoModelsOrganizationsProvidersLeaderboardAboutFAQSubmit a modelContact
© 2026 Pulsatance. All rights reserved. ~
Built by Pulsatance
Protein foundation models
Protein

PepBERT

Kansas State University

Peptide language model pretrained from scratch on short UniProt sequences, matching ESM-2 on 8 of 9 bioactive peptide tasks at 4.9M parameters.

Released: April 2025
Parameters: 4.9 Million

Protein language models are trained on corpora dominated by full-length proteins, and short peptides barely register in them: only 0.06% of UniRef100 sequences are shorter than 50 residues. That skew is a practical problem for peptide science, where learned embeddings have become the standard input to classifiers that screen for antimicrobial, anticancer, ACE-inhibitory, or cell-penetrating activity. A general protein encoder applied to an eight-residue peptide is both poorly matched to the data it sees and heavier than the task requires.

PepBERT, developed at Kansas State University, answers this by pretraining an encoder from scratch on corpora that contain nothing but short sequences. Two sizes were released — PepBERT-large at 4.9 million parameters and PepBERT-small at 1.86 million — each pretrained separately on four peptide corpora derived from UniParc, UniRef100, UniRef90, and UniRef50, for eight public checkpoints in total. The work first appeared as a bioRxiv preprint in April 2025 and was published in Future Foods in 2026.

Earlier peptide-oriented models such as PeptideBERT took a different route, fine-tuning ProteinBERT separately for each downstream task rather than producing a reusable peptide encoder. PepBERT is instead intended as a general-purpose embedding model: the released checkpoints are used frozen, and the evaluation deliberately measures embedding quality rather than fine-tuning capacity.

#Key Features

  • Peptide-only pretraining: Every training sequence is 2–50 residues, drawn from UniProt archives, so the model's capacity is spent entirely on the length regime where it will be used.
  • Compact by design: At 4.9M and 1.86M parameters, both variants are smaller than the smallest released ESM-2 checkpoint and run comfortably on CPU for embedding generation.
  • Frozen-embedding evaluation: Downstream performance is measured with a fixed logistic regression head on mean-pooled embeddings, isolating representation quality from classifier tuning.
  • Four corpus scales: Releasing checkpoints trained on UniParc, UniRef100, UniRef90, and UniRef50 makes the effect of pretraining-set size and redundancy directly measurable; validation loss improves monotonically with corpus size.
  • Open weights and data: All eight checkpoints and all four pretraining corpora are published on HuggingFace, with the dataset repositories documenting the exact UniProt queries and download date.

#Technical Details

PepBERT is a BERT-style transformer encoder trained with masked language modeling, in which 15% of residues in each peptide are replaced by a [MASK] token and recovered under cross-entropy loss. The tokenizer is character-level over amino acids, with a 29-token vocabulary covering the standard residues, ambiguity codes, and five special tokens. Because inputs never exceed 50 residues, the model uses fixed sinusoidal positional encodings rather than learned or rotary embeddings. PepBERT-large uses 320-dimensional embeddings and PepBERT-small 160-dimensional, both with 8-head self-attention and a 640-unit feed-forward dimension. Optimization used AdamW (β₁ = 0.9, β₂ = 0.98, weight decay 0.01) with a 2,000-step warmup to a peak learning rate of 4 × 10⁻⁴ followed by linear decay; 0.1% of each corpus was held out for validation, and the lowest-loss checkpoint was kept. The four corpora contain 19.2M (UniParc), 2.7M (UniRef100), 2.35M (UniRef90), and 1.97M (UniRef50) peptides.

Evaluation covered nine bioactive peptide classification datasets, each split 80:20 ten times, with balanced accuracy compared against the 7.5M-parameter variant of ESM-2 by t-test. PepBERT-large-UniParc was significantly better on three datasets, statistically indistinguishable on five, and significantly worse on one (cell-penetrating peptides), gaining most on tumor T-cell antigens (0.672 vs. 0.634), an anticancer peptide benchmark (0.727 vs. 0.690), and toxicity (0.897 vs. 0.883). PepBERT-small-UniParc was better on one dataset and comparable on seven.

#Applications

PepBERT slots into peptide virtual-screening pipelines as a drop-in replacement for a general protein encoder: generate embeddings for a candidate library, then train a lightweight classifier or regressor for the property of interest. The authors frame the primary use case as discovery of food-derived bioactive peptides — antihypertensive, antioxidant, and functional-food ingredients recovered from processing by-products — but the nine benchmark tasks span therapeutic questions too, including tumor antigen identification, blood-brain-barrier penetration, neuropeptide annotation, and toxicity screening. The small footprint is the practical draw for labs without GPU infrastructure.

#Impact

PepBERT is a targeted correction to a documented blind spot rather than a scaling milestone, and its contribution is that a purpose-built 4.9M-parameter encoder can match a general protein language model on peptide tasks at a fraction of the size. The authors are candid about the limits: peptides of 2–5 residues remain underrepresented even in peptide-only corpora and offer little context for masked-token prediction, so embeddings for ultrashort sequences should be treated cautiously. The comparison is also narrow — one baseline, the smallest ESM-2 checkpoint, on nine binary classification tasks with frozen embeddings and no fine-tuning arm. The GitHub repositories carry no license file, leaving reuse terms for the code unstated, though the published article is open access under CC BY-NC-ND 4.0.

Citations

DOI: 10.1016/j.fufo.2026.100999

Preprint

DOI: 10.1101/2025.04.08.647838

Recent citations

Papers that recently cited this model.

Not enough citation data yet.

Top citations

The most-cited papers that cite this model.

Not enough citation data yet.

Where to run PepBERT

Providers that host PepBERT for inference, fine-tuning, or weight download.

No providers recorded yet. Browse all providers

Fields of citing research

Not enough data

Openness

bio.rodeo opennessClosed · low usability and reproducibility
17Closed
Usability — can I run it?19
Reproducibility — can I retrain it?16

Tags

bertpeptideproperty_predictionrepresentation_learningself_supervisedtransfer_learningtransformervirtual_screening

Resources

GitHub RepositoryResearch PaperHuggingFace ModelDatasetDataset