A BERT Framework to Sentiment Analysis of Tweets
Abayomi Bello1, Sin-Chun Ng1, Man-Fai Leung1
1School of Computing and Information Science, Faculty of Science and Engineering, Anglia Ruskin University, Cambridge CB1 1PT, UK.
Sensors (Basel, Switzerland)
|January 8, 2023
Summary
This study enhances sentiment analysis on microblogging sites using Bidirectional Encoder Representations from Transformers (BERT) combined with CNN, RNN, and BiLSTM. These models significantly improve accuracy, precision, recall, and F1-score for understanding user context.
Area of Science:
- Natural Language Processing
- Machine Learning
- Computational Linguistics
Background:
- Sentiment analysis is crucial for understanding opinions on microblogging platforms like Twitter.
- Existing methods struggle with context due to varied text lengths and ambiguous emotional cues.
- User context is vital for accurate sentiment interpretation.
Purpose of the Study:
- To improve sentiment analysis accuracy by incorporating user context.
- To evaluate the effectiveness of Bidirectional Encoder Representations from Transformers (BERT) for sentiment classification.
- To compare BERT-based models with traditional methods like Word2vec.
Main Methods:
- Utilized Bidirectional Encoder Representations from Transformers (BERT) for text classification.
- Integrated BERT with Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), and Bidirectional Long Short-Term Memory (BiLSTM).
- Compared performance against BERT with Word2vec and BERT without variants.
Main Results:
- BERT combined with CNN, RNN, and BiLSTM demonstrated superior performance.
- These hybrid models achieved higher accuracy, precision, recall, and F1-scores.
- The proposed BERT-based approaches outperformed Word2vec and baseline models.
Conclusions:
- BERT-based models significantly enhance sentiment analysis by capturing user context.
- Hybrid architectures (BERT-CNN, BERT-RNN, BERT-BiLSTM) are effective for microblogging sentiment classification.
- The study validates the superiority of advanced transformer models for nuanced sentiment understanding.
More Related Videos
Related Concept Videos
Classification of Signals
630
In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
630
Fundamental Attribution Error
12.9K
According to some social psychologists, people tend to overemphasize internal factors as explanations—or attributions—for the behavior of other people. They tend to assume that the behavior of another person is a trait of that person, and to underestimate the power of the situation on the behavior of others. They tend to fail to recognize when the behavior of another is due to situational variables, and thus to the person’s state. This erroneous assumption is...
12.9K
Attitudes
28.5K
Attitude is our evaluation of a person, an idea, or an object. We have attitudes for many things ranging from products that we might pick up in the supermarket to people around the world to political policies. Typically, attitudes are favorable or unfavorable: positive or negative (Eagly & Chaiken, 1993). And, they have three components: an affective component (feelings), a behavioral component (the effect of the attitude on behavior), and a cognitive component (belief and knowledge;...
28.5K
SBAR II: Application of SBAR
4.6K
SBAR is an effective communication tool used by healthcare professionals to communicate patient information accurately. SBAR stands for Situation, Background, Assessment, and Recommendation. For a better understanding, an example is given below.
SBAR Report from a Nurse to a Health Care Provider
S: "Hello, Dr. Smith. This is Jane, RN, from the Med Surg unit. I am calling to tell you about Ms. White in Room 210, who is experiencing increased pain and redness at her incision site. Her recent...
SBAR Report from a Nurse to a Health Care Provider
S: "Hello, Dr. Smith. This is Jane, RN, from the Med Surg unit. I am calling to tell you about Ms. White in Room 210, who is experiencing increased pain and redness at her incision site. Her recent...
4.6K
Framing Effects
7.4K
Information is everywhere and its presentation—such as how and when items are presented—can impact our perceptions and decisions surrounding the info. This broad concept umbrellas framing effects—influences that occur due to the way information is framed in its appearance, whether it’s purely the order or the specific wording of a message. Let’s take a look at numerous ways in which two versions of something can objectively say the same thing, yet we respond in...
7.4K
Stereotype Content Model
14.8K
The Stereotype Content Model (SCM) was first proposed by Susan Fiske and her colleagues (Fiske, Cuddy, Glick & Xu, 2002; see also Fiske, 2012 and Fiske, 2017). The SCM specifies that when someone encounters a new group, they will stereotype them based on two metrics: warmth—or that group’s perceived intent, and how likely they are to provide help or inflict harm—and competence—or their ability to carry out that objective. Depending on the warmth-competence...
14.8K


