Introduction
In the vast landscape of the internet, anonymity is a double-edged sword. While it protects privacy, it also facilitates identity theft, misinformation, and cybercrime. Author profiling—the process of identifying traits like age, gender, or native language from a text—is a critical tool for digital forensics, security, and targeted marketing.
The challenge lies in the variability of human expression. A teenager’s tweet looks nothing like a middle-aged professional's hotel review. This report details a robust system designed for the PAN-2014 Author Profiling challenge that categorizes authors into specific age groups and genders across diverse digital genres.
Methodology
The researchers developed a modular pipeline to transform raw digital text into structured author profiles. The core of the system relies on a sophisticated feature extraction process that feeds into an ensemble classifier.
Feature Extraction
The system extracts 22 distinct features categorized into three subsets:
- Readability Metrics: Eight different indices (e.g., Flesch-Kincaid, Gunning Fog, SMOG) are used as proxies for an author's education level and stylistic maturity.
- Function Words: Using Part-of-Speech (POS) tagging, the system counts nouns, verbs, and pronouns. Crucially, it tracks "foreign words" to capture internet slang (e.g., "ROFL"), which serves as a strong indicator of age.
- Syntactic Features: This includes the frequency of specific punctuation marks like exclamation points and question marks.
Ensemble Classification
These features are processed by a Random Forest classifier. This ensemble method was selected for its ability to combine multiple decision trees to improve accuracy and prevent overfitting while remaining computationally efficient.
Datasets
The study utilized the PAN-2014 training corpus, a massive dataset comprising 343,013 total posts. The data is split across four distinct categories to test the model's versatility:
- Blogs: 1,893 posts.
- Hotel Reviews: 5,452 posts.
- Social Media: 168,729 posts.
- Twitter: 166,939 posts.
The age groups were categorized into five brackets: 18-24, 25-34, 35-49, 50-64, and 65+.
Key Results and Insights
The system was evaluated on English corpora using the TIRA evaluation platform. The results highlight both the strengths of the ensemble approach and the inherent difficulty of multi-trait profiling.
- Gender Prediction: This was the most successful metric, reaching an accuracy of 58.54% for Hotel Reviews.
- Age Prediction: Accuracy peaked at 46.67% for Twitter data.
- Combined Accuracy: Predicting both age and gender correctly proved to be a much higher bar, with a peak combined accuracy of 23.33% on Twitter data.
- Efficiency: The Random Forest approach demonstrated high speed on smaller datasets (Blogs in under 2 minutes), though the massive Social Media dataset required over 18 hours of runtime.
Stylometric Observations
One of the most significant findings is that readability scores are highly effective at distinguishing author demographics, as structural complexity often correlates with age. Additionally, tracking internet slang allows the model to capture the linguistic "fingerprint" of younger generations.
Conclusion and Future Work
While the system provides a solid baseline for author profiling, the relatively low combined accuracy for age and gender (peaking at 23%) underscores the difficulty of the task, especially when authors may unintentionally mask their writing style.
Future research will focus on a deeper analysis of which specific readability indices contribute most to success and exploring more complex machine learning techniques to improve both predictive power and computational efficiency.
Summary updated