mlsanityData to 14 Oct 2026

QLAM: A Quantum Long-Attention Memory Approach to Long-Sequence Token Modeling

arXiv 2605.13833 ↗First posted 13 May 2026cs.LG cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Modeling long-range dependencies in sequential data remains a central challenge in machine learning. Transformers address this challenge through attention mechanisms, but their quadratic complexity with respect to sequence length limits scalability to long contexts. State-space models (SSMs) provide an efficient alternative with linear-time computation by evolving a latent state through recurrent updates, but their memory is typically formed via additive or linear transitions, which can limit their ability to capture complex global interactions across tokens. In this work, we introduce one of the first studies to leverage the superposition property of quantum systems to enhance state-based sequence modeling. In particular, we propose Quantum Long-Attention Memory (QLAM), a hybrid quantum-classical memory mechanism that can be viewed as a quantum extension of state-space models. Instead of maintaining a classical latent state updated through additive dynamics, QLAM represents the hidden state as a quantum state whose amplitudes encode a superposition of historical information. The state evolves through parameterized quantum circuits conditioned on the input, enabling a non-classical, globally update mechanism. In this way, QLAM preserves the recurrent and linear-time structure of SSMs while fundamentally enriching the memory representation through quantum superposition. Unlike attention mechanisms that explicitly compute pairwise interactions, QLAM implicitly captures global dependencies through the evolution of the quantum state, and retrieves task-relevant information via query-dependent measurements. We evaluate QLAM on sequential variants of standard image classification benchmarks, including sMNIST, sFashion-MNIST, and sCIFAR-10, where images are flattened into token sequences. Across all tasks, QLAM consistently improves over recurrent baselines and transformer-based models.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 35 of its 62 references that are in the map. First posted on arXiv 13 May 2026.

Builds on

35 of 62 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  10. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  12. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
23 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  3. 2020Rethinking Attention with Performerscited by 1,601
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  5. 2020Efficient Transformers: A Surveycited by 790
  6. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  7. 2020Variational Quantum Algorithmscited by 692
  8. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  9. 2019Parameterized quantum circuits as machine learning modelscited by 332
  10. 2019Efficient Learning for Deep Quantum Neural Networkscited by 161
  11. 2020Experimental Quantum Generative Adversarial Networks for Image Generationcited by 83
  12. 2021Variational Quantum Reinforcement Learning via Evolutionary Optimizationcited by 50
  13. 2023Quantum Recurrent Neural Networks for Sequential Learningcited by 25
  14. 2023Quantum Vision Clusteringcited by 13
  15. 2024QClusformer: A Quantum Transformer-based Framework for Unsupervised Visual Clusteringcited by 11
  16. 2024Quantum Visual Feature Encoding Revisitedcited by 10
  17. 2024Diffusion-Inspired Quantum Noise Mitigation in Parameterized Quantum Circuitscited by 10
  18. 2024Hierarchical Quantum Control Gates for Functional MRI Understandingcited by 8
  19. 2024Quantum-Brain: Quantum-Inspired Neural Network Approach to Vision-Brain Understandingcited by 7
  20. 2025QMoE: A Quantum Mixture of Experts Framework for Scalable Quantum Neural Networkscited by 7
  21. 2025varphi-Adapt: A Physics-Informed Adaptation Learning Approach to 2D Quantum Material Discoverycited by 3
  22. 2026QuPAINT: Physics-Aware Instruction Tuning Approach to Quantum Material Discoverycited by 3
  23. 2026OpenQlaw: An Agentic AI Assistant for Analysis of 2D Quantum Materialscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Quantum Shortcut: Complex Phase-State Dynamics Reduce the Optimization Steps of Sequence Models
  2. 2025Hybrid Quantum-Classical Selective State Space Artificial Intelligence
  3. 2025Large Language Model Scaling Laws for Neural Quantum States in Quantum Chemistry
  4. 2026Aligning Quantum Operators with Large Language Models
  5. 2026The Quantum Sieve Tracer: A Hybrid Framework for Layer-Wise Activation Tracing in Large Language Models
  6. 2024LongVQ: Long Sequence Modeling with Vector Quantization on Structured Memory
  7. 2025Quantum Long Short-term Memory with Differentiable Architecture Search
  8. 2025Superpositional Gradient Descent: Harnessing Quantum Principles for Model Training