NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum entanglement for attention models

Poojith U Rao, Rahaf Aljundi, Yash J. Patel, Florian Speelman, Sachin KingeOpenReview 2025 · Submission to ICLR 2025 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Attention mechanisms in deep learning establish relationships between different positions within a sequence, enabling models like Transformers to generate effective outputs by focusing on relevant input segments and their relations. The performance of Transformers is highly dependent on the chosen attention mechanism, with various approaches balancing trade-offs between computational cost, memory efficiency, and generalization ability based on the task. Quantum machine learning models possess the potential to outperform their classical counterparts in specialized settings. This makes exploring the benefits of quantum resources within classical machine learning models a promising research direction. The role of entanglement in quantum machine learning, whether in fully quantum or as subroutines in classical-quantum hybrid models, remains poorly understood. In this work, we investigate whether quantum entanglement, when used as a resource, can improve the performance of the attention layer in Transformers. We introduce an entanglement-based attention layer within a classical Transformer architecture and numerically identify scenarios where this hybrid approach proves advantageous. Our experiments on simple standard classification tasks in both vision and NLP domains reveal that the entanglement-based attention layer outperforms classical attention, showing superior generalization on quantum-generated datasets and in settings with limited training data for classical datasets. Additionally, it demonstrates a smaller generalization gap across all tested datasets. Our work contributes towards exploring the power of quantum resources as a subroutine in the classical-quantum hybrid setting to further enhance classical models.
BibTeX
@misc{rao2025quantum,
  author = {Poojith U Rao and Rahaf Aljundi and Yash J. Patel and Florian Speelman and Sachin KINGE},
  title = {{Quantum entanglement for attention models}},
  year = {2025},
  url = {https://openreview.net/forum?id=3jRzJVf3OQ},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure