Optimizing Matrix-Vector Operations With CGLA for High-Performance Approximate k-NN Search

In this paper, we propose a novel approach to accelerating approximate k-nearest neighbor (k-NN) search—a crucial operation in modern vector databases such as OpenSearch, ElasticSearch, Pinecone, and Milvus. Our method specifically targets the post-clustering phase in the inverted file (IVF) technique, where the bulk of computational effort is devoted to matrix-vector (MV) multiplication. The primary innovation lies in the optimization technique known as IMAX3—a Coarse-Grained Linear Array (CGLA) —which effectively leverages local memory to retain vectors between queries. This approach eliminates the need to reload vectors for subsequent queries, thereby minimizing memory movement and significantly reducing latency. Experimental evaluations demonstrate that, when excluding overhead, IMAX3 achieves up to a 54.9× speedup for repeat queries compared to the initial execution—substantially outperforming conventional methods and making our solution highly suitable for real-time vector search applications. Moreover, relative to the RTX 4090, we achieve an energy-delay product (EDP) reduction of up to 498.41× and on average 185.23×.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3582825
Primary Topic
Fuzzy Logic and Control Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Matrix-Vector Operations With CGLA for High-Performance Approximate k-NN Search

D. Y. Kim, Yasuhiko Nakashima
IEEE Access
Fuzzy Logic and Control Systems
article

Optimizing Matrix-Vector Operations With CGLA for High-Performance Approximate k-NN Search

D. Y. Kim, Yasuhiko Nakashima
article en

Abstract

In this paper, we propose a novel approach to accelerating approximate k-nearest neighbor (k-NN) search—a crucial operation in modern vector databases such as OpenSearch, ElasticSearch, Pinecone, and Milvus. Our method specifically targets the post-clustering phase in the inverted file (IVF) technique, where the bulk of computational effort is devoted to matrix-vector (MV) multiplication. The primary innovation lies in the optimization technique known as IMAX3—a Coarse-Grained Linear Array (CGLA) —which effectively leverages local memory to retain vectors between queries. This approach eliminates the need to reload vectors for subsequent queries, thereby minimizing memory movement and significantly reducing latency. Experimental evaluations demonstrate that, when excluding overhead, IMAX3 achieves up to a 54.9× speedup for repeat queries compared to the initial execution—substantially outperforming conventional methods and making our solution highly suitable for real-time vector search applications. Moreover, relative to the RTX 4090, we achieve an energy-delay product (EDP) reduction of up to 498.41× and on average 185.23×.

IEEE AccessVol. 13
Nara Institute of Science and Technology (JP)
Japan Society for the Promotion of Science, Japan Science and Technology Agency
Openalex Percentile: Top 93%
Fuzzy Logic and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Matrix-Vector Operations With CGLA for High-Performance Approximate k-NN Search — D. Y. Kim, Yasuhiko Nakashima · IEEE Access (2025) | TGRS Research Map | TGRS