Abstract
Distributed Composite Quantization (DCQ) addresses the challenge of large-scale approximate nearest neighbor (ANN) search in decentralized environments. By leveraging the Alternating Direction Method of Multipliers (ADMM), DCQ enables the training of global quantizers across a network of nodes without ever centralizing raw data. Empirical results demonstrate that DCQ achieves accuracy comparable to state-of-the-art centralized methods while offering significant speedups through parallelization.
Introduction
Approximate Nearest Neighbor (ANN) search is a fundamental component of modern image retrieval and recommendation systems. While quantization-based methods—which represent high-dimensional vectors as sums of dictionary elements—offer superior accuracy compared to traditional hashing, they are typically designed for centralized settings.
In practice, data is often too large for a single machine or is inherently distributed across various locations, such as video surveillance feeds or sensor networks. Centralizing such data introduces significant communication bottlenecks and privacy risks. DCQ addresses this by learning global quantizers directly within a distributed network, ensuring that data remains local while still contributing to a global model.
Methodology
The proposed Distributed Composite Quantization (DCQ) reformulates Composite Quantization (CQ) as a decentralized optimization problem.
Consensus Constraints and ADMM
The core mechanism of DCQ is the enforcement of consensus across the network. Each node $s$ in the network maintains a local copy of the dictionaries ($C^s$). The algorithm enforces a constraint that $C^s = C^t$ for all neighboring nodes. To solve this global objective without a central master node, the authors employ the Alternating Direction Method of Multipliers (ADMM). This allows the complex global problem to be decomposed into local sub-problems solvable at each node.
Optimization and Communication
Each node updates its local dictionary using the L-BFGS algorithm, an efficient non-linear optimization tool. A key advantage of DCQ is its low communication overhead; nodes only exchange local dictionaries with immediate neighbors, never sharing the actual training data. Consequently, communication complexity is independent of the number of data points, ensuring high scalability across massive datasets.
Experimental Evaluation
The authors evaluated DCQ on several standard benchmarks, including MNIST (70,000 digits), LabelMe22K (22,000 images), and SIFT1M (1 million features). They also tested image retrieval performance on the INRIA Holidays and UKBench datasets using Fisher Vectors and VLAD descriptors.
Performance and Scalability
Results indicate that DCQ achieves accuracy nearly identical to centralized CQ, proving that local consensus is a powerful enough signal to learn global patterns. On the SIFT1M dataset, the recall curves for DCQ and centralized CQ almost perfectly overlap, significantly outperforming older methods like Product Quantization (PQ).
Furthermore, DCQ provides massive speedups through parallelization. For 128-bit codes on SIFT1M, centralized CQ required 328 minutes for training. In contrast, DCQ running on a 16-node binary tree topology completed the task in just 63 minutes—a roughly 5x speedup. The method proved robust across different network shapes, such as lines and trees, though convergence speed varies with the network's diameter.
Conclusion and Future Work
DCQ presents a scalable and accurate solution for distributed ANN search, matching the performance of centralized state-of-the-art methods while drastically reducing training time. While it effectively handles large-scale data without centralization, the non-convex nature of the optimization problem means global optima are not strictly guaranteed. Future work may address synchronous update bottlenecks and explore strategies to mitigate "drift" in extremely large or noisy networks.
Summary updated