利用结构特性进行高效的约束感知HNSW超参数调优
Exploiting Structural Properties for Efficient Constraint-Aware HNSW Hyperparameter Tuning
AI总结:
从系统角度研究HNSW超参数调优,发现其配置空间有结构规律,提出CHAT框架,利用特定结构进行确定性、高效搜索,在多数据集和引擎上表现出色,优于基线。
摘要:
向量数据库是现代检索系统的核心组件,高效的近似最近邻搜索至关重要。HNSW图因其强大的召回率-延迟权衡而被广泛采用,但配置具有挑战性。本文从系统角度研究HNSW超参数调优,发现其配置空间有结构规律,提出CHAT框架,通过利用特定结构进行确定性、高效搜索,在多数据集和引擎上表现出色,优于基线。
英文摘要:
Vector databases (VectorDBs) are a core component of modern retrieval systems, including Retrieval-Augmented Generation (RAG), where efficient Approximate Nearest Neighbor Search (ANNS) is critical. Among ANNS algorithms, Hierarchical Navigable Small World (HNSW) graphs are widely adopted for their strong recalllatency trade-off. However, configuring HNSW remains challenging: its hyperparameters jointly affect search quality, latency, build time, and index size in nonlinear ways, while production deployments impose strict resource and tuning-time constraints.We study HNSW hyperparameter tuning from a systems perspective and show that its configuration space exhibits strong structural regularities. Specifically, we identify monotonic, dominant unimodal, and separable relationships among search-time and construction-time parameters, which induce feasibility boundaries under performance and resource constraints. Building on this insight, we propose CHAT, a constraint-aware tuning framework for HNSW. Unlike generic black-box optimizers, CHAT exploits HNSW-specific structure to perform deterministic, sample-efficient search and prune resource-infeasible configurations before full index construction. Across multiple datasets and HNSW-based vector search engines, CHAT identifies configurations that maximize recall or throughput while satisfying constraints on accuracy, latency, build time, index size, and tuning budget. Compared to strong baselines, CHAT achieves up to 45% higher throughput or 11% higher recall, and converges up to 44x faster. These results show that principled, structure-aware tuning enables efficient and robust HNSW deployment beyond generic black-box optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。