Investigating the Robustness of Natural Language Generation from Logical Forms via Counterfactual Samples
On the map: LLM reasoning → Causal reasoning in LLMs
Abstract (arXiv)
The aim of Logic2Text is to generate controllable and faithful texts conditioned on tables and logical forms, which not only requires a deep understanding of the tables and logical forms, but also warrants symbolic reasoning over the tables. State-of-the-art methods based on pre-trained models have achieved remarkable performance on the standard test dataset. However, we question whether these methods really learn how to perform logical reasoning, rather than just relying on the spurious correlations between the headers of the tables and operators of the logical form. To verify this hypothesis, we manually construct a set of counterfactual samples, which modify the original logical forms to generate counterfactual logical forms with rarely co-occurred table headers and logical operators. SOTA methods give much worse results on these counterfactual samples compared with the results on the original test dataset, which verifies our hypothesis. To deal with this problem, we firstly analyze this bias from a causal perspective, based on which we propose two approaches to reduce the model's reliance on the shortcut. The first one incorporates the hierarchical structure of the logical forms into the model. The second one exploits automatically generated counterfactual data for training. Automatic and manual experimental results on the original test dataset and the counterfactual dataset show that our method is effective to alleviate the spurious correlation. Our work points out the weakness of previous methods and takes a further step toward developing Logic2Text models with real logical reasoning ability.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Causal reasoning in LLMs, one of 17 directions in LLM reasoning. Builds on 18 of its 37 references that are in the map. First posted on arXiv 16 Oct 2022.
Builds on
18 of 37 references.
References · 18
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2020Counterfactual Samples Synthesizing for Robust Visual Question Answeringcited by 153
- 2020Logical Natural Language Generation from Open-Domain Tablescited by 90
- 2020Robustness to Spurious Correlations in Text Classification via Automatically Generated Counterfactualscited by 67
- 2018Learning Neural Templates for Text Generationcited by 61
- 2021CauseRec: Counterfactual User Sequence Synthesis for Sequential Recommendationcited by 46
- 2020Logic2Text: High-Fidelity Natural Language Generation from Logical Formscited by 45
- 2022A Causal Lens for Controllable Text Generationcited by 45
6 more
- 2021Exploring the Efficacy of Automatically Generated Counterfactuals for Sentiment Analysiscited by 30
- 2018Natural Language Generation for Electronic Health Recordscited by 27
- 2021De-biasing Distantly Supervised Named Entity Recognition via Causal Interventioncited by 24
- 2021Logic-Consistency Text Generation from Semantic Parsescited by 23
- 2013On the definition of a confoundercited by 19
- 2021LOGEN: Few-shot Logical Knowledge-Conditioned Text Generation with Self-trainingcited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023CLOMO: Counterfactual Logical Modification with Large Language Models
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Study
- 2026Better Think Thrice: Learning to Reason Causally with Double Counterfactual Consistency
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worlds
- 2024Reasoning Elicitation in Language Models via Counterfactual Feedback
- 2024Autoformalizing Natural Language to First-Order Logic: A Case Study in Logical Fallacy Detection
- 2026Benchmarking LLM Competence on Logical Inference over Probability Operators