arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.07294cs.CVcs.AIcs.LG
收藏

从 $\mathcal{O}(n^{2})$ 到 $\mathcal{O}(n)$ 参数:用于生物医学图像分类的 Vision Transformers 中的量子自注意力

From $\mathcal{O}(n^{2})$ to $\mathcal{O}(n)$ Parameters: Quantum Self-Attention in Vision Transformers for Biomedical Image Classification

UCL Hawkes Institute(UCL哈维斯研究所);Department of Medical Physics and Biomedical Engineering(医学物理与生物医学工程系);University College London(伦敦大学学院);University College London Hospitals NHS Foundation Trust(伦敦大学学院医院国家健康服务信托基金会);Human Physiology and Performance Laboratory (HPPL)(人体生理与表现实验室);Centre for Peri-operative Medicine(围手术期医学中心);Department of Targeted Intervention(精准干预系);Division of Surgery and Interventional Science(外科与介入科学 division)

Thomas Boucher, John Whittle, Evangelos B. Mazomenos

AI总结:

本文提出将视觉变换器中的自注意力替换为量子自注意力,使参数缩放从 $\mathcal{O}(n^2)$ 降至 $\mathcal{O}(n)$;该方法在大幅减少参数与计算量的同时,在多个生物医学图像数据集上达到了与最先进模型相当的分类性能。

摘要:

我们证明了量子视觉变换器(QViTs),即将视觉变换器(ViTs)中的自注意力(SA)机制替换为量子自注意力(QSA)机制,在使用减少 99.99% 参数的情况下,能够匹敌最先进的(SOTA)生物医学图像分类器。QSA 是通过将线性 SA 层替换为参数化量子神经网络(QNNs)来生成的,这产生了 QSA 机制并将参数缩放从 $\mathcal{O}(n^2)$ 降低到了 $\mathcal{O}(n)$。在 RetinaMNIST 上,我们的超参数高效 QViT 优于 13/14 种 SOTA 方法(包括 CNNs 和 ViTs),实现了 56.5% 的准确率,仅比顶级的 MedMamba 模型低 0.88%,同时使用的参数减少了 99.99%(1K 对 14.5M),GFLOPs 减少了 89%。我们提出了生物医学图像分类中从经典到量子视觉变换器的知识蒸馏(KD)的首次研究,表明 QViTs 在跨越多种模态的八个不同数据集上保持与经典 ViTs 相当的性能,并提高了 QSA 的参数效率。我们的高量子比特架构从 KD 预训练中受益更多,这表明 QSA 参数与 KD 有效性之间存在缩放关系。这些发现确立了 QSA 作为迈向参数高效生物医学图像分析的实用架构选择。

英文摘要:

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 $\mathcal{O}(n^2)$ to $\mathcal{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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