1
Return

Efficient Sentiment, Emotion, and Toxic Speech Analysis on Social Media Using Lightweight LLMs: A Practical Approach for Digital Transformation

delete2026-07-09
delete0
delete
OA
AI
I
Ioannis Kapantaidakis *
I
Ioannis Kopanakis
E
Emmanouil Perakakis
K
Konstantinos Vassakis
DOI:10.3390/asi9070145delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Social media generates massive amounts of unstructured, multilingual textual data that contain many sentiments, emotions, and opinions from users that provide insights for enterprises undergoing digital transformation. In this paper, we evaluate a variety of commercially available, lightweight large language models (LLMs) for sentiment, emotion, aspect-based sentiment, and toxic speech detection on noisy, real-world social media datasets. These lightweight models are compared (against traditional RoBERTa-based classifiers and heavyweight “pro” LLMs) in terms of performance, latency, and cost trade-offs that are key for scalable deployment across the enterprise. Our results show that lightweight LLMs achieve good accuracy with considerably lower response times and costs, which makes them suitable as the next step in digital transformation for real-time social media analytics. Additionally, we investigate the importance of prompt engineering and show that preprocessing can be very limited for LLMs. This study provides operational guidelines regarding model selection based on latency, accuracy, and cost trade-offs as well as optimal prompt engineering techniques. Finally, it evaluates the intersection of operational performance and resource efficiency to help researchers and developers integrate LLM-based social media analytics into digitized business practices.
Keywords:
large language models
social media analytics
sentiment analysis
digital transformation
prompt engineering
natural language processing

Journal

Applied System Innovation cover
Applied System Innovation
IF:
3.7
Papers:
934
Citations:
1.9K

Organization

H
Hellenic Mediterranean University
Scholars:
1.5K
Papers: 1.2K
Citations: 1.4K
Cited Papers

Cited Papers

Citing Papers

Citing Papers