Unveiling Public Sentiment Towards ChatGPT: Sentiment and Thematic Analysis of X (formerly Twitter) Discourse
Main Article Content
Abstract
As generative AI technologies like ChatGPT become increasingly integrated into various aspects of daily life, understanding public perception is crucial for guiding responsible development and ethical deployment. This study conducts a comprehensive sentiment analysis of Twitter discourse, utilizing an innovative approach that integrates Plutchik’s Wheel of Emotions, the NRC Word-Emotion Association Lexicon, and the VADER algorithm. By analyzing a dataset of 39,051 tweets, the research aims to identify predominant emotions, sentiment intensity and distribution (positive, negative, and neutral), and underlying themes within the discourse. The findings reveal that trust, anticipation, and joy are the most frequently expressed emotions, reflecting a generally positive reception of ChatGPT. Specifically, 54.4% of the tweets conveyed positive sentiments, 17.02% were negative, and 28.58% were neutral. Thematic analysis, facilitated by Latent Dirichlet Allocation (LDA) and Gibbs Sampling, uncovers key themes related to ChatGPT’s potential, functionality, and utility. This study contributes to a deeper understanding of public attitudes towards generative AI technologies, providing valuable insights for developers, policymakers, and researchers in addressing the ethical, practical, and societal implications of AI integration into everyday life.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
N. Bakalos, N. Papadakis, and A. Litke, "Public Perception of Autonomous Mobility Using ML-Based Sentiment Analysis over Social Media Data," Logistics, vol. 4, no. 2, p. 12, 2020, doi: 10.3390/logistics4020012.
S. Kang, Y. Choi, and B. Kim, "Impact of motivation factors for using generative AI services on continuous use intention: Mediating trust and acceptance attitude," Social Sciences, vol. 13, no. 9, p. 475, 2024, doi: 10.3390/socsci13090475.
P. Gupta, B. Ding, C. Guan, and D. Ding, "Generative AI: A systematic review using topic modeling techniques," Data and Information Management, vol. 8, no. 2, pp. 100066, 2024, doi: 10.1016/j.dim.2024.100066.
H. Taherdoost and M. Madanchian, "Artificial Intelligence and Sentiment Analysis: A Review in Competitive Research," Computers, vol. 12, no. 2, p. 37, 2023, doi: 10.3390/computers12020037.
J. O. Krugmann and J. Hartmann, "Sentiment Analysis in the Age of Generative AI," Customer Need and Solution, vol. 11, no. 3, 2024, doi: 10.1007/s40547-024-00143-4.
T. Davenport, A. Guha, D. Grewal, and T. Bressgott, "How artificial intelligence will change the future of marketing," Journal of the Academy of Marketing Science, vol. 48, pp. 24-42, 2019, doi: 10.1007/s11747-019-00696-0.
H. Saragih and J. Manurung, "Leveraging the BERT Model for Enhanced Sentiment Analysis in Multicontextual Social Media Content," Computational Intelligence and Technology, vol. 16, pp. 82-89, May 2024, doi: 10.35335/cit.Vol16.2024.766.pp82-89.
T. Anderson, S. Sarkar, and R. Kelley, "Analyzing public sentiment on sustainability: A comprehensive review and application of sentiment analysis techniques," Natural Language Processing Journal, vol. 8, pp. 100097, 2024, doi: 10.1016/j.nlp.2024.100097.
C. J. Hutto and E. Gilbert, "VADER: A parsimonious rule-based model for sentiment analysis of social media text," Eighth International AAAI Conference on Weblogs and Social Media, 2014, doi: 10.1609/icwsm.v8i1.14550.
G. Bello, H. Menéndez, S. Okazaki, and D. Camacho, "Extracting Collective Trends from Twitter Using Social-Based Data Mining," in Lecture Notes in Computer Science, vol. 8083, pp. 622-630, Sep. 2013. doi: 10.1007/978-3-642-40495-5_62.
S. Prata, "ChatGPT Tweets Dataset," accessed Mar. 2, 2024. [Online]. Available: https://bit.ly/4bzMtrS.
C. Sindhu, B. Sasmal, R. Gupta, and J. Prathipa, "Subjectivity Detection for Sentiment Analysis on Twitter Data," in Artificial Intelligence Techniques for Advanced Computing Applications, D. Hemanth, G. Vadivu, M. Sangeetha, and V. Balas, Eds. Lecture Notes in Networks and Systems, vol. 130, Singapore: Springer, 2021, pp. 555-563, doi: 10.1007/978-981-15-5329-5_43.
I. Istifci and A.D. Ucar, "A Review of Research on the Use of Social Media in Language Teaching and Learning," Journal of Educational Technology and Online Learning, vol. 4, Sep. 2021, doi: 10.31681/jetol.922968.
H. Wickham, "Tidyverse: Easily Install and Load the 'Tidyverse'," R package version 1.3.0, 2019. [Online]. Available: https://CRAN.R-project.org/package=tidyverse.
I. Feinerer, K. Hornik, and D. Meyer, "Text Mining Infrastructure in R," Journal of Statistical Software, vol. 25, no. 5, pp. 1-54, 2008, doi: 10.18637/JSS.V025.I05.
M. Javed and S. Kamal, "Normalization of Unstructured and Informal Text in Sentiment Analysis," International Journal of Advanced Computer Science and Applications (IJACSA), 2018, doi: 10.14569/IJACSA.2018.091011.
P. Dandannavar, S. Mangalwede, and S. Deshpande, "Emoticons and Their Effects on Sentiment Analysis of Twitter Data," in Proceedings, pp. 191-201, Jan. 2020, doi: 10.1007/978-3-030-19562-5_19.
S. Pradha, M. Halgamuge, and Q. Vinh, "Effective Text Data Preprocessing Technique for Sentiment Analysis in Social Media Data," in Proc. 11th Int. Conf. Knowledge and Syst. Eng., Oct. 2019, doi: 10.1109/KSE.2019.8919368.
A. Nandi and P. Sharma, "Comparative Study of Sentiment Analysis Techniques," in *Sentiment Analysis Techniques,” vol. 1, p. 188, Jun. 2021, doi:10.1201/9781003202240-72.
K. Jaidka, S. Giorgi, H.A. Schwartz, M.L. Kern, L.H. Ungar, and J.C. Eichstaedt, "Estimating geographic subjective well-being from Twitter: A comparison of dictionary and data-driven language methods," Proc. Natl. Acad. Sci. U.S.A., vol. 117, no. 19, pp. 10165–10171, 2020, doi: 10.1073/pnas.1906364117.
M. HarishRao and S. D.R, "Automatic product review sentiment analysis using Vader and feature Visualization," Int. J. Comput. Sci. Eng. Inf. Technol. Res., vol. 7, no. 4, pp. 53–66, 2017, doi: 10.24247/ijcseitraug20178.
K. K. Aldous, J. An, and B. J. Jansen, "Measuring 9 emotions of news posts from 8 news organizations across 4 social media platforms for 8 months," ACM Trans. Social Comput., vol. 4, no. 4, pp. 1–31, 2021, doi: 10.1145/3516491.
D. Griol, J. M. Molina and J. García-Herrero, "Fusion of sentiment analysis and emotion recognition to model the user's emotional state," 2015 18th International Conference on Information Fusion (Fusion), Washington, DC, USA, 2015, pp. 814-822. Available: https://ieeexplore.ieee.org/document/7266644.
R. Plutchik, "Emotions and psychotherapy: A psychoevolutionary perspective," Emotion, Psychopathology, and Psychotherapy, pp. 3–41, 1990, doi: 10.1016/b978-0-12-558705-1.50007-5.
F. S. Tabak and V. Evrim, "Comparison of emotion lexicons," in 2016 HONET-ICT, 2016, pp. 154–158, doi: 10.1109/honet.2016.7753440.
D. Andrzejewski and X. Zhu, "Latent dirichlet allocation with topic-in-set knowledge," Proc. NAACL HLT Workshop Semi-Supervised Learn. Nat. Lang. Process., pp. 43–48, 2009, doi: 10.3115/1621829.1621835.
D. M. Blei, A. Ng, and M.I. Jordan, "Latent Dirichlet Allocation." Available: https://acsweb.ucsd.edu/~yuw176/report/lda.pdf
J. Arrivillaga, D. Greenleaf, M. Hawthorn, and R. Alvarado, "Revealing the landscape: Detecting trends in a scientific corpus," in 2016 IEEE Syst. Inf. Eng. Design Symp. (SIEDS), pp. 292–297, 2016, doi: 10.1109/sieds.2016.7489317.
T. L. Griffiths and M. Steyvers, "Finding scientific topics," Proc. Natl. Acad. Sci. U.S.A., vol. 101, suppl. 1, pp. 5228–5235, 2004, doi: 10.1073/pnas.0307752101.
H. Jelodar, Y. Wang, C. Yuan, X. Feng, X. Jiang, Y. Li, and L. Zhao, "Latent Dirichlet allocation (LDA) and topic modeling: models, applications, a survey," Multimedia Tools and Applications, vol. 78, pp. 15169–15211, 2019, doi: 10.1007/s11042-018-6894-4.