Abstract
Traditional Named Entity Recognition (NER) benchmarks often allow models to succeed through memorization of static entity-label pairs. This paper formalizes Dynamic Named Entity Recognition (DNER), a task where entity labels are fluid and dependent on the specific narrative context. We introduce two benchmarks, DNER-RotoWire and DNER-IMDb, and demonstrate that while transformer models perform well on seen entities, they struggle significantly with unseen data and rely on contextual biases like mention position and entity popularity.
Introduction: The Memorization Problem
In standard NLP, NER is treated as a static classification problem. If "LeBron James" is labeled as a PERSON in training, he remains a PERSON in testing. This allows models to achieve high performance by learning lookup tables rather than contextual semantics. However, real-world information extraction often requires identifying roles. For instance, an actor might be a "lead" in one movie synopsis and a "supporting role" in another.
Task Definition and Methodology
The researchers distinguish between two levels of the task:
- Dynamic Named Entity Typing (DNET): Classifying the role of a pre-identified entity span.
- Dynamic Named Entity Recognition (DNER): The full pipeline of detecting entity boundaries and classifying their roles.
To evaluate these tasks, four transformer-based architectures were tested: BERT-Linear, BERT-CLS (incorporating global context), BERT-CRF (modeling label dependencies), and BERT-CLS-CRF (a hybrid approach).
Benchmarking Dynamic Roles: RotoWire and IMDb
Two novel benchmarks were created to test contextual reasoning:
- DNER-RotoWire: NBA game summaries where players are labeled as Winner or Loser. Unlike standard datasets where 97% of entities have static labels, 99% of entities here have variable labels.
- DNER-IMDb: Movie synopses where actors are labeled by Credit Order (1st to 4th billed).
The study utilized a "Seen/Unseen" split to ensure models could not rely on historical data for certain test samples, forcing a reliance on linguistic cues.
Experimental Results and Biases
The results highlight a significant "Memorization Trap." On the IMDb dataset, F1 scores dropped by over 22 points when moving from seen to unseen movies, with the best model peaking at only 0.37. While the BERT-CLS-CRF model performed better on RotoWire, achieving an F1 of 0.67, the gap between seen and unseen sets remains substantial.
Analysis revealed that models often exploit non-semantic biases. For example, in sports news, "winners" are typically mentioned earlier in the text than "losers."
Furthermore, models showed a "popularity bias," where famous entities were more likely to be assigned dominant labels (e.g., "Winner" or "1st billed") based on their frequency in the training data rather than the specific text.
Conclusion
Dynamic Named Entity Recognition represents a shift from static typing to contextual role assignment. Current state-of-the-art models still rely heavily on memorization and are susceptible to structural biases in text. Future improvements may lie in integrating global logical constraints—such as the impossibility of two opposing teams both being "winners" in a single game summary—to move beyond simple pattern matching toward true contextual understanding.
Reference: Luiggi, T., et al. (2023). "Dynamic Named Entity Recognition." Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing (SAC ’23). https://doi.org/10.1145/3555776.3577603
Summary updated