English

Anti-LM Decoding for Zero-shot In-context Machine Translation

Computation and Language 2024-04-04 v2 Artificial Intelligence

Abstract

Zero-shot In-context learning is the phenomenon where models can perform the task simply given the instructions. However, pre-trained large language models are known to be poorly calibrated for this task. One of the most effective approaches to handling this bias is to adopt a contrastive decoding objective, which accounts for the prior probability of generating the next token by conditioning on some context. This work introduces an Anti-Language Model objective with a decay factor designed to address the weaknesses of In-context Machine Translation. We conduct our experiments across 3 model types and sizes, 3 language directions, and for both greedy decoding and beam search (B=5B=5). The proposed method outperforms other state-of-art decoding objectives, with up to 2020 BLEU point improvement from the default objective observed in some settings.

Keywords

Cite

@article{arxiv.2311.08324,
  title  = {Anti-LM Decoding for Zero-shot In-context Machine Translation},
  author = {Suzanna Sia and Alexandra DeLucia and Kevin Duh},
  journal= {arXiv preprint arXiv:2311.08324},
  year   = {2024}
}

Comments

Accepted to NAACL Findings 2024

R2 v1 2026-06-28T13:20:58.771Z