2019/01/30 by Oleksii Hrinchuk, Valentin Khrulkov, Hrinchuk, Oleksii +6 · 3 citations
Computer Science · Mathematics · #Advanced Data Compression Techniques #Algorithms and Data Compression #Computation and Language (cs.CL) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Tensor decomposition and applications
paper · pdf · doi:10.48550/arxiv.1901.10787
openalex publication_date 2019/01/30 · openalex created_date 2019/03/11 · openalex updated_date 2026/07/28
The embedding layers transforming input words into real vectors are the key components of deep neural networks used in natural language processing. However, when the vocabulary is large, the corresponding weight matrices can be enormous, which precludes their deployment in a limited resource setting. We introduce a novel way of parametrizing embedding layers based on the Tensor Train (TT) decomposition, which allows compressing the model significantly at the cost of a negligible drop or even a slight gain in performance. We evaluate our method on a wide range of benchmarks in natural language processing and analyze the trade-off between performance and compression ratios for a wide range of architectures, from MLPs to LSTMs and Transformers.