Research Article

Selection Bias in Sentiment Data of Social Media in LLM Training Datasets

Shenghao Liu*
Jiangnan University

* Corresponding author: [email protected]

Abstract

Big language models are possibly becoming positively biased–not on purpose. The systematic literature review methodology was adopted to analyse the survival of negative sentiment content through the aggressive filtering pipelines that convert raw web crawls into training corpora, like C4 and RefinedWeb. A systematic depletion of negative sentiment was reported, through a qualitative synthesis of eleven empirical studies, following a standard filtering procedure, whereas positive and neutral content are relatively preserved. This skew is not consistent--it changes steeply depending on the architecture of the datasets, changing depending on whether using general-purpose and domain-specific classifiers, and increasing when using a more demanding toxicity detection threshold. It was found that the depletion was attributable to four conflating negative emotion with harmful language, length-based heuristics, short negative posts, deduplication with low-repetition emotional posts, and lexical diversity filtering influencing lexical diversity survival. These results give empirical signals to transparency audits and can give practical suggestions on how bias can be reduced in commercial sentiment analysis deployments.

Keywords: social media; sentiment analysis; selection bias; LLM training data
Published: June 8, 2026
DOI: 10.54254/2755-2721/2026.GU34146
Volume: ACE Vol.242
pp. 170-176
Download PDF

References

  1. J. Dodge, M. Sap, A. Marasović, W. Agnew, G. Ilharco, D. Groeneveld, M. Gardner, A case study on the colossal clean crawled corpus. Proc. Conf. Empir. Methods Nat. Lang. Process., 1286–1305 (2021).
  2. L. Gao, S. Biderman, S. Black, L. Golding, T. Hoppe, C. Foster, J. Phang, H. He, A. Thite, N. Nabeshima, S. Presser, C. Leahy, The Pile: An 800GB dataset of diverse text for language modeling. arXiv 2009.00031 (2020).
  3. G. Penedo, Q. Malartic, D. Hesslow, R. Cojocaru, A. Cappelli, H. Alobeidli, The RefinedWeb dataset for Falcon LLM: Fine-tuning web data on curated corpora and web data alone. arXiv 2306.01116 (2023).
  4. S. Longpre, G. Yauney, E. Reif, K. Lee, A. Roberts, B. Zoph, D. Zhou, J. Wei, N. Robinson, D. Mimno, D. Ippolito, A pretrainer's guide to training data: Measuring the effects of data age, domain coverage, quality, and toxicity. arXiv 2305.13169 (2023).
  5. J. Kreutzer, I. Caswell, L. Wang, A. Wahab, D. van Es, N. Ulzii-Orshikh, A. Tapo, N. Subramani, A. Sokolov, C. Kasai, S. Chiruzzo, et al., Quality at a glance: An audit of web-crawled multilingual datasets. Trans. Assoc. Comput. Linguist. 10, 50–72 (2022).
  6. T. Garg, S. Masud, T. Chakraborty, Handling bias in toxic speech detection: A survey. ACM Comput. Surv. 55(13s), 1–32 (2023).
  7. E. M. Bender, T. Gebru, A. McMillan-Major, S. Shmitchell, On the dangers of stochastic parrots: Can language models be too big? Proc. ACM Conf. Fairness Account. Transpar., 610–623 (2021).
  8. M. Wankhade, A. C. S. Rao, C. Kulkarni, A survey on sentiment analysis methods, applications, and challenges. Artif. Intell. Rev. 55, 5731–5780 (2022).
  9. C. J. Hutto, E. Gilbert, VADER: A parsimonious rule-based model for sentiment analysis of social media text. Proc. Int. AAAI Conf. Web Soc. Media 8, 216–225 (2014).
  10. F. Barbieri, J. Camacho-Collados, L. Neves, L. E. Anke, TweetEval: Unified benchmark and comparative evaluation of tweet classification. arXiv 2010.12421 (2020).
  11. Sentiment analysis of cyber security content on Twitter and Reddit. arXiv 2204.12267 (2022).