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

Lily H. Zhang, Hamid Dadkhahi, Mara Finkelstein, Firas Trabelsi, Jiaming Luo +1 more
10/21/2024
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2024learning,
  title  = {Learning from others' mistakes: Finetuning machine translation models with span-level error annotations},
  author = {Lily H. Zhang and Hamid Dadkhahi and Mara Finkelstein and Firas Trabelsi and Jiaming Luo and Markus Freitag},
  year   = {2024},
  eprint = {2410.16509},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.16509v1}
}

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

Discussion