[Paper Review] What's my age?: Predicting Twitter User's Age using Influential Friend Network and DBpedia
This paper proposes a machine learning approach to predict Twitter users' age using their influential friend network and DBpedia-structured knowledge. By leveraging user-specific DBpedia categories and normalized follower influence features, the method achieves a 6.8 MAE and 83.7% accuracy within a 10-year error bound, outperforming baseline mean prediction.
Social media is a rich source of user behavior and opinions. Twitter senses nearly 500 million tweets per day from 328 million users.An appropriate machine learning pipeline over this information enables up-to-date and cost-effective data collection for a wide variety of domains such as; social science, public health, the wisdom of the crowd, etc. In many of the domains, users demographic information is key to the identification of segments of the populations being studied. For instance, Which age groups are observed to abuse which drugs?, Which ethnicities are most affected by depression per location?. Twitter in its current state does not require users to provide any demographic information. We propose to create a machine learning system coupled with the DBpedia graph that predicts the most probable age of the Twitter user. In our process to build an age prediction model using social media text and user meta-data, we explore the existing state of the art approaches. Detailing our data collection, feature engineering cycle, model selection and evaluation pipeline, we will exhibit the efficacy of our approach by comparing with the "predict mean" age estimator baseline.
Motivation & Objective
- To address the lack of demographic data in Twitter profiles by predicting user age without relying on manual surveys or interviews.
- To improve age prediction accuracy by incorporating both social network structure (influential friends) and semantic knowledge from DBpedia.
- To develop a scalable, automated pipeline for age estimation using machine learning on real-time social media data.
- To evaluate the effectiveness of feature engineering combining user interests, DBpedia categories, and network influence metrics.
- To demonstrate that knowledge-enhanced features reduce prediction error compared to baseline models like mean age estimation.
Proposed method
- Collects Twitter user data and performs a one-hop depth-first search to identify influential friends (users with high follower counts) for each target user.
- Extracts DBpedia categories associated with each influential friend to represent the user's interests and social context.
- Normalizes raw DBpedia category counts by dividing each user’s category count by their total number of influential friends, creating percentage-based features.
- Applies feature scaling to interaction-based features to improve model generalization and reduce bias from user-specific follower counts.
- Trains and evaluates multiple regression models, including SVR-RBF, LASSO, and linear kernel SVR, using cross-validation on a dataset of 23,120 users.
- Uses statistical metrics such as MAE, MedAE, R², and Accuracy@10 to evaluate model performance, with residual analysis to assess prediction bias.
Experimental results
Research questions
- RQ1Can a machine learning model predict Twitter user age more accurately using influential friend networks and DBpedia categories than a simple mean age baseline?
- RQ2How does feature scaling based on relative influence and interest distribution affect model performance in age prediction?
- RQ3What is the impact of incorporating semantic knowledge from DBpedia on reducing prediction error in age estimation?
- RQ4How does model performance vary across different age groups (e.g., younger, adolescent, older users) in terms of MAE and accuracy?
- RQ5To what extent does the model’s prediction bias (e.g., underestimation) affect overall accuracy, and how is this reflected in residual plots?
Key findings
- The SVR-RBF model achieved the lowest Mean Absolute Error (MAE) of 6.8, significantly outperforming the baseline mean prediction model (MAE = 8.1).
- The model achieved 83.7% accuracy within a ±10-year error bound, indicating that it correctly predicts age for 83.7% of users within a 20-year range.
- Accuracy improved with broader error bounds, reaching 83.7% at ±10 years and 79.6% at ±9 years, demonstrating robustness to moderate prediction errors.
- Residual plots showed a left-skewed distribution, indicating that the model tends to underestimate age but maintains high density near zero error, suggesting strong central prediction accuracy.
- LASSO and linear SVR models showed high variance in performance across different regularization levels, while SVR-RBF remained stable and consistently effective.
- Despite a low R² score (0.03 for SVR-RBF), the model demonstrated strong practical performance, indicating that data sparsity and noise are challenges but manageable with proper feature engineering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.