A Causal Lens for Controllable Text Generation
Zhiting Hu, Li Erran Li
Abstract
Controllable text generation concerns two fundamental tasks of wide applications, namely generating text of given attributes (i.e., attribute-conditional generation), and minimally editing existing text to possess desired attributes (i.e., text attribute transfer). Extensive prior work has largely studied the two problems separately, and developed different conditional models which, however, are prone to producing biased text (e.g., various gender stereotypes). This paper proposes to formulate controllable text generation from a principled causal perspective which models the two tasks with a unified framework. A direct advantage of the causal formulation is the use of rich causality tools to mitigate generation biases and improve control. We treat the two tasks as interventional and counterfactual causal inference based on a structural causal model, respectively. We then apply the framework to the challenging practical setting where confounding factors (that induce spurious correlations) are observable only on a small fraction of data. Experiments show significant superiority of the causal approach over previous conditional models for improved control accuracy and reduced bias. 1 Thus, for text attribute transfer (a.k.a., text style transfer), there is no direct supervision data, i.e., (original text, attribute, target text) triples.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Composable Text Controls in Latent Space with ODEs cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Composable Text Controls in Latent Space with ODEs
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Language Models are Few-Shot Learners
- Deep Structural Causal Models for Tractable Counterfactual Inference cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
- Causality-aware Concept Extraction based on Knowledge-guided Prompting cites Language Models are Few-Shot Learners
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning cites Language Models are Few-Shot Learners
- Neuro-Symbolic Procedural Planning with Commonsense Prompting cites Language Models are Few-Shot Learners
Cited by top-tier papers13
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement LearningMingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang et al.EMNLP 2022 · 141 citations
- Composable Text Controls in Latent Space with ODEsGuangyi Liu, Zeyu Feng, Yuan Gao, Zichao Yang et al.EMNLP 2023 · 12 citations
- Causality-aware Concept Extraction based on Knowledge-guided PromptingSiyu Yuan, Deqing Yang, Jinxi Liu, Shuyu Tian et al.ACL 2023 · 7 citations
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual AugmentationYi Liu, Xiangyu Liu, Xiangrong Zhu, Wei HuACL 2024 · 6 citations
- Neuro-Symbolic Procedural Planning with Commonsense PromptingYujie Lu, Weixi Feng, Wanrong Zhu, Wenda Xu et al.ICLR 2023 · 3 citations
Builds on25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 citations
- Causal Intervention for Weakly-Supervised Semantic SegmentationDong Zhang, Hanwang Zhang, Jinhui Tang, Xian-Sheng Hua et al.NeurIPS 2020 · 563 citations
- Deep Structural Causal Models for Tractable Counterfactual InferenceNick Pawlowski, Daniel Coelho de Castro, Ben GlockerNeurIPS 2020 · 353 citations
Related papers
- Disentangled Learning with Synthetic Parallel Data for Text Style TransferJingxuan Han, Quan Wang, Zikang Guo, Benfeng Xu et al.ACL 2024 · 4 citations
- CausalCtrl: Causality-Aware Control Framework for Text-Guided Visual EditingHaoxiang Cao, Chaoqun Wang, Yongwen Lai, Shaobo Min et al.ACM MM 2025 · 1 citation
- Controllable Text Generation via Probability Density Estimation in the Latent SpaceYuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang et al.ACL 2023 · 8 citations
- Controlled Text Generation as Continuous Optimization with Multiple ConstraintsSachin Kumar, Eric Malmi, Aliaksei Severyn, Yulia TsvetkovNeurIPS 2021 · 91 citations
- Text Fact TransferNishant Balepur, Jie Huang, Kevin Chen-Chuan ChangEMNLP 2023
