Compressing Word Embeddings via Deep Compositional Code Learning
Not on the map. Why?
Abstract (arXiv)
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 compressing the word embeddings without any significant sacrifices in performance. For this purpose, we propose to construct the embeddings with few basis vectors. For each word, the composition of basis vectors is determined by a hash code. To maximize the compression rate, we adopt the multi-codebook quantization approach instead of binary coding scheme. Each code is composed of multiple discrete numbers, such as (3, 2, 1, 8), where the value of each component is limited to a fixed range. We propose to directly learn the discrete codes in an end-to-end neural network by applying the Gumbel-softmax trick. Experiments show the compression rate achieves 98% in a sentiment analysis task and 94% ~ 99% in machine translation tasks without performance loss. In both tasks, the proposed method can improve the model performance by slightly lowering the compression rate. Compared to other approaches such as character-level segmentation, the proposed method is language-independent and does not require modifications to the network architecture.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Nov 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 12; 2022: 5; 2023: 4; 2024: 5; 2025: 4; 2026: 4.
34 papers.
Sort:
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
- 2023Federated Learning of Gboard Language Models with Differential Privacycited by 64
- 2021A Survey on Green Deep Learningcited by 52
- 2021Lightweight Self-Attentive Sequential Recommendationcited by 22
- 2023Towards energy-efficient Deep Learning: An overview of energy-efficient approaches along the Deep Learning Lifecyclecited by 13
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compressioncited by 12
- 2021Binary Code based Hash Embedding for Web-scale Applicationscited by 11
- 2021Efficient Inference for Multilingual Neural Machine Translationcited by 10
- 2022Embedding Compression with Hashing for Efficient Representation Learning in Large-Scale Graphcited by 10
- 2021Semi-supervised Network Embedding with Differentiable Deep Quantisationcited by 7
- 2022HashFormers: Towards Vocabulary-independent Pre-trained Transformerscited by 6
- 2024Evaluating Unsupervised Dimensionality Reduction Methods for Pretrained Sentence Embeddingscited by 6
22 more
- 2021Projected Hamming Dissimilarity for Bit-Level Importance Coding in Collaborative Filteringcited by 4
- 2022Composite Code Sparse Autoencoders for first stage retrievalcited by 4
- 2021Extending Multi-Sense Word Embedding to Phrases and Sentences for Unsupervised Semantic Applicationscited by 3
- 2022MorphTE: Injecting Morphology in Tensorized Embeddingscited by 3
- 2021From Fully Trained to Fully Random Embeddings: Improving Neural Machine Translation with Compact Word Embedding Tablescited by 2
- 2021Learning Compositional Shape Priors for Few-Shot 3D Reconstructioncited by 2
- 2024Gaussian Mixture Vector Quantization with Aggregated Categorical Posteriorcited by 2
- 2024Pixel Embedding: Fully Quantized Convolutional Neural Network with Differentiable Lookup Tablecited by 1
- 2024MultiTok: Variable-Length Tokenization for Efficient LLMs Adapted from LZW Compressioncited by 1
- 2026MultiHashFormer: Hash-based Generative Language Modelscited by 1
- 2021Unsupervised Domain-adaptive Hash for Networkscited by 0
- 2021Toward Compact Parameter Representations for Architecture-Agnostic Neural Network Compressioncited by 0
- 2022Embedding Compression for Text Classification Using Dictionary Screeningcited by 0
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddingscited by 0
- 2024Word Embedding Dimension Reduction via Weakly-Supervised Feature Selectioncited by 0
- 2025Parameter-Efficient Transformer Embeddingscited by 0
- 2025Memory-Efficient FastText: A Comprehensive Approach Using Double-Array Trie Structures and Mark-Compact Memory Managementcited by 0
- 2025Semantic Compression for Word and Sentence Embeddings using Discrete Wavelet Transformcited by 0
- 2025Downsized and Compromised?: Assessing the Faithfulness of Model Compressioncited by 0
- 2026ADE: Adaptive Dictionary Embeddings -- Scaling Multi-Anchor Representations to Large Language Modelscited by 0
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codescited by 0
- 2026DN-Hypo-Pipeline: An AI-Driven Workflow for Generating Hypotheses using Large Language Models and Scientific Explanationscited by 0
- 2026MultiHashFormer: Hash-based Generative Language Models26 Jun 2026
- 2026DN-Hypo-Pipeline: An AI-Driven Workflow for Generating Hypotheses using Large Language Models and Scientific Explanations7 Jun 2026
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes10 May 2026
- 2026ADE: Adaptive Dictionary Embeddings -- Scaling Multi-Anchor Representations to Large Language Models27 Apr 2026
- 2025Downsized and Compromised?: Assessing the Faithfulness of Model Compression7 Oct 2025
- 2025Semantic Compression for Word and Sentence Embeddings using Discrete Wavelet Transform31 Jul 2025
- 2025Memory-Efficient FastText: A Comprehensive Approach Using Double-Array Trie Structures and Mark-Compact Memory Management2 Jun 2025
- 2025Parameter-Efficient Transformer Embeddings4 May 2025
- 2024MultiTok: Variable-Length Tokenization for Efficient LLMs Adapted from LZW Compression28 Oct 2024
- 2024Gaussian Mixture Vector Quantization with Aggregated Categorical Posterior14 Oct 2024
- 2024Pixel Embedding: Fully Quantized Convolutional Neural Network with Differentiable Lookup Table23 Jul 2024
- 2024Word Embedding Dimension Reduction via Weakly-Supervised Feature Selection17 Jul 2024
22 more
- 2024Evaluating Unsupervised Dimensionality Reduction Methods for Pretrained Sentence Embeddings20 Mar 2024
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compression27 Nov 2023
- 2023Federated Learning of Gboard Language Models with Differential Privacy29 May 2023
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddings13 Mar 2023
- 2023Towards energy-efficient Deep Learning: An overview of energy-efficient approaches along the Deep Learning Lifecycle5 Feb 2023
- 2022Embedding Compression for Text Classification Using Dictionary Screening23 Nov 2022
- 2022MorphTE: Injecting Morphology in Tensorized Embeddings27 Oct 2022
- 2022HashFormers: Towards Vocabulary-independent Pre-trained Transformers14 Oct 2022
- 2022Embedding Compression with Hashing for Efficient Representation Learning in Large-Scale Graph11 Aug 2022
- 2022Composite Code Sparse Autoencoders for first stage retrieval14 Apr 2022
- 2021Toward Compact Parameter Representations for Architecture-Agnostic Neural Network Compression19 Nov 2021
- 2021A Survey on Green Deep Learning8 Nov 2021
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learning4 Oct 2021
- 2021Efficient Inference for Multilingual Neural Machine Translation14 Sep 2021
- 2021Lightweight Self-Attentive Sequential Recommendation25 Aug 2021
- 2021Binary Code based Hash Embedding for Web-scale Applications24 Aug 2021
- 2021Unsupervised Domain-adaptive Hash for Networks20 Aug 2021
- 2021Semi-supervised Network Embedding with Differentiable Deep Quantisation20 Aug 2021
- 2021Learning Compositional Shape Priors for Few-Shot 3D Reconstruction11 Jun 2021
- 2021From Fully Trained to Fully Random Embeddings: Improving Neural Machine Translation with Compact Word Embedding Tables18 Apr 2021
- 2021Extending Multi-Sense Word Embedding to Phrases and Sentences for Unsupervised Semantic Applications29 Mar 2021
- 2021Projected Hamming Dissimilarity for Bit-Level Importance Coding in Collaborative Filtering26 Mar 2021
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
- 2023Federated Learning of Gboard Language Models with Differential Privacycited by 64
- 2021A Survey on Green Deep Learningcited by 52
- 2021Lightweight Self-Attentive Sequential Recommendationcited by 22
- 2023Towards energy-efficient Deep Learning: An overview of energy-efficient approaches along the Deep Learning Lifecyclecited by 13
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compressioncited by 12
- 2021Binary Code based Hash Embedding for Web-scale Applicationscited by 11
- 2021Efficient Inference for Multilingual Neural Machine Translationcited by 10
- 2022Embedding Compression with Hashing for Efficient Representation Learning in Large-Scale Graphcited by 10
- 2021Semi-supervised Network Embedding with Differentiable Deep Quantisationcited by 7
- 2022HashFormers: Towards Vocabulary-independent Pre-trained Transformerscited by 6
- 2024Evaluating Unsupervised Dimensionality Reduction Methods for Pretrained Sentence Embeddingscited by 6
12 most cited of 34 All 34 (JSON)
- 2026MultiHashFormer: Hash-based Generative Language Models26 Jun 2026
- 2026DN-Hypo-Pipeline: An AI-Driven Workflow for Generating Hypotheses using Large Language Models and Scientific Explanations7 Jun 2026
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes10 May 2026
- 2026ADE: Adaptive Dictionary Embeddings -- Scaling Multi-Anchor Representations to Large Language Models27 Apr 2026
- 2025Downsized and Compromised?: Assessing the Faithfulness of Model Compression7 Oct 2025
- 2025Semantic Compression for Word and Sentence Embeddings using Discrete Wavelet Transform31 Jul 2025
- 2025Memory-Efficient FastText: A Comprehensive Approach Using Double-Array Trie Structures and Mark-Compact Memory Management2 Jun 2025
- 2025Parameter-Efficient Transformer Embeddings4 May 2025
- 2024MultiTok: Variable-Length Tokenization for Efficient LLMs Adapted from LZW Compression28 Oct 2024
- 2024Gaussian Mixture Vector Quantization with Aggregated Categorical Posterior14 Oct 2024
- 2024Pixel Embedding: Fully Quantized Convolutional Neural Network with Differentiable Lookup Table23 Jul 2024
- 2024Word Embedding Dimension Reduction via Weakly-Supervised Feature Selection17 Jul 2024
12 newest of 34 All 34 (JSON)