Modern Hopfield Networks and Attention for Immune Repertoire Classification

By Michael Widrich, Bernhard Schäfl, Milena Pavlović, Hubert Ramsauer, Lukas Gruber, Markus Holzleitner, Johannes Brandstetter, Geir Kjetil Ferkingstad Sandve, Victor Greiff, Sepp Hochreiter and 1 more. 2020

148 citations recorded by the source corpus.

A central mechanism in machine learning is to identify, store, and recognize patterns. How to learn, access, and retrieve such patterns is crucial in Hopfield networks and the more recent transformer architectures. We show that the attention mechanism of transformer architectures is actually the update rule of modern Hop-field networks that can store exponentially many patterns. We exploit this high storage capacity of modern Hopfield networks to solve a challenging multiple instance learning (MIL) problem in computational biology: immune repertoire classification. Accurate and interpretable machine learning methods solving this problem could pave the way towards new vaccines and therapies, which is currently a very relevant research topic intensified by the COVID-19 crisis. Immune repertoire classification based on the vast number of immunosequences of an individual is a MIL problem with an unprecedentedly massive number of instances, two orders of magnitude larger than currently considered problems, and with an extremely low witness rate. In this work, we present our novel method DeepRC that integrates transformer-like attention, or equivalently modern Hopfield networks, into deep learning architectures for massive MIL such as immune repertoire classification. We demonstrate that DeepRC outperforms all other methods with respect to predictive performance on large-scale experiments, including simulated and real-world virus infection data, and enables the extraction of sequence motifs that are connected to a given disease class. Source code and datasets: https://github.com/ml-jku/DeepRC

Subfields: Biomedical Engineering, Molecular Biology, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Biomedical Engineering

  1. Sergey Ovchinnikov
  2. David Baker
  3. Sepp Hochreiter
  4. Johannes Brandstetter

In Molecular Biology

  1. Sergey Ovchinnikov
  2. David Baker
  3. J. Dauparas
  4. Roshan Rao
  5. Sepp Hochreiter
  6. Peter K. Koo
  7. Günter Klambauer
  8. Michael Widrich

In Model Architectures

  1. Günter Klambauer
  2. Michael Widrich
  3. Angela Bitto-Nemling
  4. Lukas Gruber
  5. Bernhard Schäfl
  6. Sepp Hochreiter
  7. Johannes Brandstetter
  8. Hubert Ramsauer

Citations in the corpus