[Paper Review] ABI Neural Ensemble Model for Gender Prediction Adapt Bar-Ilan Submission for the CLIN29 Shared Task on Gender Prediction
This paper presents an ensemble deep learning model using multiple neural architectures (CNN, RNN, LSTM, and transformer-based models) with optimized feature engineering for cross-genre gender prediction in Dutch. The system achieved state-of-the-art performance, winning both in-domain and cross-genre subtasks with 64.94% average accuracy on in-domain and 56.26% on cross-genre test sets using a weighted ensemble of 25 models trained on tokenized, non-lowercased text with word clusters, character trigrams, and word lists as key features.
We present our system for the CLIN29 shared task on cross-genre gender detection for Dutch. We experimented with a multitude of neural models (CNN, RNN, LSTM, etc.), more "traditional" models (SVM, RF, LogReg, etc.), different feature sets as well as data pre-processing. The final results suggested that using tokenized, non-lowercased data works best for most of the neural models, while a combination of word clusters, character trigrams and word lists showed to be most beneficial for the majority of the more "traditional" (that is, non-neural) models, beating features used in previous tasks such as n-grams, character n-grams, part-of-speech tags and combinations thereof. In contradiction with the results described in previous comparable shared tasks, our neural models performed better than our best traditional approaches with our best feature set-up. Our final model consisted of a weighted ensemble model combining the top 25 models. Our final model won both the in-domain gender prediction task and the cross-genre challenge, achieving an average accuracy of 64.93% on the in-domain gender prediction task, and 56.26% on cross-genre gender prediction.
Motivation & Objective
- To develop a robust gender prediction system for Dutch that generalizes across different text genres, including out-of-domain data.
- To evaluate the effectiveness of various neural and traditional machine learning models on Dutch gender prediction tasks.
- To identify the optimal combination of features—such as word clusters, character trigrams, and word lists—that improve performance on cross-genre prediction.
- To design and validate a weighted ensemble model that outperforms individual models across both in-domain and out-of-domain scenarios.
- To investigate whether neural models can surpass traditional models in cross-genre gender prediction for Dutch, a language with limited gender agreement in inflectional morphology.
Proposed method
- Trained multiple neural models including CNN, RNN, LSTM, and transformer-based architectures (SpaCy, LSTMa, SA) on tokenized, non-lowercased Dutch text.
- Explored a range of feature sets: word clusters, character trigrams (char 3-grams), unigrams, and combinations, with no stop-word filtering or lowercasing.
- Used external datasets (CSI and TwiSty) to augment training data for the second submission set, ensuring no data overlap with official test sets.
- Trained five instances of each top-performing model with different random seeds and, for LSTMa and SA, also with and without frozen pretrained word vectors, resulting in 25 distinct models.
- Applied a weighted ensemble strategy where model weights were determined by their deviation from random performance (0.5), with positive weights for models above 50% accuracy and negative for those below.
- Combined model predictions using weighted voting, where each model's output (1 or -1) was multiplied by its learned weight before final aggregation.
Experimental results
Research questions
- RQ1Which neural network architectures perform best on cross-genre gender prediction in Dutch, particularly when generalizing across domains like Twitter, YouTube, and news?
- RQ2How do different feature engineering strategies—such as word clusters, character trigrams, and unigrams—impact performance in both in-domain and out-of-domain settings?
- RQ3Does the use of non-lowercased, tokenized text improve model performance compared to standard preprocessing in Dutch gender prediction?
- RQ4Can a weighted ensemble of diverse neural models outperform individual models and traditional machine learning baselines (e.g., SVM, Random Forest, Logistic Regression) on cross-genre gender prediction?
- RQ5To what extent do gender-specific linguistic patterns persist across genres in Dutch, given its limited morphological gender marking compared to languages like Russian or Italian?
Key findings
- The final weighted ensemble model achieved an average accuracy of 64.94% on the in-domain gender prediction task and 56.26% on the cross-genre challenge, winning both subtasks of the CLIN29 shared task.
- Neural models outperformed traditional models (e.g., SVM, Random Forest, Logistic Regression) when using the same feature sets, contradicting findings from prior shared tasks.
- The best-performing traditional model used a combination of word clusters, character trigrams, and male-specific word lists, achieving 53.24% average accuracy on cross-genre data.
- Using non-lowercased, tokenized text improved performance across most neural models, suggesting that case-level information may carry useful gender-related signals in Dutch.
- The ensemble model’s performance was stable across genres, with the highest accuracy on news (66.30%) and the lowest on YouTube (63.49%) in the in-domain setting.
- Despite low absolute scores in the cross-genre setting, all models exceeded 50% accuracy on validation data, indicating the presence of detectable gender-specific linguistic patterns even in out-of-domain text.
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.