Stitching Inner Product and Euclidean Metrics for Topology-aware Maximum Inner Product Search
Tingyang Chen, Cong Fu, Xiangyu Ke, Yunjun Gao, Yabo Ni, Anxiang Zeng
Abstract
Maximum Inner Product Search (MIPS) is a fundamental challenge in machine learning and information retrieval, particularly in high-dimensional data applications. Existing approaches to MIPS either rely solely on Inner Product (IP) similarity, which faces issues with local optima and redundant computations, or reduce the MIPS problem to the Nearest Neighbor Search under the Euclidean metric via space projection, leading to topology destruction and information loss. Despite the divergence of the two paradigms, we argue that there is no inherent binary opposition between IP and Euclidean metrics. By stitching IP and Euclidean in the design of indexing and search algorithms, we can significantly enhance MIPS performance. Specifically, this paper explores the theoretical and empirical connections between these two metrics from the MIPS perspective. Our investigation, grounded in graph-based search, reveals that different indexing and search strategies offer distinct advantages for MIPS, depending on the underlying data topology. Building on these insights, we introduce a novel graph-based index called Metric-Amphibious Graph (MAG) and a corresponding search algorithm, Adaptive Navigation with Metric Switch (ANMS). To facilitate parameter tuning for optimal performance, we identify three statistical indicators that capture essential data topology properties and correlate strongly with parameter tuning. Extensive experiments on 12 real-world datasets demonstrate that MAG outperforms existing state-of-the-art methods, achieving up to 4x search speedup while maintaining adaptability and scalability.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Empowering Graph-based Approximate Nearest Neighbor Search with Adaptive Awareness Capabilities cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
- Empowering Graph-based Approximate Nearest Neighbor Search with Adaptive Awareness Capabilities cites Learning Transferable Visual Models From Natural Language Supervision
- Empowering Graph-based Approximate Nearest Neighbor Search with Adaptive Awareness Capabilities cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Breaking the Single-Reference-Vector Barrier in Approximate Nearest Neighbor Search cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
- Breaking the Single-Reference-Vector Barrier in Approximate Nearest Neighbor Search cites Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases
- Breaking the Single-Reference-Vector Barrier in Approximate Nearest Neighbor Search cites Accelerating Large-Scale Inference with Anisotropic Vector Quantization
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis] cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis] cites Empowering Graph-based Approximate Nearest Neighbor Search with Adaptive Awareness Capabilities
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis] cites Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis] cites Accelerating Large-Scale Inference with Anisotropic Vector Quantization
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis] cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
Cited by top-tier papers3
- Reveal Hidden Pitfalls and Navigate Next Generation of Vector Similarity Search from Task-Centric Views: [Experiments & Analysis]Tingyang Chen, Cong Fu, Jiahua Wu, Haotian Wu et al.SIGMOD 2026 · 5 citations
- Empowering Graph-based Approximate Nearest Neighbor Search with Adaptive Awareness CapabilitiesJiancheng Ruan, Tingyang Chen, Renchi Yang, Xiangyu Ke et al.KDD 2025 · 2 citations
- Breaking the Single-Reference-Vector Barrier in Approximate Nearest Neighbor SearchJiadong Xie, Jeffrey Liang, Siyi Teng, Jeffrey Xu Yu et al.WWW 2026
Builds on17
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
- Efficient Approximate Nearest Neighbor Search in Multi-dimensional DatabasesYun Peng, Byron Choi, Tsz Nam Chan, Jianye Yang et al.SIGMOD 2023 · 74 citations
Related papers
- Understanding and Improving Proximity Graph Based Maximum Inner Product SearchJie Liu, Xiao Yan, Xinyan Dai, Zhirong Li et al.AAAI 2020 · 35 citations
- Maximum Inner Product is Query-Scaled Nearest NeighborTingyang Chen, Cong Fu, Kun Wang, Xiangyu Ke et al.VLDB 2025 · 5 citations
- Faster Maximum Inner Product Search in High DimensionsMo Tiwari, Ryan Kang, Jaeyong Lee, Donghyun Lee et al.ICML 2024 · 6 citations
- Enhancing Graph-based Approximate Maximum Inner Product Search via Norm-Adaptive PartitioningXi Zhao, Zhoujin Tian, Kai Huang, Yao Tian et al.SIGMOD 2026
- Anisotropic Additive Quantization for Fast Inner Product SearchJin Zhang, Qi Liu, Defu Lian, Zheng Liu et al.AAAI 2022 · 12 citations
