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
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
- Research on Japanese Dependency Parsing Technology
- Security Detection System Based on the Android Paltform
- Differentially Private Empirical Risk Minimization Algorithm for β-mixing Sequences
- Research on Graph-based Semi-supervised Algorithms and Its Applications
- Embedding Machine Learning Algorithm into Weka
- Learning Mechanism Resrearch in Control and Identification Problems
- Research on Spam Filtering Based on Social Network
- Shared Subspace Learning for Multi-view Data Analysis
- Research on Sparse Kernel Regression Modelling Methods
- Design and Implementation of Machine Learning Platform Based on Spark
- Extracting Informative Semantic Contents from Web Pages
- Research on Technology of Encrypted Traffic Identification Based on Traffic Features
- Research on Video Semantic Extraction
- Research on Text Classification Methods Based on Content and Emotion
- Acrost: a Topic Self-adaptive Academic Conference Retrieval System
- Research on Spam Filtering Technology Based on Social Network
- Information Extraction of Academic Activities Transaction in the Chinese Document
- Study on the Tibetan Word Segmentation and Named Entity Recognition with Conditional Random Fields
- The Research and Implementation of Malicious Web Pages Detection from Search Engine Based on Decision Tree
- Research on Dependency-based Chinese Semantic Role Labeling