Introduction
Named Entity Recognition (NER) is a fundamental task in natural language processing, involving the identification and categorization of entities such as locations, chemicals, or organizations. Traditionally, high-performing NER systems require thousands of manually labeled sentences, creating a significant "annotation bottleneck." While weak supervision—using pre-defined dictionaries or heuristic rules—offers a path forward, existing methods often struggle with boundary detection (the "span assumption") and the high manual effort required to build comprehensive rule sets for new domains.
To address these challenges, this paper introduces TALLOR (Tagging with Learnable Logical Rules), an iterative bootstrapping framework that builds robust NER systems starting from only a handful of "seed" rules.
The TALLOR Framework
TALLOR operates through an iterative cycle designed to expand a small set of initial rules into a sophisticated tagging system. Unlike black-box neural models, TALLOR relies on human-readable logical rules that incorporate lexical, contextual, and syntactic information.
1. Compound Logical Rules
Simple keyword-based rules are often insufficient for precise tagging. TALLOR induces compound rules that combine multiple features:
- Lexical: The specific token string.
- Context: N-grams immediately preceding or following the token.
- Syntax: Part-of-speech (POS) tags and dependency relations (e.g., identifying if a token is the object of a specific preposition).
By combining these elements (e.g., PreNgram == "lives in" AND POSTag == "PROPN"), the system can accurately identify both the type and the boundaries of an entity.
2. Iterative Bootstrapping
The framework follows a four-step loop:
- Apply Rules: Current rules are applied to unlabeled data to generate initial labels.
- Select Training Instances: A Dynamic Label Selection strategy is employed to filter noise. It uses embeddings to calculate confidence scores, ensuring the neural tagger learns from high-quality instances.
- Train Tagger: A span-based neural tagger (Bi-LSTM + Self-Attention) is trained on the selected data.
- Induce New Rules: The tagger’s predictions on unlabeled text are used to discover new patterns. These patterns are scored using the RlogF metric (balancing accuracy and coverage) and added to the rule set for the next iteration.
Experimental Evaluation
The authors evaluated TALLOR on three benchmark datasets: BC5CDR (biomedical chemicals/diseases), CHEMDNER (large-scale chemical entities), and CoNLL2003 (general news entities).
Key Results
TALLOR demonstrates significant performance gains and efficiency compared to existing weakly supervised methods:
- Performance Gains: The system achieved an average F1 score increase of 60% across all datasets compared to the initial seed rules.
- Data Efficiency: On the BC5CDR dataset, TALLOR—starting with just 20 rules—matched the performance of AutoNER, a system requiring a manual lexicon of over 2,000 terms.
- Cold-Start Robustness: The system remains effective even with as few as 10 seed rules, making it ideal for niche or emerging domains where data is scarce.
Discussion and Conclusion
A key advantage of TALLOR is interpretability; 79% of induced rules were found to be valid human-understandable explanations for tagging decisions. However, challenges remain in distinguishing between semantically similar concepts (e.g., "Chemicals" vs. "Medications") and handling nested entity structures.
In summary, TALLOR provides a powerful, interpretable, and data-efficient framework for NER, proving that a small set of well-leveraged logical rules can rival the performance of much larger, manually curated lexicons.
Summary updated