TY - GEN
T1 - A RAG-Based Sentiment Analysis Proposal
T2 - 14th World Conference on Information Systems and Technologies, WorldCIST 2026
AU - Carrión-Correa, Víctor
AU - Chicaiza, Janneth
AU - Reategui, Ruth
AU - Roa, Henry N.
AU - Pulla-Sánchez, Daniel
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2027.
PY - 2027
Y1 - 2027
N2 - The paper presents an approach to sentiment analysis with a focus on citizen security. The analyzer is based on the Retrieval-Augmented Generation (RAG) to enhance the performance of an unsupervised approach and leverage the ability of LLMs to understand domain-specific language. Via prompt engineering, the analyzer can estimate two levels of analysis: aspect-level and sentence-level, providing a response that includes the sentiment and the reason for that classification. The proposal is supported by the development of a web application that facilitates the creation of a knowledge base for other contexts and the monitoring of related areas, enabling informed decision-making in security policies. During the proposal evaluation, a dataset of Ecuadorian citizen security demonstrated that both the knowledge base and the information retrieval component assist the language models in better interpreting the text under analysis. The results reveal that LLMs exhibit outstanding performance in detecting negative sentiments, e.g., the analyzer based on Llama3-8B-Instruct achieves 95% accuracy in this category.
AB - The paper presents an approach to sentiment analysis with a focus on citizen security. The analyzer is based on the Retrieval-Augmented Generation (RAG) to enhance the performance of an unsupervised approach and leverage the ability of LLMs to understand domain-specific language. Via prompt engineering, the analyzer can estimate two levels of analysis: aspect-level and sentence-level, providing a response that includes the sentiment and the reason for that classification. The proposal is supported by the development of a web application that facilitates the creation of a knowledge base for other contexts and the monitoring of related areas, enabling informed decision-making in security policies. During the proposal evaluation, a dataset of Ecuadorian citizen security demonstrated that both the knowledge base and the information retrieval component assist the language models in better interpreting the text under analysis. The results reveal that LLMs exhibit outstanding performance in detecting negative sentiments, e.g., the analyzer based on Llama3-8B-Instruct achieves 95% accuracy in this category.
KW - citizen security
KW - Ecuador
KW - LLMs
KW - RAG
KW - sentiment analysis
UR - https://www.scopus.com/pages/publications/105046801433
U2 - 10.1007/978-3-032-32026-1_36
DO - 10.1007/978-3-032-32026-1_36
M3 - Contribución a la conferencia
AN - SCOPUS:105046801433
SN - 9783032320254
T3 - Lecture Notes in Networks and Systems
SP - 427
EP - 441
BT - Recent Trends and Challenges in Information Systems and Technologies - WorldCIST 2026
A2 - Rocha, Alvaro
A2 - Adeli, Hojjat
A2 - Moreira, Fernando
PB - Springer Science and Business Media Deutschland GmbH
Y2 - 31 March 2026 through 2 April 2026
ER -