NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Realistic Single-Task Continuous Learning Research for NER

Justin Payan, Yuval Merhav, He Xie, Satyapriya Krishna, Anil Ramakrishna, Mukund Sridhar, Rahul Gupta · OpenReview

TL;DR

This paper addresses the lack of realistic benchmarks for single-task continuous learning (CL) in NLP, specifically for Named Entity Recognition (NER). The authors propose a new, configurable CL NER dataset derived from StackOverflow data, designed to better reflect real-world data shifts and label evolution, and evaluate existing CL strategies on it.

What Problem Does This Paper Address?

Continuous learning (CL) is crucial for machine learning systems that need to adapt to new data over time, especially with growing data privacy concerns. However, current academic research in CL often relies on simplified, static datasets that don't mirror the dynamic nature of real-world applications. Specifically, academic NLP benchmarks for CL are scarce, and existing ones often focus on multi-task learning rather than the more challenging single-task scenario where a single task evolves. This paper tackles this gap by creating a more realistic benchmark for single-task CL in NER, a common and important NLP task.

Methods

The authors adapt a pre-trained GPT-2 model with bi-LSTM layers and a CRF layer for NER. Their CL approach focuses on data rehearsal, a common baseline where a small subset of previously seen data is replayed during training on new data to combat catastrophic forgetting. They also compare against a variation of the GDumb baseline, which intelligently samples data for its replay buffer. A key methodological contribution is the creation of two new dataset splits:

  1. Temporal Split: Data is split chronologically into episodes, mimicking the natural progression of time.
  2. Skewed Split: This split introduces more realistic data distribution shifts and label imbalance by sampling entity types from a Dirichlet distribution and simulating the addition/removal of entity types across episodes. This aims to better reflect scenarios where annotation effort is focused on evolving or less common data.

Datasets

The primary dataset used is StackOverflowNER (Tabassum et al., 2020), a large dataset of question-answer threads annotated with nearly 30 entity types. The authors create two new episodic splits from this dataset:

  • Temporal Split: Divides the data into 5 episodes based on date ranges (September 2008 - March 2018).
  • Skewed Split: Modifies the temporal split to introduce more realistic data distribution shifts and label imbalance, simulating evolving annotation priorities.

The authors release these new dataset splits and their code.

Key Insights and Ideas

  • Real-world data is messy: Publicly available NLP datasets are often too static and lack the dynamic characteristics (data distribution shifts, evolving labels) found in real-world applications, making them unsuitable for realistic CL research.
  • Single-task CL is hard: The paper highlights that single-task CL, where a single task evolves over time, is often more challenging than multi-task CL and is a more common real-world scenario.
  • Temporal splits are insufficient: Even a chronologically ordered split of StackOverflowNER showed consistent entity type distributions, failing to capture significant data shifts. This motivated the creation of the "skewed" split.
  • Data rehearsal helps, but isn't a silver bullet: While data rehearsal can mitigate performance degradation in CL, it doesn't fully solve the problem, especially in more challenging skewed settings.
  • GDumb struggles: The GDumb baseline, despite its intelligent sampling, significantly underperforms even basic CL strategies in the skewed setting, indicating the difficulty of this realistic scenario.

Key Results

  • Temporal Split: In the temporal split, incremental training performed comparably to training on all data at once. Data replay offered no benefit and even led to mild performance degradation, suggesting the temporal split was not challenging enough to induce significant forgetting.
  • Skewed Split: In the skewed split, the non-CL baseline significantly outperformed CL without replay. Data replay improved performance but still left a gap compared to the non-CL baseline. GDumb with a large buffer (1500 examples) still underperformed the CL without replay strategy.
  • Forgetting: The skewed split demonstrated more pronounced forgetting, especially on earlier training episodes, compared to the temporal split. This forgetting was more evident on train sets than test sets, suggesting overfitting to recent data.
  • Impact of Label Changes: The removal of specific entity types (e.g., CODE_BLOCK) in the skewed split caused CL models to completely stop predicting them when data replay was not used.

Limitations and Future Work

  • Dataset limitations: While the skewed split is more realistic, it still relies on assumptions (e.g., independence between entity types) and is derived from a single source. The authors emphasize the need for benchmarks with truly continuous annotation.
  • Hyperparameter tuning: Further exploration of hyperparameter tuning is suggested to reduce forgetting.
  • Advanced Replay Techniques: The authors propose exploring more sophisticated replay methods, such as generative replay, to address distribution shift and replay representatives for common entities.
  • Broader NLP Tasks: The paper suggests extending this work to other NLP tasks and creating similar episodic splits for them.
  • Privacy-Preserving CL: Applying privacy-preserving techniques is mentioned as a future direction.

Summary updated

BibTeX
@inproceedings{payan2021towards,
  author = {Justin Payan and Yuval Merhav and He Xie and Satyapriya Krishna and Anil Ramakrishna and Mukund Sridhar and Rahul Gupta},
  title = {{Towards Realistic Single-Task Continuous Learning Research for NER}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  url = {https://openreview.net/forum?id=iBqOLew2oR},
}
Figure