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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gabdullin, Nikita, Androsov, Ilya
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910104713953280
author Gabdullin, Nikita
Androsov, Ilya
author_facet Gabdullin, Nikita
Androsov, Ilya
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_00779
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Using predefined vector systems to speed up neural network multimillion class classification
Gabdullin, Nikita
Androsov, Ilya
Machine Learning
Computer Vision and Pattern Recognition
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.
title Using predefined vector systems to speed up neural network multimillion class classification
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.00779