JOURNAL ARTICLE

Emotion Recognition on Social Media Using Natural Language Processing (NLP) Techniques

Abstract

In recent years, text has been the main form of communication on social media platforms such as Twitter, Reddit, Facebook, Instagram and YouTube. Emotion Recognition from these platforms can be exploited for all sorts of applications. Through the means of a review of the current literature, it was found that Transformer-based deep learning models show very promising results when trained and fine-tuned for emotion recognition tasks. This paper provides an overview of the architecture for three of the most popular Transformer-based models, BERT Base, DistilBERT, and RoBERTa. These models are also fine-tuned using the “Emotions” dataset; a data corpus composed of English tweets annotated in six (6) different emotions, and the performance of the models is evaluated. The results of this experiment showed that while all of the models demonstrated excellent emotion recognition capabilities by obtaining over 92% F1-score, DistilBERT could be trained in nearly half of the time compared to the other models. Thus, the use of DistilBERT for emotion recognition tasks is encouraged.

Keywords:
Computer science Transformer Social media Emotion recognition Artificial intelligence Natural language processing Architecture Deep learning Speech recognition World Wide Web

Metrics

8
Cited By
3.33
FWCI (Field Weighted Citation Impact)
11
Refs
0.88
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Emotion and Mood Recognition
Social Sciences →  Psychology →  Experimental and Cognitive Psychology
Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Text and Document Classification Technologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Analysis of Social Media Data Using Natural Language Processing (NLP)

Kashid, Ms. Divya

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2025
JOURNAL ARTICLE

Analysis of Social Media Data Using Natural Language Processing (NLP)

Kashid, Ms. Divya

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2025
JOURNAL ARTICLE

Social Media Analysis using Natural Language Processing Techniques

Jyotika Singh

Journal:   Proceedings of the Python in Science Conferences Year: 2021 Pages: 74-80
JOURNAL ARTICLE

Detecting depression using natural language processing (NLP) techniques

Hawra A. Al MohsinEbrahim A. Mattar

Journal:   IET conference proceedings. Year: 2024 Vol: 2023 (44)Pages: 657-661
JOURNAL ARTICLE

UNDERSTANDING NATURAL LANGUAGE PROCESSING (NLP) TECHNIQUES

Researcher

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2024
© 2026 ScienceGate Book Chapters — All rights reserved.