skip to main content
10.1145/3555776.3577633acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

A Cross-Domain Aspect-Based Sentiment Classification by Masking the Domain-Specific Words

Published:07 June 2023Publication History

ABSTRACT

The Aspect-Based Sentiment Classification (ABSC) models often suffer from a lack of training data in some domains. To exploit the abundant data from another domain, this work extends the original state-of-the-art LCR-Rot-hop++ model that uses a neural network with a rotatory attention mechanism for a cross-domain setting. More specifically, we propose a Domain-Independent Word Selector (DIWS) model that is used in combination with the LCR-Rot-hop++ model (DIWS-LCR-Rot-hop++). It uses attention weights from the domain classification task to determine whether a word is domain-specific or domain-independent, and discards domain-specific words when training and testing the LCR-Rot-hop++ model for cross-domain ABSC. Overall, our results confirm that DIWS-LCR-Rot-hop++ outperforms the original LCR-Rot-hop++ model under a cross-domain setting in case we impose a domain-dependent threshold value for deciding whether a word is domain-specific or not. For a target domain that is highly similar to the source domain, we find that a moderate attention threshold yields the best performance, while a target domain that is dissimilar requires a high attention threshold. Also, we observe information loss when we impose a too strict restriction and classify a small proportion of words as domain-independent.

