This repository contains the datasets and Jupyter notebooks for Aspect Identification (AI) (Aspect Extraction (AE) or Aspect Category Classification (ACC)) and Aspect Polarity Classification (APC) as part of our research on improving neutral sentiment classification in Aspect-Based Sentiment Analysis (ABSA).
Aspect-Based Sentiment Analysis (ABSA) provides a detailed understanding of user opinions by identifying specific aspects within textual data and evaluating the sentiment associated with each. A key issue in this domain is the misclassification of neutral cases, where aspects are mentioned without a clear positive or negative sentiment.
This study focuses on improving the classification of neutral sentiments by addressing existing challenges such as dataset imbalances, context overgeneralization, and unrelated aspect-sentence pairs. The datasets used for this research includes the SemEval 2015 - Laptop and Restaurant domains and the FABSA dataset. Two main tasks are addressed: aspect identification (aspect extraction or aspect category classification) and aspect polarity classification.
To achieve the study's objectives, BERT models were fine-tuned using LoRA-based Parameter-Efficient Fine-Tuning to optimize aspect identification and reduce context overgeneralization. Additionally, data augmentation was employed to address the issue of unrelated aspect-sentence pairs, improving the alignment between aspects and their corresponding sentiments. Class-weighted DeBERTa training was employed to mitigate dataset imbalances by assigning increased significance to neutral instances, thereby enhancing the model's capability to accurately classify neutral sentiments. The proposed approach demonstrated significant improvements in accurately identifying and classifying neutral sentiments.
-
Clone the Repository
git clone https://github.com/surabhiwaingankar/NeutralABSA.git cd NeutralABSA -
Explore the Notebooks
- Open the Jupyter notebooks provided in the repository to run aspect extraction and aspect polarity classification models.
- Ensure you have Jupyter Notebook or JupyterLab installed to execute the notebooks.
-
Datasets Used
- SemEval-2015 Task 12 Laptop
- SemEval-2015 Task 12 Restaurant
- FABSA