Skip to content
Conference Open access

Evaluating the Robustness of Transformer-based Models Against Data Poisoning Attacks in Social Media Sentiment Analysis

Aug 2026 · International Conferences on Information Science and System · pp. 1-6 · 0 citations · 33 references

TL;DR

A baseline resilience study of BERT, RoBERTa, and BERTweet against three increasingly complex adversarial attacks: label flipping, trigger injection, and clean-label poisoning shows the domain-aligned BERTweet model demonstrated the highest baseline resilience to these specific manipulations.

Abstract

Transformer-based Pre-trained Language Models (PLMs) has become standard tools for sentiment analysis on social platforms, yet their vulnerability to data poisoning during training remains a critical concern. In this paper, we conduct a baseline resilience study of BERT, RoBERTa, and BERTweet against three increasingly complex adversarial attacks: label flipping, trigger injection, and clean-label poisoning. Using the Sentiment140 corpus, we introduced poisoned data at rates of 5%, 10%, 20% and 30%, tracking performance across multiple metrics including Accuracy, Macro-F1, Attack Success Rate (ASR), and Clean Accuracy (CACC). The experimental data—averaged over three random seeds—revealed that while basic label flipping caused steady performance degradation, our conservative configurations of trigger injection and clean-label poisoning often failed to disrupt the models reliably. Ultimately, the domain-aligned BERTweet model demonstrated the highest baseline resilience to these specific manipulations, highlighting the need for future evaluations using more advanced threat models.

Read PDF

Similar papers

#machine learning Preprint Sep 2026

Empirical Evaluation of Data Poisoning Attacks in Supervised Learning

The results separate indiscriminate poisoning, which shows up in standard metrics, from targeted backdoor poisoning, which stays comparatively stealthy while embedding highly effective malicious behavior, and they support security-oriented evaluation beyond conventional clean-test metrics.

T. Khan, Muhammad Abusaqer · 0 citations
Open access Sep 2026

Robust Binary Cyberbullying Detection on Social Media Using a Multi-Class Guided Transformer Ensemble

A domain-specific transformer ensemble framework for cyberbullying detection that leverages fine-tuned Twitter-RoBERTa models provides a robust and scalable solution for automated cyberbullying detection in social media environments.

Shahad Ghazi Abd, Bashar Taleb Hameed, Ali Hussein Fadhel · 0 citations
#graph neural networks Open access Sep 2026

A novel data-level prompt injection attack against graph prompt learning

Graph Neural Networks (GNNs) are increasingly deployed in security-critical applications, including fraud detection, recommendation integrity analysis, and scientific knowledge mining. Recently, Graph Prompt Learning (GPL) has emerged as a parameter-efficient paradigm for adapting pretrained GNNs to downstream tasks. B...

Meng-Ying Yuan, Zhi-Yong Zhang, Gao-Yuan Quan et al. · 0 citations
Open access Sep 2026

Two Heads Are Better Than One: A Multi-Task Learning Framework for Robustness Against Adversarial Text Perturbations

Sentiment analysis models deployed in real-world applications face significant threats from adversarial attacks that perturb the text input at the character and word levels. While adversarial robustness has been extensively studied in NLP, most approaches focus solely on improving robustness against a single attack typ...

Sai Reethi Pydi · 0 citations
Conference Open access Oct 2026

Robust Social Media Sentiment Analysis using Feature Tokenizer Transformer Architecture

Generational in nature, social is one of the most popular inputs used to obtain a sentiment analysis regarding public opinion, customer satisfaction and event awareness. We were trained on Social Media Data: Given the data heterogeneity, Systematic noise — informal nature with semantically ambiguous features and comple...

Anusruti Mitra, Monalisa Chakraborty, Subir Gupta et al. · 0 citations
Sep 2026

A Deployed Custom Fine-tuned Transformer Language Model Framework for Indian Fake News Detection

Experimental results demonstrate that the proposed framework achieves superior accuracy, precision, recall, F1-score, and ROC-AUC performance while maintaining computational efficiency and scalability and can support real-time misinformation monitoring and fact-checking applications.

Manish Prajapati, Santos Kumar Baliarsingh, Sthiti Suman Sahoo et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.