paper-with-me

Papers

Encoding word order in complex embeddings

2019-12-27 · ICLR 2020 1 · Benyou Wang, Donghao Zhao, Christina Lioma, Qiuchi Li, Peng Zhang, Jakob Grue Simonsen

Sequential word order is important when processing text. Currently, neural networks (NNs) address this by modeling word position using position embeddings. The problem is that position embeddings capture the position of individual words, but not the ordered relationship (e.g., adjacency or precedence) between individual word positions. We present a novel and principled solution for modeling both the global absolute positions of words and their order relationships. Our solution generalizes word embeddings, previously defined as independent vectors, to continuous word functions over a variable (position). The benefit of continuous functions over variable positions is that word representations shift smoothly with increasing positions. Hence, word representations in different positions can correlate with each other in a continuous function. The general solution of these functions is extended to complex-valued domain due to richer representations. We extend CNN, RNN and Transformer NNs to complex-valued versions to incorporate our complex embedding (we make all code available). Experiments on text classification, machine translation and language modeling show gains over both classical word embeddings and position-enriched word embeddings. To our knowledge, this is the first work in NLP to link imaginary numbers in complex-valued representations to concrete meanings (i.e., word order).

📄 PDF Abstract BibTeX arXiv:1912.12333

Code (1)

iclr-complex-order/complex-order 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMachine TranslationPositiontext-classificationText ClassificationTranslationWord Embeddings

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

The Impact of Positional Encodings on Multilingual Compression

2021-09-11 · EMNLP 2021 11 · Vinit Ravishankar, Anders Søgaard

In order to preserve word-order information in a non-autoregressive setting, transformer architectures tend to include positional knowledge, by (for instance) adding positional encodings to token embeddings. Several modi…

Inductive Bias

Bringing Order to Neural Word Embeddings with Embeddings Augmented by Random Permutations (EARP)

2018-10-01 · CONLL 2018 10 · Trevor Cohen, Dominic Widdows

Word order is clearly a vital part of human language, but it has been used comparatively lightly in distributional vector models. This paper presents a new method for incorporating word order information into word vector…

RetrievalWord Embeddings

AWE-CM Vectors: Augmenting Word Embeddings with a Clinical Metathesaurus

2017-12-05 · Willie Boag, Hassan Kané

In recent years, word embeddings have been surprisingly effective at capturing intuitive characteristics of the words they represent. These vectors achieve the best results when training corpora are extremely large, some…

Word Embeddings

Dynamic Position Encoding for Transformers

2022-04-18 · COLING 2022 10 · Joyce Zheng, Mehdi Rezagholizadeh, Peyman Passban

Recurrent models have been dominating the field of neural machine translation (NMT) for the past few years. Transformers \citep{vaswani2017attention}, have radically changed it by proposing a novel architecture that reli…

Machine TranslationNMTPosition

Distilling Word Embeddings: An Encoding Approach

2015-06-15 · Lili Mou, Ran Jia, Yan Xu, Ge Li 외

Distilling knowledge from a well-trained cumbersome network to a small one has recently become a new research topic, as lightweight neural networks with high performance are particularly in need in various resource-restr…

Word Embeddings