SOTAVerified

Unleashing the Multilingual Encoder Potential: Boosting Zero-Shot Performance via Probability Calibration

2023-10-08Code Available0· sign in to hype

Ercong Nie, Helmut Schmid, Hinrich Schütze

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Pretrained multilingual encoder models can directly perform zero-shot multilingual tasks or linguistic probing by reformulating the input examples into cloze-style prompts. This is accomplished by predicting the probabilities of the label words at the masked token position, without requiring any updates to the model parameters. However, the performance of this method is limited by the model's bias toward predicting label words which frequently occurred during the pretraining. These words typically receive high probabilities. To address this issue, we combine the models with calibration techniques which modify the probabilities of label words predicted by the models. We first validate the effectiveness of a proposed simple calibration method together with other existing techniques on monolingual encoders in both zero- and few-shot scenarios. We subsequently employ these calibration techniques on multilingual encoders, resulting in substantial performance improvements across a wide range of tasks.

Tasks

Reproductions