变分量子分类器的准确率损失源于何处?网络攻击检测中的角度编码、读出及保真度核参考
Where Does a Variational Quantum Classifier Lose Accuracy? Angle Encoding, Readout and the Fidelity-Kernel Reference in Cyberattack Detection
AI总结:
该研究针对网络攻击检测场景,对比角度与振幅编码等组件,发现准确率损失多源于读出,且经典模型与最佳量子电路准确率相当,无量子优势。
摘要:
当变分量子分类器在检测网络攻击时表现不佳,很难确定是哪个部分导致了问题:编码、训练电路还是将测量结果转换为类别的读出。在这项工作中,我们基于最近的振幅编码分类器,尝试在无噪声模拟中分离其对NSL-KDD基准的贡献。我们比较角度编码和振幅编码,每次改变一个组件,并将每个电路与经典基准(对编码状态的支持向量机,其准确率估计训练良好的电路能达到的水平)进行对比。大部分准确率损失源于读出:读取一个量子比特或所有量子比特的奇偶性会浪费几个百分点的准确率,而与电路一起训练的读出能从相同测量结果中恢复大部分损失。这也解释了为什么一些分类器在添加更多层后不再提升。编码适用于不同需求:角度编码在训练数据类型的流量上提供更准确的检测器,且从8个特征开始需要更浅的电路;振幅编码需要的量子比特少得多,能捕获更多训练中未见过类型的攻击。最后,我们报告经典模型在相同输入下的准确率与最佳电路相当,因此未展现出量子优势。
英文摘要:
When a variational quantum classifier performs poorly at detecting network attacks, it is hard to tell which part is to blame: the encoding, the trained circuit or the readout, which turns measurements into a class. In this work, we build upon a recent amplitude-encoded classifier, and we try to separate their contributions to the NSL-KDD benchmark in noiseless simulation. We compare angle and amplitude encoding, vary one component at a time, and measure each circuit against a classical yardstick: a support-vector machine on the encoded states, whose accuracy estimates what a well-trained circuit can reach. Most of the shortfall lies in the readout. Reading one qubit, or the parity of all qubits, leaves several percentage points unused, while a readout trained together with the circuit recovers most of them from the same measurements. This also explains why some classifiers stop improving as further layers are added. The encodings suit different needs. Angle encoding gives the more accurate detector on traffic like the training data and, from eight features up, shallower circuits; amplitude encoding needs far fewer qubits and catches more attacks of types never seen in training. Finally, we report that classical models, given the same inputs, are about as accurate as the best circuits, thus, registering no quantum advantage.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。