You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codes and data for the paper "Unleashing the Multilingual Encoder Potential: Boosting Zero-Shot Performance via Probability Calibration" (EMNLP'23 Findings)
Codes and Data for the EMNLP 2023 paper "Unleashing the Multilingual Encoder Potential: Boosting Zero-Shot Performance via Probability Calibration".
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 pattern 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 is- sue, 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 obvious performance improvements across a wide range of tasks.
Content
data: machine-translated parallel multilingual dataset of AG News for the evaluation, containing 25 languages. run.sh: run the calibration experiments. run_zero.py: run the zero-shot nli-based classification baseline.
@article{nie2023unleashing,
title={Unleashing the Multilingual Encoder Potential: Boosting Zero-Shot Performance via Probability Calibration},
author={Nie, Ercong and Schmid, Helmut and Sch{\`u}tze, Hinrich},
journal={arXiv preprint arXiv:2310.05069},
year={2023}
}
About
Codes and data for the paper "Unleashing the Multilingual Encoder Potential: Boosting Zero-Shot Performance via Probability Calibration" (EMNLP'23 Findings)