Modern Hopfield Networks and Attention for Immune Repertoire Classification
Michael Widrich, Bernhard Schäfl, Milena Pavlovic, Hubert Ramsauer, Lukas Gruber, Markus Holzleitner, Johannes Brandstetter, Geir Kjetil Sandve, Victor Greiff, Sepp Hochreiter, Günter Klambauer
摘要
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 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
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 28 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Conformal Prediction for Time Series with Modern Hopfield Networks 引用了 CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP
- Associative Memories via Predictive Coding 引用了 Hopfield Networks is All You Need
- Associative Memories via Predictive Coding 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Hopfield Networks is All You Need 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Large Associative Memory Problem in Neurobiology and Machine Learning 引用了 Hopfield Networks is All You Need
引用它的顶会 Paper28
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl 等ICLR 2021 · 620 次引用
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 次引用
- CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPAndreas Fürst, Elisabeth Rumetshofer, Johannes Lehner, Viet T. Tran 等NeurIPS 2022 · 131 次引用
- Associative Memories via Predictive CodingTommaso Salvatori, Yuhang Song, Yujian Hong, Lei Sha 等NeurIPS 2021 · 84 次引用
- Conformal Prediction for Time Series with Modern Hopfield NetworksAndreas Auer, Martin Gauch, Daniel Klotz, Sepp HochreiterNeurIPS 2023 · 70 次引用
相关 Paper
- A Label Disambiguation-Based Multimodal Massive Multiple Instance Learning Approach for Immune Repertoire ClassificationFan Xu, Yu Zhao, Bingzhe Wu, Yueshan Huang 等AAAI 2024 · 2 次引用
- GRIP: Graph Representation of Immune Repertoire Using Graph Neural Network and TransformerYongju Lee, Hyunho Lee, Kyoungseob Shin, Sunghoon KwonAAAI 2023 · 5 次引用
- On the Role of Hidden States of Modern Hopfield Network in TransformerTsubasa Masumura, Masato TakiNeurIPS 2025 · 2 次引用
- Immunogenicity Prediction with Dual Attention Enables Vaccine Target SelectionSong Li, Yang Tan, Song Ke, Liang Hong 等ICLR 2025
- TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image ClassificationZhuchen Shao, Hao Bian, Yang Chen, Yifeng Wang 等NeurIPS 2021 · 1,163 次引用
