Proceedings

Beyond What If: Advancing Counterfactual Text Generation with Structural Causal Modeling

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 6522-6530.

https://doi.org/10.24963/ijcai.2024/721

Abstract

Exploring the realms of counterfactuals, this paper introduces a versatile approach in text generation using structural causal models (SCM), broadening the scope beyond traditional singular causal studies to encompass complex, multi-layered relationships. To comprehensively explore these intricate, multi-layered causal relationships in text generation, we introduce a generalized approach based on the structural causal model (SCM), adept at handling complex causal interactions in a spectrum ranging from everyday stories to financial reports.Specifically, our method begins by disentangling each component of the text into pairs of latent variables, representing elements that remain unchanged and those subject to variation. Subsequently, counterfactual interventions are applied to these latent variables, facilitating the generation of outcomes that are influenced by complex causal dynamics. Extensive experiments have been conducted on both a public story generation dataset and a specially constructed dataset in the financial domain. The experimental results demonstrate that our approach achieves state-of-the-art performance across a range of automatic and human evaluation criteria, underscoring its effectiveness and versatility in diverse text generation contexts.

  1. [Belghazi et al., 2018] Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeshwar, Sherjil Ozair, Yoshua Bengio, Aaron Courville, and Devon Hjelm. Mutual information neural estimation. In Proc. of ICML, 2018.
  2. [Chen et al., 2022] Jiangjie Chen, Chun Gan, Sijie Cheng, Hao Zhou, Yanghua Xiao, and Lei Li. Unsupervised edit- ing for counterfactual stories. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 10473-10481, 2022.
  3. [Dang-Nhu, 2021] Raphaël Dang-Nhu. Evaluating disen- tanglement of structured representations. arXiv preprint arXiv:2101.04041, 2021.
  4. [Feder et al., 2022] Amir Feder, Katherine A. Keith, Emaad Manzoor, Reid Pryzant, Dhanya Sridhar, et al. Causal in- ference in natural language processing: Estimation, pre- diction, interpretation and beyond. Transactions of the As- sociation for Computational Linguistics, 10:1138-1158, October 2022.
  5. [Fern and Pope, 2021] Xiaoli Fern and Quintin Pope. Text counterfactuals via latent optimization and shapley-guided search. In Proceedings of the 2021 Conference on Em- pirical Methods in Natural Language Processing, pages 5578-5593, 2021.
  6. [Hao et al., 2021] Changying Hao, Liang Pang, Yanyan Lan, Yan Wang, Jiafeng Guo, and Xueqi Cheng. Sketch and customize: A counterfactual story generator. In Proc. of AAAI, 2021.
  7. [Hu and Li, 2021] Zhiting Hu and Li Erran Li. A causal lens for controllable text generation. Advances in Neural Infor- mation Processing Systems, 34:24941-24955, 2021.
  8. [Huang et al., 2021] Yi-Chong Huang, Xia-Chong Feng, Xiao-Cheng Feng, and Bing Qin. The factual inconsis- tency problem in abstractive text summarization: A sur- vey. CoRR, 2021.
  9. [Khrulkov et al., 2021] Valentin Khrulkov, Leyla Mir- vakhabova, Ivan Oseledets, and Artem Babenko. Disen- tangled representations from non-disentangled models, 2021.
  10. [Kusner et al., 2015] Matt Kusner, Yu Sun, Nicholas Kolkin, and Kilian Weinberger. From word embeddings to docu- ment distances. In Proc. of ICML, 2015.
  11. [Lee et al., 2020] Wonkwang Lee, Donggyun Kim, Se- unghoon Hong, and Honglak Lee. High-fidelity synthe- sis with disentangled representation. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision -ECCV 2020, pages 157-174, Cham, 2020. Springer International Publishing.
  12. [Lewis et al., 2020] Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proc. of ACL, 2020.
  13. [Lin, 2004] Chin-Yew Lin. ROUGE: A package for auto- matic evaluation of summaries. In Text Summarization Branches Out, 2004.
  14. [Liu et al., 2021] Qi Liu, Matt Kusner, and Phil Blunsom. Counterfactual data augmentation for neural machine translation. In Proc. of NAACL, 2021.
  15. [Lu et al., 2017] Jiasen Lu, Caiming Xiong, Devi Parikh, and Richard Socher. Knowing when to look: Adaptive at- tention via a visual sentinel for image captioning. In Proc. of CVPR, 2017.
  16. [Luo et al., 2016] Zhiyi Luo, Yuchen Sha, Kenny Q. Zhu, Seung-won Hwang, and Zhongyuan Wang. Commonsense causal reasoning between short texts. In Proceedings of the International Conference on Principles of Knowledge Representation and Reasoning, page 421-430, 2016.
  17. [Pearl et al., 2016] Judea Pearl, Madelyn Glymour, and Nicholas P Jewell. Causal inference in statistics: A primer. John Wiley & Sons, 2016.
  18. [Qin et al., 2019] Lianhui Qin, Antoine Bosselut, Ari Holtz- man, Chandra Bhagavatula, Elizabeth Clark, and Yejin Choi. Counterfactual story reasoning and generation. In Proc. of EMNLP, 2019.
  19. [Qin et al., 2020] Lianhui Qin, Vered Shwartz, Peter West, Chandra Bhagavatula, Jena D. Hwang, Ronan Le Bras, Antoine Bosselut, and Yejin Choi. Back to the future: Unsupervised backprop-based decoding for counterfac- tual and abductive commonsense reasoning. In Proc. of EMNLP, 2020.
  20. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 2019.
  21. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140):1-67, 2020.
  22. [Ren et al., 2022] Xuanchi Ren, Tao Yang, Yuwang Wang, and Wenjun Zeng. Learning disentangled representation by exploiting pretrained generative models: A contrastive learning view. In International Conference on Learning Representations, 2022.
  23. [Roese, 1997] Neal J Roese. Counterfactual thinking. Psy- chological bulletin, 1997.
  24. [Schölkopf et al., 2021] Bernhard Schölkopf, Francesco Lo- catello, Stefan Bauer, Nan Rosemary Ke, Nal Kalchbren- ner, Anirudh Goyal, and Yoshua Bengio. Toward causal representation learning. Proceedings of the IEEE, 2021.
  25. [Vasilakes et al., 2022] Jake Vasilakes, Chrysoula Zerva, Makoto Miwa, and Sophia Ananiadou. Learning disentan- gled representations of negation and uncertainty. In Pro- ceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8380-8397, Dublin, Ireland, May 2022. Association for Computational Linguistics.
  26. [Voita et al., 2018] Elena Voita, Pavel Serdyukov, Rico Sen- nrich, and Ivan Titov. Context-aware neural machine trans- lation learns anaphora resolution. In Proc. of ACL, 2018.
  27. [Wang et al., 2019] Ke Wang, Hang Hua, and Xiaojun Wan. Controllable unsupervised text attribute transfer via edit- ing entangled latent representation. Advances in Neural Information Processing Systems, 32, 2019.
  28. [Wu et al., 2021] Tongshuang Wu, Marco Tulio Ribeiro, Jef- frey Heer, and Daniel Weld. Polyjuice: Generating coun- terfactuals for explaining, evaluating, and improving mod- els. In Proc. of ACL, 2021.
  29. [Yamada et al., 2019] Masanori Yamada, Heecheol Kim, Kosuke Miyoshi, and Hiroshi Yamakawa. Favae: Se- quence disentanglement using information bottleneck principle, 2019.
  30. [Yang et al., 2021] Yazheng Yang, Boyuan Pan, Deng Cai, and Huan Sun. Topnet: Learning from neural topic model to generate long stories. In Proc. of KDD, 2021.
  31. [Zellers et al., 2019] Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a ma- chine really finish your sentence? In Proc. of ACL, 2019.
  32. [Zhang* et al., 2020] Tianyi Zhang*, Varsha Kishore*, Felix Wu*, Kilian Q. Weinberger, and Yoav Artzi. Bertscore: Evaluating text generation with bert. In Proc. of ICLR, 2020.
  33. [Zhu et al., 2023] Jiageng Zhu, Hanchen Xie, and Wael Abd- Almageed. Sw-vae: Weakly supervised learn disentangled representation vianbsp;latent factor swapping. In Com- puter Vision -ECCV 2022 Workshops: Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part II, page 73-87, Berlin, Heidelberg, 2023. Springer-Verlag.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards