# Named Entity Recognition with Bidirectional LSTM-CNNs

Bidirectional LSTM-CNNs learn named entity features without heavy feature engineering

Jason P. C. Chiu, Eric Nichols · arXiv · 2015-11-26

- **Problem** Named entity recognition needed hand-built features and lexicons. Feed-forward taggers see only a fixed window around each word and cannot use character cues like prefixes and suffixes, which hurts rare words.
- **Method** BLSTM-CNN combines a bidirectional LSTM over word features with a character CNN. The CNN reads each word's characters, and the result is joined to the word embedding before tagging.
- **Results** With word embeddings and two lexicons, the model reached an F1 score of 91.62 on CoNLL-2003 and 86.28 on OntoNotes 5.0.

## Limits of the window-based tagger

Named entity recognition has long relied on CRF, SVM or perceptron models trained on hand-built features. Collobert et al. (2011b) showed that a neural network fed with word embeddings learned on large unlabelled text can get by with far less feature engineering.

That model has two gaps. Its feed-forward network reads only a fixed window around each word, so relations that span longer distances are lost. It also depends only on word embeddings, so it cannot draw on character-level cues such as prefixes and suffixes, which matter most for rare words.

The authors replace the feed-forward core with a recurrent network built from LSTM units, which handles variable-length input and carries context in both directions over a sentence. A convolutional network over each word's characters supplies the character-level evidence that word embeddings alone cannot provide.

## How word and character features reach the tags

Each lower-cased token is mapped to a pre-trained word embedding, and each character is mapped to a character embedding by a lookup table. Optional features are added on top: a capitalization feature for each word, and a character type vector for each character.

For every word, a convolution and a max layer turn the character vectors into one fixed-length character feature vector, which is concatenated with the word-level features. The concatenated vector for each token is the input to the BLSTM, so the word-level lookup and the character CNN are trained together with the tagger.

The two log-probability vectors are added to give the per-tag output for that token.

## Character CNN and its inputs

Character embeddings have 25 dimensions and start from a uniform random draw over the range -0.5 to 0.5. The character set covers the characters found in CoNLL-2003 plus two special tokens, PADDING and UNKNOWN; UNKNOWN stands in for characters that appear only in OntoNotes. Words are padded with PADDING characters on both sides according to the convolution window size.

The character type lookup returns a 4-dimensional vector for upper case, lower case, punctuation and other. The authors chose a CNN over a character-level bi-directional LSTM because preliminary evaluation found the LSTM did not perform significantly better while costing more to train.

## Encoding lexicon matches with BIOES tags

The DBpedia lexicon collects known names from DBpedia types that correspond to the four CoNLL categories, after removing parenthesized text and trailing punctuation. The SENNA lexicon comes with the SENNA system of Collobert et al. (2011b), and the two lexicons differ greatly in size.

A partial match requires a prefix or suffix of an entry that covers at least half of it, and except for Person, partial matches shorter than 2 tokens are discarded.

When matches overlap within a category, exact matches win over partial ones, then longer matches over shorter ones, then earlier matches over later ones. Each matched token is then labelled with BIOES tags according to its position in the entry, so a suffix-only partial match cannot carry a B tag and a prefix-only partial match cannot carry an E tag.

The best model uses SENNA with exact matching and DBpedia with partial matching, both with BIOES encoding.

## Training with a sentence-level likelihood

For a tag sequence, the score sums, over positions, the transition score and the network score for the tag at that position.

