Few-Shot Table-to-Text Generation with Prompt-based Adapter

Zhixin Guo, Mingxuan Yan, Jiexing Qi, Jianping Zhou, Ziwei He, Zhouhan Lin, Guanjie Zheng, Xinbing Wang · DOI

Abstract

The Adapt-Knowledge-to-Generate (AKG) framework addresses the "data-hungry" nature of table-to-text models through a modularized pretraining strategy. By injecting domain-specific knowledge via lightweight adapters and leveraging unlabeled text, AKG significantly reduces hallucinations and improves fluency in few-shot scenarios where labeled data is scarce.

Introduction

Generating natural language descriptions from structured data, such as Wikipedia infoboxes, is a fundamental task in AI. However, two primary challenges persist: the topological gap between structured tables and linear text, and the knowledge bottleneck in few-shot settings. Pretrained Language Models (PLMs) often struggle to interpret table logic without extensive training, frequently leading to "hallucinations"—the generation of fluent but factually incorrect information.

Example of a table-to-text generation task showing a source table, its linearization, and the target description.

Current state-of-the-art methods often rely on retrieving "prototypes" to guide generation, but these can fail to capture domain nuances when labeled examples are limited.

Methodology: The AKG Framework

The authors propose AKG, a framework that decomposes the generation process into three modular phases:

  1. Generation Module Pretraining: Utilizing a BART-large backbone and a "prototype selector," the model identifies similar existing sentences to serve as structural blueprints.
  2. Knowledge-Augmentation Module: This "secret sauce" involves inserting Knowledge-based Adapters (KA)—small, trainable layers—after the encoder and decoder. These are pretrained on a massive unlabeled domain-specific corpus using a "prompt-reconstruction" task. By masking entities found in tables and requiring the adapter to reconstruct them, the model learns domain-specific factual patterns without labeled table-text pairs.
  3. Fine-tuning Module: The model is finally fine-tuned on limited labeled data. During this stage, the Knowledge Adapter parameters are frozen to retain the domain insights acquired during pretraining.
The AKG framework architecture, illustrating the generation, knowledge-augmentation, and fine-tuning modules.

Experimental Evaluation

The framework was evaluated on three subsets of the WIKIBIO dataset: Humans, Songs, and Books. Testing across various "shot" sizes (50 to 500 instances) simulated extreme data scarcity.

Key Results

AKG established new state-of-the-art performance across all domains:

  • Accuracy & Faithfulness: In human evaluations on the Humans dataset (100-shot), AKG supported more facts and exhibited fewer contradictions compared to previous best models.
  • Automated Metrics: AKG consistently outperformed baselines in BLEU-4 (fluency) and PARENT-F (table-text alignment). In the 500-shot Humans domain, AKG achieved a BLEU score of 51.3, surpassing the previous SOTA of 49.9.
  • Efficiency: Significant gains were observed even at the 50-shot level, demonstrating robustness in low-data regimes.

Discussion and Insights

A critical finding is that unlabeled data is an underutilized resource. AKG demonstrates that domain logic can be "injected" into a model using raw text before exposure to structured tables. Furthermore, using adapters (KA) prevents "catastrophic forgetting," allowing the backbone PLM to maintain general linguistic capabilities while the adapter provides specialized expertise.

Compared to retrieval-based models, AKG excels in faithfulness. It effectively balances table facts with domain linguistic patterns, reducing the likelihood of hallucinated details.

Limitations and Future Work

The authors identified that an excessive amount of unlabeled data can introduce noise, potentially harming performance. Additionally, the model is constrained by the maximum input length of the BART backbone. Future research may explore scaling this adapter-based knowledge injection to larger models like Llama or GPT-4.

Summary updated

BibTeX
@article{guo2024few,
  author = {Zhixin Guo and Mingxuan Yan and Jiexing Qi and Jianping Zhou and Ziwei He and Zhouhan Lin and Guanjie Zheng and Xinbing Wang},
  title = {{Few-Shot Table-to-Text Generation with Prompt-based Adapter}},
  journal = {IEEE Transactions on Audio Speech and Language Processing},
  year = {2024},
  doi = {10.1109/taslp.2024.3430480},
}
Figure