Skip to main content
QUICK REVIEW

[Paper Review] BoostingBERT:Integrating Multi-Class Boosting into BERT for NLP Tasks

Tongwen Huang, Qingyun She|arXiv (Cornell University)|Sep 13, 2020
Topic ModelingComputer Science28 references12 citations
TL;DR

This paper proposes BoostingBERT, a novel method that integrates multi-class boosting into BERT by sequentially training multiple BERT-based weak learners, each focusing on harder-to-classify instances. The approach significantly outperforms standard BERT and bagging-based ensembles across GLUE and Chinese NLU benchmarks, achieving state-of-the-art results when combined with RoBERTa and knowledge distillation for efficiency.

ABSTRACT

As a pre-trained Transformer model, BERT (Bidirectional Encoder Representations from Transformers) has achieved ground-breaking performance on multiple NLP tasks. On the other hand, Boosting is a popular ensemble learning technique which combines many base classifiers and has been demonstrated to yield better generalization performance in many machine learning tasks. Some works have indicated that ensemble of BERT can further improve the application performance. However, current ensemble approaches focus on bagging or stacking and there has not been much effort on exploring the boosting. In this work, we proposed a novel Boosting BERT model to integrate multi-class boosting into the BERT. Our proposed model uses the pre-trained Transformer as the base classifier to choose harder training sets to fine-tune and gains the benefits of both the pre-training language knowledge and boosting ensemble in NLP tasks. We evaluate the proposed model on the GLUE dataset and 3 popular Chinese NLU benchmarks. Experimental results demonstrate that our proposed model significantly outperforms BERT on all datasets and proves its effectiveness in many NLP tasks. Replacing the BERT base with RoBERTa as base classifier, BoostingBERT achieves new state-of-the-art results in several NLP Tasks. We also use knowledge distillation within the "teacher-student" framework to reduce the computational overhead and model storage of BoostingBERT while keeping its performance for practical application.

Motivation & Objective

  • To explore boosting as an ensemble strategy for BERT, which has so far been limited to bagging or stacking.
  • To improve BERT's generalization by focusing subsequent base classifiers on misclassified or hard examples through adaptive reweighting.
  • To evaluate the effectiveness of BoostingBERT on diverse NLP tasks, especially those with limited training data.
  • To reduce computational and storage costs of BoostingBERT through knowledge distillation in a teacher-student framework.
  • To compare weight privacy and weight sharing strategies in the context of boosting BERT models.

Proposed method

  • The model uses a multi-class boosting framework where each base classifier is a pre-trained BERT or RoBERTa model.
  • Harder examples from previous rounds are given higher weights, and subsequent BERT models are fine-tuned to focus on these instances.
  • Two strategies are evaluated: weight privacy (each base model has independent parameters) and weight sharing (shared parameters across models).
  • Knowledge distillation is applied to compress the BoostingBERT ensemble into a smaller student model while preserving performance.
  • The final prediction is obtained by averaging the posterior probabilities from all base classifiers.
  • Experiments are conducted on GLUE and three Chinese NLU benchmarks to evaluate performance across diverse NLP tasks.

Experimental results

Research questions

  • RQ1Can boosting be effectively integrated into BERT to improve performance beyond bagging or stacking?
  • RQ2Does the weight privacy strategy outperform weight sharing in boosting BERT models?
  • RQ3How does BoostingBERT perform on low-resource NLP tasks?
  • RQ4Can knowledge distillation effectively compress BoostingBERT without sacrificing performance?
  • RQ5Does replacing the base BERT with RoBERTa further boost performance and achieve state-of-the-art results?

Key findings

  • BoostingBERT outperforms standard BERT on all evaluated datasets, including GLUE and three Chinese NLU benchmarks.
  • On the MRPC task, BoostingBERT achieves 87.87 F1, compared to 85.29 for BERTBase and 86.52 for Bagging BERT.
  • On the ECDT Chinese sentiment dataset, BoostingBERT reaches 96.88 F1, significantly higher than BERTBase (94.54) and Bagging BERT (96.10).
  • When using RoBERTa as the base classifier, BoostingBERT achieves 87.47 F1 on MNLI-matched, surpassing the best single model reported in prior work (87.23).
  • Knowledge distillation produces a smaller student model (B2B-KD) that achieves 94.67 F1 on ChnSenti, outperforming BERTBase (93.00) and maintaining 96.49 F1 on ECDT.
  • The weight privacy strategy consistently outperforms weight sharing, especially in capturing hard examples due to preserved feature representation in deeper layers.

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.