Do Protein Transformers Have Biological Intelligence?

Fudong Lin, Wanrou Du, Jinchan Liu, Tarikul Milon, Shelby Meche +3 more
6/7/2025
cs.LGcs.AIq-bio.BM

Official code: fudong03/BioIntelligence (1 star, last commit 2025-09-28).

Abstract

Deep neural networks, particularly Transformers, have been widely adopted for predicting the functional properties of proteins. In this work, we focus on exploring whether Protein Transformers can capture biological intelligence among protein sequences. To achieve our goal, we first introduce a protein function dataset, namely Protein-FN, providing over 9000 protein data with meaningful labels. Second, we devise a new Transformer architecture, namely Sequence Protein Transformers (SPT), for computationally efficient protein function predictions. Third, we develop a novel Explainable Artificial Intelligence (XAI) technique called Sequence Score, which can efficiently interpret the decision-making processes of protein models, thereby overcoming the difficulty of deciphering biological intelligence bided in Protein Transformers. Remarkably, even our smallest SPT-Tiny model, which contains only 5.4M parameters, demonstrates impressive predictive accuracy, achieving 94.3% on the Antibiotic Resistance (AR) dataset and 99.6% on the Protein-FN dataset, all accomplished by training from scratch. Besides, our Sequence Score technique helps reveal that our SPT models can discover several meaningful patterns underlying the sequence structures of protein data, with these patterns aligning closely with the domain knowledge in the biology community. We have officially released our Protein-FN dataset on Hugging Face Datasets https://huggingface.co/datasets/Protein-FN/Protein-FN. Our code is available at https://github.com/fudong03/BioIntelligence.

View on arXivView PDF

Code Implementations(1)

This is the official github repository of "Do Protein Transformers Have Biological Intelligence?", accepted by ECML-PKDD 2025.

10PythonMay 28, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{lin2025protein,
  title  = {Do Protein Transformers Have Biological Intelligence?},
  author = {Fudong Lin and Wanrou Du and Jinchan Liu and Tarikul Milon and Shelby Meche and Wu Xu and Xiaoqi Qin and Xu Yuan},
  year   = {2025},
  eprint = {2506.06701},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.06701v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.06701.svg)](https://codeofpaper.com/paper/2506.06701)

Discussion