LLM-as-an-Annotator: Training Lightweight Models with LLM-Annotated Examples for Aspect Sentiment Tuple Prediction
Organizations: Media Informatics Group, University of Regensburg, Regensburg, Germany · Information Science Group, University of Regensburg, Regensburg, Germany
Abstract
Training models for Aspect-Based Sentiment Analysis (ABSA) tasks requires manually annotated data, which is expensive and time-consuming to obtain. This paper introduces LA-ABSA, a novel approach that leverages Large Language Model (LLM)-generated annotations to fine-tune lightweight models for complex ABSA tasks. We evaluate our approach on five datasets for Target Aspect Sentiment Detection (TASD) and Aspect Sentiment Quad Prediction (ASQP). Our approach outperformed previously reported augmentation strategies and achieved competitive performance with LLM-prompting in low-resource scenarios, while providing substantial energy efficiency benefits. For example, using 50 annotated examples for in-context learning (ICL) to guide the annotation of unlabeled data, LA-ABSA achieved an F1 score of 49.85 for ASQP on the SemEval Rest16 dataset, closely matching the performance of ICL prompting with Gemma-3-27B (51.10), while requiring significantly lower computational resources.
Figures & tables
| Dataset | Train | Test | ||
|---|---|---|---|---|
| TASD | ASQP | TASD | ASQP | |
| Rest15 | 1,120 | 834 | 582 | 537 |
| Rest16 | 1,708 | 1,264 | 587 | 544 |
| FlightABSA | 1,351 | 1,351 | 387 | 387 |
| Coursera | 1,400 | 1,400 | 400 | 400 |
| Hotels | 1,400 | 1,400 | 400 | 400 |
| Approach | # Train | Rest15 | Rest16 | FlightABSA | Coursera | Hotels | AVG | |||||||
| TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | |
| Scenario: 0 annotated examples given | ||||||||||||||
| Gemma-3-27B (0-shot) | 0 | 0 | 30.36 | 24.73 | 45.51 | 28.96 | 51.81 | 42.37 | 29.50 | 13.36 | 38.97 | 23.02 | 39.23 | 26.49 |
| LA-ABSA | ||||||||||||||
| w/ Paraphrase | full | full | 27.70 | 18.54 | 47.73 | 26.07 | 52.10 | 42.58 | 30.92 | 13.41 | 40.74 | 26.27 | 39.84 | 25.37 |
| w/ DLO | full | full | 25.82 | 18.88 | 47.41 | 26.97 | 51.75 | 42.82 | 30.60 | 13.38 | 40.70 | 24.97 | 39.26 | 25.40 |
| Method | 0-shot | 10-shot | 50-shot | |||
|---|---|---|---|---|---|---|
| TASD | ASQP | TASD | ASQP | TASD | ASQP | |
| LA-ABSA (Paraphrase) | 2.47 ± 0.53 | 3.17 ± 0.31 | 1.96 ± 0.40 | 2.66 ± 0.28 | 1.83 ± 0.38 | 2.41 ± 0.46 |
| LA-ABSA (DLO) | 11.16 ± 0.72 | 13.06 ± 0.89 | 10.68 ± 2.11 | 13.19 ± 1.62 | 8.95 ± 0.85 | 11.65 ± 2.23 |
| Gemma-3-27B ICL | 703.10 ± 63.97 | 912.25 ± 72.67 | 481.39 ± 46.11 | 843.68 ± 356.29 | 1688.76 ± 255.30 | 2963.65 ± 1360.88 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Approach | # Aug | # Train | Rest15 | Rest16 | FlightABSA | Coursera | Hotels | AVG | |||||||
| TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | ||
| Scenario: 10 annotated examples given | |||||||||||||||
| EDA w/ Paraphrase | 2 | 30 | 30 | 13.15 | 1.74 | 7.67 | 11.41 | 10.79 | 4.42 | 17.97 | 6.61 | 22.05 | 3.47 | 14.33 | 5.53 |
| EDA w/ Paraphrase | 5 | 60 | 60 | 23.20 | 10.42 | 16.35 | 12.30 | 19.26 | 10.99 | 23.62 | 9.47 | 25.85 | 6.15 | 21.66 | 9.86 |
| EDA w/ Paraphrase | 10 | 110 | 110 | 26.07 | 10.52 | 16.82 | 12.68 | 21.83 | 13.46 | 25.67 | 10.35 | 24.95 | 5.84 | 23.07 | 10.57 |
| EDA w/ Paraphrase | 15 | 160 | 160 | 25.53 | 10.08 | 18.34 | 12.32 | 21.57 | 12.39 | 25.60 | 12.33 | 24.94 | 7.03 | 23.20 | 10.83 |
| Approach | # Train | Rest15 | Rest16 | FlightABSA | Coursera | Hotels | AVG | |||||||
| TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | |
| Scenario: 0 annotated examples given | ||||||||||||||
| Gemma-3-27B (0-shot) | 0 | 0 | 29.41 | 23.35 | 44.49 | 27.75 | 47.55 | 39.70 | 26.95 | 11.95 | 37.12 | 22.88 | 37.11 | 25.13 |
| LA-ABSA | ||||||||||||||
| w/ Paraphrase | full | full | 26.91 | 17.09 | 45.93 | 24.00 | 48.95 | 39.41 | 28.32 | 11.68 | 38.53 | 25.41 | 37.73 | 23.52 |
| w/ DLO | full | full | 24.44 | 17.21 | 45.68 | 24.62 | 47.41 | 39.06 | 27.52 | 11.48 | 37.98 | 23.83 | 36.61 | 23.24 |
| Approach | # Train | Rest15 | Rest16 | FlightABSA | Coursera | Hotels | AVG | |||||||
| TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | |
| Scenario: 0 annotated examples given | ||||||||||||||
| Gemma-3-27B (0-shot) | 0 | 0 | 31.36 | 26.29 | 46.57 | 30.29 | 56.90 | 45.42 | 32.58 | 15.14 | 41.02 | 23.16 | 41.69 | 28.06 |
| LA-ABSA | ||||||||||||||
| w/ Paraphrase | full | full | 28.54 | 20.25 | 49.68 | 28.54 | 55.69 | 46.31 | 34.06 | 15.74 | 43.22 | 27.18 | 42.24 | 27.60 |
| w/ DLO | full | full | 27.36 | 20.91 | 49.27 | 29.81 | 56.98 | 47.39 | 34.47 | 16.02 | 43.85 | 26.21 | 42.38 | 28.07 |
| Approach | # Train | Rest15 | Rest16 | FlightABSA | Coursera | Hotels | AVG | |||||||
| TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | TASD | ASQP | |
| Scenario: 0 annotated examples given | ||||||||||||||
| Gemma-3-27B (0-shot) | 0 | 0 | 33.68 | 23.64 | 45.94 | 23.64 | 55.24 | 39.50 | 33.78 | 13.23 | 29.70 | 18.49 | 39.67 | 23.70 |
| LA-ABSA | ||||||||||||||
| w/ Paraphrase | full | full | 22.88 | 19.93 | 35.84 | 26.20 | 45.95 | 33.61 | 11.85 | 4.09 | 16.20 | 12.44 | 26.54 | 19.25 |
| w/ DLO | full | full | 24.12 | 21.02 | 36.12 | 29.16 | 45.37 | 36.32 | 12.10 | 3.70 | 17.18 | 13.10 | 26.98 | 20.66 |
Aspect-Based Sentiment Analysis
Aspect-Based Sentiment Analysis (ABSA) identifies what people express opinions about and the sentiment or emotion attached to each aspect.
See all 51 papers