通过互信息揭示量子神经网络的工作机制
Revealing the working mechanism of quantum neural networks by mutual information
AI总结:
本文通过将量子神经网络电路划分为丢弃子系统和测量子系统,利用互信息 I(Di:Mo) 与 I(Mi:Mo) 在训练中的变化揭示其工作机制,并用于分析 QNNs 的准确性与泛化性。
摘要:
量子神经网络(QNNs)是一种参数化量子电路模型,可以通过基于梯度的优化器进行训练,可用于监督学习、回归任务、组合优化等。尽管许多工作已经证明,与经典神经网络相比,QNNs 具有更好的可学习性、泛化性等。然而,与经典神经网络一样,我们仍然无法很好地解释它们的工作机制。在本文中,我们通过互信息揭示 QNNs 的训练机制。与神经网络中传统的互信息不同,由于量子计算保持信息守恒,U 算子的输入和输出的互信息是平凡的。在我们的工作中,为了观察训练过程中互信息的变化,我们将量子电路(U 算子)划分为两个子系统,分别为丢弃子系统(D)和测量子系统(M)。我们计算两个互信息 I(Di : Mo) 和 I(Mi : Mo)(i 和 o 表示相应子系统的输入或输出),并观察它们在训练过程中的行为。随着训练轮数增加,I(Di : Mo) 逐渐增大,这可能意味着丢弃子系统的某些信息被持续推入测量子系统,这些信息应当与标签相关。此外,I(Mi : Mo) 在训练过程中表现出两阶段行为,这与信息瓶颈的预期一致。第一阶段,I(Mi : Mo) 增大,这意味着测量子系统执行特征拟合。第二阶段,I(Mi : Mo) 减小,这可能意味着系统正在泛化,测量子系统尽可能多地将与标签无关的信息丢弃到丢弃子系统中。我们的工作通过互信息讨论了 QNNs 的工作机制,进一步地,它可以用于分析 QNNs 的准确性和泛化性。
英文摘要:
Quantum neural networks (QNNs) is a parameterized quantum circuit model, which can be trained by gradient-based optimizer, can be used for supervised learning, regression tasks, combinatorial optimization, etc. Although many works have demonstrated that QNNs have better learnability, generalizability, etc. compared to classical neural networks. However, as with classical neural networks, we still can't explain their working mechanism well. In this paper, we reveal the training mechanism of QNNs by mutual information. Unlike traditional mutual information in neural networks, due to quantum computing remains information conserved, the mutual information is trivial of the input and output of U operator. In our work, in order to observe the change of mutual information during training, we divide the quantum circuit (U operator) into two subsystems, discard subsystem (D) and measurement subsystem (M) respectively. We calculate two mutual information, I(Di : Mo) and I(Mi : Mo) (i and o means input or output of the corresponding subsystem), and observe their behavior during training. As the epochs increases, I(Di : Mo) gradually increases, this may means some information of discard subsystem is continuously pushed into the measurement subsystem, the information should be label-related. What's more, I(Mi : Mo) exist two-phase behavior in training process, this consistent with the information bottleneck anticipation. The first phase, I(Mi : Mo) is increasing, this means the measurement subsystem perform feature fitting. The second phase, I(Mi : Mo) is decreasing, this may means the system is generalizing, the measurement subsystem discard label-irrelevant information into the discard subsystem as many as possible. Our work discussed the working mechanism of QNNs by mutual information, further, it can be used to analyze the accuracy and generalization of QNNs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。