HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

InstructABSA: Instruction Learning for Aspect Based Sentiment Analysis

Kevin Scaria; Himanshu Gupta; Siddharth Goyal; Saurabh Arjun Sawant; Swaroop Mishra; Chitta Baral

InstructABSA: Instruction Learning for Aspect Based Sentiment Analysis

Abstract

We introduce InstructABSA, an instruction learning paradigm for Aspect-Based Sentiment Analysis (ABSA) subtasks. Our method introduces positive, negative, and neutral examples to each training sample, and instruction tune the model (Tk-Instruct) for ABSA subtasks, yielding significant performance improvements. Experimental results on the Sem Eval 2014, 15, and 16 datasets demonstrate that InstructABSA outperforms the previous state-of-the-art (SOTA) approaches on Term Extraction (ATE), Sentiment Classification(ATSC) and Sentiment Pair Extraction (ASPE) subtasks. In particular, InstructABSA outperforms the previous state-of-the-art (SOTA) on the Rest14 ATE subtask by 5.69% points, the Rest15 ATSC subtask by 9.59% points, and the Lapt14 AOPE subtask by 3.37% points, surpassing 7x larger models. We also get competitive results on AOOE, AOPE, and AOSTE subtasks indicating strong generalization ability to all subtasks. Exploring sample efficiency reveals that just 50% train data is required to get competitive results with other instruction tuning approaches. Lastly, we assess the quality of instructions and observe that InstructABSA's performance experiences a decline of ~10% when adding misleading examples.

Code Repositories

kevinscaria/instructabsa
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
aspect-based-sentiment-analysis-on-semevalInstructABSA
Laptop (Acc): 80.56
Mean Acc (Restaurant + Laptop): 81.5
Restaurant (Acc): 82.44
aspect-based-sentiment-analysis-on-semeval-5InstructABSA
F1: 79.34
aspect-based-sentiment-analysis-on-semeval-6InstructABSA
F1: 79.34
aspect-based-sentiment-analysis-on-semeval-7InstructABSA
Laptop (F1): 92.30
Restaurant (F1): 92.76
aspect-extraction-on-semeval-2014-task-4-sub-1InstructABSA
Laptop (F1): 92.30
Mean F1 (Laptop + Restaurant): 92.53
Restaurant (F1): 92.76
aspect-extraction-on-semeval-2014-task-4-sub-2InstructABSA
Laptop (F1): 92.30
sentiment-analysis-on-semeval-2014-task-4InstructABSA
F1: 79.34

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp