Prediction of Public Opinion Event Types Combining Retrieval-Augmented Generation and Large Language Models

The prediction of public opinion events plays a crucial role in social governance, public safety, and enterprise management. Accurate prediction of event types helps identify potential crises, effectively guide public opinion, and provide scientific support for decision-makers. This study leverages large language models and introduces a Retrieval-Augmented Generation (RAG) system to propose a novel method for improving the accuracy of public opinion event prediction. Using a small amount of labeled data, the method retrieves relevant data slices to dynamically generate high-quality few-shot prompts, enabling the language model to classify events more accurately and enhance its predictive capabilities. The findings demonstrate that effective few-shot prompt generation significantly optimizes the application of RAG systems in public opinion analysis, offering a new perspective for event prediction and showcasing its potential for real-world applications.

Authors

Institutions

Publication Details

Published
2025-03-07
DOI
https://doi.org/10.1145/3729706.3729768
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of Public Opinion Event Types Combining Retrieval-Augmented Generation and Large Language Models

Qiang Huo, Qiusheng Zheng, Long Zhang
Topic Modeling
article

Prediction of Public Opinion Event Types Combining Retrieval-Augmented Generation and Large Language Models

Qiang Huo, Qiusheng Zheng, Long Zhang
article en

Abstract

The prediction of public opinion events plays a crucial role in social governance, public safety, and enterprise management. Accurate prediction of event types helps identify potential crises, effectively guide public opinion, and provide scientific support for decision-makers. This study leverages large language models and introduces a Retrieval-Augmented Generation (RAG) system to propose a novel method for improving the accuracy of public opinion event prediction. Using a small amount of labeled data, the method retrieves relevant data slices to dynamically generate high-quality few-shot prompts, enabling the language model to classify events more accurately and enhance its predictive capabilities. The findings demonstrate that effective few-shot prompt generation significantly optimizes the application of RAG systems in public opinion analysis, offering a new perspective for event prediction and showcasing its potential for real-world applications.

Zhongyuan University of Technology (CN)
Quality Education
Openalex Percentile: Top 92%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Prediction of Public Opinion Event Types Combining Retrieval-Augmented Generation and Large Language Models — Qiang Huo, Qiusheng Zheng, et al. · (2025) | TGRS Research Map | TGRS