paper-with-me

Papers

Hash Embeddings for Efficient Word Representations

2017-09-12 · NeurIPS 2017 12 · Dan Svenstrup, Jonas Meinertz Hansen, Ole Winther

We present hash embeddings, an efficient method for representing words in a continuous vector form. A hash embedding may be seen as an interpolation between a standard word embedding and a word embedding created using a random hash function (the hashing trick). In hash embeddings each token is represented by $k$ $d$-dimensional embeddings vectors and one $k$ dimensional weight vector. The final $d$ dimensional representation of the token is the product of the two. Rather than fitting the embedding vectors for each token these are selected by the hashing trick from a shared pool of $B$ embedding vectors. Our experiments show that hash embeddings can easily deal with huge vocabularies consisting of millions of tokens. When using a hash embedding there is no need to create a dictionary before training nor to perform any kind of vocabulary pruning after training. We show that models trained using hash embeddings exhibit at least the same level of performance as models trained using regular embeddings across a wide range of tasks. Furthermore, the number of parameters needed by such an embedding is only a fraction of what is required by a regular embedding. Since standard embeddings and embeddings constructed using the hashing trick are actually just special cases of a hash embedding, hash embeddings can be considered an extension and improvement over the existing regular embedding types.

📄 PDF Abstract BibTeX arXiv:1709.03933

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Multi hash embeddings in spaCy

2022-12-19 · Lester James Miranda, Ákos Kádár, Adriane Boyd, Sofie Van Landeghem 외

The distributed representation of symbols is one of the key technologies in machine learning systems today, playing a pivotal role in modern natural language processing. Traditional word embeddings associate a separate v…

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)Word Embeddings

Hash2Vec, Feature Hashing for Word Embeddings

2016-08-31 · Luis Argerich, Joaquín Torré Zaffaroni, Matías J Cano

In this paper we propose the application of feature hashing to create word embeddings for natural language processing. Feature hashing has been used successfully to create document vectors in related tasks like document …

Document ClassificationGeneral ClassificationWord Embeddings

K-Nearest Neighbors Hashing

2019-06-01 · CVPR 2019 6 · Xiangyu He, Peisong Wang, Jian Cheng

Hashing based approximate nearest neighbor search embeds high dimensional data to compact binary codes, which enables efficient similarity search and storage. However, the non-isometry sign() function makes it hard to pr…

InferLite: Simple Universal Sentence Representations from Natural Language Inference Data

2018-10-01 · EMNLP 2018 10 · Jamie Kiros, William Chan

Natural language inference has been shown to be an effective supervised task for learning generic sentence embeddings. In order to better understand the components that lead to effective representations, we propose a lig…

GPUNatural Language InferencePositionSentence+2

Can a Fruit Fly Learn Word Embeddings?

2021-01-18 · ICLR 2021 1 · Yuchen Liang, Chaitanya K. Ryali, Benjamin Hoover, Leopold Grinberg 외

The mushroom body of the fruit fly brain is one of the best studied systems in neuroscience. At its core it consists of a population of Kenyon cells, which receive inputs from multiple sensory modalities. These cells are…

Document ClassificationWord EmbeddingsWord Sense DisambiguationWord Similarity