paper-with-me

Papers

Evaluating In-Context Translation with Synchronous Context-Free Grammar Transduction

2026-04-08 · Jackson Petty, Jaulie Goe, Tal Linzen arxiv

Low-resource languages pose a challenge for machine translation with large language models (LLMs), which require large amounts of training data. One potential way to circumvent this data dependence is to rely on LLMs' ability to use in-context descriptions of languages, like textbooks and dictionaries. To do so, LLMs must be able to infer the link between the languages' grammatical descriptions and the sentences in question. Here we isolate this skill using a formal analogue of the task: string transduction based on a formal grammar provided in-context. We construct synchronous context-free grammars which define pairs of formal languages designed to model particular aspects of natural language grammar, morphology, and written representation. Using these grammars, we measure how well LLMs can translate sentences from one formal language into another when given both the grammar and the source-language sentence. We vary the size of the grammar, the lengths of the sentences, the syntactic and morphological properties of the languages, and their written script. We note three key findings. First, LLMs' translation accuracy decreases markedly as a function of grammar size and sentence length. Second, differences in morphology and written representation between the source and target languages can strongly diminish model performance. Third, we examine the types of errors committed by models and find they are most prone to recall the wrong words from the target language vocabulary, hallucinate new words, or leave source-language words untranslated.

📄 PDF Abstract BibTeX arXiv:2604.07320

Code (0)

등록된 구현이 없습니다.

Tasks

Machine Translation

Similar Papers 제목 키워드 기반

Learning synchronous context-free grammars with multiple specialised non-terminals for hierarchical phrase-based translation

2020-04-03 · Felipe Sánchez-Martínez, Juan Antonio Pérez-Ortiz, Rafael C. Carrasco

Translation models based on hierarchical phrase-based statistical machine translation (HSMT) have shown better performances than the non-hierarchical phrase-based counterparts for some language pairs. The standard approa…

ClusteringMachine TranslationTranslation

Synchronous Linear Context-Free Rewriting Systems for Machine Translation

2013-06-01 · WS 2013 6 · Miriam Kaeshammer
Machine TranslationTranslation

Multi-Target Machine Translation with Multi-Synchronous Context-free Grammars

2015-05-01 · HLT 2015 5 · Kevin Duh, Graham Neubig, Philip Arthur
Language ModelingLanguage ModellingMachine TranslationSentence+1

Synchronous Context-Free Grammars and Optimal Linear Parsing Strategies

2013-11-25 · Pierluigi Crescenzi, Daniel Gildea, Andrea Marino, Gianluca Rossi 외

Synchronous Context-Free Grammars (SCFGs), also known as syntax-directed translation schemata, are unlike context-free grammars in that they do not have a binary normal form. In general, parsing with SCFGs takes space an…

Translation

Bayesian Synchronous Grammar Induction

2008-12-01 · NeurIPS 2008 12 · Phil Blunsom, Trevor Cohn, Miles Osborne

We present a novel method for inducing synchronous context free grammars (SCFGs) from a corpus of parallel string pairs. SCFGs can model equivalence between strings in terms of substitutions, insertions and deletions, an…

Machine TranslationTranslation