Research map / Large language models / Agents, code and math
Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books
Chen Zhang, Jiuheng Lin, Xiao Liu, Zekai Zhang, Yansong Feng
Peking University
Read the paperPlace an idea next to itCheck your own paper ↗
15measured effects
10improved
3no clear effect
2hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace Full-Book retrieval with Rule-by-Rule retrieval (text rules) (ablation) | Qwen-2.5-72B · ZhuangRules za2zh | recall: 52.8 -> 89.4 | Improved |
| convert textual rules into code rules for Rule-by-Rule retrieval (ablation) | Qwen-2.5-7B · ZhuangRules za2zh | recall: 55.1 -> 68.4 | Improved |
| convert textual rules into code rules for Rule-by-Rule retrieval (ablation) | Qwen-2.5-72B · ZhuangRules za2zh | recall: 89.4 -> 89.6 | No clear effect |
| provide the gold rule instead of no rule | Qwen-2.5-72B · ZhuangRules | chrF++: absolute increase of 26% chrF++ | Improved |
| provide a random rule instead of no rule (ablation) | LLMs · ZhuangRules (average) | chrF++: 38.0 -> 36.1 | No clear effect |
| use code rule instead of textual rule (gold, no examples) (ablation) | LLMs · ZhuangRules (average) | chrF++: 60.7 -> 69.2 | Improved |
| use code rule instead of textual rule on hard rules (ablation) | Qwen-2.5-72B · ZhuangRules za2zh hard | chrF++: 34.6 -> 48.6 | Improved |
| add two parallel examples to textual rule (ablation) | LLMs · ZhuangRules (average) | chrF++: 60.7 -> 75.4 | Improved |
| add synthetic IGT when rules are provided (ablation) | Qwen-2.5-72B · ZhuangRules za2zh | BLEU: 70.7 -> 67.9 (text rule + examples) | Hurt |
| use code rule instead of textual rule on Kalamang (ablation) | Qwen-2.5-72B · MTOB kgv2eng | BLEU: 14.6 -> 16.0 | Improved |
| use code rule instead of textual rule on Kalamang (ablation) | Qwen-2.5-72B · MTOB eng2kgv | chrF++: 67.3 -> 67.0 | No clear effect |
| add second required rule (two textual rules vs one) (ablation) | Qwen-2.5-72B · ZhuangRules multi-rule za2zh | chrF++: 31.6 -> 41.7 | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Can LLMs Really Learn to Translate a Low-Resource Language from One Grammar Book? (ICLR 2025 · similarity 0.90)
- Back to School: Translation Using Grammar Books (EMNLP 2024 · similarity 0.90)
- A Benchmark for Learning to Translate a New Language from One Grammar Book (ICLR 2024 · similarity 0.88)
- Function-to-Style Guidance of LLMs for Code Translation (ICML 2025 · similarity 0.85)
- Teaching Large Language Models to Translate with Comparison (AAAI 2024 · similarity 0.85)
- LLM Augmented LLMs: Expanding Capabilities through Composition (ICLR 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.