References

  1. Gianni Brauwers and Flavius Frasincar. 2022. A Survey on Aspect-Based Sentiment Classification. Comput. Surveys (2022). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Xilun Chen and Claire Cardie. 2018. Multinomial Adversarial Networks for Multi-Domain Text Classification. In 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT 2018). ACL, 1226--1240.Google ScholarGoogle Scholar
  3. Li Dong, Furu Wei, Chuanqi Tan, Duyu Tang, Ming Zhou, and Ke Xu. 2014. Adaptive recursive neural network for target-dependent Twitter sentiment classification. In 52nd Annual Meeting of the Association for Computational Linguistics (ACL 2014). ACL, 49--54.Google ScholarGoogle ScholarCross RefCross Ref
  4. Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, François Laviolette, Mario Marchand, and Victor S. Lempitsky. 2017. Domain-Adversarial Training of Neural Networks. In Domain Adaptation in Computer Vision Applications. Springer, 189--209.Google ScholarGoogle Scholar
  5. Alex Graves and Jürgen Schmidhuber. 2005. Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Networks 18, 5-6 (2005), 602--610.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Jiang Guo, Darsh J. Shah, and Regina Barzilay. 2018. Multi-Source Domain Adaptation with Mixture of Experts. In 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP 2018). ACL, 4694--4703.Google ScholarGoogle Scholar
  7. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long Short-Term Memory. Neural Computation 9, 8 (1997), 1735--1780.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Minqing Hu and Bing Liu. 2004. Mining and summarizing customer reviews. In 10th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD 2004). ACM, 168--177.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Joris Knoester, Flavius Frasincar, and Maria Truşcă. 2022. Domain Adversarial Training for Aspect-Based Sentiment Analysis. In 23rd International Conference on Web Information Systems (WISE 2022) (LNCS). Springer.Google ScholarGoogle Scholar
  10. Zheng Li, Ying Wei, Yu Zhang, and Qiang Yang. 2018. Hierarchical Attention Transfer Network for Cross-Domain Sentiment Classification. In 32nd AAAI Conference on Artificial Intelligence (AAAI 2018). AAAI Press, 5852--5859.Google ScholarGoogle Scholar
  11. Bing Liu. 2020. Sentiment Analysis - Mining Opinions, Sentiments, and Emotions (second ed.). Cambridge University Press.Google ScholarGoogle Scholar
  12. Stephan Oepen, Marco Kuhlmann, Yusuke Miyao, Daniel Zeman, Silvie Cinková, Dan Flickinger, Jan Hajič, and Zdeňka Urešová. 2015. SemEval 2015 Task 18: Broad-Coverage Semantic Dependency Parsing. In 9th International Workshop on Semantic Evaluation (SemEval 2015). ACL, 915--926.Google ScholarGoogle Scholar
  13. Maria Pontiki, Dimitris Galanis, John Pavlopoulos, Harris Papageorgiou, Ion Androutsopoulos, and Suresh Manandhar. 2014. SemEval-2014 Task 4: Aspect Based Sentiment Analysis. In 8th International Workshop on Semantic Evaluation (SemEval 2014). ACL, 27--35.Google ScholarGoogle ScholarCross RefCross Ref
  14. Sebastian Ruder, Parsa Ghaffari, and John G. Breslin. 2016. A Hierarchical Model of Reviews for Aspect-based Sentiment Analysis. In 2016 Conference on Empirical Methods in Natural Language Processing (EMNLP 2016). ACL, 999--1005.Google ScholarGoogle ScholarCross RefCross Ref
  15. Xiaobing Sun and Wei Lu. 2020. Understanding Attention for Text Classification. In 58th Annual Meeting of the Association for Computational Linguistics, (ACL 2020). ACL, 3418--3428.Google ScholarGoogle Scholar
  16. Maria Mihaela Truşcâ, Daan Wassenberg, Flavius Frasincar, and Rommert Dekker. 2020. A hybrid approach for aspect-based sentiment analysis using deep contextual word embeddings and hierarchical attention. In 20th International Conference of Web Engineering (ICWE 2020) (LNCS), Vol. 12128. Springer, 365--380.Google ScholarGoogle Scholar
  17. Stefan van Berkum, Sophia van Megen, Max Savelkoul, Pim Weterman, and Flavius Frasincar. 2021. Fine-Tuning for Cross-Domain Aspect-Based Sentiment Classification. In 20th IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT 2021). ACM, 524--531.Google ScholarGoogle Scholar
  18. Olaf Wallaart and Flavius Frasincar. 2019. A Hybrid Approach for Aspect-Based Sentiment Analysis Using a Lexicalized Domain Ontology and Attentional Neural Models. In 16th Extended Sematic Web Conference (ESWC 2019) (LNCS), Vol. 11503. Springer, 363--378.Google ScholarGoogle ScholarCross RefCross Ref
  19. Jianhua Yuan, Yanyan Zhao, and Bing Qin. 2022. Learning to share by masking the non-shared for multi-domain sentiment classification. International Journal of Machine Learning and Cybernetics (2022), 1--14.Google ScholarGoogle ScholarCross RefCross Ref
  20. Meishan Zhang, Yue Zhang, and Duy-Tin Vo. 2016. Gated Neural Networks for Targeted Sentiment Analysis. In 30th AAAI Conference on Artificial Intelligence (AAAI 2016). AAAI Press, 3087--3093.Google ScholarGoogle Scholar
  21. Han Zhao, Shanghang Zhang, Guanhang Wu, José M. F. Moura, João Paulo Costeira, and Geoffrey J. Gordon. 2018. Adversarial Multiple Source Domain Adaptation. In 32nd International Conference on Neural Information Processing Systems (NIPS 2018). Curran Associates, 8568--8579.Google ScholarGoogle Scholar
  22. Renjie Zheng, Junkun Chen, and Xipeng Qiu. 2018. Same Representation, Different Attentions: Shareable Sentence Representation Learning from Multiple Tasks. In 27th International Joint Conference on Artificial Intelligence (IJCAI 2018). International Joint Conferences on Artificial Intelligence Organization, 4616--4622.Google ScholarGoogle ScholarCross RefCross Ref
  23. Shiliang Zheng and Rui Xia. 2018. Left-center-right separated neural network for aspect-based sentiment analysis with rotatory attention. arXiv preprint arXiv:1802.00892 (2018).Google ScholarGoogle Scholar
  24. Yftah Ziser and Roi Reichart. 2018. Pivot Based Language Modeling for Improved Neural Domain Adaptation. In 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT 2018). ACL, 1241--1251.Google ScholarGoogle Scholar

Index Terms

  1. A Cross-Domain Aspect-Based Sentiment Classification by Masking the Domain-Specific Words

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SAC '23: Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing
          March 2023
          1932 pages
          ISBN:9781450395175
          DOI:10.1145/3555776

          Copyright © 2023 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 7 June 2023

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate1,650of6,669submissions,25%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader