arXiv:2504.00068cs.LG2025-04被引 2

量子注意力融合模型提升时间序列预测精度与效率

Integrating Quantum-Classical Attention in Patch Transformers for Enhanced Time Series Forecasting

  • 用量子-经典混合自注意力捕捉多变量时序关联
  • 长序列下计算复杂度降低,仍保持时序连续性
  • 适合需要高精度的金融、医疗等时序分析场景

QCAAPatchTF 是一种集成先进分块变换器的量子注意力网络,用于多变量时间序列的预测、分类和异常检测。该模型利用量子叠加、纠缠及变分量子本征值求解器原理,引入量子-经典混合自注意力机制,以捕捉时间点间的多变量相关性。在长时序多变量数据中,量子自注意力机制可在保持时序关系的同时降低计算复杂度。模型在编码器阶段结合量子自注意力与前馈网络:前者处理各序列以增强多变量关系,后者学习每个变量帧的非线性表示。先进的分块变换器通过将序列长度划分为固定数量的块来优化块长度,步幅设为块长的一半,确保高效重叠表示并维持时序连续性。QCAAPatchTF 在长期与短期预测、分类及异常检测任务中均达到领先性能,在复杂真实数据集上展现出卓越的准确率与效率。

原文摘要 · Abstract (English)

QCAAPatchTF is a quantum attention network integrated with an advanced patch-based transformer, designed for multivariate time series forecasting, classification, and anomaly detection. Leveraging quantum superpositions, entanglement, and variational quantum eigensolver principles, the model introduces a quantum-classical hybrid self-attention mechanism to capture multivariate correlations across time points. For multivariate long-term time series, the quantum self-attention mechanism can reduce computational complexity while maintaining temporal relationships. It then applies the quantum-classical hybrid self-attention mechanism alongside a feed-forward network in the encoder stage of the advanced patch-based transformer. While the feed-forward network learns nonlinear representations for each variable frame, the quantum self-attention mechanism processes individual series to enhance multivariate relationships. The advanced patch-based transformer computes the optimized patch length by dividing the sequence length into a fixed number of patches instead of using an arbitrary set of values. The stride is then set to half of the patch length to ensure efficient overlapping representations while maintaining temporal continuity. QCAAPatchTF achieves state-of-the-art performance in both long-term and short-term forecasting, classification, and anomaly detection tasks, demonstrating state-of-the-art accuracy and efficiency on complex real-world datasets.

时间序列量子计算注意力机制多变量预测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。