Boosting classification reliability of NLP transformer models in the long run

Zoltán Kmetty, Bence Kollányi, Krisztián Boros
2/20/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Transformer-based machine learning models have become an essential tool for many natural language processing (NLP) tasks since the introduction of the method. A common objective of these projects is to classify text data. Classification models are often extended to a different topic and/or time period. In these situations, deciding how long a classification is suitable for and when it is worth re-training our model is difficult. This paper compares different approaches to fine-tune a BERT model for a long-running classification task. We use data from different periods to fine-tune our original BERT model, and we also measure how a second round of annotation could boost the classification quality. Our corpus contains over 8 million comments on COVID-19 vaccination in Hungary posted between September 2020 and December 2021. Our results show that the best solution is using all available unlabeled comments to fine-tune a model. It is not advisable to focus only on comments containing words that our model has not encountered before; a more efficient solution is randomly sample comments from the new period. Fine-tuning does not prevent the model from losing performance but merely slows it down. In a rapidly changing linguistic environment, it is not possible to maintain model performance without regularly annotating new text.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kmetty2023boosting,
  title  = {Boosting classification reliability of NLP transformer models in the long run},
  author = {Zoltán Kmetty and Bence Kollányi and Krisztián Boros},
  year   = {2023},
  eprint = {2302.10016},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.10016v1}
}

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/2302.10016.svg)](https://codeofpaper.com/paper/2302.10016)

Discussion