Traditional entity typing systems—the tools that categorize mentions like "Barack Obama" as a Person or "Seattle" as a Location—have long been hamstrung by their reliance on supervised learning. These systems require massive, hand-labeled datasets and are notoriously "brittle": a model trained on financial news often stumbles when applied to biological research. Furthermore, they are "closed," meaning adding a new category requires re-annotating data and retraining the entire model.
Presented at EMNLP 2018, ZOE offers a paradigm shift. It is a zero-shot entity typing system that identifies semantic categories without any task-specific training data. By framing entity typing as a "grounding" problem into type-compatible Wikipedia entries, ZOE achieves unprecedented flexibility across domains and taxonomies.
The Core Innovation: Type-Compatible Grounding
The central idea behind ZOE is that we don't need to know exactly who an entity is to know what it is. Standard Entity Linking (EL) tries to map a mention to a single, unique Wikipedia page. ZOE, instead, performs Type-Compatible Grounding. It identifies a set of Wikipedia entities that appear in similar linguistic contexts and likely share the same semantic types.
For example, if a sentence mentions "Oarnniwsf" (a fictional name) as a "leading scorer" for the "UW," ZOE doesn't need "Oarnniwsf" to be in its database. By analyzing the context, it can ground the mention to known basketball players like Hakeem Olajuwon or Shane Williams. Since these grounded entities share types like /person/athlete and /person/basketball_player, ZOE can infer those types for the unknown mention.
System Architecture
The ZOE pipeline operates in four distinct stages:
- Initial Candidate Generation: Using Explicit Semantic Analysis (ESA), the system retrieves a broad set of Wikipedia concepts related to the words in the sentence.
- Context-Consistent Re-Ranking: This is where the heavy lifting happens. ZOE utilizes ELMo (contextualized word embeddings) to compare the target sentence with sentences in the WIKILINKS corpus. It ranks candidates based on the similarity of their linguistic "neighborhoods."
- Surface-Based Generation: If the mention text itself (e.g., "Barack Obama") has a very high probability of pointing to a specific Wikipedia page, that page is prioritized.
- Type Inference: Users define a target taxonomy using Boolean functions of Freebase "primitives" (e.g.,
Location = FB.location OR FB.geography). ZOE examines the Freebase types of the grounded entities and uses an inference algorithm to select the best-fitting target types.
Experimental Results
The authors evaluated ZOE against a variety of benchmarks, ranging from coarse-grained (CoNLL, MUC) to fine-grained (FIGER, BBN) and even domain-specific (biological entities) datasets.
As shown in the results, ZOE significantly outperforms existing zero-shot and open-type baselines. On the FIGER dataset (113 types), ZOE achieved a Macro-F1 of 74.8, compared to 69.1 for the previous state-of-the-art zero-shot system, OTYPER.
Robustness to Domain Shift
One of ZOE's greatest strengths is its ability to handle "out-of-domain" data. Supervised models often overfit to the specific style of their training corpus. In cross-domain tests, ZOE—despite having no training—outperformed supervised models that were tested on data different from their training set (e.g., a model trained on CoNLL tested on MUC).
The Importance of Context
An ablation study revealed that context is the primary driver of ZOE's success. Removing ELMo-based context signals resulted in a massive performance drop (30-40% F1), whereas removing surface-string signals (the actual name of the entity) only caused a minor decrease (1-9%). This confirms that ZOE truly understands the "role" an entity plays in a sentence.
Conclusion and Future Directions
ZOE demonstrates that large-scale, human-curated knowledge bases like Wikipedia can replace expensive hand-labeled data for entity typing. By allowing users to define taxonomies on the fly via simple Boolean logic, ZOE provides a level of flexibility that supervised systems cannot match.
While the system currently relies on human-defined mappings between Freebase and target types, and carries some computational overhead due to contextual comparisons, it represents a major step toward more generalizable and adaptable NLP systems.
Summary updated