Fine-grained Entity Typing via Label Reasoning

Qing Liu, Hongyu Lin, Xinyan Xiao, Xianpei Han, Le Sun, Hua Wu

Introduction

Fine-grained Entity Typing (FET) is a critical task in natural language processing that involves assigning specific semantic labels to entity mentions within a given context. Unlike traditional entity typing, which might categorize an entity simply as a "Person" or "Organization," FET aims for a much higher degree of specificity. For instance, in the sentence, "They were arrested by FBI agents," an FET system should ideally output a set of labels such as {organization, administration, force, agent, police}.

However, FET faces two significant challenges. First, the massive label set (often containing thousands of labels) makes treating categories as independent classes computationally inefficient and ignores the inherent interdependencies between labels (e.g., a theorist is fundamentally a person). Second, the long-tail problem is pervasive; in datasets like Ultra-Fine, over 80% of labels appear in fewer than five training instances, and 25% are entirely absent from the training set. Traditional classifiers struggle to generalize to these rare or unseen categories.

Methodology: The Label Reasoning Network (LRN)

To address these limitations, the Label Reasoning Network (LRN) reformulates FET as a reasoning task rather than a standard classification problem. The framework utilizes a "sequence-to-set" approach that leverages both extrinsic and intrinsic label dependencies.

Contextual Encoding

The model begins by using BERT to generate high-quality contextual representations of the entity mention and its surrounding text, providing a foundation for subsequent reasoning steps.

Deductive and Inductive Reasoning

The core of LRN lies in its dual reasoning components:

  1. Deductive Reasoning (Extrinsic Dependencies): An auto-regressive LSTM decoder predicts labels sequentially. By employing "premise attention," the model looks back at previously predicted labels to inform current decisions. For example, if the model has already identified an entity as a person, and the context includes the phrase "they theorize," it can logically deduce that the next label should be theorist.
  2. Inductive Reasoning (Intrinsic Dependencies): This component is designed specifically to handle long-tail and zero-shot scenarios. It utilizes a Bipartite Attribute Graph (BAG) to decompose labels into shared semantic "attributes" (words extracted from the mention or predicted via a masked language model). If attributes like expert and scholar are activated by the context, the model can induce the label scientist, even if that specific label was never encountered during training.
The LRN framework illustrates (a) extrinsic dependencies between labels, (b) intrinsic dependencies between labels and attributes, and (c) the combined reasoning process.

Training with Bipartite Matching Loss

To ensure the model is not penalized for the arbitrary order of label prediction, the authors implement a Bipartite Matching Loss. This treats the output as an unordered set, focusing on the presence of correct labels rather than their sequence.

Experimental Evaluation

The researchers evaluated LRN on two primary benchmarks:

  • Ultra-Fine: A challenging dataset with 2,519 labels, characterized by a severe long-tail distribution and zero-shot requirements.
  • OntoNotes: A traditional dataset with 89 labels, used to verify the model's performance on coarser, more frequent categories.

Key Results

LRN demonstrated substantial improvements over previous state-of-the-art (SOTA) models:

  • Overall Performance: On the Ultra-Fine dataset, LRN achieved a 13% F1 improvement (from 40.2 to 45.4).
  • Granularity Gains: The model excelled at the most specific levels, showing a 44% F1 improvement (from 22.6 to 32.5) in the "ultra-fine" category.
  • Zero-Shot Capabilities: In settings where labels were entirely unseen during training, LRN successfully predicted 110 different categories with 50.5% precision, whereas traditional baselines failed to make any correct predictions.

Discussion and Insights

The success of LRN highlights that labels are not atoms; they are semantic constructs composed of shared attributes. By learning the relationships between these attributes and labels, models can generalize far beyond their training data. Furthermore, shifting from independent classification to sequential reasoning ensures "global coherence," preventing the model from making contradictory predictions (e.g., labeling an entity as both a stadium and a musician).

While highly effective, the model's reliance on attribute extraction means it can be sensitive to contextual noise. Future work may involve developing more sophisticated, task-specific representations to replace the current dependency on general-purpose embeddings like GloVe.

Conclusion

The Label Reasoning Network represents a significant shift in Fine-grained Entity Typing. By treating labels as interdependent nodes in a reasoning chain and decomposing them into semantic attributes, LRN effectively overcomes the long-tail and zero-shot challenges that have long hindered the field. This reasoning-centric approach offers a promising template for other large-scale multi-label classification tasks.

Summary updated

BibTeX
@inproceedings{liu2021fine,
  author = {Qing Liu and Hongyu Lin and Xinyan Xiao and Xianpei Han and Le Sun and Hua Wu},
  title = {{Fine-grained Entity Typing via Label Reasoning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.378},
}
Figure