Paired by the Teacher: Turning Unpaired Data into High-Fidelity Pairs for Low-Resource Text Generation

Yen-Ju Lu, Thomas Thebaud, Laureano Moro-Velázquez, Najim Dehak, Jesús Villalba

Abstract

We present Paired by the Teacher (PbT), a two-stage teacher-student pipeline that synthesizes accurate input-output pairs without human labels or parallel data. In many low-resource natural language generation (NLG) scenarios, practitioners may have only raw outputs, like highlights, recaps, or questions, or only raw inputs, such as articles, dialogues, or paragraphs, but seldom both. This mismatch forces small models to learn from very few examples or rely on costly, broad-scope synthetic examples produced by large LLMs. PbT addresses this by asking a teacher LLM to compress each unpaired example into a concise intermediate representation (IR), and training a student to reconstruct inputs from IRs. This enables outputs to be paired with student-generated inputs, yielding high-quality synthetic data. We evaluate PbT on five benchmarks—document summarization (XSum, CNNDM), dialogue summarization (SAMSum, DialogSum), and question generation (SQuAD)—as well as an unpaired setting on SwitchBoard. An 8B student trained only on PbT data outperforms models trained on 70B teacher-generated corpora, closing 82% of the oracle gap at one-third the annotation cost of direct synthesis.

Introduction

In many natural language generation (NLG) tasks, researchers face a "low-resource" challenge: they possess abundant raw data but lack the corresponding input-output pairs needed for supervised training. For instance, one might have a collection of news articles and a separate collection of summaries, but no ground-truth links between them.

To address this, practitioners often use Direct Synthesis, where a large language model (LLM) like GPT-4 is prompted to generate a source document for a given summary. However, this approach suffers from two primary issues:

  1. Domain Mismatch: LLM-generated text often lacks the stylistic nuances and noise of real-world data.
  2. High Cost: Generating long-form text from massive LLMs is computationally expensive and slow.

The Paired by the Teacher (PbT) Framework

PbT introduces a novel two-stage pipeline that utilizes a "Teacher" LLM and a smaller "Student" model to bridge the gap between unpaired data. The core of this process is the Intermediate Representation (IR)—a concise blueprint of the text, such as a list of key facts or a topical outline.

Overview of the PbT pipeline showing the interaction between Teacher, Student, and the Intermediate Representation (IR) space.

The pipeline operates in two main phases:

  1. Source-side IR Learning: A large Teacher LLM extracts IRs from raw, unpaired source documents. A smaller Student model is then trained to reconstruct the original source text from these IRs. This ensures the Student learns the specific style and distribution of the target domain.
  2. Target-side IR Annotation & Synthesis: The Teacher generates a plausible IR for an unpaired target example (e.g., a summary). The pre-trained Student then expands this IR into a full synthetic source.

By shifting the generation of long-form text to a Student model trained on real-world data, PbT ensures better "in-domain alignment" while significantly reducing API costs by roughly 3x.

Experimental Results

The authors evaluated PbT across five diverse benchmarks: document summarization (XSum, CNNDM), dialogue summarization (SAMSum, DialogSum), and question generation (SQuAD).

PbT performance (BERTScore) across five benchmarks compared to synthetic baselines and the human-annotated Oracle.

Key findings include:

  • Closing the Oracle Gap: PbT closed 82% of the performance gap between unsupervised baselines and "Oracle" models trained on human-labeled data.
  • Superiority over Direct Synthesis: An 8B-parameter student trained on PbT data outperformed models trained on data directly synthesized by 70B-parameter models. On XSum, PbT improved BERTScore by up to +3.3 points over strong baselines.
  • Robustness: The method remained effective even when using smaller Teacher models, suggesting the pipeline architecture is more important than just having the largest available LLM.

Discussion and Conclusion

PbT demonstrates that the architecture of the synthesis pipeline is often more critical than the size of the teacher model. By using the IR as a bottleneck, the framework prevents hallucinations and focuses the student on core logic. Human evaluations further confirmed that PbT produces more concise and faithful summaries than direct synthesis, which often generates overly "flowery" text that fails to match the target style.

While currently focused on English-language tasks, PbT offers a scalable, cost-effective solution for high-fidelity data synthesis in low-resource environments. Future work may explore cross-lingual applications and further refinements to minimize information loss during IR compression.

Summary updated

BibTeX
@misc{lu2025paired,
  author = {Yen-Ju Lu and Thomas Thebaud and Laureano Moro-Velázquez and Najim Dehak and Jesús Villalba},
  title = {{Paired by the Teacher: Turning Unpaired Data into High-Fidelity Pairs for Low-Resource Text Generation}},
  year = {2025},
  eprint = {2509.25144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.25144},
}
Figure