Demographic Inference and Representative Population Estimates from Multilingual Social Media Data

Zijian Wang, Scott A. Hale, David Ifeoluwa Adelani, Przemyslaw A. Grabowicz, Timo Hartmann, Fabian Flöck, David Jurgens · DOI

TL;DR

This paper tackles the challenge of using social media data for representative population estimates by developing a novel multilingual, multimodal deep learning model for demographic inference (age, gender, organization status) and a statistical framework for post-stratification to correct for sampling biases. Their approach significantly improves demographic inference accuracy across 32 languages and enables more reliable social sensing applications.

What Problem Does This Paper Address?

Social media platforms offer a treasure trove of real-time behavioral data, making them attractive for "social sensing" – understanding societal trends, opinions, and behaviors. However, this data is inherently biased. Users are not a random sample of the general population; they tend to be younger, more male, and from dominant language groups, especially on platforms like Twitter. This non-representativeness makes it difficult to draw accurate conclusions about broader populations. While demographic inference (predicting age, gender, etc.) can help, existing methods are largely monolingual and struggle with the diversity of global social media. Furthermore, even with demographic inference, correcting for the sampling bias – the unknown probability of individuals from different demographic groups joining the platform – remains a significant hurdle.

Methods

The paper introduces a two-stage approach:

  1. Multilingual, Multimodal Demographic Inference (M3 Model):
    • Multimodal: The model leverages multiple data sources from user profiles: profile images, usernames, screen names, and biographies.
  2. Multilingual: It's designed to work across 32 languages, a significant advancement over existing monolingual models.
  3. Deep Learning Architecture: A novel deep neural network architecture is proposed, combining DenseNet for image processing and character-level LSTMs for text. This architecture is trained using a multi-task learning approach to predict age, gender, and whether an account represents an organization.
  4. Training Innovations: To improve robustness and handle limited data in less common languages, they employ:
  5. Co-training: A semi-supervised technique that leverages unlabeled data by iteratively training classifiers on each other's confident predictions.
  6. Multilingual Data Augmentation: Using machine translation to expand training data for underrepresented languages.
  7. Modality Dropout: A regularization technique that randomly drops out one of the input modalities (image or text components) during training to encourage the model to rely on diverse information sources.
  8. Post-Stratification for Bias Correction:
    • Inclusion Probability Estimation: They develop a statistical framework to estimate the "inclusion probability" – the likelihood of an individual from a specific demographic group being present on the platform. This is crucial for correcting sampling biases.
  9. Multilevel Regression Models: They propose interpretable multilevel regression models that regress ground-truth population counts against inferred social media counts. These models can account for both homogeneous (same bias across groups) and inhomogeneous (varying bias across groups) inclusion probabilities, and importantly, can incorporate country-specific biases.

Datasets

  • Heuristically-identified users: A large dataset of Twitter profiles (primarily English) with heuristically identified gender and age.
  • Organization accounts: A curated dataset of Twitter lists identifying organizational accounts.
  • IMDB-WIKI dataset: A large dataset of actor headshots and Wikipedia profile pictures, used for fine-tuning the image model.
  • Massive unlabeled set of users: A large pool of Twitter users across 32 languages used for co-training.
  • Crowdsourced dataset: A newly introduced benchmark dataset with annotations for gender, age, and organization status across 32 languages, collected via crowdsourcing (Figure Eight). This is a key contribution for evaluating multilingual performance.
  • Census data: Regional (NUTS3) demographic data for 26 EU countries and 4 EFTA members, used as ground truth for population estimates.
  • Twitter 10% stream data: Used to infer user locations and collect profile information.

Key Insights and Ideas

  • Multimodality and Multilinguality are Key: Combining image and text data, and supporting multiple languages, is essential for robust demographic inference on global social media.
  • Co-training and Data Augmentation are Crucial for Low-Resource Languages: Simply having a large dataset isn't enough; techniques like co-training and translation-based augmentation are vital for building accurate models for languages with less available data.
  • Inclusion Probabilities are the Missing Link: Understanding why certain groups are over- or under-represented is as important as knowing their demographics. The paper's framework for estimating these probabilities is a significant step towards truly representative estimates.
  • Organizational Accounts are a Confounder: Treating organizational accounts as human users can introduce significant errors in demographic and population estimates, highlighting the need to identify and potentially exclude them.
  • Interpretable Models Matter: The proposed regression models for inclusion probabilities are interpretable, allowing researchers to understand the nature of the biases and reuse these coefficients.

Key Results

  • M3 Model Performance: The M3 model substantially outperforms state-of-the-art methods in demographic attribute inference (gender, age, organization status) across 32 languages, with significant improvements in F1 scores.
  • Reduced Algorithmic Bias: The M3 model shows less algorithmic bias in gender recognition for darker-skinned individuals compared to commercial systems like Microsoft Face API and Face++.
  • Improved Population Estimates: The debiasing models, particularly the one using joint inferred Twitter demographics and census data, significantly reduce the Mean Absolute Percentage Error (MAPE) for population estimates, achieving a MAPE of 33% in leave-one-region-out evaluations.
  • Generalizability: The model demonstrates good performance across various European regions and languages, indicating its potential for global application.
  • Impact of Debiasing: Models incorporating demographic information (gender, age, organization status) show substantial improvements in population estimation accuracy compared to baseline models.

Limitations and Future Work

  • Age Inference Difficulty: Age remains the most challenging attribute to infer accurately, with performance varying significantly across languages.
  • Non-Binary Gender Identities: The current model is trained on binary gender identities and does not yet support non-binary gender identities, which is identified as an important future research direction.
  • Time Mismatch: A time mismatch of approximately 5 years between the Twitter data and census data might introduce some error in population predictions.
  • Inhomogeneity Assumptions: While the paper explores inhomogeneous bias, further research into more complex inhomogeneity assumptions and better partitions (e.g., smaller regions within countries) could improve accuracy.
  • Data Availability: The availability of ground-truth joint demographic counts for training debiasing models can be limited in practice.

Summary updated

BibTeX
@inproceedings{wang2019demographic,
  author = {Zijian Wang and Scott A. Hale and David Ifeoluwa Adelani and Przemyslaw A. Grabowicz and Timo Hartmann and Fabian Flöck and David Jurgens},
  title = {{Demographic Inference and Representative Population Estimates from Multilingual Social Media Data}},
  booktitle = {The Web Conference},
  year = {2019},
  url = {https://openreview.net/forum?id=ByNlw--ubB},
}
Figure