De-Confounded Variational Encoder-Decoder for Logical Table-to-Text Generation

Wenqing Chen, Jidong Tian, Yitian Li, Hao He, Yaohui Jin

Presented at ACL 2021, this research addresses a critical challenge in Natural Language Generation (NLG): the tendency of models to "hallucinate" facts that are not present in the source data. While modern deep learning models excel at linguistic fluency, they often fail at logical consistency, particularly in table-to-text tasks where inference is required.

The Problem: Spurious Correlations

In logical table-to-text generation, a model must synthesize information from a table to produce a factually accurate sentence (e.g., determining if an album was released twice in a specific region). Current models often rely on statistical "shortcuts" rather than true reasoning. For instance, a model might frequently output "United States" regardless of the table's content simply because the term appears often in the training set.

From a causal perspective, this is a confounding issue: latent variables influence both the input table and the output text, leading the model to capture spurious correlations. To solve this, the authors propose a framework that distinguishes between true causal relationships and these misleading statistical patterns.

Methodology: De-Confounded Variational Encoder-Decoder (DCVED)

The core of the proposed solution is the De-Confounded Variational Encoder-Decoder (DCVED). This framework integrates causal intervention into a Variational Encoder-Decoder (VED) architecture to force the model to rely on causal paths rather than correlations.

Causal graphs for mediation-confounding and the de-confounded model using do-calculus.

1. Causal Intervention ($do$-calculus)

Instead of learning standard conditional probability $p(y|x)$, DCVED learns $p(y|do(x))$. By applying Pearl’s $do$-calculus, the model simulates an intervention that breaks the link between the table and potential confounders, ensuring the generated text is derived directly from the table's data.

2. Dual Latent Variables and Back-Prediction

The model utilizes two distinct latent variables:

  • Mediator ($z_m$): Represents entities selected from the table to form the sentence.
  • Confounder ($z_c$): Represents "distractor" entities that are linguistically similar but irrelevant to the target sentence.

To prevent "posterior collapse"—a common issue where latent variables become non-functional—the authors introduce a back-prediction task. The model must use $z_c$ to predict entities in the table that were not used in the sentence. This process effectively "cleans" the latent space, separating useful causal data from noise.

3. Generate-then-Select

Since the model is variational, it can sample multiple candidate sentences. A BERT-based Table-Text Selector ranks these candidates to select the output that best balances fluency with logical accuracy.

Experimental Setup and Datasets

The DCVED model was evaluated on two major benchmarks:

  • LogicNLG: A large-scale dataset with over 7,000 tables and 37,000 sentences requiring complex logical inferences.
  • Logic2Text: A smaller dataset providing ground-truth logical forms (e.g., superlatives, counts) for additional supervision.

Key Results

DCVED achieved new state-of-the-art (SOTA) performance across both benchmarks, particularly in logical fidelity metrics.

Performance comparison on the LogicNLG dataset.

On the LogicNLG dataset, DCVED (using a GPT-2 backbone) improved the NLI-Acc (Natural Language Inference Accuracy) from a baseline of 68.7% to 76.9%. Human evaluations mirrored these findings; in blind tests, humans rated DCVED’s logical fidelity at 30.8%, a significant increase over the 19.1% achieved by the standard GPT-TabGen baseline. Ablation studies confirmed that both the causal structure and the back-prediction task are essential to these performance gains.

Limitations and Future Directions

While DCVED represents a significant step forward, challenges remain. The model still struggles with multi-hop reasoning and comparing large numerical values. Additionally, annotating the "mediator" variables can be labor-intensive. The authors suggest that future work involving large-scale knowledge-grounded pre-training could provide models with the "common sense" necessary to further improve numerical and logical reasoning.

Summary updated

BibTeX
@inproceedings{chen2021de,
  author = {Wenqing Chen and Jidong Tian and Yitian Li and Hao He and Yaohui Jin},
  title = {{De-Confounded Variational Encoder-Decoder for Logical Table-to-Text Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.430},
}
Figure