TL;DR
GeNER is a novel framework that automates the creation of Named Entity Recognition (NER) datasets by simply asking "Which [TYPE]?" questions to an open-domain question-answering system. By leveraging the latent knowledge in pre-trained phrase retrieval models, GeNER eliminates the need for expensive human annotation and expert-curated dictionaries, outperforming existing low-resource baselines by an average of 19.4 F1 points.
What Problem Does This Paper Address?
Named Entity Recognition (NER)—the task of identifying specific entities like "diseases" or "organizations" in text—is a cornerstone of NLP. However, building a high-performing NER model typically requires thousands of human-annotated sentences or exhaustive, expert-built dictionaries.
This creates a massive bottleneck for "low-resource" domains. If you want to build a model to extract specific types of bacteria or rare astronomical objects, you might not have a ready-made dataset or a team of experts to build one. Previous "weakly supervised" methods tried to use small sets of "seed" entities, but they often struggled with low coverage and noisy labels. The authors of this paper ask: Can we use the vast knowledge already encoded in open-domain QA systems to build these datasets for us?
Methods
The authors introduce GeNER (automated dataset Generation framework for NER), which follows a four-step "ask-to-generate" pipeline:
- Query Formulation: Instead of labeling data, a user provides a simple natural language question template: "Which [TYPE]?" (e.g., "Which disease?"). For complex types like "Organization," users can provide sub-questions like "Which sports team?" to improve specificity.
- Retrieval: GeNER uses DensePhrases, a high-performance open-domain QA model, to search a massive corpus (Wikipedia). It retrieves both candidate entities (phrases) and the "evidence sentences" they appear in.
- Dictionary Matching: The retrieved phrases form a pseudo-dictionary. GeNER then scans the retrieved evidence sentences and labels every occurrence of these phrases. This creates a raw, albeit noisy, training set.
- Self-training: To handle the noise inherent in automated labeling, the authors employ a teacher-student self-training regime. A "teacher" model is trained on the noisy data and then re-annotates the sentences to provide cleaner "soft labels" for a "student" model.
Datasets
The researchers evaluated GeNER across six diverse benchmarks spanning four domains:
- News: CoNLL-2003
- Wikipedia: Wikigold
- Twitter: WNUT-16
- Biomedicine: NCBI-disease, BC5CDR, and CHEMDNER
They also tested the framework on fine-grained NER using subsets of the CrossNER dataset, focusing on specific types like Enzyme, Astronomical Object, Award, and Conference.
Key Insights and Ideas
- QA Models as Implicit Annotators: The core "aha" moment is realizing that modern phrase-retrieval QA models have already learned to map entity types to phrases across diverse contexts. GeNER simply "extracts" this latent knowledge to build a structured dataset.
- Context Diversity Trumps Rules: Traditional weak supervision often relies on rigid rules (e.g., "a word followed by 'disease'"). GeNER retrieves sentences from Wikipedia that provide much more diverse linguistic contexts, helping the model generalize better (see Table 7 in the paper).
- The Power of Sub-questions: Coarse types like "Organization" are hard for QA models. Breaking them down into specific sub-queries (e.g., "Which company?", "Which band?") significantly boosts performance because it aligns better with how information is structured in the retrieval corpus.
- Closing the Gap with Self-Training: While the initial pseudo-dictionary is "incomplete" compared to an expert-curated one, the iterative self-training process allows the model to "fill in the blanks" and reach performance levels comparable to models using rich human-provided resources.
Key Results
- Superior Low-Resource Performance: GeNER outperformed TALLOR (a strong low-resource baseline) by an average F1 score of 19.4 across six benchmarks.
- Competitive with "Rich" Models: Despite using zero human-annotated labels or expert dictionaries, GeNER achieved results comparable to BOND, a model that leverages massive expert-curated dictionaries (like Wikidata).
- Few-Shot State-of-the-Art: When combined with just a handful of human examples (few-shot learning), GeNER set new SOTA records, outperforming the previous best model (QUIP) by 5.2 F1 points.
Limitations and Future Work
- Language Dependency: The current implementation relies on DensePhrases, which is primarily optimized for English. Adapting GeNER to low-resource languages remains a challenge.
- Non-Entity Types: The "Which [TYPE]?" template works well for named entities but might struggle with numerical or temporal types (e.g., money, dates, durations). The authors suggest that questions starting with "How much?" or "When?" would be a necessary future extension.
- Retrieval Limits: Simply increasing the number of retrieved sentences doesn't always help; after a certain point, the noise (incorrectly typed phrases) begins to outweigh the benefits of more data. Finding the "sweet spot" for retrieval volume is an area for further optimization.
Summary updated