ACL 2025long0 citations

Error Comparison Optimization for Large Language Models on Aspect-Based Sentiment Analysis

Qianlong Wang, Keyang Ding, Hengxin Gao, Hui Wang, Ruifeng Xu

Abstract

Supervised fine-tuning (SFT) has enabled large language models (LLMs) to exhibit promising performance on various tasks. However, this fine-tuning process only compares current predictions and labels on each sample, yet fails to perceive and understand its error outputs from different degrees, which may potentially produce a large percentage of serious errors. This poses a problem for aspect-based sentiment analysis (ABSA) in that these serious errors bring a greater negative impact than acceptable ones. Humans tend to compare mistakes to understand the varying degrees of mistakes, thus avoiding major bad decisions. Inspired by this, we propose a simple yet effective framework that could perceive and understand the degree of different errors by learning from comparative error pairs. It utilizes the SFT model to yield multiple outputs on each sample and selects acceptable and severe errors based on the acceptable scores. Together with the labels, we construct two comparative error pairs and exploit their calibration losses to optimize parameters. We conduct comprehensive experiments on ABSA datasets to demonstrate the effectiveness of our framework over baselines.

BibTeX
@inproceedings{wang-etal-2025-error,
    title = "Error Comparison Optimization for Large Language Models on Aspect-Based Sentiment Analysis",
    author = "Wang, Qianlong  and
      Ding, Keyang  and
      Gao, Hengxin  and
      Wang, Hui  and
      Xu, Ruifeng",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.913/",
    doi = "10.18653/v1/2025.acl-long.913",
    pages = "18630--18646",
    ISBN = "979-8-89176-251-0"
}
Error Comparison Optimization for Large Language Models on Aspect-Based Sentiment Analysis · ACL 2025