Fine-grained entity typing (FET) is the task of assigning specific labels to entities in a sentence—for example, identifying "Microsoft" not just as an organization, but specifically as a software_company. While neural models have advanced this field, they often suffer from two major gaps: the separation of entity and context features, and the neglect of external Knowledge Bases (KBs).
Researchers from Tsinghua University have developed KNET (Knowledge-Attention Neural Fine-Grained Entity Typing), a model that addresses these gaps by using external knowledge to guide a neural attention mechanism. By leveraging relational data from KBs like Freebase, KNET learns to focus on the most relevant context words for specific entities, significantly outperforming previous state-of-the-art methods.
The KNET Framework
The core of KNET is a novel Knowledge Attention mechanism integrated with a standard Bidirectional LSTM encoder. In traditional models, attention mechanisms scan the context to determine word importance based solely on the text. KNET, however, uses an entity's embedding from a Knowledge Base as the "query" for this scan.
This allows the model to ask: "Given what is known about this specific entity from the database, which words in this sentence are most informative?" For instance, if the KB identifies an entity as a "film," the attention mechanism naturally gravitates toward words like "starred" or "directed" in the surrounding text.
Knowledge Representation and Disambiguation
To bridge the gap between text and structured data, KNET utilizes TransE, an algorithm that converts KB relationships into mathematical vectors. However, a major challenge in FET is that not every mention in a text has a clear or existing entry in a KB.
To handle these "unknown" or ambiguous entities, KNET employs two strategies:
- Embedding Reconstruction: During training, the model learns to reconstruct a KB-like embedding directly from the text. This ensures that even out-of-KB entities can benefit from the knowledge-based logic.
- Disambiguation Procedure: During testing, the model identifies candidate entities in the KB and uses L2 distance to decide whether to use a precise KB embedding or the text-reconstructed version based on a threshold ($\alpha$).
Experimental Results
The authors evaluated KNET on several benchmarks, including a new large-scale dataset, WIKI-AUTO (100,000 entities), and a manually labeled subset, WIKI-MAN. KNET (specifically the version with disambiguation, KA+D) consistently outperformed all baselines.
On the WIKI-AUTO dataset, KA+D achieved a Strict Accuracy of 47.20%, compared to 42.77% for standard Semantic Attention (SA) and 20.32% for traditional feature-based methods. Its Micro-F1 score reached 77.92%, a significant improvement over previous neural baselines.
Analysis of the disambiguation threshold ($\alpha$) shows that while the model is robust, performance is sensitive to the quality of entity linking. As shown in the figures above, when entity linking is correct, the knowledge-augmented model (KA+D) significantly outperforms semantic attention (SA). However, if the linking is erroneous, the model can be led astray, focusing on incorrect context clues.
Conclusion and Future Work
KNET demonstrates that external knowledge acts as a powerful filter for natural language processing. By integrating KB embeddings into the attention mechanism, the model achieves a more sophisticated understanding of context. Future work may involve exploring deeper KB taxonomies and more advanced Knowledge Representation Learning methods to further refine the interaction between structured knowledge and unstructured text.
Summary updated