Investigating Ensemble Methods for Model Robustness Improvement of Text Classifiers

Jieyu Zhao, Xuezhi Wang, Yao Qin, Jilin Chen, Kai-Wei Chang

Introduction

Large-scale pre-trained language models often achieve high performance on standard benchmarks by exploiting "bias features"—superficial dataset shortcuts that do not reflect true semantic understanding. For instance, in Natural Language Inference (NLI), a model might incorrectly learn that negation words always signal a "contradiction" label. While effective on biased training data, these models fail when confronted with out-of-distribution "challenge" sets where such shortcuts no longer hold.

This paper investigates how to improve model robustness using ensemble-based de-biasing. The core finding is that the capacity of the model used to capture bias must be carefully matched to the complexity of the bias itself. By optimizing this selection, researchers achieved substantial improvements in robustness across multiple benchmarks.

The Product-of-Experts Framework

The researchers utilize a Product-of-Experts (PoE) framework to mitigate the influence of known biases. The process involves two primary stages:

  1. Bias Model Training: A specialized model is trained to capture a specific, known bias (e.g., a model that only sees the "claim" in a fact-checking task).
  2. Main Model Training: The main model is trained in tandem with the bias model. During training, the system effectively "subtracts" the bias model's confidence from the total prediction. This forces the main model to focus on semantic patterns that the bias model is incapable of seeing.
The Product-of-Experts (PoE) training framework where a bias model's predictions are factored out to force the main model to learn robust features.

The Innovation: Capacity Matching

Traditionally, researchers have used simple, low-capacity models (like logistic regression) as the "bias expert." This paper challenges that convention by experimenting with a range of architectures, including Multi-Layer Perceptrons (MLPs) and various sizes of BERT (from Tiny to Base).

The study reveals a "Goldilocks Principle" for bias models:

  • Under-capacity: If the bias model is too weak, it fails to capture the shortcut, allowing the main model to continue "cheating."
  • Over-capacity: If the bias model is too powerful, it may capture legitimate semantic features. Factoring these out can degrade the main model's overall performance.

The optimal bias model capacity is task-dependent. For example, the "claim-only" bias in the FEVER dataset required a full BERT-base model to be effectively negated. Conversely, for certain biases in MNLI, a BERT-tiny model was more effective.

Experimental Results

The proposed approach, PoE$_{Ours}$, was evaluated on two major tasks: Fact Verification (FEVER) and Natural Language Inference (MNLI).

On the FEVER-Symmetric challenge sets, designed specifically to break claim-only biases, the method achieved remarkable results. As shown in the table below, the optimized PoE approach reached 69.08% and 73.46% accuracy on the v1 and v2 challenge sets, respectively. This represents a significant leap over the standard BERT-base baseline (~58% and ~65%) and outperforms previous state-of-the-art ensemble methods by approximately 8-9%.

Performance comparison on FEVER development and symmetric challenge sets, showing significant gains for the proposed PoE approach.

Similar improvements were observed on the HANS dataset for MNLI, where the method reached 70.58% accuracy, compared to 63.05% for a standard BERT-base model.

Conclusion and Future Work

This research demonstrates that model robustness can be significantly enhanced by matching the capacity of a de-biasing expert to the complexity of the target bias. While highly effective, the method currently requires prior knowledge of the biases present in the data. Future work may focus on automatically discovering latent biases and managing potential conflicts when multiple bias features are present in a single dataset.

Summary updated

BibTeX
@inproceedings{zhao2022investigating,
  author = {Jieyu Zhao and Xuezhi Wang and Yao Qin and Jilin Chen and Kai-Wei Chang},
  title = {{Investigating Ensemble Methods for Model Robustness Improvement of Text Classifiers}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.118},
}
Figure