Seed-Guided Fine-Grained Entity Typing in Science and Engineering Domains
Yu Zhang, Yunyi Zhang, Yanzhen Shen, Yu Deng, Lucian Popa, Larisa Shwartz, ChengXiang Zhai, Jiawei Han
TL;DR
This work addresses seed-guided fine-grained entity typing in science and engineering by proposing SEType, a two-phase framework that first enriches a small set of seed entities per type using a large unlabeled corpus and then trains a cross-encoder entailment model on pseudo-labeled samples to classify both seen and unseen types. The entity enrichment phase computes contextualized embeddings from a PLM, enforces mutual exclusivity across types, and iteratively expands seed sets to improve coverage while controlling noise. The entailment phase treats context as a premise and each type, including unseen ones, as a hypothesis, training with a contrastive objective and performing inference by selecting the hypothesis with the highest entailment score. Experiments on StackOverflowNER and Cybersecurity datasets show SEType outperforms zero-shot and few-shot baselines, with ablations confirming the value of enrichment, context, and carefully chosen hyperparameters for reliable open-set typing in domain-specific text.
Abstract
Accurately typing entity mentions from text segments is a fundamental task for various natural language processing applications. Many previous approaches rely on massive human-annotated data to perform entity typing. Nevertheless, collecting such data in highly specialized science and engineering domains (e.g., software engineering and security) can be time-consuming and costly, without mentioning the domain gaps between training and inference data if the model needs to be applied to confidential datasets. In this paper, we study the task of seed-guided fine-grained entity typing in science and engineering domains, which takes the name and a few seed entities for each entity type as the only supervision and aims to classify new entity mentions into both seen and unseen types (i.e., those without seed entities). To solve this problem, we propose SEType which first enriches the weak supervision by finding more entities for each seen type from an unlabeled corpus using the contextualized representations of pre-trained language models. It then matches the enriched entities to unlabeled text to get pseudo-labeled samples and trains a textual entailment model that can make inferences for both seen and unseen types. Extensive experiments on two datasets covering four domains demonstrate the effectiveness of SEType in comparison with various baselines.
