paper-with-me

홈 › Papers

Exploring the Meaningfulness of Nearest Neighbor Search in High-Dimensional Space

2024-10-08 · Zhonghan Chen, Ruiyuan Zhang, Xi Zhao, Xiaojun Cheng, Xiaofang Zhou

Dense high dimensional vectors are becoming increasingly vital in fields such as computer vision, machine learning, and large language models (LLMs), serving as standard representations for multimodal data. Now the dimensionality of these vector can exceed several thousands easily. Despite the nearest neighbor search (NNS) over these dense high dimensional vectors have been widely used for retrieval augmented generation (RAG) and many other applications, the effectiveness of NNS in such a high-dimensional space remains uncertain, given the possible challenge caused by the "curse of dimensionality." To address above question, in this paper, we conduct extensive NNS studies with different distance functions, such as $L_1$ distance, $L_2$ distance and angular-distance, across diverse embedding datasets, of varied types, dimensionality and modality. Our aim is to investigate factors influencing the meaningfulness of NNS. Our experiments reveal that high-dimensional text embeddings exhibit increased resilience as dimensionality rises to higher levels when compared to random vectors. This resilience suggests that text embeddings are less affected to the "curse of dimensionality," resulting in more meaningful NNS outcomes for practical use. Additionally, the choice of distance function has minimal impact on the relevance of NNS. Our study shows the effectiveness of the embedding-based data representation method and can offer opportunity for further optimization of dense vector-related applications.

📄 PDF Abstract BibTeX arXiv:2410.05752

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Exploring Nearest Neighbor Approaches for Image Captioning

2015-05-17 · Jacob Devlin, Saurabh Gupta, Ross Girshick, Margaret Mitchell 외

We explore a variety of nearest neighbor baseline approaches for image captioning. These approaches find a set of nearest neighbor images in the training set from which a caption may be borrowed for the query image. We s…

Image Captioning

Elliptical K-Nearest Neighbors -- Path Optimization via Coulomb's Law and Invalid Vertices in C-space Obstacles

2025-08-27 · Liding Zhang, Zhenshan Bing, Yu Zhang, Kuanqi Cai 외 arxiv

Path planning has long been an important and active research area in robotics. To address challenges in high-dimensional motion planning, this study introduces the Force Direction Informed Trees (FDIT*), a sampling-based…

Motion Planning

Fast Spectral Ranking for Similarity Search

2017-03-20 · CVPR 2018 6 · Ahmet Iscen, Yannis Avrithis, Giorgos Tolias, Teddy Furon 외

Despite the success of deep learning on representing images for particular object retrieval, recent studies show that the learned representations still lie on manifolds in a high dimensional space. This makes the Euclide…

Retrieval

LANNS: A Web-Scale Approximate Nearest Neighbor Lookup System

2020-10-19 · Ishita Doshi, Dhritiman Das, Ashish Bhutani, Rajeev Kumar 외

Nearest neighbor search (NNS) has a wide range of applications in information retrieval, computer vision, machine learning, databases, and other areas. Existing state-of-the-art algorithm for nearest neighbor search, Hie…

Information RetrievalPlaying the Game of 2048Retrieval

Probabilistic Routing for Graph-Based Approximate Nearest Neighbor Search

2024-02-17 · Kejing Lu, Chuan Xiao, Yoshiharu Ishikawa

Approximate nearest neighbor search (ANNS) in high-dimensional spaces is a pivotal challenge in the field of machine learning. In recent years, graph-based methods have emerged as the superior approach to ANNS, establish…