Introduction
Data-to-text generation involves transforming structured Meaning Representations (MRs)—often nested trees of data points—into fluent natural language. While state-of-the-art language models like T5 have shown remarkable performance in these tasks, they frequently struggle with compositional generalization. This is the ability to handle novel combinations of data fields that were not encountered together during training. Even if a model understands individual components, it may fail to synthesize them correctly in a new structure, leading to hallucinations or omissions.
The Scaling Myth
A common assumption in deep learning is that increasing model parameters improves generalization. However, this research demonstrates that scaling is not a silver bullet for compositional tasks. As shown in the table below, larger models like T5-Large do not necessarily outperform smaller variants on unseen structures; in fact, T5-Small often maintains a higher accuracy on novel combinations despite having significantly fewer parameters.
Bridging the Representation Gap
One primary reason for this failure is the "representation discrepancy." Standard models are typically fed "naive" structured inputs (e.g., Lisp-style brackets), which differ significantly from the natural language text used during pre-training. To address this, the authors propose Template-Guided Representation. By using a simple template engine to convert MRs into "proto-sentences" (e.g., converting a raw data tree into "There will be [CONDITION] with a temperature of [TEMP]"), the input is aligned more closely with the model's pre-existing knowledge.
As illustrated in Figure 1, this template-guided approach significantly boosts tree accuracy, particularly for unseen structures, across various few-shot training split sizes.
Self-Training with BLEURT Filtering
To further improve performance in data-sparse, few-shot settings, the authors implement a self-training loop using unlabeled MRs to generate "pseudo-responses." To prevent the model from learning its own errors, they employ BLEURT (a learned evaluation metric) as a quality gate.
This BLEURT model is specifically fine-tuned on synthetic data to detect common data-to-text failures, such as:
- Hallucinations: Inventing information not present in the MR.
- Omissions: Failing to include required data points.
- Logical Errors: Repeating phrases or incorrectly rendering digits.
Only pseudo-responses that exceed a strict quality threshold are added to the training set, ensuring the model bootstraps from high-quality examples.
Experimental Results
The proposed methods were evaluated on two benchmarks: FewShotWeather (focused on tree-structured MRs) and FewShotSGD (focused on unseen schemata across dialogue domains).
- Accuracy Gains: On the FewShotWeather "unseen" split, the approach improved tree accuracy (exact match of the data structure) by 12.3% to 46.4% over standard T5 baselines.
- Error Reduction: On the FewShotSGD benchmark, the method reduced the Slot Error Rate (SER)—the frequency of incorrect data points—by 54.4% to 73.0%.
- Human Evaluation: Human judges confirmed that BLEURT-based filtering significantly improved the informativeness and accuracy of generated text compared to vanilla self-training.
Conclusion
Improving compositional generalization requires more than just larger models. By bridging the gap between structured data and natural language through template-guided inputs and implementing a robust, metric-filtered self-training loop, models can learn to handle novel data combinations far more effectively. Future work may explore automating template generation and extending these techniques to multi-lingual contexts.
Summary updated