Introduction
The EVALITA 2018 Cross-Genre Gender Prediction (GxG) shared task challenged researchers to predict the gender of Italian authors across five distinct text genres. While gender prediction remains a difficult task—with no model exceeding 70% accuracy—the performance drop when applying models to unseen genres is surprisingly small. This suggests that certain universal gender-linguistic traits may persist beneath domain-specific jargon.
The Cross-Genre Generalization Problem
Author profiling, which involves predicting latent attributes like gender or age from text, is a cornerstone of targeted advertising, forensics, and sociological research. While state-of-the-art models often achieve high accuracy (80–85%) on specific datasets like English Twitter, they frequently overfit to dataset-specific quirks. When tested on a different genre, performance typically plummets. This paper addresses this generalization problem for the Italian language, seeking dataset-independent features that capture how men and women write differently across tweets, diaries, and news articles.
Methodology
The shared task evaluated binary classifiers (Male vs. Female) in two settings:
- In-genre: Models are trained and tested on the same text genre.
- Cross-genre: Models are trained on four genres and tested on an unseen fifth genre.
Participating teams employed a variety of techniques, ranging from classical machine learning (SVMs, Logistic Regression) to deep learning (Bi-LSTM networks). Feature engineering was also diverse, including word/character n-grams, stylometric features, and "text bleaching" to remove topic bias.
Datasets
The task utilized five distinct Italian datasets, meticulously balanced for gender (50% Male / 50% Female). These included Twitter, YouTube comments, children's essays, professional journalism, and personal diaries.
Key Insights and Ideas
Analysis of the results revealed several interesting patterns:
- Journalism as a Mask: The News/journalism dataset was the most difficult to model. Editorial guidelines and professional jargon likely scrub away personal stylistic markers.
- Diaries as a Window: Personal diaries were the easiest to predict due to their length, subjectivity, and frequent use of first-person pronouns.
- Resilience to Genre Shifts: The accuracy drop from in-genre to cross-genre evaluation was only about 2.5 percentage points on average. However, this is partly because baseline in-genre performance was already modest.
- Model Performance: Neural networks (Bi-LSTMs) did not significantly outperform well-engineered classical models. In fact, an SVM using stylometric features excelled in the difficult Journalism category.
Key Results
The task proved highly challenging, with no single model achieving accuracy above 70%. The average in-genre accuracy across all models was 55.8%, while cross-genre performance dropped slightly to 53.4%.
Conclusion and Future Work
The low overall accuracy suggests that gender prediction in Italian across these specific datasets is inherently difficult, particularly for short texts like tweets. Future research should compare these machine learning results against human baselines and explore advanced word embeddings or specialized lexica to better capture subtle stylistic nuances.
Summary updated