# Cluster with Auctions for Vector Search

*Swann Bessa, Pierre Fernandez, Gergely Szilvasy, Matthijs Douze, Herve Jegou*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153334) · [OpenReview](https://openreview.net/forum?id=M4uXVIjfK7) · [alphaXiv](https://www.alphaxiv.org/abs/2607.13728) · [Open on the map](../papers.html#p153334)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Coresets and Efficient Summarization for Clustering](../pgroup/76.md) · Type: new method · Keywords: vector search, approximate nearest neighbor, cluster partitioning, auction algorithm, neural probing

## Summary
CwA (Cluster with Auctions) jointly learns a balanced database partition and a neural probing function to improve vector search throughput, especially when query and database distributions differ.

## Explained to a 5-year-old
We have a huge collection of points that we store in groups. When we want to find a point that matches a new query, we need to open some of those groups to look inside. Usually the groups are the same for storing points and for looking, which can be slow. This paper makes the groups and the way we choose which groups to open learn together, so we open fewer groups and find things faster. It also makes sure the groups are balanced so no group is too full.

## Explained to a 5-year-old, longer
Imagine you have a huge box of many tiny balls, each ball has numbers on it. To find a ball that matches a new picture, you need to look inside some groups of balls. Usually the groups are made once and used for both storing balls and looking for them. This can be slow when the balls are arranged differently from the pictures you are looking for. The paper makes the groups and the way we pick groups learn together, so they fit each other better. It uses a special game-like algorithm that decides which ball goes into which group while keeping groups balanced. The groups can also be split into smaller sub-groups to make the search even finer. When the balls and the pictures are different, this new way opens fewer groups, so it is faster. Even when the pictures are similar to the balls, a simple rule for picking groups works well. The result is that you can find matching balls much quicker and use less computer power. It also helps when many people are searching at the same time because the groups are balanced. Overall, the system makes searching through huge collections of data faster and more efficient.

## For a technical reader
CwA (Cluster with Auctions) jointly learns a balanced partition of the database vectors and a neural probing function to improve approximate nearest neighbor search. It alternates gradient descent on the probing network with a combinatorial optimization step that assigns vectors to clusters using a parallelizable auction algorithm. The method also scales by forming a Cartesian product of clusters, increasing granularity without sacrificing throughput. Experiments show up to 4.7× higher throughput than existing methods when query and database distributions differ, and strong performance in the in-distribution setting. The approach is designed for large-scale vector databases where search speed and memory efficiency are critical.

## Problem
In large-scale approximate nearest neighbor search, database vectors are partitioned into clusters and a probing function selects clusters for each query. Typically the same assignment function is used for both database vectors and queries, which is suboptimal when their distributions differ, leading to inefficient search.

## Method
The approach jointly learns a balanced partition of database vectors and a neural probing function by alternating gradient descent on the probing network and a combinatorial optimization of cluster assignments solved via a parallelizable auction algorithm. It further scales by using a Cartesian product of clusters to increase granularity.

## Results
When database and query distributions differ, the approach achieves up to 4.7× throughput over the state of the art at equal recall, and in the in-distribution setting a simple linear probing function outperforms competing deep neural methods.

## Contributions
It introduces a joint learning framework for database partitioning and query probing that directly optimizes for query distribution, uses an auction-based combinatorial optimization to balance clusters, and scales via a Cartesian product of clusters.

## Practical relevance
The method enables faster and more efficient vector search in large-scale systems, especially when query patterns differ from the indexed data.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153334)
