The primary bottleneck in training specialized language models—whether for mathematical reasoning or following complex instructions—is the scarcity of high-quality, aligned data. While the web provides an ocean of unstructured text and GitHub offers vast repositories of formal code, the "bridge" between them (e.g., a natural language math problem paired with its formal Lean equivalent) is rare.
Researchers have converged on a powerful solution: Reverse Translation. This approach exploits a fundamental asymmetry in language tasks: it is often significantly easier for a model to describe an existing solution than it is to generate a solution from a description. By reversing the direction of data generation, we can transform massive amounts of unlabeled "target" data into high-quality training pairs.
The Asymmetry of Formalization
In the domain of mathematics, "autoformalization" is the task of translating natural language into machine-verifiable code. As Ke Weng and colleagues note in their recent survey, there is a notable performance gap: models are much better at "informalization" (code to text) than they are at the reverse.
Yuhuai Wu and Albert Q. Jiang demonstrated this intuition in Autoformalization with Large Language Models. Instead of struggling to find human-written pairs, they used models to translate existing formal libraries (like Isabelle/HOL) back into natural language. Because the source code is rigid and unambiguous, the model’s natural language descriptions are highly likely to be accurate. This synthetic "back-translation" creates a massive, aligned dataset that allows models to learn the much harder task of writing formal code from scratch.
This strategy was scaled further in the MMA dataset, where Albert Q. Jiang and Wenda Li showed that training on multiple formal languages simultaneously—using synthetic data generated via GPT-4 "informalization"—creates a "cross-pollination" effect that improves performance across all languages.
Instruction Backtranslation
A similar logic applies to general instruction tuning. Traditionally, models like Alpaca were trained by asking a "teacher" model (like GPT-4) to generate both an instruction and a response. However, this often results in "distilled" outputs that lack the nuance and diversity of human writing.
Xian Li and the team at Meta introduced Instruction Backtranslation to flip this process. Instead of generating synthetic responses, they start with high-quality, human-authored text from the web. They then ask a model to "back-translate" that text into the instruction that would have produced it.
The intuition here is that the "gold" part of the pair—the response—is already perfect because it was written by a human. The model only needs to provide a "silver" instruction. This method, used to create the Humpback model, allows for the self-alignment of models using unlabeled web corpora, bypassing the need for expensive proprietary distillation.
Retrospective Synthesis and Edit Logs
The power of reverse translation extends to specialized text tasks like rewriting and knowledge base querying:
- Text Rewriting: Lei Shu and colleagues developed RewriteLM by mining Wikipedia revision histories. They treated the "after" text as the target and used the revision summaries to reverse-engineer the "edit intent," creating a dataset for complex, cross-sentence revisions.
- Knowledge Bases: In FlexKBQA, Sunqi Fan and others generated synthetic data by sampling executable programs from a database and then using an LLM to translate those programs into natural language questions.
- User Content: Zhaoxuan Tan and Zheng Li proposed PUGC, which treats Reddit posts and Amazon reviews as "gold" responses and retrospectively synthesizes the queries that would elicit them.
Why It Works: The Quality of the Target
The success of reverse translation across these diverse papers—from LongForm by Abdullatif Köksal to REInstruct by Shu Chen—rests on a single realization: The target output is the most important part of a training pair.
When we ask a model to generate a response to an instruction, any hallucination or stylistic "uncanny valley" effect is baked into the training data. But when we start with a human-written document or a verified mathematical proof, the "answer" is guaranteed to be high-quality. Even if the synthesized instruction is slightly noisy, the model learns to map various prompts toward a "gold" standard of reasoning or prose. By leveraging the asymmetry of translation, researchers have found a way to turn the vast, unstructured world of human knowledge into a structured curriculum for AI.