SOLANET: Distributed Neighbor Graph Construction on GPU-Accelerated Systems

Keita Iwabuchi, Trevor Steil, Benjamin W. Priest, Grace J. Li, Geoffrey Sanders, Roger PearcearXiv 2026

TL;DR

SOLANET is a new open-source, distributed toolkit designed to build massive approximate $k$-nearest neighbor graphs ($k$NNGs) across GPU-accelerated supercomputers. By combining a novel lock-free single-GPU algorithm with a binary-tree-structured distributed refinement phase, it achieves an 11× speedup when scaling from 32 to 512 AMD MI300A APUs, processing datasets with up to 2 billion points without sacrificing graph quality.

What Problem Does This Paper Address?

Nearest neighbor graphs are the backbone of modern large-scale data processing, powering everything from recommendation engines and vector databases to Retrieval-Augmented Generation (RAG) in Large Language Models (LLMs). A $k$NNG connects every data point to its $k$ most similar counterparts based on a distance metric.

However, building these graphs exactly is computationally brutal ($O(N^2)$), forcing practitioners to rely on approximate methods like NN-Descent. While single-GPU implementations have made great strides, modern datasets routinely scale into billions of high-dimensional points, far exceeding the memory capacity of a single machine.

Scaling graph construction to distributed multi-GPU systems introduces a massive hurdle: graph traversal exhibits highly irregular computation and communication patterns. Previous distributed attempts either suffered from low arithmetic intensity (doing too little compute per byte transferred) or were strictly limited to specific distance metrics like $L_2$. SOLANET addresses these scalability and flexibility bottlenecks.

Methods

SOLANET decouples local graph construction from distributed refinement, allowing it to scale seamlessly across hundreds of nodes using a two-tiered approach:

  1. Lock-Free Local Graph Construction: On a single GPU, traditional implementations (like GNND in NVIDIA’s cuVS) use global memory spinlocks to prevent race conditions when multiple threads update a point's neighbor list simultaneously. SOLANET introduces a lock-free approach for AMD GPUs. It maintains a neighbor candidate list for each point, using atomic operations to append new candidates. A single thread then sequentially updates the actual $k$NNG structure later, bypassing expensive global memory locks.
  2. Scalable Distributed Refinement: Once each GPU builds its local graph, it must find neighbors residing on other partitions. SOLANET achieves this via a two-phase approach:
  3. Binary-Tree-Structured Refinement: Ranks are hierarchically paired up. A rank pulls data from its partner using MPI one-sided get operations, concatenates the datasets, optimizes the graph for search, and runs an Approximate Nearest Neighbor (ANN) search to update its local edges.
  4. Flat Refinement: After the tree phase reduces the active groups, the remaining groups perform an all-to-all style refinement, overlapping communication and computation via double buffering.
Fig. 2: ANN search-based distributed kNNG refinement with 8 MPI ranks. Assume that at least two GPUs are required to store the dataset. Only the activity of rank 0 is shown for simplicity. All ranks execute the same procedure.

Datasets

The authors evaluated SOLANET using a mix of standard mid-sized benchmarks and massive billion-scale datasets:

  • Standard Benchmarks: Fashion-MNIST, NYTimes, Last.fm, GIST, SIFT-1M, and GloVe50.
  • Billion-Scale Benchmarks: DEEP-100M, SIFT-100M, DEEP-1B (1 billion points), and SIFT-1B (1 billion points).
  • Synthetic Benchmark: DEEP-2B, a 2-billion-point dataset synthesized by shifting coordinate axes of DEEP-1B copies to test extreme scaling limits.
TABLE I: Datasets used in our evaluation. Dims: feature vector dimensions. Type: feature vector element type.

Key Insights and Ideas

  • Exploiting Search Robustness: The core intuition behind the binary-tree merge phase relies on a unique property of graph-based ANN search (specifically the CAGRA library used here): search runtime is largely insensitive to the total number of points in the search graph. Searching one large merged graph is significantly faster than sequentially searching multiple smaller sub-graphs.
  • Atomic Operations Over Spinlocks: On modern GPU architectures, global memory spinlocks severely degrade performance. Moving the synchronization bottleneck to an atomic-append candidate list structure yields massive throughput gains on AMD's MI300A architecture.
  • Asynchronous One-Sided Communication: By utilizing MPI one-sided communication, GPUs can pull remote sub-graphs asynchronously without interrupting the target compute nodes, effectively hiding latency.

Key Results

Single-GPU Performance

SOLANET’s lock-free NN-Descent was compared against hipVS (the AMD port of NVIDIA's cuVS). Across almost all datasets, SOLANET achieved a superior recall-to-time trade-off. Most notably, on the difficult Last.fm dataset, hipVS failed to exceed 28% recall within the evaluated parameters, whereas SOLANET easily achieved ~91% recall.

Distributed Scaling

Evaluated on the Tuolumne supercomputer (a sibling system to El Capitan), SOLANET demonstrated exceptional strong scaling:

  • 1 Billion Points: Scaling from 32 to 512 APUs yielded an 11.0× speedup on DEEP-1B (dropping execution time from 926 to 84 seconds) and an 11.7× speedup on SIFT-1B.
  • 2 Billion Points: On the massive DEEP-2B dataset, it achieved a 6.9× speedup when scaling from 64 to 512 APUs.
  • vs. CPU Baselines: Compared to NEO-DNND (a state-of-the-art CPU distributed library) running on 256 CPUs, SOLANET on 256 APUs completed the task 8.3× faster while delivering vastly superior graph quality (99% recall vs. 70–75% for NEO-DNND).

Limitations and Future Work

While SOLANET sets a new standard for distributed graph construction, the authors note a few limitations:

  • Fixed Feature Lengths: The current implementation assumes all feature vectors are of identical length, requiring engineering effort to support variable-length vectors efficiently on GPUs.
  • Hardware Lock-in: The toolkit is currently tailored to the AMD ROCm software ecosystem and hipVS. Porting the architecture to NVIDIA GPUs via CUDA/cuVS is an active next step.
  • Partitioning Agnostic: Data is currently partitioned randomly. The authors plan to explore domain-specific partitioning strategies to minimize the need for cross-partition graph refinement altogether.

Summary updated

BibTeX
@misc{iwabuchi2026solanet,
  author = {Keita Iwabuchi and Trevor Steil and Benjamin W. Priest and Grace J. Li and Geoffrey Sanders and Roger Pearce},
  title = {{SOLANET: Distributed Neighbor Graph Construction on GPU-Accelerated Systems}},
  year = {2026},
  eprint = {2605.27691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.27691},
}
Figure