Insights Into the Inner Workings of Transformer Models for Protein Function Prediction
arXiv:2309.03631 · doi:10.1093/bioinformatics/btae031
Abstract
Motivation: We explored how explainable artificial intelligence (XAI) can help to shed light into the inner workings of neural networks for protein function prediction, by extending the widely used XAI method of integrated gradients such that latent representations inside of transformer models, which were finetuned to Gene Ontology term and Enzyme Commission number prediction, can be inspected too. Results: The approach enabled us to identify amino acids in the sequences that the transformers pay particular attention to, and to show that these relevant sequence parts reflect expectations from biology and chemistry, both in the embedding layer and inside of the model, where we identified transformer heads with a statistically significant correspondence of attribution maps with ground truth sequence annotations (e.g. transmembrane regions, active sites) across many proteins. Availability and Implementation: Source code can be accessed at https://github.com/markuswenzel/xai-proteins .
arXiv comment26 pages, 12 figures, 5 tables, source code available at https://github.com/markuswenzel/xai-proteins
References in corpus (10)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- Methods for Interpreting and Understanding Deep Neural Networks
- A Survey on Explainable Artificial Intelligence (XAI): Towards Medical XAI
- Explaining Deep Neural Networks and Beyond: A Review of Methods and Applications
- Unmasking Clever Hans Predictors and Assessing What Machines Really Learn
- DeepGO: Predicting protein functions from sequence and interactions using a deep ontology-aware classifier
- An expanded evaluation of protein function prediction methods shows an improvement in accuracy
- Explaining by Removing: A Unified Framework for Model Explanation
- Linguistically inspired roadmap for building biologically reliable protein language models
- PredDiff: Explanations and Interactions from Conditional Expectations