Insights Into the Inner Workings of Transformer Models for Protein Function Prediction

Markus Wenzel, Erik Grüner, Nils Strodthoff
9/7/2023
cs.LGq-bio.BM

No confident code implementation found for this paper.

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 .

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wenzel2023insights,
  title  = {Insights Into the Inner Workings of Transformer Models for Protein Function Prediction},
  author = {Markus Wenzel and Erik Grüner and Nils Strodthoff},
  year   = {2023},
  eprint = {2309.03631},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.03631v2}
}

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/2309.03631.svg)](https://codeofpaper.com/paper/2309.03631)

Discussion