Abstract
We study the problem of few-shot Fine-grained Entity Typing (FET), where only a few annotated entity mentions with contexts are given for each entity type. Recently, prompt-based tuning has demonstrated superior performance to standard fine-tuning in few-shot scenarios by formulating the entity type classification task as a "fill-in-the-blank" problem. This allows effective utilization of the strong language modeling capability of Pre-trained Language Models (PLMs). Despite the success of current prompt-based tuning approaches, two major challenges remain: (1) the verbalizer in prompts is either manually designed or constructed from external knowledge bases, without considering the target corpus and label hierarchy information, and (2) current approaches mainly utilize the representation power of PLMs, but have not explored their generation power acquired through extensive general-domain pre-training. In this work, we propose a novel framework for few-shot FET consisting of two modules: (1) an entity type label interpretation module automatically learns to relate type labels to the vocabulary by jointly leveraging few-shot instances and the label hierarchy, and (2) a type-based contextualized instance generator produces new instances based on given instances to enlarge the training set for better generalization. On three benchmark datasets, our model outperforms existing methods by significant margins.
Introduction
Fine-Grained Entity Typing (FET) is the task of assigning specific, hierarchical labels to entity mentions in text—for example, identifying "Apple" not just as an "Organization," but specifically as a "/Organization/Company/Public." Because these hierarchies are deep and complex, creating large annotated datasets is a significant challenge. Consequently, researchers have turned to few-shot learning to train models with minimal supervision.
The Shift to Prompt-Based Tuning
Traditional approaches relied on vanilla fine-tuning, where a linear layer is added on top of a Pre-trained Language Model (PLM) to predict labels directly from token embeddings.
However, recent work has shifted toward prompt-based tuning. This method reframes entity typing as a Cloze-style "fill-in-the-blank" question (e.g., "Apple is a [MASK]"), allowing the model to leverage its internal knowledge to predict the masked token. Despite its success, prompt-based tuning faces two major hurdles: the "Verbalizer Problem," where mapping predicted words to labels is often static and brittle, and the underutilization of the PLM's generative power.
The ALIGNIE Framework
To overcome these limitations, the authors introduce ALIGNIE (Automatic Label Interpretation and Generating New Instance for Entity typing). The framework consists of two primary modules designed to improve label understanding and data availability.
Hierarchical Entity Label Interpretation
Instead of a fixed mapping, ALIGNIE learns a dynamic "Word-Type Correlation Matrix." It uses the existing label hierarchy as a regularization tool to guide this learning process:
- Inclusive Loss: Ensures a child label (e.g., "Company") shares relevant vocabulary with its parent (e.g., "Organization").
- Exclusive Loss: Ensures sibling labels (e.g., "Sports Team" and "Sports League") remain semantically distinct in the model's interpretation.
Type-Based Contextualized Instance Generator
This module treats the PLM as a data factory. Given a few examples of a specific type, it uses generative templates (e.g., "Buffalo, as well as [MASK], is a university") to prompt the model to produce new entities like "Duke" or "Dartmouth." To handle multi-word entities like "The Washington Post," the authors implement a recursive multi-token decoding strategy. These generated instances are added to the training set with smoothed labels to account for potential noise, creating a robust augmented dataset.
Experimental Results
ALIGNIE was evaluated on three major FET benchmarks—OntoNotes, BBN, and Few-NERD—using a strict 5-shot setting (only 5 examples per type).
- State-of-the-Art Performance: On the OntoNotes dataset, ALIGNIE achieved a strict accuracy of 53.37%, a significant improvement over the previous state-of-the-art (PLET) at 48.57%.
- Closing the Gap: On OntoNotes and BBN, the 5-shot performance of ALIGNIE actually approached the results of models trained on the entire supervised dataset.
- Ablation Success: Removing either the hierarchical regularization or the instance generator led to a performance drop, proving that both "interpreting labels" and "generating data" are essential for success.
Conclusion
ALIGNIE demonstrates that few-shot FET can be significantly improved by leveraging the hierarchical structure of labels and the generative capabilities of PLMs. By automatically interpreting labels and hallucinating new training data, the framework achieves state-of-the-art results and paves the way for more efficient fine-grained classification tasks.
Code and datasets are available at: https://github.com/teapot123/Fine-Grained-Entity-Typing
Summary updated