GrammaMT: Improving Machine Translation with Grammar-Informed In-Context Learning

Rita Ramos, Everlyn Asiko Chimoto, Maartje ter Hoeve, Natalie Schluter
10/24/2024
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We introduce GrammaMT, a grammatically-aware prompting approach for machine translation that uses Interlinear Glossed Text (IGT), a common form of linguistic description providing morphological and lexical annotations for source sentences. GrammaMT proposes three prompting strategies: gloss-shot, chain-gloss and model-gloss. All are training-free, requiring only a few examples that involve minimal effort to collect, and making them well-suited for low-resource setups. Experiments show that GrammaMT enhances translation performance on open-source instruction-tuned LLMs for various low- to high-resource languages across three benchmarks: (1) the largest IGT corpus, (2) the challenging 2023 SIGMORPHON Shared Task data over endangered languages, and (3) even in an out-of-domain setting with FLORES. Moreover, ablation studies reveal that leveraging gloss resources could substantially boost MT performance (by over 17 BLEU points) if LLMs accurately generate or access input sentence glosses.

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. 1 weaker match is hidden by default — 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{ramos2024grammamt,
  title  = {GrammaMT: Improving Machine Translation with Grammar-Informed In-Context Learning},
  author = {Rita Ramos and Everlyn Asiko Chimoto and Maartje ter Hoeve and Natalie Schluter},
  year   = {2024},
  eprint = {2410.18702},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18702v2}
}

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

Discussion