mlsanityData to 7 Oct 2026

Optimizing small BERTs trained for German NER

arXiv 2104.11559 ↗First posted 23 Apr 2021cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Currently, the most widespread neural network architecture for training language models is the so called BERT which led to improvements in various Natural Language Processing (NLP) tasks. In general, the larger the number of parameters in a BERT model, the better the results obtained in these NLP tasks. Unfortunately, the memory consumption and the training duration drastically increases with the size of these models. In this article, we investigate various training techniques of smaller BERT models: We combine different methods from other BERT variants like ALBERT, RoBERTa, and relative positional encoding. In addition, we propose two new fine-tuning modifications leading to better performance: Class-Start-End tagging and a modified form of Linear Chain Conditional Random Fields. Furthermore, we introduce Whole-Word Attention which reduces BERTs memory usage and leads to a small increase in performance compared to classical Multi-Head-Attention. We evaluate these techniques on five public German Named Entity Recognition (NER) tasks of which two are introduced by this article.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 40 references that are in the map. First posted on arXiv 23 Apr 2021.

Builds on

15 of 40 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2018Self-Attention with Relative Position Representationscited by 1,112
  11. 2020German's Next Language Modelcited by 144
  12. 2019Portuguese Named Entity Recognition using BERT-CRFcited by 73
3 more
  1. 2020Exploring Cross-sentence Contexts for Named Entity Recognition with BERTcited by 27
  2. 2020A Dataset of German Legal Documents for Named Entity Recognitioncited by 24
  3. 2020Constrained Decoding for Computationally Efficient Named Entity Recognition Taggerscited by 8

Built on by

Not cited yet.