Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding

Ukyo Honda, Tatsushi Oka, Peinan Zhang, Masato Mita
6/17/2024
cs.CLcs.LG

No official code found. Best implementation: CyberAgentAILab/posthoc-control-moe (1 star, MIT, last commit 2026-01-17).

Abstract

Recent models for natural language understanding are inclined to exploit simple patterns in datasets, commonly known as shortcuts. These shortcuts hinge on spurious correlations between labels and latent features existing in the training data. At inference time, shortcut-dependent models are likely to generate erroneous predictions under distribution shifts, particularly when some latent features are no longer correlated with the labels. To avoid this, previous studies have trained models to eliminate the reliance on shortcuts. In this study, we explore a different direction: pessimistically aggregating the predictions of a mixture-of-experts, assuming each expert captures relatively different latent features. The experimental results demonstrate that our post-hoc control over the experts significantly enhances the model's robustness to the distribution shift in shortcuts. Besides, we show that our approach has some practical advantages. We also analyze our model and provide results to support the assumption.

View on arXivView PDF

Code Implementations(1)

MIT

[TACL 2024] Code for "Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding"

10PythonJun 13, 20249 months agoMIT

Similar Papers

Cite this paper

@article{honda2024eliminate,
  title  = {Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding},
  author = {Ukyo Honda and Tatsushi Oka and Peinan Zhang and Masato Mita},
  year   = {2024},
  eprint = {2406.12060},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12060v3}
}

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

Discussion