Sentiment and Topic Modeling of AI Discussions on Reddit
Across 7 AI-related subreddits | Average sentiment: 0.008
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.
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.
| 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 |
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.
| 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 | 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 |
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 mix by subreddit
Topic evolution over time
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.
code/nlp/ Python modules for preprocessing, sentiment, and LDA topics.data/csv/ CSV summaries used to build this page.data/parquet/ Parquet files used for downstream machine learning.data/plots/ PNG figures embedded above.