FLERT: Document-Level Features for Named Entity Recognition

Stefan Schweter, Alan Akbik
11/13/2020
cs.CL

Official code: flairNLP/flair (14,400 stars, Python, PyTorch, last commit 2026-10-19).

Abstract

Current state-of-the-art approaches for named entity recognition (NER) typically consider text at the sentence-level and thus do not model information that crosses sentence boundaries. However, the use of transformer-based models for NER offers natural options for capturing document-level features.

Show full abstract

In this paper, we perform a comparative evaluation of document-level features in the two standard NER architectures commonly considered in the literature, namely "fine-tuning" and "feature-based LSTM-CRF". We evaluate different hyperparameters for document-level features such as context window size and enforcing document-locality. We present experiments from which we derive recommendations for how to model document context and present new state-of-the-art scores on several CoNLL-03 benchmark datasets. Our approach is integrated into the Flair framework to facilitate reproduction of our experiments.

View on arXivView PDF

Code Implementations(1)

flairNLP/flairOfficial100%
PyTorch

A very simple framework for state-of-the-art Natural Language Processing (NLP)

14,4002,095Python, HTMLJun 11, 20181 months agoNOASSERTION
machine-learningnamed-entity-recognitionnatural-language-processingnlppytorch+3 more

Similar Papers

Cite this paper

@article{schweter2020flert,
  title  = {FLERT: Document-Level Features for Named Entity Recognition},
  author = {Stefan Schweter and Alan Akbik},
  year   = {2020},
  eprint = {2011.06993},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.06993}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.06993.svg)](https://codeofpaper.com/paper/2011.06993)

Discussion