← Latest papers
💬 NLP

A Factorial Study of Synthetic Data Generation for Low-Resource Machine Translation using Grammar Books

This paper presents a pipeline that leverages large language models to extract grammatical rules and examples from descriptive grammar books to generate synthetic parallel corpora, demonstrating that fine-tuning machine translation models on this synthetic data significantly improves performance for endangered languages like Kalamang, Tuatschin, and Mandan compared to seed-data baselines.

Original authors: Varun Ghat Ravikumar, Sina Ahmadi, Lena Jäger, Rico Sennrich

Published 2026-07-27
📖 5 min read🧠 Deep dive

Original authors: Varun Ghat Ravikumar, Sina Ahmadi, Lena Jäger, Rico Sennrich

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the internet as a giant, bustling library where most books are written in languages like English, Spanish, or Mandarin. These languages have millions of copies, endless stories, and huge crowds of people reading and writing them every day. But deep in the dusty, forgotten corners of this library, there are thousands of other languages—some spoken by only a few hundred people—that are slowly fading away. These are "endangered languages." For decades, computers have struggled to understand or translate these languages because they lack the massive piles of "parallel data" (pairs of sentences in two languages) needed to teach them. Without these pairs, the computer is like a student trying to learn a new language with no textbooks, no teachers, and no practice sentences.

However, these languages aren't entirely silent. Linguists have spent years visiting communities, listening to stories, and writing down "grammar books." These books are like detailed instruction manuals for how a language works, filled with rules about how words change, how sentences are built, and lists of vocabulary. The big question researchers have been asking is: Can we use these old, static grammar books to teach a computer how to translate, even if we don't have the modern piles of practice sentences? It's a bit like trying to teach someone to drive a car using only a manual, without ever letting them sit behind the wheel.

This paper, titled "A Factorial Study of Synthetic Data Generation for Low-Resource Machine Translation using Grammar Books," takes a clever, semi-automated approach to solve this puzzle. The authors, a team from the University of Zurich, built a digital pipeline that acts like a very strict, rule-following robot. Instead of just asking a super-smart AI to "guess" the translation based on the grammar book (which often leads to confusion), they first extract the rules, word lists, and example sentences from the PDFs of these grammar books. Then, they use a Large Language Model (LLM) to act as a creative but disciplined writer. This writer takes an existing sentence from the grammar book, swaps out a word (like changing "big" to "small"), and then strictly applies the grammar rules to make sure the new sentence still makes sense grammatically.

The result is a "synthetic corpus"—a brand new set of practice sentences generated entirely by the computer, based on the rules in the book. They tested this method on three very different, extremely low-resource languages: Kalamang (from Papua New Guinea), Tuatschin (a dialect in Switzerland), and Mandan (from North America). They didn't just guess; they ran a massive "factorial study," which is a fancy way of saying they tried every possible combination of settings. They changed the type of words they swapped (nouns, verbs, adjectives), how much of the grammar book they looked at for clues (just the specific rule or the whole chapter), and how many new sentences they generated (from 5 to 20 per original sentence).

The findings are a mix of exciting success and important caution. For Kalamang, the method worked beautifully: in 75% of the different settings they tried, the computer learned better than it did with just the tiny amount of real human data available. In the best-case scenario, the translation quality jumped by a huge margin (an improvement of +8.8 points on their scoring scale). For Tuatschin, it also worked well, but only if they generated enough sentences; if they tried to learn with too few examples, the computer got confused and performed worse. However, for Mandan, a language with incredibly complex sentence structures, the method struggled. The computer often learned the wrong things, producing sentences that looked grammatically correct but made no sense, or it simply failed to improve over the baseline.

The paper explicitly rules out the idea that you can just feed the entire grammar book into an AI and expect it to instantly become a perfect translator. They found that while reading the whole book helps in some cases, it's often better to give the AI specific, codified rules to follow when generating new practice sentences. They also argue against the idea that "more data is always better." In the case of Mandan, generating too many synthetic sentences actually made the computer worse, because it started memorizing the weird patterns of the generated data instead of learning how to translate.

Ultimately, this research suggests that we can repurpose old, static grammar books into dynamic training tools for computers. It's not a magic wand that solves the problem for every language immediately, but it offers a practical, scalable path forward. By turning linguistic manuals into synthetic practice drills, we might finally be able to build translation tools for the world's most endangered languages, giving them a digital voice before they are lost forever. The authors are careful to note that this is a starting point, not a finished product, and that human speakers will still need to validate the results, but it's a significant step toward keeping these languages alive in the digital age.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →