Shen Haijie
Map´ua University

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

Found 1 Documents
Search

Cost-effective sentiment analysis with chain-of-thought: a cross-lingual evaluation Shen Haijie; Madhavi Devaraj
Indonesian Journal of Electrical Engineering and Computer Science Vol 42, No 2: May 2026
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.11591/ijeecs.v42.i2.pp454-468

Abstract

Sentiment analysis is a core task in natural language processing with broad ap plications in social media monitoring, customer feedback mining, and market research. Although pre-trained language models (e.g., BERT) achieve strong performance, they typically rely on task-specific fine-tuning and substantial la beled data. Recent large language models (LLMs) enable a different paradigm via in-context learning. This paper presents a systematic empirical study investi gating chain-of-thought sentiment (CoT-Sent), a prompting framework that uses structured CoT reasoning to improve classification accuracy. We evaluate CoT Sent on four benchmark datasets in English and Chinese, comparing multiple representative LLMs (GPT-4, Claude-3, Gemini, Qwen-2.5) under zero-shot set tings. Across datasets, CoT-Sent improves average accuracy by 2.5% over zero shot baselines. Crucially, unlike prior work which provides a broad performance overview without analyzing deployment costs or multi-language generalization, we focus on the cost-latency-accuracy trade-offs, and demonstrate CoT-Sent’s superior cross-lingual transfer (English-to-Chinese) with detailed cost analysis. We provide a comprehensive three-dimensional analysis of accuracy, cost, and latency, offering actionable deployment strategies for resource-constrained environments.