基于潜空间配置的神经网络微调、快速排序与嵌入降维方法
Latent space configuration for neural network finetuning, fast ranking, and embedding dimensionality reduction
研究提出面向神经网络结构化潜空间的搜索算法,通过O(1)复杂度的小候选库子集搜索加速top K检索。使用Latent Space Configuration(LSC)方法微调ArcFace预训练的IResNet50模型,获得具有目标几何特性的新嵌入分布。在微调模型嵌入上,该方法较基线穷举搜索在GPU上最高提速3倍、CPU上提速40%,潜空间降维还能进一步加速搜索并改善rank-N指标。
arXiv:2610.29295v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org