Modern Hopfield Networks and Attention for Immune Repertoire Classification
Michael Widrich, Bernhard Sch\"afl, Hubert Ramsauer, Milena, Pavlovi\'c, Lukas Gruber, Markus Holzleitner, Johannes Brandstetter, Geir, Kjetil Sandve, Victor Greiff, Sepp Hochreiter, G\"unter Klambauer

TL;DR
This paper introduces DeepRC, a novel deep learning method that leverages modern Hopfield networks and attention mechanisms to improve immune repertoire classification, achieving superior performance and interpretability on large-scale biological data.
Contribution
The work demonstrates that attention mechanisms are equivalent to modern Hopfield network updates and applies this insight to develop DeepRC for massive multiple instance learning in immunology.
Findings
DeepRC outperforms existing methods in predictive accuracy.
It enables extraction of biologically relevant sequence motifs.
The approach scales to extremely large datasets with many instances.
Abstract
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 Hopfield 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
