Objective
Artificial intelligence (AI) is showing up in science, technology, engineering and math (STEM) classes. Schools are testing tools that can build practice problems, track how students are doing and give feedback. Some people also worry about students relying too much on AI, cheating, and bias in the tools.
Earlier studies of opinions about AI in education mostly used surveys and interviews with selected groups. Those methods do not capture the spontaneous things people say in public. The authors turned to X (formerly Twitter), where people post short messages about topics they care about, to see what the wider public says about AI in STEM education.
They asked three questions:
- What is the public mood about AI in STEM education on X? Are posts positive, neutral or negative, and which emotions show up most?
- How did that mood change over time?
- Which topics are people talking about when they post?
"Sentiment analysis" means using software to sort text into positive, neutral or negative. The authors also wanted to give policymakers and educators a clearer picture of public awareness and concerns.
Methods
This was a quantitative study of public social media posts. It describes what people posted. It cannot show why they posted it or whether the posters are teachers, students or others.
Collecting the posts
The team used X's academic research access, through the R package academictwitteR, to pull every post between April 28, 2020 and April 27, 2023 that contained the terms "artificial intelligence" and the STEM hashtag. This gave 33,379 historical posts.
Cleaning the data
Using Python, they removed non-English posts, duplicate posts from the same user, missing values, punctuation, common filler words, and posts containing web links or symbols. They also checked accounts by hand to find and remove bots. After cleaning, 6,996 unique posts remained.
Measuring sentiment
Two coders took a random 10 percent of the posts (700 posts) and labeled each as positive, neutral or negative. The team then trained a random forest (a machine learning method that combines many simple decision rules) on these labels. It reached an accuracy of 84.28% on the labeled data. The trained model then labeled the other 6,296 posts.
To look at specific emotions, they used the NRC Emotion Lexicon, a word list built from crowd ratings that links words to eight emotions: anger, fear, joy, sadness, disgust, trust, anticipation and surprise.
Finding topics
They used topic modeling, a method that groups posts by the words that tend to appear together. A coherence score helped them choose four topics, and the research team named each topic by reading its top terms. The paper does not mention ethics approval, which is common for public posts.
Key Findings
Overall, most posts were neutral or positive, negative posts were rare, and talk about AI in STEM grew over the three years.
Volume of posts
- Mentions rose from only 6 in April 2020 to 143 by August 2020.
- They peaked at 386 in March 2022, after a high of 275 in April 2021.
- Later in 2022 they stayed between 192 and 276 a month, and rose again in early 2023 (244 in January and 241 in March).
Sentiment
- 56.1% of the posts were neutral, 40.6% were positive and 3.3% were negative.
- Positive posts peaked in April 2021 at 233 posts. After that, positive posts fell to 71 by April 2023.
- Neutral posts peaked at 290 in March 2022.
- Negative posts were lowest in October 2021, then rose from early 2022 and peaked at 28 in February 2022.
The authors read the overall pattern as early optimism followed by more scrutiny. They also say negative sentiment stayed very low throughout, so the numbers are small. In plain terms, the share of neutral posts stayed large, and the authors link its rise in 2022 to more business and information posts from organizations.
Emotions were counted separately from sentiment, so one post can carry more than one emotion and the counts do not add up to the number of posts.
Emotions
The most common emotions were anticipation (4207 occurrences), trust (3249) and joy (2892). Negative emotions were present but less common: fear (758), anger (335), sadness (290) and disgust (148). Surprise appeared 882 times and can be positive or negative.
Topics
- Future innovators, such as technology, innovation and research: 27.9% of posts.
- Teaching and education chat, such as podcasts, books and teacher talk: 24.31% in the text.
- Coding and physical computing, such as robots and kids learning to program: 17.4%.
- Trending data science topics, such as machine learning and the AI4ALL tag: the largest group, with coding and data science together covering over 50% of posts.
Examples of posts in the data included teachers sharing classroom robot activities, podcast episodes about AI and learning, and promotions of coding programs. The paper gives slightly different percentages for two topics in its text and its table, so treat these shares as approximate.
Implications
The authors suggest what these results mean for several groups.
Policymakers and funders
- The authors say policy should support research and public information about the benefits and risks of AI, to ease worry and build confidence.
- They also call for attention to equal access and outcomes as AI spreads in schools.
Educators and school leaders
- The authors say the mostly positive posts point to openness toward AI in STEM, and they call for AI curricula and teacher preparation to teach it well.
- They note that the small share of negative posts shows a chance for training that engages educators who are uneasy.
- They suggest studying how future teachers can learn to spot bias in AI-made text and media.
Researchers
- The authors suggest interviews and focus groups with STEM teachers to add depth to a social media view.
- They also suggest studying how media and cultural events shape opinion.
- They say teachers and leaders can gain from understanding the feelings and factors behind public opinion before making decisions, and that guidance on data privacy and fairness should go along with any move toward more AI use.
Our reading (not the authors' recommendation): a school leader could treat these numbers as a general sign of public mood, not as evidence about how teachers in their own building feel. A short survey of local staff would answer that better.
Our reading (not the authors' recommendation): because the study cannot say who posted, advice about teacher training should rest on teacher-specific studies.
Limitations
The authors name several limits.
- Only English-language posts were included, so the results say little about other languages and countries.
- X users may not match the general public, and the authors note the platform may be more limited in developing countries.
- Some posts could have been missed by the data tool, and many users may not have used both search terms, so the sample is not complete.
- The topic names came from the researchers' own reading of word lists, which may add bias.
Other weaknesses matter for how far you can trust the results.
- The paper does not mention, but the sentiment labels came from a model trained on 700 hand-labeled posts, and a model that is 84.28% accurate will still mislabel some posts.
- The paper does not mention, but the sample was posts that used the STEM hashtag, which tend to come from people already interested in the topic.
- The authors say some posts probably came from companies, organizations and users with large followings. They also say that without reading the posts it is hard to explain the very positive sentiment. Promotional posts may look positive without showing real opinion.
- The paper does not mention, but 33,379 posts were cut to 6,996 after cleaning, so a large share of the original data was dropped.
- The paper does not mention, but the study cannot say anything about how people feel about AI in their own classrooms.
Future Directions
The authors point to several next steps, and the study leaves some questions open.
- Can the same analysis be run on posts in other widely spoken languages, such as Spanish, French, Mandarin Chinese and Hindi, to learn how a wider global community sees AI in STEM education?
- What would a more qualitative look at the posts, such as a careful thematic reading, add to topic modeling?
- Would interviews or focus groups with STEM teachers show how their own experiences compare with the public mood on X?
- How do cultural events, media coverage and training shape opinion over time?
- How can future teachers learn to recognize bias in AI-produced text and media in STEM settings?
- The authors also say that the finding of AI as a tool of the future does not fit neatly into current education theories, and that this needs more thinking.
The bottom line: Across 6,996 English-language posts on X from 2020 to 2023, talk about AI in STEM education was mostly neutral (56.1%) or positive (40.6%), with few negative posts (3.3%). The evidence is useful as a broad picture of public mood, but it is limited. The posts come from many kinds of users, the sentiment labels came from a model, and the study cannot tell you what teachers or students themselves think. Use it as a starting point, and check opinions in your own school or district directly.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.