Latent space configuration for neural network finetuning, fast ranking, and embedding dimensionality reduction
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- 14 pages, 4 figures, 2 tables, 2 algorithms
Related papers
PixGR: Pixel-Space Generative Decoding for Fast Feed-Forward 3D Reconstruction
Shared title terminologycs.CVRanran Huang, Wenjing Bian, Weixun Luo et al.
Latent Space Jam: Layout Guided Video Synthesis
Shared title terminologycs.CVAsaf Joseph, Moshe Mandel, Ohad Fried
Detector Operating Behavior Inference via Data-Space Sampling
Shared title terminologycs.CVStefan Becker, Simon Weiss, Wolfgang Hübner
Spe3DUp: Faithful Trajectory Distillation for Fast Image-to-3D Generation
Shared title terminologycs.CVLiangchao Xu, Jiaye Fu, Youtian Lin et al.
Exploring the Design Factors of Pixel-space Diffusion
Shared title terminologycs.CVMang Ning, Le Zhang, Albert Ali Salah et al.
ScaleCurve: From Constant Scale to Consistent Motion for World-Space Human Mesh Recovery
Shared title terminologycs.CVSanghyeon Lee, Jong Taek Lee