Skip to main content
QUICK REVIEW

[Paper Review] FHAC at GermEval 2021: Identifying German toxic, engaging, and fact-claiming comments with ensemble learning

Tobias Bornheim, Niklas Grieger|arXiv (Cornell University)|Sep 7, 2021
Natural Language Processing TechniquesComputer Science21 references5 citations
TL;DR

This paper proposes an ensemble of fine-tuned German BERT and ELECTRA models to classify German Facebook comments into toxic, engaging, and fact-claiming categories in the GermEval 2021 shared task. Using soft majority voting across 200+ models, the best ensemble achieved a macro-F1 score of 0.73, demonstrating that performance improves with ensemble size and is robust to model composition and multi- vs. single-label training for large ensembles.

ABSTRACT

The availability of language representations learned by large pretrained neural network models (such as BERT and ELECTRA) has led to improvements in many downstream Natural Language Processing tasks in recent years. Pretrained models usually differ in pretraining objectives, architectures, and datasets they are trained on which can affect downstream performance. In this contribution, we fine-tuned German BERT and German ELECTRA models to identify toxic (subtask 1), engaging (subtask 2), and fact-claiming comments (subtask 3) in Facebook data provided by the GermEval 2021 competition. We created ensembles of these models and investigated whether and how classification performance depends on the number of ensemble members and their composition. On out-of-sample data, our best ensemble achieved a macro-F1 score of 0.73 (for all subtasks), and F1 scores of 0.72, 0.70, and 0.76 for subtasks 1, 2, and 3, respectively.

Motivation & Objective

  • To investigate the impact of ensemble size, composition, and multi-label vs. single-label training on classification performance for German NLP tasks.
  • To evaluate fine-tuned German BERT (GBERT) and ELECTRA (GELECTRA) models on the GermEval 2021 shared task for identifying toxic, engaging, and fact-claiming comments.
  • To determine whether label correlations in multi-label models improve performance over single-label models in this context.
  • To analyze the effect of model architecture and pretraining objectives on downstream classification performance in low-resource German NLP settings.

Proposed method

  • Fine-tuned multilingual German BERT (GBERT) and ELECTRA (GELECTRA) models on the GermEval 2021 dataset of 3,244 anonymized Facebook comments.
  • Constructed model ensembles using soft majority voting across multiple fine-tuned models to improve generalization and robustness.
  • Performed a bootstrap experiment with 1000 resampled ensembles of varying sizes (up to 100) using 5-fold cross-validation to study performance trends.
  • Compared ensembles of 100% GBERT, 100% GELECTRA, and 50/50 GBERT-GELECTRA combinations, as well as multi-label and single-label classifier configurations.
  • Trained and evaluated 200 multi-label and 200 multi-label ensembles, and 30 single-label ensembles on full training data for final submission.
  • Used macro-F1 as the primary evaluation metric across all subtasks, with performance averaged over 5 cross-validation folds.

Experimental results

Research questions

  • RQ1Does increasing the number of ensemble members improve macro-F1 performance in classifying German toxic, engaging, and fact-claiming comments?
  • RQ2Does the composition of the ensemble—specifically, the mix of GBERT and GELECTRA models—affect classification performance?
  • RQ3Do multi-label models that exploit label correlations outperform single-label models in this multi-classification task?
  • RQ4Is there a saturation point in performance gain beyond a certain ensemble size?

Key findings

  • The best-performing ensemble achieved a macro-F1 score of 0.73 on the test set, with F1 scores of 0.72, 0.70, and 0.76 for subtasks 1 (toxic), 2 (engaging), and 3 (fact-claiming), respectively.
  • Classification performance increased with ensemble size, with the most significant gains observed up to 15 members, though improvements continued beyond 30 members.
  • Ensembles of 100% GELECTRA, 100% GBERT, or 50/50 GBERT-GELECTRA compositions yielded comparable macro-F1 scores beyond 30 members, indicating no significant advantage for any composition.
  • Multi-label and single-label ensembles showed no statistically significant difference in performance for ensemble sizes above 30, suggesting label correlation exploitation does not significantly impact results in this setting.
  • A software bug after submission affected the reported score of the single-label ensemble (30 GBERT + 30 GELECTRA), which was later corrected to a macro-F1 of 0.73, matching the best-performing ensemble.
  • The study confirms that ensemble size is the dominant factor influencing performance, with diminishing returns beyond 30 members, and that model choice (GBERT vs. GELECTRA) has minimal impact on final performance when ensembles are sufficiently large.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.