Research on Accelerating Conditional Random Fields by Coordinating CPU and GPU

Author
HanDan
Advisor
ZhengRan
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP181 Automated reasoning,machine learning
Degree
Master's thesis
Year
2013
Downloads
7
Citations
0

Request the full text

Abstract

Conditional Random Fields (CRFs) is one of the machine learning algorithms, andhas been applied to a wide range of classification tasks with various degrees of success.However, performing learning and inference process in serial CRFs with various featuresare computationally expensive and intractable. Paralleling CRFs on CPU or GraphicsProcessing Units (GPU) has been considered in many related researches desperately, butthe performances are not satisfactory in some respects.Considering the parallel characteristic of different devices and CRFs, a novelcoordinating framework based on CPU and GPU has been proposed to accelerate CRFs.In the coordinating framework, for the high request of memory space and conditionalbranch in the optimization of training stage, a new criterion is used to employ CPU to dealwith it, instead of the way in most recent methods, which parallelize optimization processon GPU with lose of precision and being unstable to some extent. Two-levelparallelization is also proposed for the relative compute-intensive tasks to maximizedparallelism at every step: possibilities of the state lattice are calculated at node level, andparallel computations are effectively executed among all possible paths in node matrix atsentence level. Moreover, an optimized coalesced memory-accessing manner is employedon GPU to alleviate the cost of thread accessing and improve the parallel efficiency.Experimental results show that when compared with a single task process on the CPU,the performance is much faster than single CPU computing, and the inference stage canreach more than15times speedup. On the other hand, compared with the implementationparallel totally on GPU, the implementation achieves up to50%improvement in the speedwith even higher accuracy.

Table of contents

Abstract 4-5 Abstract 5-7 1 Introduction 7-15 1.1 Background and Significance subject 7-8 1.2 current research 8-13 1.3 study are outlined 13-14 1.4 thesis structure 14-15 <br / > 2 CRFs model theory and parallel analysis 15-29 2.1 CRFs model principle 15-19 2.2 training process parallelism analysis 19 -25 2.3 forecasting process parallelism analysis 25-27 2.4 parallel key issues 27-28 2.5 chapter Summary 28-29 3 parallel conditional random key technology 29-43 3.1 collaborative training process parallel 29-36 3.2 Viterbi algorithm to predict parallel 36-39 3.3 parallel optimization strategies 39-41 3.4 Summary 41-43 4 synergistic parallel testing and analysis 43-53 4.1 test environment and test methods 43-44 4.2 standard data set to test 44-48 4.3 test application scenarios datasets 48-51 4.4 of this chapter summary 51-53 5 summary and Outlook 53-55 Thanks 55-57 references 57-61

Related dissertations

  1. Research on Japanese Dependency Parsing Technology
    ChengZuo ·Shenyang Aerospace University ·2011 ·Master's thesis
  2. Security Detection System Based on the Android Paltform
    ChenZuo ·Wuhan University of Technology ·2013 ·Master's thesis
  3. Differentially Private Empirical Risk Minimization Algorithm for β-mixing Sequences
    ZuoHuiZuo ·Hubei University ·2013 ·Master's thesis
  4. Research on Graph-based Semi-supervised Algorithms and Its Applications
    CaiXianFa ·South China University of Technology ·2013 ·Doctoral dissertation
  5. Embedding Machine Learning Algorithm into Weka
  6. Learning Mechanism Resrearch in Control and Identification Problems
    WangJiaSen ·Zhejiang University ·2014 ·Master's thesis
  7. Research on Spam Filtering Based on Social Network
  8. Shared Subspace Learning for Multi-view Data Analysis
    DuLinLin ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. Research on Sparse Kernel Regression Modelling Methods
    WangLiMan ·Central China Normal University ·2014 ·Master's thesis
  10. Design and Implementation of Machine Learning Platform Based on Spark
    TangZhenKun ·Xiamen University ·2014 ·Master's thesis
  11. Extracting Informative Semantic Contents from Web Pages
    HeZheng ·East China Normal University ·2013 ·Master's thesis
  12. Research on Technology of Encrypted Traffic Identification Based on Traffic Features
    ZhangBo ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Research on Video Semantic Extraction
  14. Research on Text Classification Methods Based on Content and Emotion
  15. Acrost: a Topic Self-adaptive Academic Conference Retrieval System
  16. Research on Spam Filtering Technology Based on Social Network
  17. Information Extraction of Academic Activities Transaction in the Chinese Document
    TangShanMei ·Central South University ·2013 ·Master's thesis
  18. Study on the Tibetan Word Segmentation and Named Entity Recognition with Conditional Random Fields
  19. The Research and Implementation of Malicious Web Pages Detection from Search Engine Based on Decision Tree
    ZhouHao ·Hunan University ·2013 ·Master's thesis
  20. Research on Dependency-based Chinese Semantic Role Labeling
    BaiLongFei ·Northeastern University ·2013 ·Master's thesis