Natural Language Processing Analysis

Sentiment and Topic Modeling of AI Discussions on Reddit

Across 7 AI-related subreddits | Average sentiment: 0.008

Executive Summary

This page shows what people talk about when they discuss AI on Reddit. We focus on three simple questions: (1) How positive or negative are the comments? (2) How do different communities and days of the week compare? (3) What are the main topics behind the discussion?

On average, the mood is slightly positive. Subreddits that talk about concrete tools and “how to use AI” are a bit more optimistic. Places that focus on risks, ethics, or long-term impact are a bit more critical. These patterns help us quickly see where people are excited about AI and where they are more worried or cautious.

Key takeaway: Overall sentiment across AI subreddits is slightly positive (average score ≈ 0.008). deeplearning is the most positive community (≈ 0.02), while MachineLearning has the most neutral / critical tone (≈ 0.00).

Business Question 5: Sentiment Analysis Across Communities

How does sentiment toward AI technologies differ across communities and evolve over time?

We analyze sentiment patterns across AI-related subreddits using a lexicon-based sentiment model. Comments are scored and aggregated by subreddit, month, and day of week to identify patterns in community attitudes toward AI technologies.

Table 1. Top AI Subreddits by Activity and Sentiment
subreddit num_comments avg_sentiment comment_share
technology 11526 0.006814 0.616858
ChatGPT 5547 0.010618 0.296869
datascience 665 0.009300 0.035590
MachineLearning 353 0.004987 0.018892
artificial 319 0.015930 0.017073
learnmachinelearning 205 0.014322 0.010971
deeplearning 70 0.024665 0.003746
Figure 1. Average Sentiment by Subreddit
Average sentiment by subreddit
Figure 2. Average Sentiment by Day of Week
Average sentiment by day of week
Figure 3. Monthly Sentiment Trend
Average sentiment over time

Key Insights

  • Overall sentiment across AI subreddits is slightly positive (average score ≈ 0.008)
  • deeplearning is the most positive community (≈ 0.024), while MachineLearning has the most neutral tone (≈ 0.005)
  • Tool-oriented communities (ChatGPT, artificial) show more positive sentiment than technical research communities
  • Sentiment remains relatively stable across days of the week, with minimal weekend effect
  • Monthly sentiment fluctuations correlate with major AI releases and policy debates

Business Question 6: Topic Modeling and Themes

What are the dominant topics and themes discussed across different AI subreddits?

We apply Latent Dirichlet Allocation (LDA) topic modeling to discover recurring themes in AI discussions. The model identifies 10 distinct topics, each representing a cluster of related discussions ranging from technical implementations to ethical concerns and career questions. We also calculate TF-IDF scores to validate the main themes identified by LDA.

Table 3. Top Keywords per Topic (LDA)
topic_id rank term weight
0 1 it 1241.824406
0 2 my 1150.406087
0 3 for 848.460461
0 4 ve 546.788096
0 5 and 514.314225
1 1 to 2833.814784
1 2 they 2747.857059
1 3 and 1640.743868
1 4 it 1556.630861
1 5 that 1411.697868
2 1 wow 2572.099998
2 2 boeing 122.099956
2 3 max 49.332671
2 4 nah 47.770629
2 5 million 47.572111
3 1 it 3003.413688
3 2 is 2782.128559
3 3 that 1719.097798
3 4 this 1297.795871
3 5 what 870.010895
4 1 to 1989.862339
4 2 and 1394.355621
4 3 of 1377.335394
4 4 reddit 1222.992341
4 5 is 1028.043424
5 1 and 1127.600587
5 2 in 936.477799
5 3 of 792.824940
5 4 are 718.467663
5 5 not 485.770294
6 1 and 2345.138752
6 2 to 1853.952127
6 3 it 1519.569311
6 4 was 1455.959112
6 5 in 1240.113067
7 1 you 7545.180508
7 2 to 3047.772287
7 3 your 1506.718727
7 4 if 1377.039330
7 5 it 1197.222020
8 1 to 5878.065745
8 2 and 5089.342761
8 3 of 4927.476629
8 4 it 3371.725693
8 5 is 3257.651094
9 1 this 2421.359438
9 2 chatgpt 1756.111034
9 3 bot 1694.099970
9 4 please 1630.184933
9 5 to 1402.773976

Key Insights

  • LDA topic modeling identifies 10 distinct themes in AI discussions
  • Topics range from technical implementations to ethical concerns and career questions
  • TF-IDF analysis validates the main themes identified by LDA
  • Topic 9 shows strong ChatGPT-related discussions (keywords: chatgpt, bot, please)
  • Different subreddits focus on different topic mixes based on their community orientation

Business Question 7: Topic Distribution Across Communities

How do topic distributions vary across communities and change over time?

We analyze how the 10 identified topics are distributed across different subreddits and track their evolution over time. This reveals which communities focus on technical discussions versus ethical concerns, and how topic popularity shifts with major AI releases and events.

Topic distribution by subreddit

Topic mix by subreddit

Topic evolution over time

Topic evolution over time

Key Insights

  • Different subreddits show distinct topic preferences based on community orientation
  • Technical communities focus more on implementation and "how-to" discussions
  • General communities discuss broader topics including governance, safety, and long-term risks
  • Topic popularity shifts correlate with major AI product launches and policy debates
  • Safety and employment topics gain visibility during controversial AI announcements

Technical Details and Notebooks

The full implementation of the NLP pipeline (including Spark-based preprocessing, simple SparkNLP-style cleaning steps, sentiment scoring, TF-IDF analysis, and topic modeling) is documented in our project notebooks. Links to the notebooks (HTML / ipynb) and external data sources are provided on the main project website and in the technical report.