Learning from others' mistakes: Finetuning machine translation models with span-level error annotations

PDFHTML

Despite growing interest in incorporating feedback to improve language models, most efforts focus only on sequence-level annotations. In this work, we explore the potential of utilizing fine-grained span-level annotations from offline datasets to improve model quality. We develop a simple finetuning algorithm, called Training with Annotations (TWA), to directly train machine translation models on such annotated data. TWA utilizes targeted span-level error information while also flexibly learning what to penalize within a span. Moreover, TWA considers the overall trajectory of a sequence when deciding which non-error spans to utilize as positive signals. Experiments on English-German and Chinese-English machine translation show that TWA outperforms baselines such as Supervised FineTuning on sequences filtered for quality and Direct Preference Optimization on pairs constructed from the same data.
Submitted 21 Oct 2024 to Computation and Language [cs.CL]
Published 23 Oct 2024
Subjects: cs.CL cs.LG
https://arxiv.org/abs/2410.16509
https://arxiv.org/pdf/2410.16509.pdf
https://arxiv-vanity.com/papers/2410.16509

View this paper on arXiv.wiki:
https://arxiv.wiki/abs/2410.16509

0 comments