Proceedings

T-T: Table Transformer for Tagging-based Aspect Sentiment Triplet Extraction

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8222-8230.

https://doi.org/10.24963/ijcai.2025/914

Abstract

Aspect sentiment triplet extraction (ASTE) aims to extract triplets composed of aspect terms, opinion terms, and sentiment polarities from given sentences. The table tagging method is a popular approach to addressing this task, which encodes a sentence into a 2-dimensional table, allowing for the tagging of relations between any two words. Previous efforts have focused on designing various downstream relation learning modules to better capture interactions between tokens in the table, revealing that a stronger capability in relation capture can lead to greater improvements in the model. Motivated by this, we attempt to directly utilize transformer layers as downstream relation learning modules. Due to the powerful semantic modeling capability of transformers, it is foreseeable that this will lead to excellent improvement. However, owing to the quadratic relation between the length of the table and the length of the input sentence sequence, using transformers directly faces two challenges: overly long table sequences and unfair local attention interaction. To address these challenges, we propose a novel Table-Transformer (T-T) for the tagging-based ASTE method. Specifically, we introduce a stripe attention mechanism with a loop-shift strategy to tackle these challenges. The former modifies the global attention mechanism to only attend to a 2-dimensional local attention window, while the latter facilitates interaction between different attention windows. Extensive and comprehensive experiments demonstrate that the T-T, as a downstream relation learning module, achieves state-of-the-art performance with lower computational costs.

  1. Model 14res 14lap 15res 16res Avg-F1 P. R. F1 P. R. F1 P. R. F1 P. R. F1 Seq tagging Peng-two-stage [Peng et al., 2020] 43.24 63.66 51.46 37.38 50.38 42.87 48.07 57.51 52.32 46.96 64.24 54.21 50.22 TAGS ‡ [Xianlong et al., 2023] 74.92 73.81 74.36 64.69 61.89 63.26 69.55 65.25 67.33 75.40 72.48 74.17 69.78
  2. MRC-based COM-MRC [Zhai et al., 2022] 75.46 68.91 72.01 62.35 58.16 60.17 68.35 61.24 64.53 71.55 71.59 71.57 67.07 Triple-MRC [Zou et al., 2024] References
  3. [Beltagy et al., 2020] Iz Beltagy, Matthew E Peters, and Ar- man Cohan. Longformer: The long-document trans- former. arXiv preprint arXiv:2004.05150, 2020.
  4. [Chen et al., 2021] Zhexue Chen, Hong Huang, Bang Liu, Xuanhua Shi, and Hai Jin. Semantic and syntactic en- hanced aspect sentiment triplet extraction. In Findings of ACL-IJCNLP 2021, pages 1474-1483, Online, August 2021.
  5. [Chen et al., 2022] Hao Chen, Zepeng Zhai, Fangxiang Feng, Ruifan Li, and Xiaojie Wang. Enhanced multi- channel graph convolutional network for aspect sentiment triplet extraction. In ACL 2022, pages 2974-2985, 2022.
  6. [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 Jill Burstein, Christy Doran, and Thamar Solorio, editors, NAACL 2019, pages 4171-4186, Minneapolis, Minnesota, June 2019.
  7. [Dozat and Manning, 2017] Timothy Dozat and Christo- pher D. Manning. Deep biaffine attention for neural de- pendency parsing. In International Conference on Learn- ing Representations, 2017.
  8. [Gao et al., 2022] Tianhao Gao, Jun Fang, Hanyu Liu, Zhiyuan Liu, Chao Liu, Pengzhang Liu, Yongjun Bao, and Weipeng Yan. LEGO-ABSA: A prompt-based task assemblable unified generative framework for multi-task aspect-based sentiment analysis. In ICCL, pages 7002- 7012, Gyeongju, Republic of Korea, October 2022.
  9. [Gou et al., 2023] Zhibin Gou, Qingyan Guo, and Yujiu Yang. MvP: Multi-view prompting improves aspect sen- timent tuple prediction. In Anna Rogers, Jordan Boyd- Graber, and Naoaki Okazaki, editors, ACL, pages 4380- 4397, Toronto, Canada, July 2023.
  10. [Han et al., 2023] Dongchen Han, Xuran Pan, Yizeng Han, Shiji Song, and Gao Huang. Flatten transformer: Vision transformer using focused linear attention. In Proceedings of the IEEE/CVF international conference on computer vi- sion, pages 5961-5971, 2023.
  11. [Jing et al., 2021] Hongjiang Jing, Zuchao Li, Hai Zhao, and Shu Jiang. Seeking common but distinguishing difference, a joint aspect-based sentiment analysis model. In EMNLP, 2021.
  12. [Katharopoulos et al., 2020] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and Franc ¸ois Fleuret. Transformers are rnns: Fast autoregressive transformers with linear attention. In International conference on machine learning, pages 5156-5165. PMLR, 2020.
  13. [Li et al., 2023a] Dongxu Li, Zhihao Yang, Yuquan Lan, Yunqi Zhang, Hui Zhao, and Gang Zhao. Simple approach for aspect sentiment triplet extraction using span-based segment tagging and dual extractors. In SIGIR, SIGIR '23, page 2374-2378, New York, NY, USA, 2023. Association for Computing Machinery.
  14. [Li et al., 2023b] Pan Li, Ping Li, and Kai Zhang. Dual- channel span for aspect sentiment triplet extraction. In Houda Bouamor, Juan Pino, and Kalika Bali, editors, EMNLP, pages 248-261, Singapore, December 2023. As- sociation for Computational Linguistics.
  15. [Liang et al., 2023a] Shuo Liang, Wei Wei, Xian ling Mao, Yuanyuan Fu, Rui Fang, and Dangyang Chen. Stage: Span tagging and greedy inference scheme for aspect sentiment triplet extraction. In AAAI 2023, 2023.
  16. [Liang et al., 2023b] Shuo Liang, Wei Wei, Xian-Ling Mao, Yuanyuan Fu, Rui Fang, and Dangyang Chen. Stage: span tagging and greedy inference scheme for aspect sentiment triplet extraction. In Proceedings of the AAAI conference on artificial intelligence, volume 37, pages 13174-13182, 2023.
  17. [Liu et al., 2021] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In ICCV 2021, pages 9992-10002. IEEE, 2021.
  18. [Mao et al., 2021] Yue Mao, Yi Shen, Chao Yu, and Longjun Cai. A joint training dual-mrc framework for aspect based sentiment analysis. In AAAI 2021, pages 13543-13551, 2021.
  19. [Mukherjee et al., 2023] Rajdeep Mukherjee, Nithish Kan- nen, Saurabh Pandey, and Pawan Goyal. CONTRASTE: Supervised contrastive pre-training with aspect-based prompts for aspect sentiment triplet extraction. In Houda Bouamor, Juan Pino, and Kalika Bali, editors, Findings of EMNLP 2023, pages 12065-12080, Singapore, December 2023. Association for Computational Linguistics.
  20. [Ning et al., 2023] Jinzhong Ning, Zhihao Yang, Yuanyuan Sun, Zhizheng Wang, and Hongfei Lin. OD-RTE: A one-stage object detection framework for relational triple extraction. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki, editors, ACL, pages 11120-11135, Toronto, Canada, July 2023. Association for Computa- tional Linguistics.
  21. [Ouyang et al., 2022] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instruc- tions with human feedback. Advances in neural informa- tion processing systems, 35:27730-27744, 2022.
  22. [Peng et al., 2020] Haiyun Peng, Lu Xu, Lidong Bing, Fei Huang, Wei Lu, and Luo Si. Knowing what, how and why: A near complete solution for aspect-based sentiment anal- ysis. In AAAI, pages 8600-8607, 2020.
  23. [Peng et al., 2024a] Kun Peng, Lei Jiang, Qian Li, Haoran Li, Xiaoyan Yu, Li Sun, Shuo Sun, Yanxian Bi, and Hao Peng. Table-filling via mean teacher for cross-domain as- pect sentiment triplet extraction. In CIKM 2024, pages 1888-1898, 2024.
  24. [Peng et al., 2024b] Kun Peng, Lei Jiang, Hao Peng, Rui Liu, Zhengtao Yu, Jiaqian Ren, Zhifeng Hao, and Philip S Yu. Prompt based tri-channel graph convolution neural network for aspect sentiment triplet extraction. In SDM 2024, pages 145-153, 2024.
  25. [Pontiki et al., 2014] Maria Pontiki, Dimitris Galanis, John Pavlopoulos, Harris Papageorgiou, Ion Androutsopoulos, and Suresh Manandhar. SemEval-2014 task 4: Aspect based sentiment analysis. In Proceedings of the 8th In- ternational Workshop on Semantic Evaluation (SemEval 2014), pages 27-35. Association for Computational Lin- guistics, August 2014.
  26. [Pontiki et al., 2015] Maria Pontiki, Dimitris Galanis, Haris Papageorgiou, Suresh Manandhar, and Ion Androutsopou- los. SemEval-2015 task 12: Aspect based sentiment anal- ysis. In Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), pages 486-495. Association for Computational Linguistics, June 2015.
  27. [Pontiki et al., 2016] Maria Pontiki, Dimitris Galanis, Haris Papageorgiou, Ion Androutsopoulos, Suresh Manand- har, Mohammad AL-Smadi, Mahmoud Al-Ayyoub, Yanyan Zhao, Bing Qin, Orphée De Clercq, Véronique Hoste, Marianna Apidianaki, Xavier Tannier, Na- talia Loukachevitch, Evgeniy Kotelnikov, Nuria Bel, Salud María Jiménez-Zafra, and Güls ¸en Eryigit. SemEval- 2016 task 5: Aspect based sentiment analysis. In Pro- ceedings of the 10th International Workshop on Seman- tic Evaluation (SemEval-2016). Association for Computa- tional Linguistics, June 2016.
  28. [Sun et al., 2024] Qiao Sun, Liujia Yang, Minghao Ma, Nanyang Ye, and Qinying Gu. MiniConGTS: A near ulti- mate minimalist contrastive grid tagging scheme for aspect sentiment triplet extraction. In EMNLP, pages 2817-2834, 2024.
  29. [Tay et al., 2022] Yi Tay, Mostafa Dehghani, Dara Bahri, and Donald Metzler. Efficient transformers: A survey. ACM Computing Surveys, 55(6):1-28, 2022.
  30. [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.
  31. [Wang et al., 2020] Sinong Wang, Belinda Z Li, Madian Khabsa, Han Fang, and Hao Ma. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768, 2020.
  32. [Wang et al., 2023] Zengzhi Wang, Qiming Xie, Zixiang Ding, Yi Feng, and Rui Xia. Is chatgpt a good sentiment analyzer? a preliminary study. ArXiv, abs/2304.04339, 2023.
  33. [Wu et al., 2020] Zhen Wu, Chengcan Ying, Fei Zhao, Zhi- fang Fan, Xinyu Dai, and Rui Xia. Grid tagging scheme for aspect-oriented fine-grained opinion extraction. In Findings of EMNLP, pages 2576-2585, 2020.
  34. [Xianlong et al., 2023] Luo Xianlong, Meng Yang, and Yi- hao Wang. Tagging-assisted generation model with en- coder and decoder supervision for aspect sentiment triplet extraction. In EMNLP, pages 2078-2093, 2023.
  35. [Xu et al., 2020] Lu Xu, Hao Li, Wei Lu, and Lidong Bing. Position-aware tagging for aspect sentiment triplet extrac- tion. In EMNLP, pages 2339-2349, 2020.
  36. [Xu et al., 2021] Lu Xu, Yew Ken Chia, and Lidong Bing. Learning span-level interactions for aspect sentiment triplet extraction. In ACL-IJCNLP, pages 4755-4766, 2021.
  37. [Zaheer et al., 2020] Manzil Zaheer, Guru Guruganesh, Ku- mar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santi- ago Ontañón, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, and Amr Ahmed. Big bird: Transformers for longer sequences. In NeurIPS, 2020.
  38. [Zhai et al., 2022] Zepeng Zhai, Hao Chen, Fangxiang Feng, Ruifan Li, and Xiaojie Wang. COM-MRC: A COntext- masked machine reading comprehension framework for aspect sentiment triplet extraction. In EMNLP 2022, 2022.
  39. [Zhang et al., 2021] Wenxuan Zhang, Xin Li, Yang Deng, Lidong Bing, and Wai Lam. Towards generative aspect- based sentiment analysis. In ACL-IJCNLP, pages 504- 510, 2021.
  40. [Zhang et al., 2022a] Wenxuan Zhang, Xin Li, Yang Deng, and et al. A survey on aspect-based sentiment analysis: Tasks, methods, and challenges. IEEE Transactions on Knowledge and Data Engineering, 2022.
  41. [Zhang et al., 2022b] Yice Zhang, Yifan Yang, Yihui Li, and et al. Boundary-driven table-filling for aspect sentiment triplet extraction. In EMNLP, pages 6485-6498, 2022.
  42. [Zhang et al., 2023] Qingru Zhang, Dhananjay Ram, Cole Hawkins, Sheng Zha, and Tuo Zhao. Efficient long-range transformers: You need to attend more, but not necessarily at every layer. In Findings of EMNLP 2023, pages 2775- 2786, December 2023.
  43. [Zhang et al., 2024] Wenxuan Zhang, Yue Deng, Bing Liu, Sinno Pan, and Lidong Bing. Sentiment analysis in the era of large language models: A reality check. In Findings of NAACL 2024, pages 3881-3906, June 2024.
  44. [Zhao et al., 2024] Xiaowei Zhao, Yong Zhou, and Xiujuan Xu. Dual encoder: Exploiting the potential of syntactic and semantic for aspect sentiment triplet extraction. In CoNLL, 2024.
  45. [Zou et al., 2024] Wang Zou, Wubo Zhang, Wenhuan Wu, and Zhuoyan Tian. A multi-task shared cascade learning for aspect sentiment triplet extraction using BERT-MRC. Cogn. Comput., 16(4):1554-1571, 2024.

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

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