Skip to main content
QUICK REVIEW

[Paper Review] Quantum-inspired Complex Word Embedding

Qiuchi Li, Sagar Uprety|arXiv (Cornell University)|May 29, 2018
Topic ModelingComputer Science18 references6 citations
TL;DR

This paper proposes quantum-inspired complex word embeddings using Hilbert space representations with complex-valued word vectors to model emergent semantic meanings in word combinations. By treating word combinations as superpositions or mixtures of word states with complex phases, the method captures non-classical word interactions—such as semantic oppositions like "Penguin" and "Fly"—and achieves state-of-the-art performance on five binary sentence classification benchmarks, with the mixture model (CE-Mix) outperforming existing non-quantum approaches.

ABSTRACT

A challenging task for word embeddings is to capture the emergent meaning or polarity of a combination of individual words. For example, existing approaches in word embeddings will assign high probabilities to the words "Penguin" and "Fly" if they frequently co-occur, but it fails to capture the fact that they occur in an opposite sense - Penguins do not fly. We hypothesize that humans do not associate a single polarity or sentiment to each word. The word contributes to the overall polarity of a combination of words depending upon which other words it is combined with. This is analogous to the behavior of microscopic particles which exist in all possible states at the same time and interfere with each other to give rise to new states depending upon their relative phases. We make use of the Hilbert Space representation of such particles in Quantum Mechanics where we subscribe a relative phase to each word, which is a complex number, and investigate two such quantum inspired models to derive the meaning of a combination of words. The proposed models achieve better performances than state-of-the-art non-quantum models on the binary sentence classification task.

Motivation & Objective

  • Address the challenge of capturing emergent or emergent polarity in word combinations, such as semantic oppositions (e.g., "Penguin" and "Fly").
  • Overcome limitations of classical word embeddings that rely on real-valued vectors and fail to model interference or phase-dependent meaning.
  • Explore the use of complex numbers in word representations to better reflect quantum-like interference effects in natural language.
  • Investigate whether quantum-inspired models with complex embeddings can improve sentence-level semantic classification compared to non-quantum baselines.
  • Evaluate two distinct quantum-inspired models—superposition and mixture—on their ability to represent sentence semantics effectively.

Proposed method

  • Represent each word as a complex-valued vector in a Hilbert space, where amplitudes encode co-occurrence statistics and complex phases encode contextual polarity or interference effects.
  • Model word combinations as either a superposition of individual word states (CE-Sup) or a classical mixture of word projectors (CE-Mix), both using complex-valued representations.
  • Use the inner product of complex word vectors to compute similarity and infer sentence-level semantics, leveraging quantum interference through phase differences.
  • Train the models using a neural network framework in Keras and TensorFlow with a cross-entropy loss for binary sentence classification.
  • Apply complex-valued operations throughout the network, including complex activation functions and backpropagation, to preserve phase information.
  • Leverage the theoretical framework of QWeb (Quantum Web) to interpret word combinations as superpositions of states with phase-dependent interference, enabling non-classical semantic modeling.

Experimental results

Research questions

  • RQ1Do the proposed quantum-inspired complex embedding models outperform state-of-the-art non-quantum approaches in sentence classification tasks?
  • RQ2Is the mixture model (CE-Mix) more effective than the superposition model (CE-Sup) for capturing combinatory word meaning?
  • RQ3Can complex-valued word representations with phase information improve performance on semantic classification beyond real-valued embeddings?
  • RQ4Does the use of quantum-inspired Hilbert space representations lead to better modeling of semantic oppositions and emergent meanings?
  • RQ5Is the performance gain statistically significant compared to strong baselines like word2vec, fastText, and real-valued embeddings?

Key findings

  • The CE-Mix model achieved the highest accuracy on four out of five benchmark datasets, with 81.1% on CR, 86.6% on MPQA, 79.8% on MR, 83.3% on SST, and 92.8% on SUBJ.
  • The CE-Mix model significantly outperformed the Unigram-TFIDF baseline (p < 0.05 on all datasets), demonstrating statistical superiority.
  • The CE-Mix model also outperformed word2vec, fastText, and DictRep baselines with p-values < 0.05 on all datasets except MPQA, confirming consistent gains.
  • The CE-Sup model performed comparably to non-quantum models but was outperformed by CE-Mix, with no statistically significant difference (p > 0.05) across datasets.
  • The real embedding baseline (Real-Embed) was outperformed by both complex models (p < 0.05 on all datasets), confirming the advantage of complex-valued representations.
  • The results suggest that modeling sentences as a classical mixture of word projectors (CE-Mix) is more effective than superposition of latent concepts (CE-Sup), indicating better alignment with real-world semantic dependencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.