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

Nikita Gabdullin, Ilya Androsov
4/1/2026
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{gabdullin2026using,
  title  = {Using predefined vector systems to speed up neural network multimillion class classification},
  author = {Nikita Gabdullin and Ilya Androsov},
  year   = {2026},
  eprint = {2604.00779},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.00779v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.00779.svg)](https://codeofpaper.com/paper/2604.00779)

Discussion