cs.CVOct 21, 2026

Latent space configuration for neural network finetuning, fast ranking, and embedding dimensionality reduction

Authors: Nikita Gabdullin, Anton Raskovalov

Organizations: Joint Stock "Research and production company "Kryptonite"

Abstract

Finding K most similar elements for a query in a large gallery of neural network (NN) embeddings is essential in various areas of computer science and industrial applications of artificial intelligence. This paper proposes search algorithms for structured latent spaces (LS) of NNs which allow to speed up top K item retrieval owing to O(1) complexity small candidate gallery subset search. ArcFace-pretrained IResNet50 models are finetuned using Latent Space Configuration (LSC) methodology to obtain new distribution of embeddings with desired geometric properties. Applying the proposed algorithms to embeddings obtained from finetuned models leads to several times speed-up over baseline exhaustive search. Specifically, we report up to 3 times speed-up on GPU and 40% speed-up on CPU compared to the baseline method GPU speed. These results are obtained for the original and reduced numbers of LS dimensions. The results show that LS dimensionality reduction allows to further accelerate the search and even improve rank-N metrics.

Figures & tables

Explore similar work

CardsList
  1. Panorama: Fast-Track Nearest Neighbors

    Oct 1, 2025Vansh Ramani, Alexis Schlomer, Akash Nayar +3Product QuantizationApproximate Nearest Neighbor Search

  2. RSLM: Training-Free Vector Quantization for Approximate Nearest Neighbor Search

    Aug 31, 2026Rastislav Lenhardt, Teodora Dobos, Thomas Vecchiato +2Rotation-Based QuantizationVector Quantization