Portuguese Named Entity Recognition using BERT-CRF

Fábio Souza, Rodrigo Nogueira, Roberto Lotufo

arXiv (Cornell University) · 2019 · 181 citations · 15 references

DOIFull text

Open access

Concepts

TL;DR

Recent advances in neural language models enable transfer learning for NLP tasks such as NER, especially benefiting settings with scarce labeled data. The study trains Portuguese BERT models and applies a BERT‑CRF architecture to NER in Portuguese, leveraging BERT’s transfer learning with CRF’s structured predictions. The authors explore both feature‑based and fine‑tuning training strategies for the BERT model. Fine‑tuning achieves state‑of‑the‑art on HAREM I, improving the F1‑score by 1 point in the selective scenario and by 4 points in the total scenario.

Abstract

Recent advances in language representation using neural networks have made it viable to transfer the learned internal states of a trained model to downstream natural language processing tasks, such as named entity recognition (NER) and question answering. It has been shown that the leverage of pre-trained language models improves the overall performance on many tasks and is highly beneficial when labeled data is scarce. In this work, we train Portuguese BERT models and employ a BERT-CRF architecture to the NER task on the Portuguese language, combining the transfer capabilities of BERT with the structured predictions of CRF. We explore feature-based and fine-tuning training strategies for the BERT model. Our fine-tuning approach obtains new state-of-the-art results on the HAREM I dataset, improving the F1-score by 1 point on the selective scenario (5 NE classes) and by 4 points on the total scenario (10 NE classes).

References

15