paper-with-me

홈 › Papers

Adaptive Compression of Word Embeddings

2020-07-01 · ACL 2020 6 · Yeachan Kim, Kang-Min Kim, SangKeun Lee

Distributed representations of words have been an indispensable component for natural language processing (NLP) tasks. However, the large memory footprint of word embeddings makes it challenging to deploy NLP models to memory-constrained devices (e.g., self-driving cars, mobile devices). In this paper, we propose a novel method to adaptively compress word embeddings. We fundamentally follow a code-book approach that represents words as discrete codes such as (8, 5, 2, 4). However, unlike prior works that assign the same length of codes to all words, we adaptively assign different lengths of codes to each word by learning downstream tasks. The proposed method works in two steps. First, each word directly learns to select its code length in an end-to-end manner by applying the Gumbel-softmax tricks. After selecting the code length, each word learns discrete codes through a neural network with a binary constraint. To showcase the general applicability of the proposed method, we evaluate the performance on four different downstream tasks. Comprehensive evaluation results clearly show that our method is effective and makes the highly compressed word embeddings without hurting the task accuracy. Moreover, we show that our model assigns word to each code-book by considering the significance of tasks.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Self-Driving CarsWord Embeddings

Similar Papers 제목 키워드 기반

Compression of Generative Pre-trained Language Models via Quantization

2022-03-21 · ACL 2022 5 · Chaofan Tao, Lu Hou, Wei zhang, Lifeng Shang 외

The increasing size of generative Pre-trained Language Models (PLMs) has greatly increased the demand for model compression. Despite various methods to compress BERT or its variants, there are few attempts to compress ge…

Model CompressionQuantizationWord Embeddings

MorphTE: Injecting Morphology in Tensorized Embeddings

2022-10-27 · Guobing Gan, Peng Zhang, Sunzhu Li, Xiuqing Lu 외

In the era of deep learning, word embeddings are essential when dealing with text tasks. However, storing and accessing these embeddings requires a large amount of space. This is not conducive to the deployment of these …

Learning Word EmbeddingsMachine TranslationQuestion AnsweringTranslation+1

Compressing Word Embeddings via Deep Compositional Code Learning

2017-11-03 · ICLR 2018 1 · Raphael Shu, Hideki Nakayama

Natural language processing (NLP) models often require a massive number of parameters for word embeddings, resulting in a large storage or memory footprint. Deploying neural NLP models to mobile devices requires compress…

Machine TranslationQuantizationSentiment AnalysisTranslation+1

A Survey on Contextual Embeddings

2020-03-16 · Qi Liu, Matt J. Kusner, Phil Blunsom

Contextual embeddings, such as ELMo and BERT, move beyond global word representations like Word2Vec and achieve ground-breaking performance on a wide range of natural language processing tasks. Contextual embeddings assi…

Model CompressionSurvey

Sentence Compression as Deletion with Contextual Embeddings

2020-06-05 · Minh-Tien Nguyen, Bui Cong Minh, Dung Tien Le, Le Thai Linh

Sentence compression is the task of creating a shorter version of an input sentence while keeping important information. In this paper, we extend the task of compression by deletion with the use of contextual embeddings.…

SentenceSentence Compression