Learning K-way D-dimensional Discrete Codes for Compact Embedding Representations
Not on the map. Why?
Abstract (arXiv)
Conventional embedding methods directly associate each symbol with a continuous embedding vector, which is equivalent to applying a linear transformation based on a "one-hot" encoding of the discrete symbols. Despite its simplicity, such approach yields the number of parameters that grows linearly with the vocabulary size and can lead to overfitting. In this work, we propose a much more compact K-way D-dimensional discrete encoding scheme to replace the "one-hot" encoding. In the proposed "KD encoding", each symbol is represented by a D-dimensional code with a cardinality of K, and the final symbol embedding vector is generated by composing the code embedding vectors. To end-to-end learn semantically meaningful codes, we derive a relaxed discrete optimization approach based on stochastic gradient descent, which can be generally applied to any differentiable computational graph with an embedding layer. In our experiments with various applications from natural language processing to graph convolutional networks, the total size of the embedding layer can be reduced up to 98% while achieving similar or better performance.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Jun 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 1; 2024: 1; 2025: 1; 2026: 1.
11 papers.
- 2022Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioningcited by 362
- 2022Learning Vector-Quantized Item Representation for Transferable Sequential Recommenderscited by 112
- 2021Lightweight Self-Attentive Sequential Recommendationcited by 22
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compressioncited by 12
- 2021Binary Code based Hash Embedding for Web-scale Applicationscited by 11
- 2024Differentiable Product Quantization for Memory Efficient Camera Relocalizationcited by 9
- 2021Case-based Reasoning for Better Generalization in Textual Reinforcement Learningcited by 8
- 2021Projected Hamming Dissimilarity for Bit-Level Importance Coding in Collaborative Filteringcited by 4
- 2022Set2Box: Similarity Preserving Representation Learning of Setscited by 1
- 2025TensorSLM: Energy-efficient Embedding Compression of Sub-billion Parameter Language Models on Low-end Devicescited by 0
- 2026Balanced Co-Clustering of Users and Items for Embedding Table Compression in Recommender Systemscited by 0
- 2026Balanced Co-Clustering of Users and Items for Embedding Table Compression in Recommender Systems20 Apr 2026
- 2025TensorSLM: Energy-efficient Embedding Compression of Sub-billion Parameter Language Models on Low-end Devices16 Jun 2025
- 2024Differentiable Product Quantization for Memory Efficient Camera Relocalization22 Jul 2024
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compression27 Nov 2023
- 2022Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders22 Oct 2022
- 2022Set2Box: Similarity Preserving Representation Learning of Sets7 Oct 2022
- 2022Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioning8 Aug 2022
- 2021Case-based Reasoning for Better Generalization in Textual Reinforcement Learning16 Oct 2021
- 2021Lightweight Self-Attentive Sequential Recommendation25 Aug 2021
- 2021Binary Code based Hash Embedding for Web-scale Applications24 Aug 2021
- 2021Projected Hamming Dissimilarity for Bit-Level Importance Coding in Collaborative Filtering26 Mar 2021