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
- Qiang Huo
- Qiusheng Zheng (ORCID: https://orcid.org/0000-0002-9067-1806)
- Long Zhang (ORCID: https://orcid.org/0000-0003-3287-6296)
Institutions
- Zhongyuan University of Technology (CN)
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