AVID: GPU-enabled Visual Analytics with GPU-FAST-PROCLUS

Jakob Rødsgaard Jørgensen, Ira Assent, Hans-Jörg Schulz

Abstract

Interactive exploration of high-dimensional data often requires "projected clustering" to identify patterns within specific subspaces. However, the iterative nature of parameter tuning for these algorithms is frequently hindered by the data transfer bottleneck between the CPU and GPU. We present AVID (Analysis and Visualization In Device), a framework that maintains both clustering computations and visualization rendering entirely on the GPU. By integrating a highly optimized GPU-FAST-PROCLUS algorithm with an OpenGL-based rendering pipeline, AVID enables real-time interaction with datasets exceeding one million points at sub-100ms latencies.

Introduction

In high-dimensional data analysis, projected clustering is essential for discovering groups of similar objects that are only discernible in specific subsets of dimensions. These algorithms typically require human-in-the-loop tuning of parameters such as the number of clusters ($k$) and the average dimensionality of those clusters ($l$). For effective exploration, the system must respond to parameter changes in under 100 milliseconds. Traditional visual analytics pipelines create a bottleneck by transferring clustering results from the GPU back to the CPU for processing by visualization libraries, only to send them back to the GPU for rendering. This "round-trip" latency destroys the interactivity required for large-scale datasets.

Methods

GPU-FAST-PROCLUS

To address the computational demands, we developed GPU-FAST-PROCLUS, a parallelized version of the PROCLUS algorithm. It achieves significant speedups by caching distances and reorganizing the computation of medoid suitability scores. The algorithm reuses computations across iterations and parameter settings, significantly reducing redundant work.

The AVID Architecture

The core contribution of AVID is its "What happens on the GPU, stays on the GPU" architecture. By utilizing CUDA and OpenGL resource interpolation, AVID maps clustering results directly to graphics primitives in the same memory space. This eliminates the PCIe bus bottleneck, allowing the system to compute and render updates without involving the CPU in the data path.

The AVID interface featuring a scatter plot matrix, interactive main view, and visual parameter previews for $k$ and $l$.

Interactive Interface

The AVID interface provides several tools for subspace exploration:

  • Scatter Plot Matrix: Offers an overview of dimensional relationships.
  • Subspace-Aware Coloring: Points are colored only if the current view dimensions are part of the cluster's specific subspace; otherwise, they appear gray to indicate noise in that projection.
  • Visual Parameter Previews: Instead of traditional sliders, AVID provides small preview plots showing the structural impact of incrementing or decrementing $k$ or $l$, allowing users to make informed adjustments.

Results

Evaluation of the system demonstrates a massive performance leap. GPU-FAST-PROCLUS achieves up to a 5000x speedup compared to the original CPU-based PROCLUS implementation. For a dataset of one million points, the entire analysis and rendering loop completes in approximately 100ms. In contrast, a hybrid approach that performs visualization on the CPU results in a 10x slowdown (~1000ms), rendering interactive tuning impossible.

AVID demonstrating cluster size distribution via an integrated bar chart and alternative clustering configurations.

Conclusion and Future Work

AVID demonstrates that the primary bottleneck in modern visual analytics is often the hardware architecture rather than the algorithms themselves. By bypassing the PCIe bus, we enable fluid exploration of massive high-dimensional datasets. Future work will focus on extending the AVID architecture to support non-axis-parallel clustering and manifold learning algorithms, as well as conducting formal user studies to quantify the utility of visual parameter previews in data discovery tasks.

Summary updated

BibTeX
@inproceedings{jrgensen2022avid,
  author = {Jakob Rødsgaard Jørgensen and Ira Assent and Hans-Jörg Schulz},
  title = {{AVID: GPU-enabled Visual Analytics with GPU-FAST-PROCLUS}},
  booktitle = {EDBT},
  year = {2022},
  doi = {10.48786/edbt.2022.51},
}
Figure