Applications of CNN For Sentiement Analysis
Applications of CNN For Sentiement Analysis
Sentiment Analysis
Hritika Kadam
MSc Computer Science
SVKM's Mithibai College (Autonomous)
Mumbai, India
[email protected]
Jayasree Ravi
Assistant Professor
Dept. of Computer Science
Mumbai,India
GoEmotions
GoEmotions: A Dataset of Fine-Grained
Emotions[19], is a corpus consisting of 58,000
comments extracted from popular English
language Reddit threads, with human annotations
to over 27 emotions categories. The emotion
categories are: admiration, amusement, anger,
annoyance, approval, caring, confusion, curiosity,
desire, disappointment, disapproval, disgust,
embarrassment, excitement, fear, gratitude, grief,
Linear Substructure of the words
joy, love, nervousness, optimism, pride,
realization, relief, remorse, sadness, surprise.
The model is trained to learn the word
embeddings that preserve the ratios of co-
occurrence probabilities between words. It’s
defined by the objective function:
J=∑i,j=1Vf(Xij)(wiTw~j+bi+b~j−log(Xij))2
As a result, the dense the vector representations
produced for the vocabulary are capable of
capturing the semantic and syntactic relationships Range of the emotions in the dataset [19]
between the words. For this paper we’ll be
utilizing the 300d data of the pre-trained model
provided in the model.
CNN Model
iv. Conclusion
The paper focused on the use of CNN model for
the categorization of 27 emotions for sentiment
analysis. The experiment provides a F1 score of
41%, which is commendable when compared with
the F1 score of BERT at 42%. While this
experimentation doesn’t provide the optimal
results that we are looking for, it gives a way to
the development of this model further to enhance
its ability to better recognize the sentiments. The
development of the CNN model can be then used
for the enhancement of the combination models of
CNN and NLP algorithms such as LSTM and
BERT.
The figure gives the F1 score as per the emotions.
References
[1] Cicero Nogueira dos Santos, Maira Gatti,
“Deep Convolutional Neural Networks for
Sentiment Analysis of Short Texts”,
COLING (2014).
[2] Xi Ouyang, Pan Zhou, Cheng Hua Li,
Lijun Liu, “Sentiment Analysis Using
Convolutional Neural Network”, IEEE
(2015).
[3] Zufan Zhang, Yang Zou, Chenquan Gan,
“Textual sentiment analysis via three
different attention convo15lutional neural
networks and cross-modality consistent
regression”, Neurocomputing (2017).
[4] Bonggun Shin, Timothy Lee, Jinho D.
Choi, “Lexicon Integrated CNN Models
with Attention for Sentiment Analysis”, [14] Sameeksha Khare, “Accuracy
arXiv (2017) Enhancement During Sentiment Analysis
in Twitter Using CNN”, IEEE (2022)
[5] Shiyang Liao, Junbo Wang, Ruiyun Yu,
Koichi Sato, Zixue Cheng, “CNN for [15] Poornima A, Nataraj N , Nithya R ,
situations understanding based on Nirmala D , Divya P, “SENTIMENT
sentiment analysis of twitter data”, ANALYSIS OF TWEETS IN TWITTER
Elsevier (2017) USING CNN”, IEEE (2022)
[6] Moch. Ari Nasichuddin, Teguh Bharata [16] Dr. Bhaludra R Nadh Singh, Ms.
Adji, Widyawan3, “Performance SpurthiTippani, Ms.
Improvement Using CNN for Sentiment SravaniReddyaGaddam, Ms. SainniUdaya
Analysis”, IJITEE (2018) Sri, Ms. VuggeUshasree, and Ms.
JampulaVandana, “Intelligent Multimodal
[7] Yuling Chen, Zhi Zhang, “Research on text
Sentiment Analysis Using a CNN-Based
sentiment analysis based on CNNs and
Framework”, IEEE (2024)
SVM”, IEEE (2018)
[17] Yoon Kim, “Convolutional Neural
[8] Sujata Rani, Parteek Kumar, “Deep
Networks for Sentence Classification”,
Learning Based Sentiment Analysis Using
arXiv (2014)
Convolution Neural Network”, Arabian
Journal for Science and Engineering [18] A. A. L. Cunha, M. C. Costa, and M. A. C.
(2018) Pacheco, “Sentiment analysis of youtube
video comments using deep neural
[9] Deepanway Ghosal, Navonil Majumder,
networks,” International Conference on
Soujanya Poria,Niyati Chhaya and
Artificial Intelligence and Soft Computing,
Alexander Gelbukh, “DialogueGCN: A
China, 2019.
Graph Convolutional Neural Network for
Emotion Recogre3w350nition in [19] Dana Alon and Jeongwoo Ko, Software
Conversation”, COLING (2019) Engineers, “GoEmotions: A Dataset for
Fine-Grained Emotion Classification”,
[10] Hannah Kim, Young-Seob Jeong,
Google Research, 2021
“Sentiment Classification Using
Convolutional Neural Networks”, MDPi
(2019)
[11] T Radhika, Ch Sandhya, Punna Mahesh, K
Manohar Reddy, “PRINCIPLE OF
SENTIMENT ANALYSIS USING CNN
AND ONLINE SOCIAL NETWORK
DATA, A TECHNOLOGICAL METHOD
TO STRESS DETECTION”, IJCRT
(2019)
[12] D. Christy Daniel, L. Shyamala, “Hybrid
CNN Classification for Sentiment Analysis
under Deep Learning”, IJITEE (2020)
[13] Kifayat Ullah, Anwar Rashad , Muzammil
Khan ,Yazeed Ghadi , Hanan Aljuaid and
Zubair Nawaz, “A Deep Neural Network-
Based Approach for Sentiment Analysis of
Movie Reviews”, WILEY (2022)