mlsanityData to 7 Oct 2026

Modern Hopfield Networks and Attention for Immune Repertoire Classification

arXiv 2007.13505 ↗First posted 16 Jul 2020cs.LG q-bio.BM stat.MLcited by 52

Not on the map. Why?

Abstract (arXiv)

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

Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Jul 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 5; 2022: 6; 2023: 16; 2024: 15; 2025: 5; 2026: 5.

52 papers.

Sort:

By area:

  1. 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
  2. 2021Associative Memories via Predictive Codingcited by 42
  3. 2023On Sparse Modern Hopfield Modelcited by 41
  4. 2023Conformal Prediction for Time Series with Modern Hopfield Networkscited by 40
  5. 2022History Compression via Language Models in Reinforcement Learningcited by 39
  6. 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
  7. 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
  8. 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
  9. 2021Hierarchical Associative Memorycited by 34
  10. 2022Txt2Img-MHN: Remote Sensing Image Generation from Text Using Modern Hopfield Networkscited by 28
  11. 2023Learning to Modulate pre-trained Models in RLcited by 28
  12. 2023Context-enriched molecule representations improve few-shot drug discoverycited by 23
38 more
  1. 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
  2. 2024Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Actioncited by 19
  3. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
  4. 2022Hopular: Modern Hopfield Networks for Tabular Datacited by 18
  5. 2023Simplicial Hopfield networkscited by 16
  6. 2024Nonparametric Modern Hopfield Modelscited by 16
  7. 2021Trusted Artificial Intelligence: Towards Certification of Machine Learning Applicationscited by 13
  8. 2021Modern Hopfield Networks for Few- and Zero-Shot Reaction Template Predictioncited by 13
  9. 2022BayesPCN: A Continually Learnable Predictive Coding Associative Memorycited by 12
  10. 2023Memory in Plain Sight: Surveying the Uncanny Resemblances of Associative Memories and Diffusion Modelscited by 12
  11. 2023Reproducibility in Multiple Instance Learning: A Case For Algorithmic Unit Testscited by 11
  12. 2024Energy-based Hopfield Boosting for Out-of-Distribution Detectioncited by 9
  13. 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problemscited by 9
  14. 2024Long-Term Visual Object Tracking with Event Cameras: An Associative Memory Augmented Tracker and A Benchmark Datasetcited by 8
  15. 2023Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inferencecited by 7
  16. 2023Recent advances in artificial intelligence for retrosynthesiscited by 5
  17. 2022Sequence Learning Using Equilibrium Propagationcited by 4
  18. 2023On Pre-trained Language Models for Antibodycited by 4
  19. 2024Dense Hopfield Networks in the Teacher-Student Settingcited by 4
  20. 2024Hierarchical Associative Memory, Parallelized MLP-Mixer, and Symmetry Breakingcited by 4
  21. 2023Dsfer-Net: A Deep Supervision and Feature Retrieval Network for Bitemporal Change Detection Using Modern Hopfield Networkscited by 3
  22. 2023iMixer: hierarchical Hopfield network implies an invertible, implicit and iterative MLP-Mixercited by 3
  23. 2024CoRMF: Criticality-Ordered Recurrent Mean Field Ising Solvercited by 3
  24. 2024Associative memory inspires improvements for in-context learning using a novel attention residual stream architecturecited by 3
  25. 2025DAM-Seg: Anatomically accurate cardiac segmentation using Dense Associative Networkscited by 3
  26. 2022Multiple Instance Neural Networks Based on Sparse Attention for Cancer Detection using T-cell Receptor Sequencescited by 2
  27. 2023AIRIVA: A Deep Generative Model of Adaptive Immune Repertoirescited by 2
  28. 2024Contrastive Abstraction for Reinforcement Learningcited by 2
  29. 2023BeeTLe: An Imbalance-Aware Deep Sequence Model for Linear B-Cell Epitope Prediction and Classification with Logit-Adjusted Lossescited by 1
  30. 2025Neural Learning Rules from Associative Networks Theorycited by 1
  31. 2026AP-OOD: Attention Pooling for Out-of-Distribution Detectioncited by 1
  32. 2026Memory-guided Prototypical Co-occurrence Learning for Mixed Emotion Recognitioncited by 1
  33. 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
  34. 2026Energy-Based Dynamical Models for Neurocomputation, Learning, and Optimizationcited by 1
  35. 2023A Noisy-Label-Learning Formulation for Immune Repertoire Classification and Disease-Associated Immune Receptor Sequence Identificationcited by 0
  36. 2024Modern Hopfield Networks meet Encoded Neural Representations -- Addressing Practical Considerationscited by 0
  37. 2025Binding threshold units with artificial oscillatory neuronscited by 0
  38. 2025Attribution assignment for deep-generative sequence models enables interpretability analysis using positive-only datacited by 0

50 most cited of 52 All 52 (JSON)