Abstract
Being able to automatically discover synonymous entities in an open-world setting benefits various tasks such as entity disambiguation or knowledge graph canonicalization. Existing works either only utilize entity features, or rely on structured annotations from a single piece of context where the entity is mentioned. To leverage diverse contexts where entities are mentioned, in this paper, we generalize the distributional hypothesis to a multi-context setting and propose a synonym discovery framework that detects entity synonyms from free-text corpora with considerations on effectiveness and robustness. As one of the key components in synonym discovery, we introduce a neural network model SYNONYMNET to determine whether or not two given entities are synonym with each other. Instead of using entities features, SYNONYMNET makes use of multiple pieces of contexts in which the entity is mentioned, and compares the context-level similarity via a bilateral matching schema. Experimental results demonstrate that the proposed model is able to detect synonym sets that are not observed during training on both generic and domain-specific datasets: Wiki+Freebase, PubMed+UMLS, and MedBook+MKG, with up to 4.16% improvement in terms of Area Under the Curve and 3.19% in terms of Mean Average Precision compared to the best baseline method.
Introduction
Identifying synonymous entities (e.g., "JD" and "law degree") is a cornerstone of building Knowledge Graphs and improving search engines. However, this task faces two primary challenges. First, surface variation means synonyms often share zero characters (e.g., "clogged nose" vs. "nasal congestion"). Second, the noise of natural language often results in uninformative mentions where a single sentence provides insufficient context to define an entity's meaning. SynonymNet addresses these by leveraging the distributional hypothesis across multiple contexts to robustly detect synonyms in an open-world setting.
Methodology
SynonymNet moves beyond looking at entities in isolation by aggregating information across multiple mentions. The pipeline consists of several key stages:
- Context Retriever: For any two candidate entities, the model extracts multiple random snippets (contexts) from a large corpus where those entities are mentioned.
- Context Encoder: A Bi-LSTM encodes the local neighborhood of the entity mention. The framework is designed to be "plug-and-play," supporting more advanced encoders like BERT or ELMo.
- Bilateral Matching with a Leaky Unit: This is the core innovation. The model compares every context of Entity A against every context of Entity B. To handle noise, a Leaky Unit acts as a "sink" for uninformative sentences, preventing them from forcing false similarities.
- Context Aggregation: The model calculates an informativeness score for each snippet, prioritizing sentences that best define the entity's meaning relative to the candidate synonym.
Experimental Setup
The researchers evaluated SynonymNet on three diverse datasets:
- Wiki + Freebase: Generic English entities from Wikipedia.
- PubMed + UMLS: Medical English entities from research abstracts.
- MedBook + MKG: A new Chinese medical dataset containing over 0.51M context pieces from medical textbooks and online forums.
Key Results and Insights
SynonymNet consistently outperformed baselines such as word2vec, GloVe, and character-based models (SRN, MaLSTM).
- Performance Boost: The model achieved up to a 4.16% improvement in Area Under the Curve (AUC) and a 3.19% improvement in Mean Average Precision (MAP) over the best baseline (DPE).
- Ablation Success: Removing the "Leaky Unit" caused a noticeable drop in performance (e.g., a 1.72% drop in AUC on the Wiki dataset), proving that filtering noise is as critical as identifying similarity.
- Domain Agnostic: The model performed well across both generic English and specialized medical Chinese, demonstrating its robustness across languages and domains.
Conclusion and Future Work
SynonymNet demonstrates that aggregating multiple contexts and employing bilateral matching with noise filtering significantly improves synonym discovery. While the current implementation uses Bi-LSTMs, future iterations could leverage transformer-based encoders to capture deeper semantic nuances. Additionally, optimizing the computational overhead of multi-context matching remains a key area for future development.
Summary updated