Proceedings

Explainable Text Classification via Attentive and Targeted Mixing Data Augmentation

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 5085-5094.

https://doi.org/10.24963/ijcai.2023/565

Abstract

Mixing data augmentation methods have been widely used in text classification recently. However, existing methods do not control the quality of augmented data and have low model explainability. To tackle these issues, this paper proposes an explainable text classification solution based on attentive and targeted mixing data augmentation, ATMIX. Instead of selecting data for augmentation without control, ATMIX focuses on the misclassified training samples as the target for augmentation to better improve the model's capability. Meanwhile, to generate meaningful augmented samples, it adopts a self-attention mechanism to understand the importance of the subsentences in a text, and cut and mix the subsentences between the misclassified and correctly classified samples wisely. Furthermore, it employs a novel dynamic augmented data selection framework based on the loss function gradient to dynamically optimize the augmented samples for model training. In the end, we develop a new model explainability evaluation method based on subsentence attention and conduct extensive evaluations over multiple real-world text datasets. The results indicate that ATMIX is more effective with higher explainability than the typical classification models, hidden-level, and input-level mixup models.

  1. [Chen and Ji, 2019] Hanjie Chen and Yangfeng Ji. Improv- ing the explainability of neural sentiment classifiers via data augmentation. arXiv preprint arXiv:1909.04225, 2019.
  2. [Chen et al., 2020] Jiaao Chen, Zichao Yang, and Diyi Yang. Mixtext: Linguistically-informed interpolation of hidden space for semi-supervised text classification. In Proceed- ings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2147-2157, 2020.
  3. [Dabouei et al., 2021] Ali Dabouei, Sobhan Soleymani, Fariborz Taherkhani, and Nasser M Nasrabadi. Supermix: Supervising the mixing data augmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 13794-13803, 2021.
  4. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understand- ing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, 2019.
  5. [Edunov et al., 2018] Sergey Edunov, Myle Ott, Michael Auli, and David Grangier. Understanding back-translation at scale. In Proceedings of the 2018 Conference on Em- pirical Methods in Natural Language Processing, pages 489-500, 2018.
  6. [Ethayarajh et al., 2019] Kawin Ethayarajh, David Duve- naud, and Graeme Hirst. Towards understanding lin- ear word analogies. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3253-3262, 2019.
  7. [Feng et al., 2021] Steven Y Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, and Eduard Hovy. A survey of data augmentation approaches for nlp. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 968-988, 2021.
  8. [Guo et al., 2019] Hongyu Guo, Yongyi Mao, and Richong Zhang. Augmenting data with mixup for sentence classification: An empirical study. arXiv preprint arXiv:1905.08941, 2019.
  9. [Guo et al., 2021] Biyang Guo, Sonqiao Han, and Hailiang Huang. What have been learned & what should be learned? an empirical study of how to selectively augment text for classification. arXiv preprint arXiv:2109.00175, 2021.
  10. [Guo, 2020] Hongyu Guo. Nonlinear mixup: Out-of- manifold data augmentation for text classification. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, pages 4044-4051, 2020.
  11. [Karimi et al., 2021] Akbar Karimi, Leonardo Rossi, and Andrea Prati. Aeda: An easier data augmentation tech- nique for text classification. In Findings of the Associa- tion for Computational Linguistics: EMNLP 2021, pages 2748-2754, 2021.
  12. [Kim, 2014] Yoon Kim. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Con- ference on Empirical Methods in Natural Language Pro- cessing (EMNLP), pages 1746-1751, 2014.
  13. [Lan et al., 2019] Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Sori- cut. Albert: A lite bert for self-supervised learning of lan- guage representations. arXiv preprint arXiv:1909.11942, 2019.
  14. [Levy and Goldberg, 2014] Omer Levy and Yoav Goldberg. Neural word embedding as implicit matrix factorization. Advances in neural information processing systems, 27, 2014.
  15. [Li et al., 2020] Bohan Li, Hao Zhou, Junxian He, Mingx- uan Wang, Yiming Yang, and Lei Li. On the sentence embeddings from pre-trained language models. arXiv preprint arXiv:2011.05864, 2020.
  16. [Lundberg and Lee, 2017] Scott M Lundberg and Su-In Lee. A unified approach to interpreting model predictions. Advances in neural information processing systems, 30, 2017.
  17. [Luque, 2019] Franco M Luque. Atalaya at tass 2019: Data augmentation and robust embeddings for sentiment analy- sis. arXiv preprint arXiv:1909.11241, 2019.
  18. [Maas et al., 2011] Andrew Maas, Raymond E Daly, Peter T Pham, Dan Huang, Andrew Y Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Pro- ceedings of the 49th annual meeting of the association for computational linguistics: Human language technologies, pages 142-150, 2011.
  19. [Quteineh et al., 2020] Husam Quteineh, Spyridon Samoth- rakis, and Richard Sutcliffe. Textual data augmentation for efficient active learning on tiny datasets. In Proceed- ings of the 2020 Conference on Empirical Methods in Nat- ural Language Processing (EMNLP), pages 7400-7410. Association for Computational Linguistics, 2020.
  20. [Ribeiro et al., 2016] Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. " why should i trust you?" explain- ing the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowl- edge discovery and data mining, pages 1135-1144, 2016.
  21. [Ribeiro et al., 2018] Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. Anchors: High-precision model- agnostic explanations. In Proceedings of the AAAI con- ference on artificial intelligence, volume 32, 2018.
  22. [Sawhney et al., 2022] Ramit Sawhney, Megh Thakkar, Shrey Pandit, Ritesh Soun, Di Jin, Diyi Yang, and Lucie Flek. Dmix: Adaptive distance-aware interpolative mixup. In Proceedings of the 60th Annual Meeting of the Associ- ation for Computational Linguistics (Volume 2: Short Pa- pers), pages 606-612, 2022.
  23. [Sennrich et al., 2016] Rico Sennrich, Barry Haddow, and Alexandra Birch. Improving neural machine translation models with monolingual data. In Proceedings of the 54th Annual Meeting of the Association for Computational Lin- guistics (Volume 1: Long Papers), pages 86-96, 2016.
  24. [Socher et al., 2013] Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1631-1642, 2013.
  25. [Sun et al., 2020] Lichao Sun, Congying Xia, Wenpeng Yin, Tingting Liang, S Yu Philip, and Lifang He. Mixup- transformer: Dynamic data augmentation for nlp tasks. In Proceedings of the 28th International Conference on Com- putational Linguistics, pages 3436-3440, 2020.
  26. [Uddin et al., 2020] AFM Shahab Uddin, Mst Sirazam Monira, Wheemyung Shin, TaeChoong Chung, and Sung- Ho Bae. Saliencymix: A saliency guided data augmen- tation strategy for better regularization. In International Conference on Learning Representations, 2020.
  27. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
  28. [Wang et al., 2022] Yufei Wang, Can Xu, Qingfeng Sun, Huang Hu, Chongyang Tao, Xiubo Geng, and Daxin Jiang. Promda: Prompt-based data augmentation for low- resource nlu tasks. arXiv preprint arXiv:2202.12499, 2022.
  29. [Wei and Zou, 2019] Jason Wei and Kai Zou. Eda: Easy data augmentation techniques for boosting performance on text classification tasks. In Proceedings of the 2019 Confer- ence on Empirical Methods in Natural Language Process- ing and the 9th International Joint Conference on Natu- ral Language Processing (EMNLP-IJCNLP), pages 6382- 6388, 2019.
  30. [Wickramanayake et al., 2021] Sandareka Wickra- manayake, Wynne Hsu, and Mong-Li Lee. Explanation- based data augmentation for image classification. In Advances in Neural Information Processing Systems, 2021.
  31. [Xie et al., 2020] Qizhe Xie, Zihang Dai, Eduard Hovy, Thang Luong, and Quoc Le. Unsupervised data augmen- tation for consistency training. Advances in Neural Infor- mation Processing Systems, 33:6256-6268, 2020.
  32. [Yang et al., 2020] Yiben Yang, Chaitanya Malaviya, Jared Fernandez, Swabha Swayamdipta, Ronan Le Bras, Ji- Ping Wang, Chandra Bhagavatula, Yejin Choi, and Doug Downey. Generative data augmentation for commonsense reasoning. In Findings of the Association for Computa- tional Linguistics: EMNLP 2020, pages 1008-1025, 2020.
  33. [Yoon et al., 2021] Soyoung Yoon, Gyuwan Kim, and Kyu- min Park. Ssmix: Saliency-based span mixup for text clas- sification. In Findings of the Association for Computa- tional Linguistics: ACL-IJCNLP 2021, pages 3225-3234, 2021.
  34. [Yun et al., 2019] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In Proceedings of the IEEE/CVF international conference on computer vision, pages 6023- 6032, 2019.
  35. [Zhang and Wallace, 2015] Ye Zhang and Byron Wallace. A sensitivity analysis of (and practitioners' guide to) convo- lutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820, 2015.
  36. [Zhang et al., 2018] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In International Conference on Learning Representations, 2018.
  37. [Zhang et al., 2022] Le Zhang, Zichao Yang, and Diyi Yang. Treemix: Compositional constituency-based data augmen- tation for natural language understanding. arXiv preprint arXiv:2205.06153, 2022.
  38. [Zhao et al., 2022] Minyi Zhao, Lu Zhang, Yi Xu, Jian- dong Ding, Jihong Guan, and Shuigeng Zhou. Ep- ida: An easy plug-in data augmentation framework for high performance text classification. arXiv preprint arXiv:2204.11205, 2022.
  39. [Zhou et al., 2022] Jing Zhou, Yanan Zheng, Jie Tang, Li Jian, and Zhilin Yang. Flipda: Effective and robust data augmentation for few-shot learning. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8646-8665, 2022.

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

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