Encoding word order in complex embeddings

By Benyou Wang, Donghao Zhao, Christina Lioma, Qiuchi Li, Peng Zhang, Jakob Grue Simonsen. 2019

137 citations recorded by the source corpus.

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 can be extended to complex-valued variants. 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).

Subfields: Artificial Intelligence, Natural Language Processing, Representation & Self-Supervised Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Chunhua Shen
  2. Zhi Tian
  3. Tie-Yan Liu
  4. Di He
  5. Xipeng Qiu
  6. Tianyang Lin
  7. Yuxin Wang
  8. Xiangyang Liu

In Natural Language Processing

  1. Tie-Yan Liu
  2. Di He
  3. Xipeng Qiu
  4. Guolin Ke
  5. Dimitris Papailiopoulos
  6. Chunhua Shen
  7. Yunfeng Liu
  8. Xinlong Wang

In Representation & Self-Supervised Learning

  1. Shashank Rajput
  2. Di He
  3. Dimitris Papailiopoulos
  4. Xipeng Qiu
  5. Chunhua Shen
  6. Xinlong Wang
  7. Tie-Yan Liu
  8. Kangwook Lee

Citations in the corpus