Abstract
Identifying hierarchical relationships between words, such as hypernyms, is a fundamental task in Natural Language Processing. However, existing projection-based models often suffer from "pollution," where the system memorizes common target words from the training set rather than learning the underlying semantic relationship. This paper introduces the Word Relation Autoencoder (WRAE), a novel architecture that employs a reconstruction task to regularize the learning process. By forcing the model to reconstruct the hyponym from the relation vector, WRAE successfully identifies unseen hypernyms with significantly higher accuracy and lower bias toward training data.
Introduction
In NLP, a hypernym is a broader category for a specific word (the hyponym). For instance, meat is a hypernym of beef. Extracting these relations is essential for constructing semantic knowledge bases like WordNet or ConceptNet.
Traditional "projection-based" methods attempt to learn a mapping function $\Phi$ such that a hyponym's embedding $x$ transforms into its hypernym's embedding $y$ ($x\Phi \approx y$). A major flaw in this approach is pollution: because many hyponyms share a few common hypernyms (e.g., dog, cat, and horse all map to animal), models tend to memorize these common targets. When tested on new data, they recycle training words instead of identifying the correct "unseen" hypernym. The authors found that in standard models, up to two-thirds of predictions were merely recycled training words.
The Word Relation Autoencoder (WRAE)
To address the memorization problem, the authors propose the Word Relation Autoencoder (WRAE). The model shifts the learning objective from a direct mapping to a reconstruction task:
- Shifted Target: Instead of mapping $x \to y$, the model maps the hyponym $x$ to a relation vector $r = y - x$. This offset representation is more varied and harder to memorize.
- Autoencoder Structure: The model uses a conditional autoencoder: $x \to r \to x'$. The Encoder produces a relation vector $r$ from input $x$, and the Decoder reconstructs the original hyponym $x$ from that relation vector.
- Tied Weights: To prevent overfitting, the weights of the encoder and decoder are tied (the decoder uses the transpose of the encoder's matrix).
- Piecewise Learning: Since different relations (e.g., "IsA" vs. "PartOf") have different semantic properties, the authors use $k$-means clustering on word offsets to learn specialized projection matrices for different semantic neighborhoods.
By requiring the model to reconstruct the input $x$ from the relation $r$, the system is forced to preserve the unique semantic link between the word pair, preventing it from collapsing into a generic output for all inputs.
Experimental Results
The researchers evaluated WRAE using ConceptNet relations and GloVe embeddings, employing a strict protocol where training and testing vocabularies were completely disjoint. They introduced a "Pollution" metric to measure the degree to which a model's predictions are biased toward training words.
As shown in the results table, WRAE outperformed state-of-the-art projection models across all metrics:
- Accuracy: On the IsA relation ($k=25$), WRAE achieved a Hit@10 of 0.164, nearly doubling the baseline's 0.090.
- Pollution Reduction: In the PartOf relation, the baseline model had a pollution score of 0.796. WRAE slashed this to 0.117, demonstrating a superior ability to generalize to new vocabulary.
- Clustering Synergy: While clustering typically increases pollution in standard models, WRAE's performance improved with clustering because the reconstruction constraint maintained the integrity of the learned relations.
Conclusion
The Word Relation Autoencoder demonstrates that reconstruction acts as a powerful regularization tool for semantic relation extraction. By forcing the model to account for the specific identity of the hyponym, WRAE overcomes the tendency of neural models to memorize frequent targets. This approach paves the way for more robust knowledge graph construction and a deeper understanding of the linear properties of word embeddings.
Summary updated