\\\[ S(\[x\]\_1^T,\[i\]\_1^T,\\theta') = \\sum\_{t=1}^{T} \\left( A\_{\[i\]\_{t-1},\[i\]\_t} + \[f\_\\theta\]\_{\[i\]\_t,t} \\right) \\\] Here \\( \[f\_\\theta\]\_{i,t} \\) is the network score for tag i at word t, and \\( \\theta' \\) collects the network parameters and the transition matrix.

Training maximizes this log-likelihood, and dynamic programming computes its value and gradients.

At inference the Viterbi algorithm finds the tag sequence that maximizes S for the given network outputs. The authors also report that training with a cross entropy objective, with Viterbi decoding restricted to valid tag sequences, worked about as well.

Training uses mini-batch stochastic gradient descent with a fixed learning rate, and each mini-batch groups sentences with the same number of tokens. Dropout is applied to the output nodes of each LSTM layer, which the authors found reduces overfitting; adding dropout to the inputs seemed harmful in their experiments. Output tags use BIOES, which the authors state outperforms BIO.

## Datasets, tuning and trial protocol

CoNLL-2003 is newswire from the Reuters RCV1 corpus with four entity types; its training set has 204,567 tokens and 23,499 entities. The final CoNLL-2003 model is trained on the training and development sets together, after hyper-parameters were chosen on the development set.

OntoNotes 5.0 follows the CoNLL-2012 train, development and test split, and the New Testaments portion is excluded because it lacks gold named entity annotations. Its training set has 1,088,503 tokens. Preprocessing replaces every digit sequence with a single 0, groups sentences by length into mini-batches, and splits tokens around digits for the OntoNotes numeric tags.

The first search round was random search over about 500 settings on the CoNLL-2003 development set, and the OntoNotes learning rate and epochs were then tuned on its development set. The second round ran particle swarm searches per dataset, with 500 settings each, and the top 5 settings from each dataset were trained for 10 trials.

The final CoNLL-2003 settings were a convolution width of 3, a CNN output size of 53, an LSTM state size of 275, one LSTM layer, a learning rate of 0.0105 and dropout 0.68. The final OntoNotes 5.0 settings were a convolution width of 3, a CNN output size of 20, an LSTM state size of 200, two LSTM layers, a learning rate of 0.008 and dropout 0.63.

Trials are excluded when their final F1 on a training subset falls below a threshold: 95 on the CoNLL-2003 development set, and 80 on the last 5,000 training sentences for OntoNotes; the threshold was chosen because scores fell either above 98 or below 90, and above 80 or below 75, respectively.

On an Intel Xeon E5-2697 processor, training a CoNLL-2003 model takes about 6 hours and tagging the test set takes about 12 seconds. For OntoNotes the times are 10 hours and 60 seconds.

## Scores on CoNLL-2003 and OntoNotes 5.0

With word embeddings and both lexicons, BLSTM-CNN reached an F1 score of 91.62 (± 0.33) on CoNLL-2003 and 86.28 (± 0.26) on OntoNotes 5.0. With word embeddings alone, the model reached 90.91 (± 0.20) on CoNLL-2003 and 86.17 (± 0.22) on OntoNotes 5.0.

The abstract's gain of 2.13 F1 points on OntoNotes 5.0 with word embeddings only matches the difference between 86.17 for BLSTM-CNN + emb and 84.04 for Durrett and Klein (2014) in the comparison table. On CoNLL-2003 the lexicon-equipped model's 91.62 is above the 91.20 listed for Luo et al. (2015) and the 91.02 listed for Suzuki et al. (2011), though the authors note the Luo et al.

precision, recall and F1 values are internally inconsistent.

The re-implemented FFNN baseline scored 89.67 on CoNLL-2003 and 73.94 on OntoNotes 5.0 with embeddings, capitalization and lexicon features. The authors find the FFNN reasonable on CoNLL-2003 but clearly inadequate on OntoNotes, which has a broader range of domains, so they conclude that LSTM models are essential for this task.

## Character CNN against BLSTM and handcrafted features

With word embeddings only, the BLSTM scored 88.23 on CoNLL-2003 and BLSTM-CNN scored 90.91. Across the four matched feature sets, the BLSTM-CNN beats the BLSTM on CoNLL-2003 with a Wilcoxon rank sum test p below 0.05.

The authors read this as evidence that the character CNN can replace handcrafted character features in some cases, while systems with weak lexicons may still gain from them.

## Dropout on LSTM outputs

In the sweep, models were trained only on each dataset's training set, with every other setting held at the best configuration. On CoNLL-2003 test F1 rose from 90.76 with no dropout to 91.23 at dropout 0.68, and on OntoNotes 5.0 test F1 rose from 84.06 to 86.29 at dropout 0.63.

The authors report these improvements as statistically significant, with p below 0.001 on the CoNLL-2003 test set and p below 0.0001 on the OntoNotes 5.0 test set when comparing no dropout with the best setting. Dropout values were chosen on the development set, so the value used for the reported runs need not be the best one in the sweep's test column.

## Which pre-trained embeddings work

Random 300d vectors scored 87.84 on CoNLL-2003 against 87.77 for random 50d, so the higher dimension brought no clear gain. Among released vectors, GloVe 6B 50d scored 91.09 on CoNLL-2003 and Google 100B 300d scored 90.60, which the authors place about one point behind Collobert's vectors.

The authors suspect two causes: the Collobert vectors were trained on Reuters RCV-1, the source of CoNLL-2003, and the Google vectors were case-sensitive and lacked many punctuation symbols. The authors note that these vectors were trained without hyper-parameter searches, and that the CoNLL-2003 test data were not excluded from the word vector training data, which may affect the comparison.

## Lexicon features and matching variants

On OntoNotes 5.0 the change is small: 86.17 without lexicon features and 86.28 with them. The authors attribute the small OntoNotes gain to noisy and ambiguous lexicon matches, since lexicon categories often match unrelated entities and tag categories correspond poorly.

SENNA with exact matching and BIOES reached 86.14 on CoNLL-2003, and DBpedia with partial matching and BIOES reached 86.18, while Collobert's method on DBpedia reached 85.01.

The authors explain the gap by Collobert's method not separating exact from partial matches and not setting a minimum length for partial matches, so it suits their noisier DBpedia lexicon poorly. Using both lexicons as separate features gives the strongest CoNLL-2003 result, which the authors attribute to the SENNA lexicon being clean and newswire-tailored while the DBpedia lexicon has broad coverage.

## Per-genre results on OntoNotes 5.0

On the per-genre test breakdown, BLSTM-CNN + emb + lex scored 89.93 on broadcast news and 88.39 on newswire, and 72.39 on telephone conversation and 78.38 on blogs and newsgroups. Against Durrett and Klein (2014), the model improves on every genre except telephone conversation, where Durrett and Klein scored 72.68 against 72.39.

## Limitations

The hyper-parameter search for OntoNotes used the BLSTM-CNN + emb + lex feature set, and the word embedding comparison kept the hyper-parameters found for the best model rather than re-searching them.

Training fails in a noticeable share of trials, and the authors kept only trials that passed the threshold, which removes non-converged runs from the reported averages. Training beyond about 18 epochs lowers OntoNotes development F1 because of overfitting, so the epoch count is tied to that dataset.

The character BLSTM was only checked in preliminary experiments, so its performance was not measured in the full comparison tables. Alternative optimizers such as momentum, AdaDelta and RMSProp were only compared in preliminary experiments, where they did not beat plain SGD. The OntoNotes test set was used only on the portion with gold named entity annotations, so results do not cover the New Testaments portion.

## Position against earlier neural and feature-based taggers

Earlier neural NER used feed-forward networks or a single-direction LSTM, and Santos et al. (2015) added character-level CNNs to the Collobert network for Spanish and Portuguese NER. Huang et al. (2015) used a BLSTM with heavy feature engineering instead of a character CNN, and Labeau et al. (2015) used a BRNN with character CNNs for German POS tagging.

## Paper info

- **Authors**: Jason P. C. Chiu, Eric Nichols
- **Venue**: arXiv · Preprint
- **First published**: 2015-11-26
- **Added**: 2026-11-12
- **Updated**: 2016-7-19
- **Version**: v5
- **arXiv**: 1511.08308
- **Category**: cs.CL · cs.LG · cs.NE
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1511.08308v5) · [PDF ↗](https://arxiv.org/pdf/1511.08308v5)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Jason P. C. Chiu, Eric Nichols (2015). Named Entity Recognition with Bidirectional LSTM-CNNs. arXiv:1511.08308v5. https://arxiv.org/abs/1511.08308v5

**BibTeX**

```
@misc{chiu2015named,
  title = {{Named Entity Recognition with Bidirectional LSTM-CNNs}},
  author = {Jason P. C. Chiu and Eric Nichols},
  year = {2015},
  eprint = {1511.08308},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.08308v5}
}
```

## Other paper commentary

- [Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddings](https://refivu.com/en/papers/54f76c5c-e7e0-4849-8c34-62d4d7e29119-man-is-to-computer-programmer-as-woman-is.md)
- [Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models](https://refivu.com/en/papers/d7cee9c8-e38d-4e30-b35b-f069db83f282-qwen3-embedding-advancing-text-embedding-and-reranking.md)
- [Semantic Similarity in a Taxonomy: An Information-Based Measure and its Application to Problems of Ambiguity in Natural Language](https://refivu.com/en/papers/2aedc905-eee8-4237-bf2e-929c6d3718a0-semantic-similarity-in-a-taxonomy-an-information-based.md)
- [Unsupervised Data Augmentation for Consistency Training](https://refivu.com/en/papers/7940975d-f8e6-4178-9d29-c4dc7f994398-unsupervised-data-augmentation-for-consistency-training.md)
- [Universal Sentence Encoder](https://refivu.com/en/papers/832f78a9-5914-4e69-88eb-9c85196eb17b-universal-sentence-encoder.md)
- [Deep Learning Based Text Classification: A Comprehensive Review](https://refivu.com/en/papers/f32bf8ee-1bca-48a8-92cd-28ac97a169bd-deep-learning-based-text-classification-a-comprehensive.md)
- [Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples](https://refivu.com/en/papers/0070f617-bee7-4459-b94e-a20f7c1d2de5-transferability-in-machine-learning-from-phenomena-to-black.md)
- [Conditional Adversarial Domain Adaptation](https://refivu.com/en/papers/a233380e-bb76-4fca-bc73-df4e86a220e3-conditional-adversarial-domain-adaptation.md)
- [TotalSegmentator: robust segmentation of 104 anatomical structures in CT images](https://refivu.com/en/papers/38d65e87-91c3-4285-bca2-9755328de70d-totalsegmentator-robust-segmentation-of-104-anatomical.md)
- [Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labels](https://refivu.com/en/papers/41c59d55-611c-4abf-a4e2-459eb900711f-generalized-cross-entropy-loss-for-training-deep-neural.md)
- [RMPE: Regional Multi-person Pose Estimation](https://refivu.com/en/papers/a258675a-c286-4c65-9760-3d72305d7120-rmpe-regional-multi-person-pose-estimation.md)
- [Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detection](https://refivu.com/en/papers/b6435fab-e010-4a4f-aeb8-b125ca06e94a-memorizing-normality-to-detect-anomaly-memory-augmented-deep.md)

## Terms in this paper

- [dropout](https://refivu.com/en/terms/db73f75bbdd3-dropout)
- [LSTM](https://refivu.com/en/terms/ba10547646d9-lstm)
- [named entity recognition](https://refivu.com/en/terms/9fb3660a6152-named-entity-recognition)
- [word embeddings](https://refivu.com/en/terms/750326b5ccc5-word-embeddings)
- [Viterbi algorithm](https://refivu.com/en/terms/182c9369a000-viterbi-algorithm)
- [BIOES](https://refivu.com/en/terms/006a910e233b-bioes)
- [BLSTM](https://refivu.com/en/terms/07b75318c72d-blstm)
- [sentence-level log-likelihood](https://refivu.com/en/terms/340b7d79ba87-sentence-level-log-likelihood)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/454922d0-d836-4e69-a3cd-d40cf940d456-named-entity-recognition-with-bidirectional-lstm-cnns)
