Zaznavanje stališč s pomočjo velikih jezikovnih modelov: validacija in prototipska analiza v nemško-govorečem subredditu r/de

This thesis investigates the efficacy of large language models (LLMs) for stance detection in German-language Reddit communities and explores their application in online public opinion research. The thesis evaluates various LLMs and prompting techniques on a custom-annotated dataset from the r/de subreddit. Experimental results demonstrate that commercial LLMs like Claude 3.5 Sonnet can perform stance detection on German Reddit comments with high accuracy (F1 scores >0.8) without fine-tuning. Open-source models also show promising results. Few-shot prompting with chain-of-thought reasoning consistently outperformed zero-shot approaches, while additional context harms performance across models. The thesis then applies the developed methodology prototypically to analyse public opinion trends regarding German military aid to Ukraine. Some correlation is observed between Reddit sentiment and broader public opinion polls, suggesting potential for using LLM-based stance detection on social media as a complementary tool to traditional polling methods. Limitations include the focus on a single subreddit and topic and reliance on a small manually-annotated dataset. Future research directions involve expanding to multiple communities and languages, investigating fine-tuning techniques, conducting longitudinal studies, and enhancing explainability.

Publication Details

Journal
Repository of the University of Ljubljana (University of Ljubljana)
Published
2025-03-21
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Zaznavanje stališč s pomočjo velikih jezikovnih modelov: validacija in prototipska analiza v nemško-govorečem subredditu r/de

Repository of the University of Ljubljana (University of Ljubljana)
Sentiment Analysis and Opinion Mining
article

Zaznavanje stališč s pomočjo velikih jezikovnih modelov: validacija in prototipska analiza v nemško-govorečem subredditu r/de

article en

Abstract

This thesis investigates the efficacy of large language models (LLMs) for stance detection in German-language Reddit communities and explores their application in online public opinion research. The thesis evaluates various LLMs and prompting techniques on a custom-annotated dataset from the r/de subreddit. Experimental results demonstrate that commercial LLMs like Claude 3.5 Sonnet can perform stance detection on German Reddit comments with high accuracy (F1 scores >0.8) without fine-tuning. Open-source models also show promising results. Few-shot prompting with chain-of-thought reasoning consistently outperformed zero-shot approaches, while additional context harms performance across models. The thesis then applies the developed methodology prototypically to analyse public opinion trends regarding German military aid to Ukraine. Some correlation is observed between Reddit sentiment and broader public opinion polls, suggesting potential for using LLM-based stance detection on social media as a complementary tool to traditional polling methods. Limitations include the focus on a single subreddit and topic and reliance on a small manually-annotated dataset. Future research directions involve expanding to multiple communities and languages, investigating fine-tuning techniques, conducting longitudinal studies, and enhancing explainability.

Repository of the University of Ljubljana (University of Ljubljana)
Peace, Justice and strong institutions
Openalex Percentile: Top 73%
Sentiment Analysis and Opinion Mining
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.