paper-with-me

Papers

Breaking BERT: Gradient Attack on Twitter Sentiment Analysis for Targeted Misclassification

2025-04-02 · Akil Raj Subedi, Taniya Shah, Aswani Kumar Cherukuri, Thanos Vasilakos

Social media platforms like Twitter have increasingly relied on Natural Language Processing NLP techniques to analyze and understand the sentiments expressed in the user generated content. One such state of the art NLP model is Bidirectional Encoder Representations from Transformers BERT which has been widely adapted in sentiment analysis. BERT is susceptible to adversarial attacks. This paper aims to scrutinize the inherent vulnerabilities of such models in Twitter sentiment analysis. It aims to formulate a framework for constructing targeted adversarial texts capable of deceiving these models, while maintaining stealth. In contrast to conventional methodologies, such as Importance Reweighting, this framework core idea resides in its reliance on gradients to prioritize the importance of individual words within the text. It uses a whitebox approach to attain fine grained sensitivity, pinpointing words that exert maximal influence on the classification outcome. This paper is organized into three interdependent phases. It starts with fine-tuning a pre-trained BERT model on Twitter data. It then analyzes gradients of the model to rank words on their importance, and iteratively replaces those with feasible candidates until an acceptable solution is found. Finally, it evaluates the effectiveness of the adversarial text against the custom trained sentiment classification model. This assessment would help in gauging the capacity of the adversarial text to successfully subvert classification without raising any alarm.

📄 PDF Abstract BibTeX arXiv:2504.01345

Code (1)

akil003/bert-attack 공식 구현

Tasks

Adversarial TextSentiment AnalysisSentiment ClassificationTwitter Sentiment Analysis

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Residual Connection 설명 없음
WordPiece 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

HausaNLP at SemEval-2023 Task 12: Leveraging African Low Resource TweetData for Sentiment Analysis

2023-04-26 · Saheed Abdullahi Salahudeen, Falalu Ibrahim Lawan, Ahmad Mustapha Wali, Amina Abubakar Imam 외

We present the findings of SemEval-2023 Task 12, a shared task on sentiment analysis for low-resource African languages using Twitter dataset. The task featured three subtasks; subtask A is monolingual sentiment classifi…

Sentiment AnalysisSentiment ClassificationTwitter Sentiment AnalysisZero-shot Sentiment Classification

SemEval-2017 Task 4: Sentiment Analysis in Twitter using BERT

2024-01-15 · Rupak Kumar Das, Dr. Ted Pedersen

This paper uses the BERT model, which is a transformer-based architecture, to solve task 4A, English Language, Sentiment Analysis in Twitter of SemEval2017. BERT is a very powerful large language model for classification…

Binary ClassificationClassificationLanguage ModelingLanguage Modelling+3

Towards Sentiment Analysis of Tobacco Products’ Usage in Social Media

2021-09-01 · RANLP 2021 9 · Venkata Himakar Yanamandra, Kartikey Pant, Radhika Mamidi

Contemporary tobacco-related studies are mostly concerned with a single social media platform while missing out on a broader audience. Moreover, they are heavily reliant on labeled datasets, which are expensive to make. …

BenchmarkingSentiment Analysistext-classificationText Classification

GRUBERT: A GRU-Based Method to Fuse BERT Hidden Layers for Twitter Sentiment Analysis

2020-12-01 · Asian Chapter of the Association for Computational Linguistics 2020 · Leo Horne, Matthias Matti, Pouya Pourjafar, Zuowen Wang

In this work, we introduce a GRU-based architecture called GRUBERT that learns to map the different BERT hidden layers to fused embeddings with the aim of achieving high accuracy on the Twitter sentiment analysis task. T…

Sentiment AnalysisTwitter Sentiment Analysis

SentiTel: TABSA for Twitter reviews on Uganda Telecoms

2020-07-01 · WS 2020 7 · David Kabiito, Joyce Nakatumba Nabende

In this paper, we present a fine-grained opinion mining dataset called SentiTel. SentiTel is human annotated for targeted aspect-based sentiment analysis (TABSA). SentiTel contains Twitter reviews about three major Ugand…

Aspect-Based Sentiment AnalysisAspect-Based Sentiment Analysis (ABSA)Aspect Category DetectionOpinion Mining+2