Skip to main content

Public Perception of ChatGPT and Transfer Learning for Tweets Sentiment Analysis Using Wolfram Mathematica

Publication ,  Journal Article
Su, Y; Kabala, ZJ
Published in: Data
December 1, 2023

Understanding public opinion on ChatGPT is crucial for recognizing its strengths and areas of concern. By utilizing natural language processing (NLP), this study delves into tweets regarding ChatGPT to determine temporal patterns, content features, and topic modeling and perform a sentiment analysis. Analyzing a dataset of 500,000 tweets, our research shifts from conventional data science tools like Python and R to exploit Wolfram Mathematica’s robust capabilities. Additionally, with the aim of solving the problem of ignoring semantic information in the LDA model feature extraction, a synergistic methodology entwining LDA, GloVe embeddings, and K-Nearest Neighbors (KNN) clustering is proposed to categorize topics within ChatGPT-related tweets. This comprehensive strategy ensures semantic, syntactic, and topical congruence within classified groups by utilizing the strengths of probabilistic modeling, semantic embeddings, and similarity-based clustering. While built-in sentiment classifiers often fall short in accuracy, we introduce four transfer learning techniques from the Wolfram Neural Net Repository to address this gap. Two of these techniques involve transferring static word embeddings, “GloVe” and “ConceptNet”, which are further processed using an LSTM layer. The remaining techniques center on fine-tuning pre-trained models using scantily annotated data; one refines embeddings from language models (ELMo), while the other fine-tunes bidirectional encoder representations from transformers (BERT). Our experiments on the dataset underscore the effectiveness of the four methods for the sentiment analysis of tweets. This investigation augments our comprehension of user sentiment towards ChatGPT and emphasizes the continued significance of exploration in this domain. Furthermore, this work serves as a pivotal reference for scholars who are accustomed to using Wolfram Mathematica in other research domains, aiding their efforts in text analytics on social media platforms.

Duke Scholars

Published In

Data

DOI

EISSN

2306-5729

Publication Date

December 1, 2023

Volume

8

Issue

12

Related Subject Headings

  • 4610 Library and information studies
  • 4605 Data management and data science
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Su, Y., & Kabala, Z. J. (2023). Public Perception of ChatGPT and Transfer Learning for Tweets Sentiment Analysis Using Wolfram Mathematica. Data, 8(12). https://doi.org/10.3390/data8120180
Su, Y., and Z. J. Kabala. “Public Perception of ChatGPT and Transfer Learning for Tweets Sentiment Analysis Using Wolfram Mathematica.” Data 8, no. 12 (December 1, 2023). https://doi.org/10.3390/data8120180.
Su, Y., and Z. J. Kabala. “Public Perception of ChatGPT and Transfer Learning for Tweets Sentiment Analysis Using Wolfram Mathematica.” Data, vol. 8, no. 12, Dec. 2023. Scopus, doi:10.3390/data8120180.

Published In

Data

DOI

EISSN

2306-5729

Publication Date

December 1, 2023

Volume

8

Issue

12

Related Subject Headings

  • 4610 Library and information studies
  • 4605 Data management and data science