mlsanityData to 7 Oct 2026

From O(n2) to O(n) Parameters: Quantum Self-Attention in Vision Transformers for Biomedical Image Classification

arXiv 2503.07294 ↗First posted 10 Mar 2025cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We demonstrate that quantum vision transformers (QViTs), vision transformers (ViTs) with self-attention (SA) mechanisms replaced by quantum self-attention (QSA) mechanisms, can match state-of-the-art (SOTA) biomedical image classifiers while using 99.99% fewer parameters. QSAs are produced by replacing linear SA layers with parameterised quantum neural networks (QNNs), producing a QSA mechanism and reducing parameter scaling from O(n2) to O(n). On RetinaMNIST, our ultra parameter-efficient QViT outperforms 13/14 SOTA methods including CNNs and ViTs, achieving 56.5% accuracy, just 0.88% below the top MedMamba model while using 99.99% fewer parameters (1K vs 14.5M) and 89% fewer GFLOPs. We present the first investigation of knowledge distillation (KD) from classical to quantum vision transformers in biomedical image classification, showing that QViTs maintain comparable performance to classical ViTs across eight diverse datasets spanning multiple modalities, with improved QSA parameter-efficiency. Our higher-qubit architecture benefitted more from KD pre-training, suggesting a scaling relationship between QSA parameters and KD effectiveness. These findings establish QSA as a practical architectural choice toward parameter-efficient biomedical image analysis.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 23 references that are in the map. First posted on arXiv 10 Mar 2025.

Builds on

11 of 23 references.

References · 11

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 682
  4. 2018Supervised learning with quantum enhanced feature spacescited by 654
  5. 2019On the Efficacy of Knowledge Distillationcited by 377
  6. 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 232
  7. 2021Comparing Kullback-Leibler Divergence and Mean Squared Error Loss in Knowledge Distillationcited by 131
  8. 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
  9. 2024MedMamba: Vision Mamba for Medical Image Classificationcited by 86
  10. 2022Quantum Vision Transformerscited by 48
  11. 2024Quantum Vision Transformers for Quark-Gluon Classificationcited by 7

Built on by

Not cited yet.