Smaller Text Classifiers with Discriminative Cluster Embeddings

Mingda Chen, Kevin Gimpel
6/23/2019
cs.CL

Official code: mingdachen/word-cluster-embedding (28 stars, Python, last commit 2018-04-16).

Abstract

Word embedding parameters often dominate overall model sizes in neural methods for natural language processing. We reduce deployed model sizes of text classifiers by learning a hard word clustering in an end-to-end manner.

Show full abstract

We use the Gumbel-Softmax distribution to maximize over the latent clustering while minimizing the task loss. We propose variations that selectively assign additional parameters to words, which further improves accuracy while still remaining parameter-efficient.

View on arXivView PDF

Code Implementations(1)

Code for "Smaller Text Classifiers with Discriminative Cluster Embeddings" (NAACL 2018)

284PythonApr 6, 20188 years ago

Similar Papers

Cite this paper

@article{chen2019smaller,
  title  = {Smaller Text Classifiers with Discriminative Cluster Embeddings},
  author = {Mingda Chen and Kevin Gimpel},
  year   = {2019},
  eprint = {1906.09532},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.09532}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.09532.svg)](https://codeofpaper.com/paper/1906.09532)

Discussion