Logo image
Devise Sparse Compression Schedulers to Enhance FastText Methods
Conference paper

Devise Sparse Compression Schedulers to Enhance FastText Methods

Chen-Ting Chao, Wei-Hsu Chu, Chao-Lin Lee, Jenq-Kuen Lee, Ming-Yu Hung and Hsiang-Wei Sung
ACM International Conference Proceeding Series, 4
08/2020

Abstract

neural networks NLP sparse compression word embedding word presentation Computer Networks and Communications Computer Vision and Pattern Recognition Human-Computer Interaction Software
In natural language processing(NLP), the general way to understand the meaning of a word is via word embedding. The word embedding training model can convert words into multidimensional vectors and make the words that do not know "meaning"into vectors with "meaning". Famous word embedding training models, include models such as FastText, Word2Vec, and GloVe. They can train words into vectors and then they are used for further semantic classifications. In this paper, we work on the efficient support for the FastText. FastText is an open source library created by Facebook(FAIR) lab that allows users to learn word embedding and text classification. We focus on the word representation application in FastText, in which general matrix-Vector multiplication(GEMV) is one of the most computationally intensive operations. In this paper, we adjust the software architecture of FastText, and pre-process the pre-trained model offline. In addition, we introduce a new accelerating method with sparse matrix compression in Halide, which improves performance by compressing the matrix. Our support with Halide sparse compression schedulers include hybrid compression schemes and re-ordering methods to improve the performance.

Metrics

1 Record Views

Details

Logo image