Recasting Self-Attention with Holographic Reduced Representations
Not on the map. Why?
Abstract (arXiv)
In recent years, self-attention has become the dominant paradigm for sequence modeling in a variety of domains. However, in domains with very long sequence lengths the O(T2) memory and O(T2 H) compute costs can make using transformers infeasible. Motivated by problems in malware detection, where sequence lengths of T ≥ 100,000 are a roadblock to deep learning, we re-cast self-attention using the neuro-symbolic approach of Holographic Reduced Representations (HRR). In doing so we perform the same high-level strategy of the standard self-attention: a set of queries matching against a set of keys, and returning a weighted response of the values for each key. Implemented as a ``Hrrformer'' we obtain several benefits including O(T H log H) time complexity, O(T H) space complexity, and convergence in 10× fewer epochs. Nevertheless, the Hrrformer achieves near state-of-the-art accuracy on LRA benchmarks and we are able to learn with just a single layer. Combined, these benefits make our Hrrformer the first viable Transformer for such long malware classification sequences and up to 280× faster to train on the Long Range Arena benchmark. Code is available at urlhttps://github.com/NeuromorphicComputationResearchProgram/Hrrformer
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 35 of its 72 references that are in the map. First posted on arXiv 31 May 2023.
Builds on
35 of 72 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
23 more
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021FNet: Mixing Tokens with Fourier Transformscited by 347
- 2020Sparse Sinkhorn Attentioncited by 251
- 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
- 2015Holographic Embeddings of Knowledge Graphscited by 181
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 165
- 2019Adaptive Attention Span in Transformerscited by 149
- 2017Malware Detection by Eating a Whole EXEcited by 115
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2016Associative Long Short-Term Memorycited by 37
- 2020Self-Attentive Associative Memorycited by 33
- 2018Learning to Reason with Third-Order Tensor Productscited by 27
- 2021Learning with Holographic Reduced Representationscited by 25
- 2020Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detectioncited by 24
- 2019KiloGrams: Very Large N-Grams for Malware Classificationcited by 9
- 2013Scaling SVM and Least Absolute Deviations via Exact Data Reductioncited by 6
- 2019A New Burrows Wheeler Transform Markov Distancecited by 6
- 2022Transformers for End-to-End InfoSec Tasks: A Feasibility Studycited by 6
- 2015On Normalized Compression Distance and Large Malwarecited by 5
- 2020Training Transformers for Information Security Tasks: A Case Study on Malicious URL Predictioncited by 3
- 2018IGLOO: Slicing the Features Space to Represent Sequencescited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 4; 2026: 4.
14 papers.
Sort:
By area:
- 2023MIMONets: Multiple-Input-Multiple-Output Neural Networks Exploiting Computation in Superpositioncited by 14
- 2024Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detectioncited by 6
- 2023Towards Generalization in Subitizing with Neuro-Symbolic Loss using Holographic Reduced Representationscited by 4
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecturecited by 4
- 2024Benchmarking Neural Decoding Backbones towards Enhanced On-edge iBCI Applicationscited by 2
- 2025Linearithmic Clean-up for Vector-Symbolic Key-Value Memory with Kroneker Rotation Productscited by 2
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failurecited by 2
- 2024Multi-label Learning with Random Circular Vectorscited by 1
- 2025FoGE: Fock Space inspired encoding for graph promptingcited by 0
- 2025Efficient Vector Symbolic Architectures from Histogram Recoverycited by 0
- 2025A Vector Symbolic Approach to Multiple Instance Learningcited by 0
- 2026Reinforcement Learning Enhancement Using Vector Semantic Representation and Symbolic Reasoning for Human-Centered Autonomous Emergency Brakingcited by 0
- 2026Learning Holographic Reduced Representations with Clifford Variational Autoencoders23 Sep 2026
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failure27 Jun 2026
- 2026Disentanglement with Holographic Reduced Representations8 Jun 2026
- 2026Reinforcement Learning Enhancement Using Vector Semantic Representation and Symbolic Reasoning for Human-Centered Autonomous Emergency Braking4 Feb 2026
- 2025A Vector Symbolic Approach to Multiple Instance Learning20 Nov 2025
- 2025Efficient Vector Symbolic Architectures from Histogram Recovery3 Nov 2025
- 2025FoGE: Fock Space inspired encoding for graph prompting26 Jun 2025
- 2025Linearithmic Clean-up for Vector-Symbolic Key-Value Memory with Kroneker Rotation Products18 Jun 2025
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecture30 Oct 2024
- 2024Multi-label Learning with Random Circular Vectors8 Jul 2024
- 2024Benchmarking Neural Decoding Backbones towards Enhanced On-edge iBCI Applications8 Jun 2024
- 2024Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detection23 Mar 2024
- 2024Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detectioncited by 6
- 2023Towards Generalization in Subitizing with Neuro-Symbolic Loss using Holographic Reduced Representationscited by 4
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecturecited by 4
- 2025Linearithmic Clean-up for Vector-Symbolic Key-Value Memory with Kroneker Rotation Productscited by 2
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failurecited by 2
- 2024Multi-label Learning with Random Circular Vectorscited by 1
- 2025FoGE: Fock Space inspired encoding for graph promptingcited by 0
- 2025Efficient Vector Symbolic Architectures from Histogram Recoverycited by 0
- 2025A Vector Symbolic Approach to Multiple Instance Learningcited by 0
- 2026Disentanglement with Holographic Reduced Representationscited by 0
- 2026Learning Holographic Reduced Representations with Clifford Variational Autoencoderscited by 0
- 2026Learning Holographic Reduced Representations with Clifford Variational Autoencoders23 Sep 2026
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failure27 Jun 2026
- 2026Disentanglement with Holographic Reduced Representations8 Jun 2026
- 2025A Vector Symbolic Approach to Multiple Instance Learning20 Nov 2025
- 2025Efficient Vector Symbolic Architectures from Histogram Recovery3 Nov 2025
- 2025FoGE: Fock Space inspired encoding for graph prompting26 Jun 2025
- 2025Linearithmic Clean-up for Vector-Symbolic Key-Value Memory with Kroneker Rotation Products18 Jun 2025
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecture30 Oct 2024
- 2024Multi-label Learning with Random Circular Vectors8 Jul 2024
- 2024Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detection23 Mar 2024
- 2023Towards Generalization in Subitizing with Neuro-Symbolic Loss using Holographic Reduced Representations23 Dec 2023