Afito Indra Permana
Universitas Negeri Malang

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparing LoRA on Qwen2.5 and DeepSeek-R1 with IndoBERT Fine-Tuning for Indonesian Sentiment Afito Indra Permana; Muhammad Iqbal Akbar
SISTEMASI Vol 15, No 11 (2026): Sistemasi: Jurnal Sistem Informasi
Publisher : Universitas Islam Indragiri

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.32520/stmsi.v15i11.7015

Abstract

Indonesian sentiment analysis has largely relied on encoder-based models, such as IndoBERT, through full fine-tuning. Meanwhile, open-weight generative large language models (LLMs) adapted using Low-Rank Adaptation (LoRA) offer a potentially more resource-efficient alternative. This study compares Qwen2.5-1.5B-Instruct and DeepSeek-R1-Distill-Qwen-1.5B using LoRA, with identical adaptation hyperparameters, against IndoBERT-base-p1 using full fine-tuning for three-class sentiment classification on the SmSA dataset from IndoNLU, with a re-split stratified into 70:15:15 training, validation, and test sets. Across three random seeds (42, 43, and 44), evaluated on 1,914 test samples, the mean macro-F1 scores were 0.9242 ± 0.0048 for IndoBERT, 0.9195 ± 0.0039 for Qwen, and 0.8779 ± 0.0048 for DeepSeek. In an earlier run using a different training configuration, Qwen achieved 0.9211 ± 0.0023. DeepSeek performed significantly worse than both competing models across all three seeds, based on McNemar's test with Holm correction and paired bootstrap analysis. In contrast, the performance gap between Qwen and IndoBERT was small (approximately 0.5 percentage points), and the confidence intervals included zero. Thus, IndoBERT showed only a slight tendency toward better performance, while comparability between the models can only be claimed within a predefined equivalence margin of ±0.02 macro-F1. The backbones of the two LLMs were not identical. An additional single-seed control experiment using LoRA-adapted Qwen2.5-Math-1.5B yielded a macro-F1 score of 0.8842, which was not significantly different from DeepSeek. This suggests that DeepSeek's performance gap may be more closely associated with its base model than with reasoning distillation. Minimal preprocessing did not produce a statistically significant difference in IndoBERT's performance. IndoBERT was also substantially more efficient at inference, requiring 6.12 ms per sample, compared with 154.81–160.80 ms for the two LoRA-based models (seed 42). These findings indicate that applying LoRA to generative LLMs does not automatically outperform full fine-tuning of encoder-based models in in-distribution sentiment classification tasks such as SmSA.