Skip to main content
QUICK REVIEW

[Paper Review] Random Embeddings and Linear Regression can Predict Protein Function

Tianyu Lu, Alex X. Lu|arXiv (Cornell University)|Apr 25, 2021
Microplastics and Plastic PollutionEnvironmental Science16 references4 citations
TL;DR

This paper demonstrates that random embeddings—learned without pretraining—achieve performance comparable to state-of-the-art pretrained protein language models in 14 diverse protein function prediction tasks. Using linear regression on one-hot or randomly initialized embeddings, the authors show these simple baselines outperform or match pretrained models, especially in extrapolation and generalization to unseen mutations, challenging the necessity of costly pretraining.

ABSTRACT

Large self-supervised models pretrained on millions of protein sequences have recently gained popularity in generating embeddings of protein sequences for protein function prediction. However, the absence of random baselines makes it difficult to conclude whether pretraining has learned useful information for protein function prediction. Here we show that one-hot encoding and random embeddings, both of which do not require any pretraining, are strong baselines for protein function prediction across 14 diverse sequence-to-function tasks.

Motivation & Objective

  • To evaluate whether random embeddings, which lack pretraining, can serve as strong baselines for protein function prediction.
  • To assess whether the performance gains from large-scale pretraining are truly due to learned biophysical representations or simply due to high-dimensional random projections.
  • To investigate whether certain random embedding architectures outperform others, despite having no training.
  • To compare the performance of one-hot encoding and random embeddings against pretrained models across diverse regression tasks in protein function prediction.
  • To challenge the assumption that pretraining is essential for effective protein representation learning by demonstrating strong performance with untrained models.

Proposed method

  • The study uses pretrained protein language models (ProtBert, CPCProt, Bepler) and their randomly initialized counterparts as embedding functions.
  • For each model, the embedding layer is initialized with random weights and not fine-tuned; only the top-level linear regression head is trained.
  • One-hot encoding is used as a baseline, preserving full positional information by retaining the full sequence length × 21 dimensions.
  • The top model is a linear regressor trained on fixed-dimension embeddings to predict continuous protein function values (e.g., fluorescence, catalytic activity, melting temperature).
  • The method evaluates performance across 14 diverse datasets, including extrapolation to unseen residue variations and epistatic mutations.
  • Model performance is evaluated using standard regression metrics, with results averaged over three random replicates.

Experimental results

Research questions

  • RQ1Can random embeddings, without any pretraining, achieve competitive performance in protein function prediction compared to state-of-the-art pretrained models?
  • RQ2Do certain random embedding architectures perform better than others, and if so, why?
  • RQ3Is the performance of pretrained models due to learned biophysical representations or simply due to high-dimensional random projections?
  • RQ4How do one-hot encoding and random embeddings compare in generalization to sequences with unobserved residue variations or epistatic mutations?
  • RQ5To what extent does the number of embedding dimensions influence model performance, independent of pretraining?

Key findings

  • Random embeddings achieve performance comparable to or better than pretrained models across 14 diverse protein function prediction tasks, including extrapolation to unseen residue variations and epistatic mutations.
  • One-hot encoding with full positional information performs strongly, suggesting that local sequence patterns are crucial for function prediction and that averaging embeddings may destroy important information.
  • The consistent success of random embeddings supports Cover’s Theorem, indicating that high-dimensional random projections can be linearly separable and thus predictive, even without learning.
  • Some random embedding architectures outperform others, indicating that architectural design influences performance independently of pretraining.
  • The results challenge the assumption that pretraining is necessary for effective protein representation learning, as untrained models can match or exceed pretrained baselines.
  • The study highlights the importance of random baselines in representation learning, as they reveal that performance gains may stem from dimensionality rather than biologically meaningful representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.