[Paper Review] An Unsupervised Approach for Aspect Category Detection Using Soft Cosine Similarity Measure
This paper proposes an unsupervised method for aspect category detection using soft cosine similarity and k-means clustering on unlabeled review sentences, eliminating the need for labeled data or feature engineering. The approach achieves a 76.98% F1-score on the SemEval-2014 restaurant dataset, outperforming existing unsupervised and supervised baselines by a significant margin.
Aspect category detection is one of the important and challenging subtasks of aspect-based sentiment analysis. Given a set of pre-defined categories, this task aims to detect categories which are indicated implicitly or explicitly in a given review sentence. Supervised machine learning approaches perform well to accomplish this subtask. Note that, the performance of these methods depends on the availability of labeled train data, which is often difficult and costly to obtain. Besides, most of these supervised methods require feature engineering to perform well. In this paper, we propose an unsupervised method to address aspect category detection task without the need for any feature engineering. Our method utilizes clusters of unlabeled reviews and soft cosine similarity measure to accomplish aspect category detection task. Experimental results on SemEval-2014 restaurant dataset shows that proposed unsupervised approach outperforms several baselines by a substantial margin.
Motivation & Objective
- Address the challenge of aspect category detection in low-resource settings where labeled training data is scarce or unavailable.
- Eliminate the need for costly and time-consuming manual annotation of training data in aspect-based sentiment analysis.
- Reduce reliance on hand-crafted features by leveraging word embeddings and semantic similarity measures.
- Develop a robust, parameter-efficient unsupervised method that generalizes well across review sentences.
Proposed method
- Manually select 5 seed words per aspect category (e.g., 'food', 'service') to represent each category, excluding 'anecdotes/miscellaneous' due to its abstract nature.
- Use pre-trained word embeddings and compute the average embedding of each review sentence to represent its semantic content.
- Apply k-means clustering to group sentences based on Euclidean distance between their average word embeddings, forming k clusters.
- Compute soft cosine similarity between a test sentence and the seed words of each category to determine sentence-category similarity scores.
- Compute cluster-category similarity as the average soft cosine similarity of all sentences in the cluster with the category’s seed words.
- Interpolate the sentence’s category scores with the nearest cluster’s scores using a learned interpolation coefficient α, then normalize and apply a threshold for final category prediction.
Experimental results
Research questions
- RQ1Can an unsupervised method achieve competitive performance in aspect category detection without relying on labeled training data?
- RQ2How effective is soft cosine similarity in capturing semantic relationships between sentences and aspect categories when no explicit features are engineered?
- RQ3To what extent does clustering unlabeled sentences improve the detection of aspect categories compared to sentence-level similarity alone?
- RQ4What is the optimal balance between sentence-level and cluster-level similarity scores for accurate category prediction?
Key findings
- The proposed unsupervised method achieves a 76.98% F1-score on the SemEval-2014 restaurant dataset, significantly outperforming the best existing unsupervised baseline (Spreading Activation) by 9.98 percentage points.
- The method improves over the SemEval-2014 supervised baseline by 13.08% in F1-score, demonstrating strong performance despite being unsupervised.
- Hyperparameter tuning revealed that an interpolation coefficient α = 0.7 and k = 17 clusters yield optimal performance, with performance degrading for values outside this range.
- The method’s performance is robust to cluster size variations, with optimal results achieved at k = 17, indicating a balance between cluster cohesion and consistency.
- The use of soft cosine similarity enables effective detection of aspect categories even when sentences do not contain exact seed words, by capturing semantic similarity.
- The interpolation of sentence-level and cluster-level scores improves classification accuracy, confirming that cluster-level context enhances individual sentence predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.