Search arXiv⌕ Search

arXiv subjects

Shuhang Lu

Publications and source records attributed to Shuhang Lu.

3 recordsLinked to original sources

E8Q: Near-Optimal Low-Bit Vector Quantization Leveraging E8 Lattice Geometry for Fast Vector Search

Vector quantization is widely used in vector search systems to reduce storage and computation costs by encoding high-dimensional vectors into compact representations. However, existing quantizers fail to simultaneously provide (1) training-free joint multi-dimensional codebooks, (2) high quantization similarity with strong optimality guarantees, (3) unbiased and FastScan-friendly distance estimation with tight error bounds, and (4) native sub-bit compression. In particular, they are mainly designed for high-accuracy vector quantization using multiple bits per dimension (bpd) and generally cannot operate below 1 bpd. To address these limitations, we propose E8Q, a low-bit directional quantizer based on the roots of the E8 lattice that addresses all four aspects. For codebook design, it uses a geometrically well-distributed E8 root codebook to quantize each 8D subvector, enabling high-quality 1-bit quantization without training. For theoretical guarantees, we prove that its expected quantization similarity reaches 0.825, the highest known for 1-bit quantizers and at least 95.26% of the global optimum. For search performance, E8Q provides unbiased distance estimates with a provably tight error bound. We further develop E8Q-FS, a FastScan-friendly variant enabling parallel lookups on SIMD-register-resident tables. For compression, E8Q uses block-wise codeword selection to natively support bit rates as low as 0.5 bpd while limiting quantization-quality loss. Experiments show that E8Q can improve query throughput by up to 77.8% over the strongest baselines at 99.07% recall. At 0.5 bpd, E8Q improves the achievable recall by up to 10.83%.

cs.DB↗

Disk-Resident Graph ANN Search: An Experimental Evaluation

As data volumes grow while memory capacity remains limited, disk-resident graph-based approximate nearest neighbor (ANN) methods have become a practical alternative to memory-resident designs, shifting the bottleneck from computation to disk I/O. However, since their technical designs diverge widely across storage, layout, and execution paradigms, a systematic understanding of their fundamental performance trade-offs remains elusive. This paper presents a comprehensive experimental study of disk-resident graph-based ANN methods. First, we decompose such systems into five key technical components, i.e., storage strategy, disk layout, cache management, query execution, and update mechanism, and build a unified taxonomy of existing designs across these components. Second, we conduct fine-grained evaluations of representative strategies for each technical component to analyze the trade-offs in throughput, recall, and resource utilization. Third, we perform comprehensive end-to-end experiments and parameter-sensitivity analyses to evaluate overall system performance under diverse configurations. Fourth, our study reveals several non-obvious findings: (1) vector dimensionality fundamentally reshapes component effectiveness, necessitating dimension-aware design; (2) existing layout strategies exhibit surprisingly low I/O utilization (less than or equal to 15%); (3) page size critically affects feasibility and efficiency, with smaller pages preferred when layouts are carefully optimized; and (4) update strategies present clear workload-dependent trade-offs between in-place and out-of-place designs. Based on these findings, we derive practical guidelines for system design and configuration, and outline promising directions for future research.

cs.DB↗

CLIP: Lightweight Cosine-Law-Based Inverted-List Pruning for IVF-Based Vector Search

Vector search has become a core component of modern multimodal retrieval systems. Among existing methods, inverted file (IVF)-based methods are widely adopted due to their scalability, efficient updates, and hardware friendliness. However, they are fundamentally limited by coarse-grained execution: each query typically probes many clusters and exhaustively scans all vectors within them, resulting in high query latency. Prior works mitigate this using pruning strategies, but they often incur substantial extra pruning overhead, lack cluster-level pruning, and compromise update efficiency due to heavy maintenance of pruning metadata. This paper proposes CLIP, a lightweight cosine-law-based pruning technique that supports both inter- and intra-cluster pruning, substantially reducing unnecessary cluster and vector accesses with negligible overhead. First, CLIP exploits the monotonicity of cosine-law-based lower bounds, enabling eliminating an undesirable cluster in O(1) time and filtering batches of irrelevant vectors in logarithmic time in the list size, with a tight analytical guarantee. Second, building on this, we develop two IVF variants: IVF-CLIP, which integrates CLIP into IVFFlat, and HIVF-CLIP, which extends it with a hierarchical structure for adaptive sub-cluster probing. Third, for dynamic workloads, we present LSM-IVF, an LSM-inspired design that supports fast updates by deferring index maintenance to background compaction, and enables efficient queries via CLIP-based optimizations that eliminate costly level-by-level searches. Extensive experiments show that CLIP variants achieve up to 78% pruning and 69% higher efficiency over static IVF baselines, while LSM-IVF improves throughput by up to 141% over dynamic IVF baselines with comparable update efficiency.

cs.DB↗