Research map / Large language models / Language, safety and interpretability
TempLM: Distilling Language Models into Template-Based Generators
Tianyi Zhang, Mina Lee, Lisa Li, Ende Shen, Tatsunori B. Hashimoto
Stanford University
Read the paperPlace an idea next to itCheck your own paper ↗
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.
On benchmark leaderboards
- E2E leaderboard BLEU 61.5 · rank 23 of 30 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| distill BART into templates (TempLM) instead of generating directly | BART · E2E OOD (54 novel inputs) | unfaithful output rate (%): 83.3 -> 0 | Improved |
| use TempLM templates instead of direct BART generation | BART · E2E test | E_precision: 6.0 -> 0.0 | Improved |
| use TempLM templates instead of direct BART generation | BART · E2E test | BLEU: 66.2 -> 61.5 | Hurt |
| use TempLM instead of classic delexicalized templates | TempClassic · E2E test | BLEU: 52.1 -> 61.5 | Improved |
| use TempLM instead of classic delexicalized templates | TempClassic · SynthBio test | BLEU: 36.6 -> 40.3 | Improved |
| use TempLM templates instead of direct BART generation | BART · SynthBio test | BLEU: 40.8 -> 40.3 | No clear effect |
| add template refinement (consensus beam search) (ablation) | TempLM · SynthBio test | BLEU: 35.2 -> 40.3 | Improved |
| add template refinement (ablation) | TempLM · E2E test | BLEU: 61.4 -> 61.5 | No clear effect |
| add template refinement (ablation) | TempLM · E2E test | % templates with lexicalized values: 12.1 -> 5.2 | Improved |
| add template validation (ablation) | TempLM · E2E test | % templates with lexicalized values: 21.4 -> 5.2 | Improved |
| add template validation (ablation) | TempLM · E2E test | BLEU: 64.0 -> 61.5 | Hurt |
| add template validation (ablation) | TempLM · E2E test | number of templates: 2047.3 -> 471.7 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 0 of 1 on most shared results.
- BART — BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension (ACL 2020) · better on 2 of 5 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Detection and Measurement of Syntactic Templates in Generated Text (EMNLP 2024 · similarity 0.88)
- Self-conditioning Pre-Trained Language Models (ICML 2022 · similarity 0.87)
- SCOPE: A Self-supervised Framework for Improving Faithfulness in Conditional Text Generation (ICLR 2025 · similarity 0.86)
- Controlled Text Generation via Language Model Arithmetic (ICLR 2024 · similarity 0.86)
- LongGenBench: Benchmarking Long-Form Generation in Long Context LLMs (ICLR 2025 · similarity 0.86)
- Precise Information Control in Long-Form Text Generation (NeurIPS 2025 · similarity 0.86)
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.