English

Explainable Sentiment Analysis with DeepSeek-R1: Performance, Efficiency, and Few-Shot Learning

Computation and Language 2026-02-05 v5 Artificial Intelligence

Abstract

Large language models (LLMs) have transformed sentiment analysis, yet balancing accuracy, efficiency, and explainability remains a critical challenge. This study presents the first comprehensive evaluation of DeepSeek-R1--an open-source reasoning model--against OpenAI's GPT-4o and GPT-4o-mini. We test the full 671B model and its distilled variants, systematically documenting few-shot learning curves. Our experiments show DeepSeek-R1 achieves a 91.39\% F1 score on 5-class sentiment and 99.31\% accuracy on binary tasks with just 5 shots, an eightfold improvement in few-shot efficiency over GPT-4o. Architecture-specific distillation effects emerge, where a 32B Qwen2.5-based model outperforms the 70B Llama-based variant by 6.69 percentage points. While its reasoning process reduces throughput, DeepSeek-R1 offers superior explainability via transparent, step-by-step traces, establishing it as a powerful, interpretable open-source alternative.

Keywords

Cite

@article{arxiv.2503.11655,
  title  = {Explainable Sentiment Analysis with DeepSeek-R1: Performance, Efficiency, and Few-Shot Learning},
  author = {Donghao Huang and Zhaoxia Wang},
  journal= {arXiv preprint arXiv:2503.11655},
  year   = {2026}
}

Comments

10 pages, with 2 figures and 6 tables, accepted for publication in an IEEE Intelligent Systems journal

R2 v1 2026-06-28T22:21:00.067Z