Introduction
Standard word embeddings, such as the original Word2Vec, often fail to capture the nuances of language because they collapse multiple meanings (polysemy) into a single vector and ignore the structural roles words play in sentences (syntax blindness). This paper introduces a framework that jointly learns word embeddings and sentence composition layers by making them both "syntax-aware" and "multi-sense." By training models to recognize semantic coherence and correct word order while dynamically selecting the best word meaning during composition, the authors achieve state-of-the-art results in tasks like paraphrase detection.
Methodology: Jointly Learning Syntax and Senses
The core innovation lies in a joint training architecture where word embeddings and composition layers—either Recursive Neural Networks (RecNN) or Recurrent Neural Networks (RNN)—are learned together.
Multi-Sense Induction
To solve the polysemy problem, each word is assigned a fixed number of "senses" (typically three). During the composition process, the model employs a "gate" or a "soft-max" layer to dynamically select or weight the sense that best fits the current context. This ensures that a word like "bank" is represented differently in financial versus geographical contexts.
Syntax-Aware Objective
The model is trained using a hinge loss objective designed to enforce both semantic and syntactic coherence. The training process involves comparing a natural sentence against two types of "corrupted" versions:
- Semantic Corruption: A word is replaced by a random one to enforce coherence.
- Syntactic Corruption: The word order is shuffled to enforce structural awareness. The model must learn to score the original sentence higher than both corrupted versions, forcing the embeddings to capture functional roles (e.g., subject vs. object) rather than just topical associations.
Composition and Pooling
To prevent the meaning of individual words from "fading out" as they move up a deep tree structure, the authors incorporate an average pooling layer. This layer integrates features from all word senses directly into the final sentence representation, maintaining local features at the global level.
Experimental Evaluation
The model, referred to as SAMS (Syntax-Aware Multi-Sense), was evaluated on several benchmarks, including the British National Corpus (BNC) for pre-training and the Microsoft Research Paraphrase Corpus (MSRPC) for sentence-level tasks.
Word-Level Similarity
On the Stanford Contextual Word Similarity (SCWS) task, SAMS demonstrated superior performance in handling ambiguity compared to standard skip-gram (SG) and continuous bag-of-words (CBOW) models, particularly in metrics that account for local context.
Paraphrase Detection
On the MSRPC benchmark, the model achieved an accuracy of 78.6% and an F1 score of 85.3%. This performance was within the state-of-the-art range at the time and significantly outperformed simpler additive models and versions of the architecture that did not account for multiple senses.
Key Insights and Limitations
The research highlights that syntax is as critical as semantics for high-quality embeddings. Joint training allows embeddings to become "team players," optimized specifically for the compositional layers above them. However, the model currently uses a fixed number of senses per word, which may not reflect the true linguistic variety of all terms. Future work may explore dynamic sense addition and the application of these principles to Convolutional Neural Networks (CNNs).
Summary updated