Parallel Design and Implementation of LDA Algorithm Based on GPU

Author
WenHuaLong
Advisor
JiangYanJun
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP338.6 Parallel computer
Degree
Master's thesis
Year
2013
Downloads
32
Citations
0

Request the full text

Abstract

With the development of the information technology and the Internet, we are facing the rapid expansion of network information. So it is a research focus in the field of natural language processing to select target information from massive text information quickly. Text clustering is a basic natural language processing technology. In the field of text clustering, LDA(Latent Dirichlet Allocation) algorithm is a topic model clustering. LDA algorithm clusters text information according to the topics found in the text, so it can effectively improve the quality of clustering results. However, in the practical application, the LDA program runs very slow when calculating large-scale data. The reason is that all data is calculated with the same control logic repeatedly on CPU. In the paper, the LDA program is parallel designed and accelerated with parallel computing technology.GPU(Graphics Processing Unit) is developing fast, with the strong parallel processing ability and programmable pipeline, it is very suitable for high performance parallel numerical computing. GPU provides a good platform for not only graphic processing, but also general computing tasks. GPU based general computing has become a hot topic in the field of high performance computing.CUDA(Compute Unified Device Architecture) is a new hardware architecture as well as programming model of GPU parallel computing develop by NVIDIA. In the CUDA programming model, GPU is a data parallel computing device. The CUDA programming language is a expanded C language, which can be used to develp kernal functions. The kernal function calls GPU to perform parallel computing, with the multi-level memory in the GPU hardware, it is quite efficient to read or write data, so the execution time of the kernal function is often very short. Parallel design and implementation of LDA algorithm with CUDA programming model can make full use of GPU parallel computing ability, and get a Good acceleration effect.This paper introduces the LDA program based on MapReduce model in Mahout machine learning library. The MapReduce model is designed for distributed computing, and can be run on Hadoop clusters. Then we find out the serial codes that have a lot of calculations. and research to parallelize these codes. Finally, we implement the parallel program with CUDA programming model, and make the LDA program accelerated by GPU. The experiment shows that, with powerful parallel computation ability of GPU, we can accelerate LDA text clustering program based on MapReduce model greatly. This research has a certain reference significance for applying GPU to other algorithms in data mining.

Table of contents

Summary 4-6 ABSTRACT 6-10 first chapter 10-15 1.1 Background and Significance 10 - 11 1.2 Research Status 11-13 1.2.1 text clustering research 11-12 1.2.2 GPU parallel computing technology research 12 -13 1.3 content of this paper 13-14 1.4 content organization 14-15 chapter LDA algorithm outlined 15-27 <br / > 2.1 clustering Algorithm Overview 15-19 2.1.1 partition clustering algorithm 16-17 2.1.2 hierarchical clustering algorithm 17 2.1.3 density-based clustering 17-18 2.1.4 grid -based clustering 18-19 2.1.5 model-based clustering 19 2.2 LDA text clustering algorithm outlined 19-20 2.3 LDA topic model and the approximate estimation methods 20-24 2.3.1 LDA topic model 2.3.2 Gibbs sampling approximation 20-23 solving LDA model 23-24 2.4 LDA algorithm application 24-26 2.5 Summary 26-27 Chapter III GPU parallel computing technology 27-34 3.1 GPU architecture 27-29 3.1.1 streaming processor Array 28-29 3.1.2 memory System 29 3.2 GPU parallel computing principles and processes 29-30 3.3 CUDA programming model 30-33 3.3.1 CUDA thread structure 31-32 3.3.2 CUDA memory model 32-33 3.4 chapter Summary 33-34 Chapter IV GPU -based parallel design and implementation of LDA program 34-48 4.1 Mahout About 34 4.2 Mahout of LDA program 34-38 4.2.1 MapReduce programming model overview 34-36 4.2.2 LDA program 36-38 4.3 based CUDA parallel programming design and implementation of LDA program 38-43 4.3.1 LDA program parallel design 38-41 4.3.2 CUDA kernel function parallel design 41-42 4.3.3 Statute of parallel threads summing 42-43 4.4 experiments and results analysis 43-47 4.4.1 small experimental data sets 44-45 4.4.2 large data sets experimental 45-47 4.5 summary 47-48 nbsp Chapter summary and Outlook ; 48-50 5.1 The main work 48 5.2 job Outlook 48-50 References 50-53 Thanks 53-54 study published during the academic degree 54

Related dissertations

  1. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. High-Performance Processing of Massive Remote Sensing Data and Its Visualization Application
    ZhouSongTao ·Wuhan University ·2013 ·Doctoral dissertation
  3. The Research of ICT Non-destructive Testing Volume Rendering Technology Based on CUDA
  4. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research on Acceleration Technology of IPSec VPN Base on GPU
  6. Study of Internet Public Opinion Hot-Topic Discovery Rased on Semantic
  7. Research of Short Text Classification and Clustering in Public Opinion Analysis
    DiLinLin ·Zhongyuan Institute of Technology ·2013 ·Master's thesis
  8. Research on the Key Technology of Short Message Text
  9. Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
    LinJiPo ·Northwest Normal University ·2013 ·Master's thesis
  10. The Research and Realization of Scalable Co-Clustering Algorrithm Based on Mapreduce
    MaQiao ·Jiangxi Normal University ·2013 ·Master's thesis
  11. Teaching reflection based retrieval based on Clustering
    FanWenJing ·Shaanxi Normal University ·2013 ·Master's thesis
  12. Analysis of Micro-blog Public Opinion Based on Text Information Extraction from Webpage
  13. Research on Information Retrieval of Heterogeneous Information Networks
    LiuZuoFeng ·Hunan University ·2014 ·Doctoral dissertation
  14. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  15. Hot Topics Detection for Chinese Microblog
    TanJuanZuo ·Anhui University ·2014 ·Master's thesis
  16. Short Text Clustering Method Based on BTM
    TangQiuLian ·Anhui University ·2014 ·Master's thesis
  17. Research on Application of Distributed Clustering Algorithms Based on MapReduce in Social Networking Services
    LinXiaoZuo ·Xiamen University ·2014 ·Master's thesis
  18. Research on Full-Text Clustering Analysis and Information Extraction of Geological Data
  19. Efficient Modelling of Smooth Surfaces with Branching Structures
    ZhuXiaoQiang ·Zhejiang University ·2013 ·Doctoral dissertation
  20. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis