Exploring Model Editing for LLM-based Aspect-Based Sentiment Classification

Authors

  • Shichen Li Natural Language Processing Lab, Soochow University, Suzhou, China
  • Zhongqing Wang Natural Language Processing Lab, Soochow University, Suzhou, China
  • Zheyu Zhao Natural Language Processing Lab, Soochow University, Suzhou, China
  • Yue Zhang Westlake University
  • Peifeng Li Natural Language Processing Lab, Soochow University, Suzhou, China

DOI:

https://doi.org/10.1609/aaai.v39i23.34625

Abstract

Model editing aims at selectively updating a small subset of a neural model's parameters with an interpretable strategy to achieve desired modifications. It can significantly reduce computational costs to adapt to large language models(LLMs). Given its ability to precisely target critical components within LLMs, model editing shows great potential for efficient fine-tuning applications. In this work, we investigate model editing to serve as an efficient method for adapting LLMs to solve aspect-based sentiment classification. Through causal interventions, we trace and determine which neuron hidden states are essential for the model’s predictions. By performing interventions and restorations on each component of an LLM, we identify the importance of these components for aspect-based sentiment classification. Our findings reveal that a distinct set of mid-layer representations is essential for detecting the sentiment polarity of given aspect words. Leveraging these insights, we develop a model editing approach that focuses exclusively on these critical parts of the LLM, leading to a more efficient method for adapting LLMs. Our in and out of domain experiments demonstrate that this approach achieves competitive results compared to the currently strongest methods with significantly fewer trainable parameters, highlighting a more efficient and interpretable fine-tuning strategy.

Published

2025-04-11

How to Cite

Li, S., Wang, Z., Zhao, Z., Zhang, Y., & Li, P. (2025). Exploring Model Editing for LLM-based Aspect-Based Sentiment Classification. Proceedings of the AAAI Conference on Artificial Intelligence, 39(23), 24467–24475. https://doi.org/10.1609/aaai.v39i23.34625

Issue

Section

AAAI Technical Track on Natural Language Processing II