量子启发算法在极限学习中的应用
Quantum-inspired algorithm applied to extreme learning
摘要:
量子奇异值分解(SVD)是一种在对数时间内相对于矩阵的维度执行SVD的技术,给定对嵌入在段树数据结构中的矩阵的访问。通过根据矩阵元素的范数对其进行有效采样,可以实现加速。在这里,我们将其应用于极端学习,这是一种机器学习框架,使用通过随机神经网络生成的随机特征向量执行线性回归。极端学习适合于量子SVD的应用,因为它首先需要将每个数据转换为随机特征,在此期间,我们可以构建具有相对于数据数量的对数开销的数据结构。我们实现了该算法,并观察到,当我们使用高维特征向量时,它的工作速度比精确的SVD快一个数量级。然而,我们也观察到,对于随机神经网络生成的随机特征,由于这种情况下矩阵的均匀性,我们可以用均匀采样代替量子启发算法中基于范数的采样,以获得相同水平的测试精度。基于范数的采样对于通过优化特征映射获得的更不均匀的矩阵变得有效。这意味着矩阵元的非均匀性是量子奇异值分解的一个关键特性。这项工作是量子启发算法实际应用的第一步。
英文摘要:
Quantum-inspired singular value decomposition (SVD) is a technique to perform SVD in logarithmic time with respect to the dimension of a matrix, given access to the matrix embedded in a segment-tree data structure. The speedup is possible through the efficient sampling of matrix elements according to their norms. Here, we apply it to extreme learning which is a machine learning framework that performs linear regression using random feature vectors generated through a random neural network. The extreme learning is suited for the application of quantum-inspired SVD in that it first requires transforming each data to a random feature during which we can construct the data structure with a logarithmic overhead with respect to the number of data. We implement the algorithm and observe that it works order-of-magnitude faster than the exact SVD when we use high-dimensional feature vectors. However, we also observe that, for random features generated by random neural networks, we can replace the norm-based sampling in the quantum-inspired algorithm with uniform sampling to obtain the same level of test accuracy due to the uniformity of the matrix in this case. The norm-based sampling becomes effective for more non-uniform matrices obtained by optimizing the feature mapping. It implies the non-uniformity of matrix elements is a key property of the quantum-inspired SVD. This work is a first step toward the practical application of the quantum-inspired algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。