改进量子机器学习的频率调制方法,显著提升长范围频率拟合能力。
Long Range Frequency Tuning for QML
- 提出三元网格初始化策略,解决可训练频率参数梯度消失问题。
- 在合成数据上实现99.7%的拟合精度,远超传统方法的18%。
- 适合需要高精度频率建模的量子机器学习任务,如信号处理与物理模拟。
角度编码的变分量子电路可表示为输出的截断傅里叶级数,但使用固定一元编码拟合最大频率为ω_{\max}的函数需\mathcal{O}(ω_{\max})个编码门。可训练频率(TF)电路通过联合学习数据编码前因子与电路参数,自适应目标频谱,有望降低复杂度。我们识别出一个实际障碍:前因子梯度受电路可访问频率与目标频谱间谱隙抑制,且与电路参数无关,导致梯度驱动的前因子更新局限于初始值附近狭窄区域。为此,我们提出三元网格初始化——将前因子设为\{1, 3, 9, \ldots, 3^{k-1}\},确保目标频率[-ω_{\max}, ω_{\max}]在初始化时距离可访问谱不超过\tfrac{1}{2}单位,从而消除谱隙对梯度的约束。这是可靠收敛的必要条件,其充分性经实证验证。在目标频率超出标准初始化范围的合成基准上,三元初始化达到中位数R^2=0.997,而一元初始化仅为0.18,且100%的运行实现R^2>0.95,对比下仅0%成功。即使使用评估预算增加20倍的CMA-ES也仅25%成功率,说明该限制源于优化景观而非梯度方法本身。在两个真实基准数据集上的验证表明,其性能持续优于固定与可训练一元基线。
原文摘要 · Abstract (English)
Angle-encoded variational quantum circuits admit a truncated Fourier series representation of their output, but approximating functions with maximum frequency $ω_{\max}$ using fixed unary encoding requires $\mathcal{O}(ω_{\max})$ encoding gates. Trainable-frequency (TF) circuits promise a reduction by learning the data-encoding prefactors alongside the ansatz parameters, adapting the accessible frequency spectrum to the target during training. We identify a practical barrier that prevents this promise from being realized: the prefactor gradient is suppressed by the spectral gap between the circuit's accessible frequencies and the target spectrum, independently of the ansatz parameters, confining gradient-driven prefactor movement to a narrow neighborhood of initialization. We propose \emph{ternary grid initialization} -- setting prefactors to $\{1, 3, 9, \ldots, 3^{k-1}\}$ -- which ensures every target frequency within $[-ω_{\max}, ω_{\max}]$ lies within $\tfrac{1}{2}$ unit of the accessible spectrum at initialization, so that the spectral-gap bound no longer constrains the target-driven gradient to be small. This is a necessary condition for reliable convergence, whose sufficiency we establish empirically. On a synthetic benchmark with target frequencies shifted well beyond the standard initialization range, ternary initialization achieves median $R^2 = 0.997$ versus $0.18$ for unary initialization, with $100\%$ of runs achieving $R^2 > 0.95$ against $0\%$. CMA-ES with $20\times$ the evaluation budget reaches only $25\%$ success, confirming the limitation is a property of the optimization landscape rather than of gradient-based optimization specifically. Real-world validation on two benchmark datasets demonstrates consistent advantages over both fixed and trainable unary baselines.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。