跳到正文
arXiv cs.AI· Diego Sanches Nere dos Santos, Luiz Carlos Bambirra Torres·· 13 小时前AI 评分26

GPU 加速 Gabriel 图构建:面向大间隔分类与图聚类的 CUDA 并行化策略

GPU-Accelerated Construction of the Gabriel Graph: Parallelization Strategies and Applications to Large-Margin Classification and Graph-Based Clustering

AI 导读

该论文提出一套 CUDA 并行化策略,将 Gabriel 图构建时间相比串行 CPU 基线缩短 2 至近 4 个数量级(最高 8484x),且不损失分类精度。核心方法包括线性线程索引到顶点对 (i,j) 的隐式闭式映射、基于位掩码与原子压缩的两遍边表构建,以及线程粗化策略。

正文 · 原文

View PDF HTML (experimental)

Abstract:The Gabriel graph is a proximity graph widely used in computational geometry and geometric machine learning, underlying large-margin classifiers and, as we show in this work, density-aware clustering methods. Its construction, however, has cubic time complexity $O(N^3)$ in the naive formulation, which severely limits its use on datasets beyond a few thousand samples. This paper presents a set of GPU parallelization strategies, implemented in CUDA, that make Gabriel graph construction practical at scale. We introduce (i) an implicit closed-form mapping from a linear thread index to the corresponding vertex pair $(i,j)$, which removes the need for an explicit $O(N^2)$ adjacency structure and lets every thread locate its pair in constant time and constant memory; (ii) a two-pass, bitmask-based, atomically-compacted edge-list construction that produces a dense edge array proportional only to the number of edges actually found; and (iii) a thread-coarsening strategy in which each thread evaluates several candidate pairs, trading launch and scheduling overhead against load balance. We evaluate these strategies on the acceleration of a Gabriel-graph-based large-margin classifier (NN-clas) and on a novel Gabriel-graph clustering algorithm that identifies connected components on a residual graph and performs GPU-parallel Union-Find with hierarchical edge-based merging. On 14 public benchmark datasets, the GPU implementation reduces Gabriel graph construction time by two to nearly four orders of magnitude relative to a sequential CPU baseline (up to 8484x), without loss of classification accuracy, and the proposed clustering method is statistically competitive with DBSCAN on the topological validity index Dunn while eliminating the need for an explicit density radius parameter.
Comments: 12 pages, 3 figures, 1 table
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2610.28759 [cs.DC]
  (or arXiv:2610.28759v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2610.28759

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Diego Sanches Nere Dos Santos [view email]
[v1] Tue, 20 Oct 2026 18:03:08 UTC (39 KB)

来源:arXiv cs.AI · arxiv.org