Exploiting Adaptive Contextual Masking for Aspect-Based Sentiment Analysis

S M Rafiuddin, Mohammed Rakib, Sadia Kamal, Arunkumar Bagavathi
2/21/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Aspect-Based Sentiment Analysis (ABSA) is a fine-grained linguistics problem that entails the extraction of multifaceted aspects, opinions, and sentiments from the given text. Both standalone and compound ABSA tasks have been extensively used in the literature to examine the nuanced information present in online reviews and social media posts. Current ABSA methods often rely on static hyperparameters for attention-masking mechanisms, which can struggle with context adaptation and may overlook the unique relevance of words in varied situations. This leads to challenges in accurately analyzing complex sentences containing multiple aspects with differing sentiments. In this work, we present adaptive masking methods that remove irrelevant tokens based on context to assist in Aspect Term Extraction and Aspect Sentiment Classification subtasks of ABSA. We show with our experiments that the proposed methods outperform the baseline methods in terms of accuracy and F1 scores on four benchmark online review datasets. Further, we show that the proposed methods can be extended with multiple adaptations and demonstrate a qualitative analysis of the proposed approach using sample text for aspect term extraction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rafiuddin2024exploiting,
  title  = {Exploiting Adaptive Contextual Masking for Aspect-Based Sentiment Analysis},
  author = {S M Rafiuddin and Mohammed Rakib and Sadia Kamal and Arunkumar Bagavathi},
  year   = {2024},
  eprint = {2402.13722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13722v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.13722.svg)](https://codeofpaper.com/paper/2402.13722)

Discussion