Network-informed Prompt Engineering against Organized Astroturf Campaigns under Extreme Class Imbalance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kanakaris, Nikos, Ping, Heng, Xiao, Xiongye, Ahmed, Nesreen K., Luceri, Luca, Ferrara, Emilio, Bogdan, Paul
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912235388928000
author Kanakaris, Nikos
Ping, Heng
Xiao, Xiongye
Ahmed, Nesreen K.
Luceri, Luca
Ferrara, Emilio
Bogdan, Paul
author_facet Kanakaris, Nikos
Ping, Heng
Xiao, Xiongye
Ahmed, Nesreen K.
Luceri, Luca
Ferrara, Emilio
Bogdan, Paul
contents Detecting organized political campaigns is of paramount importance in fighting against disinformation on social media. Existing approaches for the identification of such organized actions employ techniques mostly from network science, graph machine learning and natural language processing. Their ultimate goal is to analyze the relationships and interactions (e.g. re-posting) among users and the textual similarities of their posts. Despite their effectiveness in recognizing astroturf campaigns, these methods face significant challenges, notably the class imbalance in available training datasets. To mitigate this issue, recent methods usually resort to data augmentation or increasing the number of positive samples, which may not always be feasible or sufficient in real-world settings. Following a different path, in this paper, we propose a novel framework for identifying astroturf campaigns based solely on large language models (LLMs), introducing a Balanced Retrieval-Augmented Generation (Balanced RAG) component. Our approach first gives both textual information concerning the posts (in our case tweets) and the user interactions of the social network as input to a language model. Then, through prompt engineering and the proposed Balanced RAG method, it effectively detects coordinated disinformation campaigns on X (Twitter). The proposed framework does not require any training or fine-tuning of the language model. Instead, by strategically harnessing the strengths of prompt engineering and Balanced RAG, it facilitates LLMs to overcome the effects of class imbalance and effectively identify coordinated political campaigns. The experimental results demonstrate that by incorporating the proposed prompt engineering and Balanced RAG methods, our framework outperforms the traditional graph-based baselines, achieving 2x-3x improvements in terms of precision, recall and F1 scores.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11849
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Network-informed Prompt Engineering against Organized Astroturf Campaigns under Extreme Class Imbalance
Kanakaris, Nikos
Ping, Heng
Xiao, Xiongye
Ahmed, Nesreen K.
Luceri, Luca
Ferrara, Emilio
Bogdan, Paul
Computation and Language
Artificial Intelligence
Social and Information Networks
Detecting organized political campaigns is of paramount importance in fighting against disinformation on social media. Existing approaches for the identification of such organized actions employ techniques mostly from network science, graph machine learning and natural language processing. Their ultimate goal is to analyze the relationships and interactions (e.g. re-posting) among users and the textual similarities of their posts. Despite their effectiveness in recognizing astroturf campaigns, these methods face significant challenges, notably the class imbalance in available training datasets. To mitigate this issue, recent methods usually resort to data augmentation or increasing the number of positive samples, which may not always be feasible or sufficient in real-world settings. Following a different path, in this paper, we propose a novel framework for identifying astroturf campaigns based solely on large language models (LLMs), introducing a Balanced Retrieval-Augmented Generation (Balanced RAG) component. Our approach first gives both textual information concerning the posts (in our case tweets) and the user interactions of the social network as input to a language model. Then, through prompt engineering and the proposed Balanced RAG method, it effectively detects coordinated disinformation campaigns on X (Twitter). The proposed framework does not require any training or fine-tuning of the language model. Instead, by strategically harnessing the strengths of prompt engineering and Balanced RAG, it facilitates LLMs to overcome the effects of class imbalance and effectively identify coordinated political campaigns. The experimental results demonstrate that by incorporating the proposed prompt engineering and Balanced RAG methods, our framework outperforms the traditional graph-based baselines, achieving 2x-3x improvements in terms of precision, recall and F1 scores.
title Network-informed Prompt Engineering against Organized Astroturf Campaigns under Extreme Class Imbalance
topic Computation and Language
Artificial Intelligence
Social and Information Networks
url https://arxiv.org/abs/2501.11849