paper-with-me

홈 › Papers

SaberLDA: Sparsity-Aware Learning of Topic Models on GPUs

2016-10-08 · Kaiwei Li, Jianfei Chen, WenGuang Chen, Jun Zhu

Latent Dirichlet Allocation (LDA) is a popular tool for analyzing discrete count data such as text and images. Applications require LDA to handle both large datasets and a large number of topics. Though distributed CPU systems have been used, GPU-based systems have emerged as a promising alternative because of the high computational power and memory bandwidth of GPUs. However, existing GPU-based LDA systems cannot support a large number of topics because they use algorithms on dense data structures whose time and space complexity is linear to the number of topics. In this paper, we propose SaberLDA, a GPU-based LDA system that implements a sparsity-aware algorithm to achieve sublinear time complexity and scales well to learn a large number of topics. To address the challenges introduced by sparsity, we propose a novel data layout, a new warp-based sampling kernel, and an efficient sparse count matrix updating algorithm that improves locality, makes efficient utilization of GPU warps, and reduces memory consumption. Experiments show that SaberLDA can learn from billions-token-scale data with up to 10,000 topics, which is almost two orders of magnitude larger than that of the previous GPU-based systems. With a single GPU card, SaberLDA is able to learn 10,000 topics from a dataset of billions of tokens in a few hours, which is only achievable with clusters with tens of machines before.

📄 PDF Abstract BibTeX arXiv:1610.02496

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUTopic Models

Methods 이 논문이 사용한 방법론

LDA Linear discriminant analysis (LDA), normal discriminant analysis (NDA), or discriminant function analysis is a generalization of Fisher's linear discriminant, a method used in…

Similar Papers 제목 키워드 기반

EZLDA: Efficient and Scalable LDA on GPUs

2020-07-17 · Shilong Wang, Hang Liu, Anil Gaihre, Hengyong Yu

LDA is a statistical approach for topic modeling with a wide range of applications. However, there exist very few attempts to accelerate LDA on GPUs which come with exceptional computing and memory throughput capabilitie…

GPU

SparseRT: Accelerating Unstructured Sparsity on GPUs for Deep Learning Inference

2020-08-26 · Ziheng Wang

In recent years, there has been a flurry of research in deep neural network pruning and compression. Early approaches prune weights individually. However, it is difficult to take advantage of the resulting unstructured s…

Deep LearningNetwork Pruning

DSV: Exploiting Dynamic Sparsity to Accelerate Large-Scale Video DiT Training

2025-02-11 · Xin Tan, Yuetao Chen, Yimin Jiang, Xing Chen 외

Diffusion Transformers (DiTs) have shown remarkable performance in generating high-quality videos. However, the quadratic complexity of 3D full attention remains a bottleneck in scaling DiT training, especially with high…

Beyond 2:4: exploring V:N:M sparsity for efficient transformer inference on GPUs

2024-10-21 · Kang Zhao, Tao Yuan, Han Bao, Zhenfeng Su 외

To date, 2:4 sparsity has stood as the only sparse pattern that can be accelerated using sparse tensor cores on GPUs. In practice, 2:4 sparsity often possesses low actual speedups ($\leq 1.3$) and requires fixed sparse r…

Learning N:M Fine-grained Structured Sparse Neural Networks From Scratch

2021-02-08 · ICLR 2021 1 · Aojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu 외

Sparsity in Deep Neural Networks (DNNs) has been widely studied to compress and accelerate the models on resource-constrained environments. It can be generally categorized into unstructured fine-grained sparsity that zer…