Skip to main content
QUICK REVIEW

[Paper Review] Gaussian Process Models with Parallelization and GPU acceleration

Zhenwen Dai, Andreas Damianou|arXiv (Cornell University)|Oct 18, 2014
Gaussian Processes and Bayesian InferenceComputer Science15 references25 citations
TL;DR

This paper presents a scalable Gaussian process framework combining distributed CPU/GPU parallelization and GPU-accelerated computation for sparse GP models. By exploiting data-point-wise independence and offloading computationally intensive operations like Φ and Ψ to GPUs, the method achieves linear scaling with data size and enables inference on millions of datapoints, demonstrated on a 64k-point synthetic dataset with significant speedups over CPU-only approaches.

ABSTRACT

In this work, we present an extension of Gaussian process (GP) models with sophisticated parallelization and GPU acceleration. The parallelization scheme arises naturally from the modular computational structure w.r.t. datapoints in the sparse Gaussian process formulation. Additionally, the computational bottleneck is implemented with GPU acceleration for further speed up. Combining both techniques allows applying Gaussian process models to millions of datapoints. The efficiency of our algorithm is demonstrated with a synthetic dataset. Its source code has been integrated into our popular software library GPy.

Motivation & Objective

  • To overcome the O(N³) computational bottleneck in Gaussian process models for large-scale datasets.
  • To enable efficient inference on millions of data points by combining data-level parallelization and GPU acceleration.
  • To develop a generic, scalable implementation that integrates seamlessly into existing GP software stacks like GPy.
  • To demonstrate that GP models can be practical for big data when combined with modern high-performance computing techniques.

Proposed method

  • Leverages the modular, data-point-wise structure of sparse GP formulations to enable natural parallelization across data points.
  • Decomposes key terms like trace(Φ) and Ψ into sums over N data points, enabling data-level parallelism.
  • Offloads the computation of Φ = Σₙ K_fuᵀK_fu and Ψ = Σₙ K_fuᵀyₙ to GPU using a block-and-thread workload division strategy.
  • Uses GPU-optimized memory access patterns: threads write directly to global memory for Ψ, and use shared memory for intermediate Φ results before reduction.
  • Integrates MPI-based distributed computing across multiple nodes, with each node handling a subset of data points and GPU cards.
  • Applies the same workload partitioning for gradient computation during optimization, ensuring end-to-end acceleration.

Experimental results

Research questions

  • RQ1Can Gaussian process models be efficiently scaled to millions of data points using modern HPC architectures?
  • RQ2How effective is the combination of data-level parallelization and GPU acceleration in reducing inference time for GP models?
  • RQ3What is the communication-to-computation ratio in distributed GP inference, and does it allow for linear speedup?
  • RQ4Can GPU acceleration significantly outperform CPU-only inference in GP models with large N?
  • RQ5How well does the proposed method scale across multiple CPU nodes and GPU cards in practice?

Key findings

  • The algorithm achieves linear scaling of computational time with respect to the number of data points, confirming the O(N) complexity of the parallelized implementation.
  • Inference time per iteration scales roughly linearly with the number of CPUs and GPUs, indicating low communication overhead and high parallel efficiency.
  • A single GPU card outperforms a 32-core CPU node by a significant margin, demonstrating the effectiveness of GPU acceleration.
  • Over 90% of the computation time is distributable, with less than 10% spent on indistributable operations like matrix inversion, enabling further speedup with more resources.
  • The method successfully handles a 64,000-point synthetic dataset using 100 inducing points, showing feasibility for real-world big data applications.
  • The implementation is fully integrated into GPy and supports multiple GP models including Bayesian GP-LVM and deep GPs, enabling broad applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.