๐Ÿค– AI ่ต„่ฎฏ

ยท ยท โ†—
← ่ฟ”ๅ›žๅˆ—่กจ

Task- and dataset-specific information in protein language models

arXiv cs.LG2026-09-16 04:00:00ๅ‘้‡ๆ•ฐๆฎๅบ“,่ฎบๆ–‡,ๅผ€ๅ‘่€…็”Ÿๆ€ๅŽŸๆ–‡ โ†—

arXiv:2608.12090v3 Announce Type: replace

Abstract: Protein language models (PLMs) have transferred the latest advances from natural language processing to computational biology. These models, trained on large corpora of protein sequence data, are widely used to translate amino acid sequences into latent-space embeddings, ready for use in diverse downstream tasks (DTs). By consensus, embeddings from the models' last layers are used, while the models' internal behavior remains poorly understood. We analyzed 13 PLMs across 15 DTs and 9 datasets to assess the value of embeddings from intermediate PLM layers. We trained probe models on embeddings from each layer, compared their performance, and showed that the last layers of PLMs rarely produced embeddings that led to the best results on downstream tasks. Furthermore, we identified a connection between how models learn a certain DT and the similarity between that DT and the pre-training objective. For example, for residue-level downstream tasks, we observed a steady increase in performance across almost all PLM layers, which we attributed to their similarity to most PLMs' pre-training objectives. To allow the community to capitalize on our findings, we provide PLMSommelier, a Python package that automatically identifies the best PLM layer for a given DT with ~98% accuracy and creates a truncated model using only the early layers up to the best-performing layer. This will help users save time and memory during inference and yield better predictive performance.