Table of Contents
Fetching ...

BN-AuthProf: Benchmarking Machine Learning for Bangla Author Profiling on Social Media Texts

Raisa Tasnim, Mehanaz Chowdhury, Md Ataur Rahman

TL;DR

BN-AuthProf introduces a Bangla author profiling benchmark and dataset comprising $300$ anonymized authors and $30{,}131$ Bangla Facebook posts labeled by age and gender. It benchmarks nine ML/DL models, showing classical methods (SVM and Multinomial NB) yield the strongest performance for gender and age prediction, with NB achieving $0.910$ accuracy for age and $0.756$ F1 for gender, while SVM reaches $0.806$ accuracy for gender. The dataset includes data augmentation to balance label distributions, and evaluation uses 10-fold cross-validation and train/validation/test splits to establish robust baselines. The work highlights privacy and bias considerations and points to future directions including transformer-based multi-label profiling to extend demographic prediction in Bangla text.

Abstract

Author profiling, the analysis of texts to uncover attributes such as gender and age of the author, has become essential with the widespread use of social media platforms. This paper focuses on author profiling in the Bangla language, aiming to extract valuable insights about anonymous authors based on their writing style on social media. The primary objective is to introduce and benchmark the performance of machine learning approaches on a newly created Bangla Author Profiling dataset, BN-AuthProf. The dataset comprises 30,131 social media posts from 300 authors, labeled by their age and gender. Authors' identities and sensitive information were anonymized to ensure privacy. Various classical machine learning and deep learning techniques were employed to evaluate the dataset. For gender classification, the best accuracy achieved was 80% using Support Vector Machine (SVM), while a Multinomial Naive Bayes (MNB) classifier achieved the best F1 score of 0.756. For age classification, MNB attained a maximum accuracy score of 91% with an F1 score of 0.905. This research highlights the effectiveness of machine learning in gender and age classification for Bangla author profiling, with practical implications spanning marketing, security, forensic linguistics, education, and criminal investigations, considering privacy and biases.

BN-AuthProf: Benchmarking Machine Learning for Bangla Author Profiling on Social Media Texts

TL;DR

BN-AuthProf introduces a Bangla author profiling benchmark and dataset comprising anonymized authors and Bangla Facebook posts labeled by age and gender. It benchmarks nine ML/DL models, showing classical methods (SVM and Multinomial NB) yield the strongest performance for gender and age prediction, with NB achieving accuracy for age and F1 for gender, while SVM reaches accuracy for gender. The dataset includes data augmentation to balance label distributions, and evaluation uses 10-fold cross-validation and train/validation/test splits to establish robust baselines. The work highlights privacy and bias considerations and points to future directions including transformer-based multi-label profiling to extend demographic prediction in Bangla text.

Abstract

Author profiling, the analysis of texts to uncover attributes such as gender and age of the author, has become essential with the widespread use of social media platforms. This paper focuses on author profiling in the Bangla language, aiming to extract valuable insights about anonymous authors based on their writing style on social media. The primary objective is to introduce and benchmark the performance of machine learning approaches on a newly created Bangla Author Profiling dataset, BN-AuthProf. The dataset comprises 30,131 social media posts from 300 authors, labeled by their age and gender. Authors' identities and sensitive information were anonymized to ensure privacy. Various classical machine learning and deep learning techniques were employed to evaluate the dataset. For gender classification, the best accuracy achieved was 80% using Support Vector Machine (SVM), while a Multinomial Naive Bayes (MNB) classifier achieved the best F1 score of 0.756. For age classification, MNB attained a maximum accuracy score of 91% with an F1 score of 0.905. This research highlights the effectiveness of machine learning in gender and age classification for Bangla author profiling, with practical implications spanning marketing, security, forensic linguistics, education, and criminal investigations, considering privacy and biases.

Paper Structure

This paper contains 16 sections, 9 figures, 10 tables.

Figures (9)

  • Figure 1: File Structure of BN-AuthProf Dataset
  • Figure 2: Distribution of Gender and Age Categories
  • Figure 3: Benchmarking Approach for BN-AuthProf Dataset
  • Figure 4: Data Preprocessing Pipeline
  • Figure 5: Gender Classification Results
  • ...and 4 more figures