Preprint / Version 1

How and Why Does AI Classify Different Emotions

A Study into Sentiment Analysis

##article.authors##

  • Krish Kalla Phillips Exeter Academy

DOI:

https://doi.org/10.58445/rars.1306

Keywords:

AI, Machine Learning, NLP, LLM

Abstract

This research paper intends to explore the methodologies and effectiveness of artificial intelligence (AI) in classifying different emotions through sentiment analysis. Sentiment analysis, also known as opinion mining, utilizes natural language processing (NLP), computational linguistics, and text analysis to systematically identify, extract, quantify, and study affective states and subjective information. The study provides an overview of the current landscape of sentiment analysis, highlighting widely used techniques such as traditional machine-learning models, advanced deep-learning models such as Long Short-Term Memory (LSTM) and Transformer (E.g., BERT, GPT) models, as well as their shortcomings with current standards. A detailed methodology is presented, focusing on data collection, preprocessing, model training, and evaluation. The LSTM model created for this research demonstrates high performance in capturing long-term dependencies in text, marking around an 85% accuracy rate. The results underscore the significant advancements in AI-driven sentiment analysis and its applications across various industries, including marketing, customer service, and market research. Furthermore, the study highlights the potential of sentiment analysis in the mental health domain, where it can facilitate early detection and intervention for mental health issues through the analysis of textual data. The findings contribute to the ongoing development and refinement of AI techniques for more accurate and nuanced emotion classification. 

References

Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735-1780. https://www.mitpressjournals.org/doi/abs/10.1162/neco.1997.9.8.1735 (Accessed: 2024-06-02)

Liu, B. (2012). Sentiment analysis and opinion mining. Morgan & Claypool Publishers.

Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013). Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781. https://arxiv.org/abs/1301.3781

Pang, B., & Lee, L. (2008). Opinion mining and sentiment analysis. Foundations and Trends in Information Retrieval, 2(1-2), 1-135. https://www.nowpublishers.com/article/Details/INR-011 (Accessed: 2024-06-02)

Pennington, J., Socher, R., & Manning, C. D. (2014). GloVe: Global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) (pp. 1532-1543). https://www.aclweb.org/anthology/D14-1162/

Taboada, M., Brooke, J., Tofiloski, M., Voll, K., & Stede, M. (2011). Lexicon-based methods for sentiment analysis. Computational Linguistics, 37(2), 267-307. https://www.mitpressjournals.org/doi/abs/10.1162/COLI_a_00049 (Accessed: 2024-06-02)

van der Maaten, L., & Hinton, G. (2008). Visualizing data using t-SNE. Journal of Machine Learning Research, 9, 2579-2605. http://www.jmlr.org/papers/volume9/vandermaaten08a/vandermaaten08a.pdf (Accessed: 2024-06-02)

Young, T., Hazarika, D., Poria, S., & Cambria, E. (2018). Recent trends in deep learning based natural language processing. IEEE Computational Intelligence Magazine, 13(3), 55-75. https://ieeexplore.ieee.org/document/8416973 (Accessed: 2024-06-02)

Downloads

Posted

2024-07-20