Abstract
Inferring user demographics on Reddit is notoriously difficult, often relying on opaque embeddings or computationally expensive text analysis. This paper introduces a transparent, scalable framework using over 850,000 self-declared user labels and sparse subreddit participation data. Surprisingly, simple probabilistic models like Naive Bayes significantly outperform complex embedding baselines, offering better accuracy, interpretability, and privacy-conscious population-level estimates.
Introduction
To study how online environments shape real-world outcomes—such as voting behavior or vaccine hesitancy—computational social scientists require an understanding of the sociodemographic makeup of platforms like Reddit. However, obtaining this data is challenging. Current Sociodemographic Inference (SDI) methods typically fall into two categories: NLP-heavy models that analyze user text (which are computationally expensive and privacy-invasive) or unsupervised embedding models that project users into latent spaces. The latter, while scalable, are often opaque and rely on arbitrary "seed" subreddits to define demographic axes, making them difficult to audit.
This research addresses the trade-off between generalizability, reliability, and efficiency. The authors investigate whether a highly accurate, transparent, and scalable demographic inference tool can be built without relying on black-box embeddings or researcher-imposed assumptions.
Methodology
Instead of analyzing text content, the authors analyze "where users go" by examining sparse participation signals—specifically, comment counts across the top 10,000 subreddits. The approach utilizes bottom-up labeling, employing regular expressions to mine explicit self-declarations (e.g., "I am a Democrat", "24F") from user comments to create a massive ground-truth dataset.
Datasets
The curated dataset spans 2016 to 2020 and includes:
- Year of Birth: ~420,000 users (split into Young vs. Old).
- Gender: ~424,000 users (Male vs. Female).
- Partisan Affiliation: ~6,300 users (Democrat vs. Republican).
Modeling
The authors benchmarked the state-of-the-art Waller & Anderson (WA) embedding model against Random Forests and Multinomial Naive Bayes (NB). They also applied quantification wrappers, such as Adjusted Classify & Count, and isotonic regression to ensure output probabilities were well-calibrated for population-level estimates.
Results and Discussion
The study found that simplicity often beats complexity. A simple Multinomial Naive Bayes model significantly outperformed the unsupervised embedding baseline, achieving ROC AUC gains of +17% for age, +19% for gender, and +6% for partisan affiliation.
Key Insights
- Ground Truth Superiority: Training on actual self-declarations vastly outperformed "distant supervision" (guessing labels based on stereotypical participation).
- Interpretability: Because Naive Bayes assigns log-odds weights to features, the model is easily auditable. For instance, it transparently identifies that participation in
r/SkincareAddictionstrongly predicts female users, whiler/dankmemesis a predictor for younger users. - Quantification for Privacy: For social science, macro-trends are often more important than individual classification. By focusing on quantification, researchers can achieve accurate population-level insights (keeping Mean Absolute Error below 15%) while preserving individual privacy.
Conclusion
This work demonstrates that supervised models trained on authentic community labels provide a superior path for large-scale demographic inference on pseudonymous platforms. While currently limited to binary attributes, the framework's efficiency—requiring only about 1,000 labeled samples to surpass pretrained unsupervised models—makes it a powerful tool for future computational social science. Future work will look toward integrating multiple proxies and exploring non-binary identity markers.
Summary updated