arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.00779cs.LGcs.CV
收藏

利用预定义向量系统加速神经网络多百万类分类

Using predefined vector systems to speed up neural network multimillion class classification

Joint Stock "Research and production company "Kryptonite"(股份公司“研究和生产公司‘Kryptonite’”)

Nikita Gabdullin, Ilya Androsov

AI总结:

本文提出利用预定义向量系统加速神经网络多类分类,通过降低标签预测复杂度提升效率,实验表明方法在多个数据集上实现11.6倍加速,并能预测新类存在。

摘要:

神经网络中的标签预测复杂度与类别数成正比。本文展示,若了解神经网络潜在空间几何特性并具备特定属性,则可通过关联标签预测与向量系统中O(1)复杂度的最近聚类中心搜索,显著降低复杂度。该方法仅需查找嵌入向量中几个最大和最小值的索引,计算效率极高。实验表明该方法不改变神经网络训练准确性,且在多个数据集上验证了其高效性及预测新类的能力。

英文摘要:

Label prediction in neural networks (NNs) has O(n) complexity proportional to the number of classes. This holds true for classification using fully connected layers and cosine similarity with some set of class prototypes. In this paper we show that if NN latent space (LS) geometry is known and possesses specific properties, label prediction complexity can be significantly reduced. This is achieved by associating label prediction with the O(1) complexity closest cluster center search in a vector system used as target for latent space configuration (LSC). The proposed method only requires finding indexes of several largest and lowest values in the embedding vector making it extremely computationally efficient. We show that the proposed method does not change NN training accuracy computational results. We also measure the time required by different computational stages of NN inference and label prediction on multiple datasets. The experiments show that the proposed method allows to achieve up to 11.6 times overall acceleration over conventional methods. Furthermore, the proposed method has unique properties which allow to predict the existence of new classes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