Proceedings

Position Debiasing Fine-Tuning for Causal Perception in Long-Term Dialogue

Download BibTeX Cite

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

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

Abstract

The core of the dialogue system is to generate relevant, informative, and human-like responses based on extensive dialogue history. Recently, dialogue generation domain has seen mainstream adoption of large language models (LLMs), due to its powerful capability in generating utterances. However, there is a natural deficiency for such models, that is, inherent position bias, which may lead them to pay more attention to the nearby utterances instead of causally relevant ones, resulting in generating irrelevant and generic responses in long-term dialogue. To alleviate such problem, in this paper, we propose a novel method, named Causal Perception long-term Dialogue framework (CPD), which employs perturbation-based causal variable discovery method to extract casually relevant utterances from the dialogue history and enhances model causal perception during fine-tuning. Specifically, a local-position awareness method is proposed in CPD for inter-sentence position correlation elimination, which helps models extract causally relevant utterances based on perturbations. Then, a casual-perception fine-tuning strategy is also proposed, to enhance the capability of discovering the causal invariant factors, by differently perturbing causally relevant and non-casually relevant ones for response generation. Experimental results on two datasets prove that our proposed method can effectively alleviate the position bias for multiple LLMs and achieve significant progress compared with existing baselines.

  1. [Abraham et al., 2022] Eldar D Abraham, Karel D'Oosterlinck, Amir Feder, Yair Gat, Atticus Geiger, Christopher Potts, Roi Reichart, and Zhengxuan Wu. Ce- bab: Estimating the causal effects of real-world concepts on nlp model behavior. Advances in Neural Information Processing Systems, 35:17582-17596, 2022.
  2. [Alaa and Van Der Schaar, 2019] Ahmed Alaa and Mihaela Van Der Schaar. Validating causal inference models via influence functions. In International Conference on Ma- chine Learning, pages 191-201. PMLR, 2019.
  3. [Amor et al., 2023] Mehdi Ben Amor, Michael Granitzer, and Jelena Mitrović. Technical report on token position bias in transformers, 2023.
  4. [Arjovsky et al., 2019] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019.
  5. [Austin, 2011] Peter C Austin. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate behavioral research, 46(3):399-424, 2011.
  6. [Chang et al., 2020] Shiyu Chang, Yang Zhang, Mo Yu, and Tommi Jaakkola. Invariant rationalization. In Inter- national Conference on Machine Learning, pages 1448- 1458. PMLR, 2020.
  7. [Dawid, 1980] A Philip Dawid. Conditional independence for statistical operations. The Annals of Statistics, 8(3):598-617, 1980.
  8. [Dettmers et al., 2022] Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. Gpt3. int8 (): 8-bit ma- trix multiplication for transformers at scale. Advances in Neural Information Processing Systems, 35:30318-30332, 2022.
  9. [Feng et al., 2023] Tao Feng, Lizhen Qu, and Gholamreza Haffari. Less is more: Mitigate spurious correlations for open-domain dialogue response generation models by causal discovery. Transactions of the Association for Com- putational Linguistics, 11:511-530, 2023.
  10. [He et al., 2023] Junqing He, Kunhao Pan, Xiaoqun Dong, Zhuoyang Song, Yibo Liu, Yuxin Liang, Hao Wang, Qian- guo Sun, Songxin Zhang, Zejian Xie, et al. Never lost in the middle: Improving large language models via attention strengthening question answering. arXiv e-prints, pages arXiv-2311, 2023.
  11. [Horgan, 1995] J. Horgan. From complexity to perplexity. Scientific American, 272(6):104-109, 1995.
  12. [Hu et al., 2021] Edward J Hu, Phillip Wallis, Zeyuan Allen- Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2021.
  13. [Ivgi et al., 2023] Maor Ivgi, Uri Shaham, and Jonathan Be- rant. Efficient long-text understanding with short-text models. Transactions of the Association for Computa- tional Linguistics, 11:284-299, 2023.
  14. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Yoshua Bengio and Yann LeCun, editors, 3rd International Con- ference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Pro- ceedings, 2015.
  15. [Ko et al., 2020] Miyoung Ko, Jinhyuk Lee, Hyunjae Kim, Gangwoo Kim, and Jaewoo Kang. Look at the first sen- tence: Position bias in question answering. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu, editors, Proceedings of the 2020 Conference on Empirical Meth- ods in Natural Language Processing, EMNLP 2020, On- line, November 16-20, 2020, pages 1109-1121. Associa- tion for Computational Linguistics, 2020.
  16. [Krishna and Murty, 1999] K Krishna and M Narasimha Murty. Genetic k-means algorithm. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 29(3):433-439, 1999.
  17. [Lee et al., 2023] Gibbeum Lee, Volker Hartmann, Jongho Park, Dimitris Papailiopoulos, and Kangwook Lee. Prompted llms as chatbot modules for long open-domain conversation. In Anna Rogers, Jordan L. Boyd-Graber, and Naoaki Okazaki, editors, Findings of the Associa- tion for Computational Linguistics: ACL 2023, Toronto, Canada, July 9-14, 2023, pages 4536-4554. Association for Computational Linguistics, 2023.
  18. [Li et al., 2016] Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. A diversity-promoting objective function for neural conversation models. In Kevin Knight, Ani Nenkova, and Owen Rambow, editors, NAACL HLT 2016, The 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego California, USA, June 12-17, 2016, pages 110-119. The Association for Computational Linguistics, 2016.
  19. [Li et al., 2023] Zongjie Li, Chaozheng Wang, Pingchuan Ma, Daoyuan Wu, Shuai Wang, Cuiyun Gao, and Yang Liu. Split and merge: Aligning position biases in large language model based evaluators. arXiv preprint arXiv:2310.01432, 2023.
  20. [Lin and Och, 2004] Chin-Yew Lin and Franz Josef Och. Automatic evaluation of machine translation quality using longest common subsequence and skip-bigram statistics. In Proceedings of the 42nd Annual Meeting of the Associ- ation for Computational Linguistics (ACL-04), pages 605- 612, 2004.
  21. [Liu et al., 2021] Siyang Liu, Chujie Zheng, Orianna De- masi, Sahand Sabour, Yu Li, Zhou Yu, Yong Jiang, and Minlie Huang. Towards emotional support dialog systems. In Proceedings of the 59th Annual Meeting of the Associ- ation for Computational Linguistics and the 11th Interna- tional Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 3469-3483, 2021.
  22. [Liu et al., 2022a] Jiayi Liu, Wei Wei, Zhixuan Chu, Xing Gao, Ji Zhang, Tan Yan, and Yulin Kang. Incorporating causal analysis into diversified and logical response gener- ation. In Proceedings of the 29th International Conference on Computational Linguistics, pages 378-388, 2022.
  23. [Liu et al., 2022b] Yifan Liu, Wei Wei, Jiayi Liu, Xianling Mao, Rui Fang, and Dangyang Chen. Improving per- sonality consistency in conversation by persona extending. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, pages 1350- 1359, 2022.
  24. [Liu et al., 2023a] Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language mod- els use long contexts. arXiv preprint arXiv:2307.03172, 2023.
  25. [Liu et al., 2023b] Yijin Liu, Xianfeng Zeng, Fandong Meng, and Jie Zhou. Instruction position matters in se- quence generation with large language models. arXiv preprint arXiv:2308.12097, 2023.
  26. [Liu et al., 2024] Zhongkun Liu, Zheng Chen, Mengqi Zhang, Zhaochun Ren, Zhumin Chen, and Pengjie Ren. Zero-shot position debiasing for large language models. arXiv preprint arXiv:2401.01218, 2024.
  27. [Lu et al., 2023] Zhenyi Lu, Wei Wei, Xiaoye Qu, Xian-Ling Mao, Dangyang Chen, and Jixiong Chen. Miracle: To- wards personalized dialogue generation with latent-space multiple personal attribute control. In Findings of the As- sociation for Computational Linguistics: EMNLP 2023, pages 5933-5957, 2023.
  28. [Madhavan et al., 2023] Rahul Madhavan, Rishabh Garg, Kahini Wadhawan, and Sameep Mehta. Cfl: Causally fair language models through token-level attribute controlled generation. In Findings of the Association for Computa- tional Linguistics: ACL 2023, pages 11344-11358, 2023.
  29. [Marshall et al., 2005] William L Marshall, Tony Ward, Ruth E Mann, Heather Moulden, Yolanda M Fernandez, Geris Serran, and Liam E Marshall. Working positively with sexual offenders: Maximizing the effectiveness of treatment. Journal of interpersonal violence, 20(9):1096- 1114, 2005.
  30. [Papineni et al., 2002] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for au- tomatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Com- putational Linguistics, July 6-12, 2002, Philadelphia, PA, USA, pages 311-318. ACL, 2002.
  31. [Pearl et al., 2016] Judea Pearl, Madelyn Glymour, and Nicholas P Jewell. Causal inference in statistics: A primer. John Wiley & Sons, 2016.
  32. [Peysakhovich and Lerer, 2023] Alexander Peysakhovich and Adam Lerer. Attention sorting combats recency bias in long context language models. arXiv preprint arXiv:2310.01427, 2023.
  33. [Rafetseder et al., 2013] Eva Rafetseder, Maria Schwitalla, and Josef Perner. Counterfactual reasoning: From child- hood to adulthood. Journal of experimental child psychol- ogy, 114(3):389-404, 2013.
  34. [Shanmugam, 2001] Ram Shanmugam. Causality: Models, reasoning, and inference : Judea pearl; cambridge uni- versity press, cambridge, uk, 2000, pp 384, ISBN 0-521- 77362-8. Neurocomputing, 41(1-4):189-190, 2001.
  35. [Wang et al., 2021] Benyou Wang, Lifeng Shang, Christina Lioma, Xin Jiang, Hao Yang, Qun Liu, and Jakob Grue Si- monsen. On position embeddings in BERT. In 9th Inter- national Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenRe- view.net, 2021.
  36. [Wang et al., 2023] Qingyue Wang, Liang Ding, Yanan Cao, Zhiliang Tian, Shi Wang, Dacheng Tao, and Li Guo. Recursively summarizing enables long-term dialogue memory in large language models. arXiv preprint arXiv:2308.15022, 2023.
  37. [Wei et al., 2021] Wei Wei, Jiayi Liu, Xianling Mao, Guib- ing Guo, Feida Zhu, Pan Zhou, Yuchong Hu, and Shanshan Feng. Target-guided emotion-aware chat ma- chine. ACM Transactions on Information Systems (TOIS), 39(4):1-24, 2021.
  38. [Xu et al., 2022a] Jing Xu, Arthur Szlam, and Jason Weston. Beyond goldfish memory: Long-term open-domain con- versation. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, Proceedings of the 60th An- nual Meeting of the Association for Computational Lin- guistics (Volume 1: Long Papers), ACL 2022, Dublin, Ire- land, May 22-27, 2022, pages 5180-5197. Association for Computational Linguistics, 2022.
  39. [Xu et al., 2022b] Xinchao Xu, Zhibin Gou, Wenquan Wu, Zheng-Yu Niu, Hua Wu, Haifeng Wang, and Shihang Wang. Long time no see! open-domain conversation with long-term persona memory. In Findings of the Association for Computational Linguistics: ACL 2022, pages 2639- 2650, 2022.

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

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