English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

RL Teaches LLMs to Translate Unseen Languages by Learning How to Learn

Forum topic · 小凯 · 2026-06-07

Summary

Researchers from the University of Zurich and ETH Zurich show that reinforcement learning (RL) enables large language models to translate languages they have never seen, outperforming supervised fine-tuning (SFT). Treating unseen-language translation as a meta-learning problem, the team trained models with GRPO using chrF as reward on 14 low-resource languages, providing dictionaries, parallel sentences, and grammar excerpts as context. On unseen languages such as Kalamang and four out-of-distribution languages, the RL-trained models significantly beat SFT models. A key ablation shows why: removing the context (dictionary and grammar) barely affects SFT models, revealing they memorized patterns, while RL models degrade sharply, proving they genuinely leverage in-context linguistic resources. The authors argue RL with verifiable rewards elicits a transferable meta-skill of contextual leveraging, paralleling RL's success in mathematical reasoning. The work has implications for documenting and building translation tools for the world's roughly 7,000 languages, most of which lack parallel corpora but may have linguists' grammars. Paper and code are publicly available.

Imagine being handed a grammar book written in a completely unfamiliar language—full of symbols you can't read, strange inflection rules, and a dictionary of hundreds of unknown words. You get thirty minutes, then you must translate a passage into English.

This isn't science fiction; it's the exam that researchers at the University of Zurich and ETH Zurich gave to large language models. Their finding is surprising: models trained with reinforcement learning (RL) translate unseen languages better than models trained with conventional supervised fine-tuning (SFT)—even though the RL models never saw those languages during training.

The Problem: Memorization vs. Learning to Learn

There are two mainstream approaches for LLM translation of low-resource languages:

Route 1: Continued training. Feed the model lots of parallel corpora in a specific language so it "memorizes" that language. The problem: overfitting—translation works during training, but fails on any unseen language.

Route 2: In-context learning. Stuff the grammar and dictionary into the prompt and let the model look things up on the fly. The problem: models often don't actually read these materials—prior studies found LLMs translating unseen languages rely mainly on parallel examples and largely ignore grammatical descriptions.

The shared flaw of both routes: the model memorizes specific languages instead of learning how to use linguistic resources.

The Method: Using RL to Teach "Learning to Learn"

The researchers' core insight is that translating unseen languages is fundamentally a meta-learning problem. What the model needs is not the vocabulary and grammar of a particular language, but a meta-skill—contextual leveraging: given a grammar book and dictionary, how to effectively extract and apply the linguistic knowledge inside.

The recipe is strikingly simple:

1. Training data: 14 low-resource languages, including 8 grammar-book languages and 6 Romansh varieties. Each training sample contains dictionary entries (~2 per source word), 3–5 parallel sentence pairs, and a grammar excerpt (~2,800 tokens).

2. RL training: the translation metric chrF serves as the reward signal, optimized with GRPO. The model sees the grammar and dictionary, attempts a translation, and is rewarded for quality.

3. Key design: training uses only "seen languages"; testing uses "unseen languages"—including Kalamang (a Papuan language) and 4 OOD languages. The model never encountered these during training.

Results: RL Generalizes, SFT Doesn't

On seen languages, SFT is stronger. No surprise—SFT was trained directly on those languages.

On unseen languages, RL crushes SFT. This is the key finding: RL-trained models translate languages they never saw significantly better.

Ablations reveal the mechanism. In an elegant experiment, the researchers removed the context (dictionary + grammar) at test time:

  • SFT models barely changed without context—showing they never used it and relied on memorized patterns.
  • RL models dropped sharply without context—showing they genuinely exploited the linguistic knowledge in context.
This ablation is the most striking part of the paper. It directly demonstrates that RL training teaches models to "read the grammar book," while SFT teaches them to "memorize answers."

Why RL Works and SFT Doesn't

SFT's training signal is "imitate the correct translation." The laziest strategy is to memorize patterns of the training languages rather than understand the grammar—reading a long grammar requires reasoning; memorizing patterns only requires storage.

RL's training signal is translation quality. To earn high reward, the model must use the linguistic knowledge in context—because test languages differ from training languages, and rote memorization doesn't transfer. RL forces the model to develop real language understanding.

This mirrors RL's success in mathematical reasoning: RLVR (Reinforcement Learning with Verifiable Rewards) works in math and coding not by making models memorize more answers, but by teaching them reasoning processes. This paper extends the same logic to language learning.

The Bigger Picture

The significance goes beyond translation. It raises a deeper question: what kind of training gives models transferable capabilities rather than rote memorization?

The answer seems to be: giving a model a goal (translation quality) and letting it explore how to use available resources (grammar + dictionary) builds generalization better than directly showing it the answers (SFT). This closely matches human learning—cramming produces exam machines; inquiry-based learning produces genuine understanding.

There are practical implications for endangered language preservation too. Of the world's roughly 7,000 languages, most lack sufficient parallel corpora to train translation systems. But if models can learn to "translate by reading a grammar book," then linguists' field documentation alone could be enough to build translation tools for these languages.

---

Paper: Reinforcement Learning Elicits Contextual Learning of Unseen Language Translation

Code: github.com/hanxuhu/rl-new-language

Authors: Hanxu Hu, Zdeněk Šnajdr, Pinzhen Chen, Jannis Vamvas, Rico Sennrich (University of Zurich, ETH Zurich, Queen's University Belfast)

Tags

#reinforcement-learning#large-language-models#machine-translation#low-resource-languages#meta-learning#grpo#supervised-fine-tuning#endangered-languages

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177980946