Skip to content
Back to skills

Continual Ner Eval

ASecurity

Evaluates a model's ability to perform continual learning in Named Entity Recognition (CL-NER) by incrementally learning new entity types while mitigating catastrophic forgetting of previously learned types. It specifically probes how well the model handles the 'Other-class' (miscellaneous/old entities) during incremental training and maintains performance across sequential learning steps. Use when the user wants to benchmark on OntoNotes5, i2b2, CoNLL2003, or asks about evaluating this task....

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongotestingperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill continual-ner-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Continual Ner Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Continual Ner Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-continual-ner-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-continual-ner-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: continual-ner-eval
description: Evaluates a model's ability to perform continual learning in Named Entity Recognition (CL-NER) by incrementally learning new entity types while mitigating catastrophic forgetting of previously learned types. It specifically probes how well the model handles the 'Other-class' (miscellaneous/old entities) during incremental training and maintains performance across sequential learning steps. Use when the user wants to benchmark on OntoNotes5, i2b2, CoNLL2003, or asks about evaluating this task. Reports Micro F1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2210.03980
  bibtex_key: [REDACTED]
  confidence: high
---

# continual-ner-eval

> Distilling Causal Effect from Miscellaneous Other-Class for Continual Named Entity Recognition — Zheng et al. (2022) (arXiv:2210.03980, 2022)

## What this evaluates

Evaluates a model's ability to perform continual learning in Named Entity Recognition (CL-NER) by incrementally learning new entity types while mitigating catastrophic forgetting of previously learned types. It specifically probes how well the model handles the 'Other-class' (miscellaneous/old entities) during incremental training and maintains performance across sequential learning steps.

## Datasets

- **OntoNotes5** — total ?; splits: train (-1), val (-1), test (-1)
- **i2b2** — total ?; splits: train (-1), val (-1), test (-1)
- **CoNLL2003** — total ?; splits: train (-1), val (-1), test (-1)

## Metrics

- `Micro F1` **(primary)** — range: percent
  - Standard token-level F1 score computed over all predicted and gold entity labels, averaged across all continual learning steps (including the first step).
- `Macro F1` — range: percent
  - Standard token-level F1 score computed per entity type and then averaged across all types, averaged across all continual learning steps.

## Input / output format

**Input**: Tokenized text sequences with corresponding token-level entity labels. During training, data is partitioned into disjoint slices where only new entity types are retained and old types are relabeled as Other-class.

**Output**: Per-token entity label predictions (e.g., B-PER, I-LOC, O/Other-class).

## Scoring recipe

```python
def compute_f1(preds, golds):
    tp = sum(1 for p, g in zip(preds, golds) if p == g and p != 'O')
    fp = sum(1 for p, g in zip(preds, golds) if p != g and p != 'O')
    fn = sum(1 for p, g in zip(preds, golds) if p != g and g != 'O')
    prec = tp / (tp + fp) if (tp + fp) > 0 else 0
    rec = tp / (tp + fn) if (tp + fn) > 0 else 0
    return 2 * prec * rec / (prec + rec) * 100

# Average across all CL steps as specified
step_scores = [compute_f1(step_preds, step_golds) for step_preds, step_golds in all_steps]
final_metric = sum(step_scores) / len(step_scores)
```

## Common pitfalls

- Failing to average the F1 scores across all continual learning steps (including the initial step) as explicitly required by the protocol.
- Incorrectly handling the 'Other-class' during evaluation: the paper specifies that during testing, all recognized entity types are retained, whereas during training slices, old types are relabeled as Other-class.
- Not filtering out entity types with fewer than 50 training samples before partitioning, which alters the dataset composition and slice distribution.

## Evidence (verbatim from paper)

> Considering the class imbalance problem in NER, we adopt Micro F1 and Macro F1 for measuring the model performance. We report the average result on all CL steps (including the first step) as the final result.

## Citation

```bibtex
@misc{zheng2022distilling,
  title={Distilling Causal Effect from Miscellaneous Other-Class for Continual Named Entity Recognition},
  author={Zheng et al. (2022)},
  year={2022},
  note={arXiv:2210.03980}
}
```

- arXiv: 2210.03980

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.