TASCI: transformers for aspect-based sentiment analysis with contextual intent integration
In this article, we present a novel Transformer-Based Aspect-Level Sentiment Classification with Intent (TASCI) model, designed to enhance sentiment analysis by integrating aspect-level sentiment classification with intent analysis. Traditional sentiment analysis methods often overlook the nuanced relationship between the intent behind a statement and the sentiment expressed toward specific aspects of an entity. TASCI addresses this gap by first extracting aspects using a self-attention mechanism and then employing a Transformer-based model to infer the speaker's intent from preceding sentences. This dual approach allows TASCI to contextualize sentiment analysis, providing a more accurate reflection of user opinions. We validate TASCI's performance on three benchmark datasets: Restaurant, Laptop, and Twitter, achieving state-of-the-art results with an accuracy of 89.10% and a macro-F1 score of 83.38% on the Restaurant dataset, 84.81% accuracy and 78.63% macro-F1 score on the Laptop dataset, and 79.08% accuracy and 77.27% macro-F1 score on the Twitter dataset. These results demonstrate that incorporating intent analysis significantly enhances the model's ability to capture complex sentiment expressions across different domains, thereby setting a new standard for aspect-level sentiment classification.
Authors
- Abdullah Albanyan (ORCID: https://orcid.org/0000-0002-2371-9400)
- Farzana Kulsoom (ORCID: https://orcid.org/0000-0002-0382-5724)
- Muhammad Aman (ORCID: https://orcid.org/0000-0001-9391-3535)
- Zahid Khan (ORCID: https://orcid.org/0000-0002-0710-2419)
- Hassan Nazeer Chaudhry (ORCID: https://orcid.org/0000-0002-2307-0920)
- Sajid Ullah Khan (ORCID: https://orcid.org/0000-0002-9300-1488)
Institutions
- Shanxi Agricultural University (CN)
- Prince Sattam Bin Abdulaziz University (SA)
- Harbin Engineering University (CN)
- University of Engineering and Technology Taxila (PK)
- Politecnico di Milano (IT)
Publication Details
- Journal
- PeerJ Computer Science
- Published
- 2025-05-06
- DOI
- https://doi.org/10.7717/peerj-cs.2760
- Citations
- 2
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 4.96
Funders
- Prince Sattam bin Abdulaziz University