Skip to main content
QUICK REVIEW

[Paper Review] A Comprehensive Evaluation of Large Language Models on Aspect-Based Sentiment Analysis

Changzhi Zhou, Dandan Song|arXiv (Cornell University)|Dec 3, 2024
Sentiment Analysis and Opinion MiningComputer Science3 citations
TL;DR

This paper presents a comprehensive evaluation of six large language models (LLMs) across 13 datasets and 8 aspect-based sentiment analysis (ABSA) subtasks, comparing fine-tuning-dependent and fine-tuning-free paradigms. It introduces a unified task formulation, uses instruction-based multi-task learning with LoRA for efficient fine-tuning, and proposes three demonstration selection strategies (random, keyword-based, semantic-based) for in-context learning (ICL), showing that LLMs surpass fine-tuned small language models (SLMs) in all subtasks and achieve competitive performance with SLMs in low-resource, zero-shot settings via ICL.

ABSTRACT

Recently, Large Language Models (LLMs) have garnered increasing attention in the field of natural language processing, revolutionizing numerous downstream tasks with powerful reasoning and generation abilities. For example, In-Context Learning (ICL) introduces a fine-tuning-free paradigm, allowing out-of-the-box LLMs to execute downstream tasks by analogy learning without any fine-tuning. Besides, in a fine-tuning-dependent paradigm where substantial training data exists, Parameter-Efficient Fine-Tuning (PEFT), as the cost-effective methods, enable LLMs to achieve excellent performance comparable to full fine-tuning. However, these fascinating techniques employed by LLMs have not been fully exploited in the ABSA field. Previous works probe LLMs in ABSA by merely using randomly selected input-output pairs as demonstrations in ICL, resulting in an incomplete and superficial evaluation. In this paper, we shed light on a comprehensive evaluation of LLMs in the ABSA field, involving 13 datasets, 8 ABSA subtasks, and 6 LLMs. Specifically, we design a unified task formulation to unify ``multiple LLMs for multiple ABSA subtasks in multiple paradigms.'' For the fine-tuning-dependent paradigm, we efficiently fine-tune LLMs using instruction-based multi-task learning. For the fine-tuning-free paradigm, we propose 3 demonstration selection strategies to stimulate the few-shot abilities of LLMs. Our extensive experiments demonstrate that LLMs achieve a new state-of-the-art performance compared to fine-tuned Small Language Models (SLMs) in the fine-tuning-dependent paradigm. More importantly, in the fine-tuning-free paradigm where SLMs are ineffective, LLMs with ICL still showcase impressive potential and even compete with fine-tuned SLMs on some ABSA subtasks.

Motivation & Objective

  • To provide a comprehensive evaluation of large language models (LLMs) on aspect-based sentiment analysis (ABSA) across multiple paradigms, subtasks, and datasets.
  • To address the gap in prior work that used only random demonstrations or focused on single models/subtasks by designing a unified framework for multi-LLM, multi-subtask, multi-paradigm evaluation.
  • To investigate whether LLMs can outperform fine-tuned small language models (SLMs) in the fine-tuning-dependent paradigm and whether they can achieve competitive performance in low-resource, fine-tuning-free settings using in-context learning (ICL).
  • To evaluate the effectiveness of different demonstration selection strategies—random, keyword-based, and semantic-based—for enhancing ICL performance in ABSA.

Proposed method

  • Proposes a unified task formulation to standardize input-output formats across 8 ABSA subtasks, enabling consistent evaluation of multiple LLMs under different paradigms.
  • Employs instruction-based multi-task learning and LoRA (Low-Rank Adaptation) for efficient, parameter-efficient fine-tuning of open-source LLMs in the fine-tuning-dependent paradigm.
  • Introduces three demonstration selection strategies for in-context learning (ICL): random-based, keyword-based (using aspect/opinion terms), and semantic-based (using sentence embeddings via SimCSE and BM25).
  • Applies in-context fine-tuning by constructing in-context training data from the training set itself, using three demonstrations per sample to improve ICL performance.
  • Uses cross-task transfer learning in low-resource settings by pre-training on full data of related subtasks before fine-tuning on low-resource targets.
  • Employs Qwen1.5 models of varying sizes (1.8B to 72B) to study the impact of model scale on ABSA performance, identifying an optimal 7B parameter range.

Experimental results

Research questions

  • RQ1Can LLMs achieve state-of-the-art performance compared to fine-tuned small language models (SLMs) in the fine-tuning-dependent paradigm across multiple ABSA subtasks?
  • RQ2How effective are different demonstration selection strategies—random, keyword-based, and semantic-based—in enhancing in-context learning (ICL) performance for ABSA tasks?
  • RQ3Can LLMs achieve competitive performance in low-resource, fine-tuning-free settings where SLMs fail, particularly through ICL?
  • RQ4Does cross-task transfer learning improve performance in low-resource fine-tuning scenarios, and how does it compare between LLMs and SLMs?
  • RQ5What is the optimal model size for ABSA tasks, and does performance scale monotonically with parameter count?

Key findings

  • In the fine-tuning-dependent paradigm, LLMs with LoRA fine-tuning outperform fully fine-tuned SLMs on all 8 ABSA subtasks, even with significantly fewer trainable parameters (e.g., LLaMA3-8B with 3.4M parameters vs. T5-base with 220M parameters).
  • In the fine-tuning-free paradigm, API-based LLMs using in-context learning (ICL) achieve performance comparable to fine-tuned SLMs on several subtasks, demonstrating strong potential for low-resource ABSA applications.
  • The performance of LLaMA3-8B and LLaMA3-70B degrades with increasing numbers of demonstrations, indicating an inherent model limitation rather than a data scarcity issue, suggesting that more demonstrations do not always help.
  • Semantic-based demonstration selection (using SimCSE and BM25) improves ICL performance in complex subtasks like ASTE and ASQP, but becomes ineffective in in-context fine-tuning, possibly due to shortcut learning.
  • Cross-task transfer learning significantly improves performance in low-resource settings: warming up on related subtasks boosts performance, especially with only 1% of training data, and LLMs consistently outperform SLMs.
  • The parameter size of LLMs exhibits a diminishing returns effect, with models around 7B parameters achieving optimal performance; larger models offer limited gains while increasing training and inference costs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.