Research Article

Computational Analysis of Social Media Sentiment Diffusion and Its Effects on Irrational Trading Decisions among Retail Investors

Yuetong Yang*
School of Management, University College London, London, United Kingdom, University College London

* Corresponding author: [email protected]

Abstract

Growing impact of social media sentiment on decisions of retail traders and dynamic properties of information diffusion might be factors that enhance irrational behavioral deviations from financial fundamentals. In this paper, a computational and behavioral framework is developed for investigating the role of social media sentiment in irrational trading decisions. It utilizes financial text mining, temporal diffusion modeling and machine learning for analyzing the influence of the sentiment. The research employs a combination of StockTwits data and market information collected during 12 weeks and a controlled online trading experiment with 240 participants making 2,880 portfolio decisions. FinBERT is used to classify financial sentiment while Hawkes process models self-excitation, temporal decay and diffusion intensity. Linear mixed-effects regression analyzes interaction between sentiment polarity and diffusion intensity while LightGBM with SHAP finds non-linear predictors of abnormal portfolio allocation. In simulated evaluation, FinBERT demonstrates accuracy of 0.862 and macro-F1 of 0.847 while LightGBM gets AUC of 0.821 ± 0.018. High diffusion intensifies the influence of positive sentiment leading to 11.7 percentage point increase in portfolio allocation against 4.8 percentage points at low diffusion. Negative sentiment decreases portfolio allocation by 10.9 and 4.2 percentage points correspondingly while the sentiment-diffusion interaction is 3.31 ± 0.42 percentage points (p < 0.001). The results show that communication intensity and temporal reinforcement amplify the impact of sentiment on irrational decision-making.

Keywords: Social Media Sentiment Diffusion; Retail Investors; Irrational Trading Decisions; Financial Text Mining; Explainable Machine Learning
Published: December 1, 2026
DOI: 10.54254/2753-8818/2026.39645
Volume: TNS Vol.208
pp. 48-53
Download PDF

References

  1. Cookson, J. A., et al. (2024). The social signal.Journal of Financial Economics, 158, 103870.
  2. Bradley, D., et al. (2024). Place your bets? The value of investment research on Reddit's Wallstreetbets.The Review of Financial Studies, 37(5), 1409–1459.
  3. Corgnet, B., DeSantis, M., & Porter, D. (2024). Let's chat… when communication promotes efficiency in experimental asset markets.Management Science, 70(10), 6550–6568.
  4. Warkulat, S., & Pelster, M. (2024). Social media attention and retail investor behavior: Evidence from r/wallstreetbets.International Review of Financial Analysis, 96, 103721.
  5. Li, T., et al. (2023). Understanding the role of social media sentiment in identifying irrational herding behavior in the stock market.International Review of Economics & Finance, 87, 163–179.
  6. Divernois, M.-A., & Filipović, D. (2024). StockTwits classified sentiment and stock returns.Digital Finance, 6(2), 249–281.
  7. Santi, C. (2023). Investor climate sentiment and financial markets.International Review of Financial Analysis, 86, 102490.
  8. Garcia, J. (2024). Herding the crowds: How sentiment affects crowdsourced earnings estimates.Financial Markets and Portfolio Management, 38(3), 331–370.
  9. Kuerzinger, L., & Stangor, P. (2024). The relevance and influence of social media posts on investment decisions of young and social media-savvy individuals—An experimental approach based on tweets.Journal of Behavioral and Experimental Finance, 44, 101005.
  10. Cai, Q., & Yung, K. (2024). Retail attention on earnings announcement days: Evidence from social media.Journal of Behavioral and Experimental Finance, 43, 100958.
  11. Kryzanowski, L., & Rouhghalandari, A. (2024). Institutional/retail investor active attention and behavior: Firm coverage on Mad Money.Journal of Behavioral and Experimental Finance, 42, 100937.