Protein Language Models Diverge from Natural Language: Comparative Analysis and Improved Inference

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hart, Anna, Han, Chi, Kim, Jeonghwan, Zhao, Huimin, Ji, Heng
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918353067573248
author Hart, Anna
Han, Chi
Kim, Jeonghwan
Zhao, Huimin
Ji, Heng
author_facet Hart, Anna
Han, Chi
Kim, Jeonghwan
Zhao, Huimin
Ji, Heng
contents Modern Protein Language Models (PLMs) apply transformer-based model architectures from natural language processing to biological sequences, predicting a variety of protein functions and properties. However, protein language has key differences from natural language, such as a rich functional space despite a vocabulary of only 20 amino acids. These differences motivate research into how transformer-based architectures operate differently in the protein domain and how we can better leverage PLMs to solve protein-related tasks. In this work, we begin by directly comparing how the distribution of information stored across layers of attention heads differs between the protein and natural language domain. Furthermore, we adapt a simple early-exit technique-originally used in the natural language domain to improve efficiency at the cost of performance-to achieve both increased accuracy and substantial efficiency gains in protein non-structural property prediction by allowing the model to automatically select protein representations from the intermediate layers of the PLMs for the specific task and protein at hand. We achieve performance gains ranging from 0.4 to 7.01 percentage points while simultaneously improving efficiency by over 10 percent across models and non-structural prediction tasks. Our work opens up an area of research directly comparing how language models change behavior when moved into the protein domain and advances language modeling in biological domains.
format Preprint
id arxiv_https___arxiv_org_abs_2602_20449
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Protein Language Models Diverge from Natural Language: Comparative Analysis and Improved Inference
Hart, Anna
Han, Chi
Kim, Jeonghwan
Zhao, Huimin
Ji, Heng
Machine Learning
Artificial Intelligence
Computation and Language
Biomolecules
Modern Protein Language Models (PLMs) apply transformer-based model architectures from natural language processing to biological sequences, predicting a variety of protein functions and properties. However, protein language has key differences from natural language, such as a rich functional space despite a vocabulary of only 20 amino acids. These differences motivate research into how transformer-based architectures operate differently in the protein domain and how we can better leverage PLMs to solve protein-related tasks. In this work, we begin by directly comparing how the distribution of information stored across layers of attention heads differs between the protein and natural language domain. Furthermore, we adapt a simple early-exit technique-originally used in the natural language domain to improve efficiency at the cost of performance-to achieve both increased accuracy and substantial efficiency gains in protein non-structural property prediction by allowing the model to automatically select protein representations from the intermediate layers of the PLMs for the specific task and protein at hand. We achieve performance gains ranging from 0.4 to 7.01 percentage points while simultaneously improving efficiency by over 10 percent across models and non-structural prediction tasks. Our work opens up an area of research directly comparing how language models change behavior when moved into the protein domain and advances language modeling in biological domains.
title Protein Language Models Diverge from Natural Language: Comparative Analysis and Improved Inference
topic Machine Learning
Artificial Intelligence
Computation and Language
Biomolecules
url https://arxiv.org/abs/2602.20449