Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books

While large language models (LLMs) have shown promise in translating extremely lowresource languages using resources like dictionaries, the effectiveness of grammar books remains debated.This paper investigates the role of grammar books in translating extremely low-resource languages by decomposing it into two key steps: grammar rule retrieval and application.To facilitate the study, we introduce ZHUANGRULES, a modularized dataset of grammar rules and their corresponding test sentences.Our analysis reveals that rule retrieval constitutes a primary bottleneck in grammarbased translation.Moreover, although LLMs can apply simple rules for translation when explicitly provided, they encounter difficulties in handling more complex rules.To address these challenges, we propose to represent grammar rules as code functions, motivated by their similarities in structures and the benefit of code in facilitating LLM reasoning.Our experiments show that using code rules significantly boosts both rule retrieval and application, ultimately resulting in a 13.1% BLEU improvement in translation.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.202
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books

Zekai Zhang, Chen Zhang, Xiao Liu, Yansong Feng et al.
Natural Language Processing Techniques
article

Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books

Zekai Zhang, Chen Zhang, Xiao Liu, Yansong Feng, Jiuheng Lin
article en

Abstract

While large language models (LLMs) have shown promise in translating extremely lowresource languages using resources like dictionaries, the effectiveness of grammar books remains debated.This paper investigates the role of grammar books in translating extremely low-resource languages by decomposing it into two key steps: grammar rule retrieval and application.To facilitate the study, we introduce ZHUANGRULES, a modularized dataset of grammar rules and their corresponding test sentences.Our analysis reveals that rule retrieval constitutes a primary bottleneck in grammarbased translation.Moreover, although LLMs can apply simple rules for translation when explicitly provided, they encounter difficulties in handling more complex rules.To address these challenges, we propose to represent grammar rules as code functions, motivated by their similarities in structures and the benefit of code in facilitating LLM reasoning.Our experiments show that using code rules significantly boosts both rule retrieval and application, ultimately resulting in a 13.1% BLEU improvement in translation.

King University (US)
National Natural Science Foundation of China
Quality Education
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books — Zekai Zhang, Chen Zhang, et al. · (2025) | TGRS Research Map | TGRS