Abstract
Named Entity Recognition (NER) typically requires extensive labeled datasets, creating a significant bottleneck for niche domains. This paper presents TALLOR (Tagging with Learnable Logical Rules), a framework that bootstraps high-performing NER systems from as few as 20 seed rules. By iteratively inducing compound logical rules from unlabeled data and employing a dynamic label selection strategy, TALLOR achieves performance comparable to systems utilizing large-scale dictionaries while maintaining human-interpretability.
Introduction
Named Entity Recognition (NER) is fundamental to natural language processing, yet the reliance on thousands of manually labeled examples limits its scalability. Weak supervision offers a solution by using heuristics or lexicons, but these often struggle with joint boundary detection and type classification, especially when expert-curated dictionaries are unavailable. TALLOR addresses this by learning complex rules from minimal human input.
Methodology
TALLOR operates through an iterative framework designed to expand a small set of "seed" rules into a robust tagging system.
Compound Logical Rules
Unlike simple keyword matches, TALLOR composes compound rules using logical connectives. For instance, combining part-of-speech (POS) tags with local context (e.g., If PreNgram == "lives in" AND POS == "PROPN" → Location) allows for more precise entity boundary detection.
Iterative Rule Induction
The framework follows a cyclic process:
- Pseudo-labeling: Current rules are applied to unlabeled data.
- Neural Training: A Bi-LSTM with Self-Attention is trained on these pseudo-labels.
- Rule Discovery: The neural tagger identifies high-confidence spans in the unlabeled text, which are then used to induce and score new candidate rules.
Dynamic Label Selection
To mitigate noise from incorrect rules, TALLOR uses a dynamic thresholding strategy. It calculates local (instance-level) and global (prototype-level) similarity scores to filter out low-confidence pseudo-labels, preventing the neural model from overfitting to errors.
Experimental Setup
TALLOR was evaluated on three benchmarks:
- BC5CDR: Biomedical entities (chemicals/diseases).
- CHEMDNER: Specialized chemical entities.
- CoNLL2003: General-domain entities (Person, Location, Org). Training utilized unlabeled versions of these datasets, guided by 20–40 initial seed rules.
Results and Discussion
TALLOR demonstrates significant improvements over traditional rule-based weak supervision, with an average F1 score increase of 60% across the evaluated datasets.
Efficiency and Performance
A key finding is that TALLOR, starting with only 20 rules, can rival the performance of state-of-the-art models like AutoNER, which requires lexicons of over 2,000 terms. This highlights that learning the context around entities is often more powerful than exhaustive lists of entity names.
Interpretability
Beyond performance, TALLOR provides transparency. A user study indicated that 79% of induced rules are human-understandable, offering clear explanations for the model's predictions—a stark contrast to "black-box" neural architectures.
Conclusion
TALLOR effectively bridges the gap between low-resource rule-based systems and high-performance neural taggers. By automating the discovery of compound logical rules, it reduces the human effort required for NER while providing interpretable results. Future work will focus on resolving semantic confusion between similar categories and handling nested entity structures.
Summary updated