[Paper Review] Author2Vec: A Framework for Generating User Embedding
Author2Vec proposes an end-to-end neural network framework that generates user embeddings by leveraging BERT-encoded sentence representations and a novel unsupervised pre-training objective—authorship classification—on 10,000 Reddit users. The method outperforms traditional count-based and prediction-based baselines in downstream tasks such as depression detection and MBTI personality classification, achieving state-of-the-art F1 scores without fine-tuning.
Online forums and social media platforms provide noisy but valuable data every day. In this paper, we propose a novel end-to-end neural network-based user embedding system, Author2Vec. The model incorporates sentence representations generated by BERT (Bidirectional Encoder Representations from Transformers) with a novel unsupervised pre-training objective, authorship classification, to produce better user embedding that encodes useful user-intrinsic properties. This user embedding system was pre-trained on post data of 10k Reddit users and was analyzed and evaluated on two user classification benchmarks: depression detection and personality classification, in which the model proved to outperform traditional count-based and prediction-based methods. We substantiate that Author2Vec successfully encoded useful user attributes and the generated user embedding performs well in downstream classification tasks without further finetuning.
Motivation & Objective
- To develop an end-to-end user embedding system that captures intrinsic user attributes from social media text without task-specific fine-tuning.
- To address the limitations of manual feature engineering in user attribute classification by learning discriminative, generalizable user representations.
- To evaluate whether pre-trained user embeddings can generalize across diverse downstream tasks using minimal adaptation.
- To explore the effectiveness of unsupervised pre-training on authorship classification as a proxy objective for learning meaningful user representations.
Proposed method
- The framework uses BERT to encode user posts into contextual sentence embeddings.
- It applies a novel unsupervised pre-training objective—predicting the author of a post from a set of candidate authors—using these sentence embeddings.
- User embeddings are generated by aggregating the BERT-encoded representations of all posts by the same user, typically through mean pooling.
- The model is pre-trained on 10,000 Reddit users with filtered, high-quality posts to avoid data leakage from topic-specific content.
- After pre-training, the learned user embeddings are evaluated on downstream classification tasks using logistic regression without further fine-tuning.
- The framework is evaluated on two benchmarks: depression detection and MBTI personality classification, using carefully curated Reddit datasets.
Experimental results
Research questions
- RQ1Can an unsupervised pre-training objective based on authorship classification effectively learn meaningful user embeddings?
- RQ2How well do the pre-trained user embeddings generalize to downstream classification tasks without fine-tuning?
- RQ3Does Author2Vec outperform traditional count-based (e.g., LDA, TF-IDF-LSI) and prediction-based (e.g., Word2Vec) methods in capturing user attributes?
- RQ4To what extent do the learned embeddings encode intrinsic user characteristics such as personality and mental health status?
Key findings
- Author2Vec achieved an F1 score of 0.690 on the E/I dimension, 0.766 on S/N, 0.681 on T/F, and 0.610 on J/P in MBTI classification, outperforming all baselines.
- On the depression detection benchmark, the model demonstrated strong performance, with a gender classification F1 score of 93.3% on a visualization-based analysis.
- The confusion matrix for 16-type MBTI classification showed improved clustering and reduced misclassification, especially for less frequent types.
- The model’s performance was consistent across unbalanced datasets, with F1 scores favoring better performance on rare classes compared to baseline methods.
- Author2Vec significantly outperformed TF-IDF-LSI, LDA, and Word2Vec baselines across all dimensions in the MBTI benchmark.
- The results indicate that the unsupervised authorship classification objective successfully captures non-trivial, intrinsic user-level linguistic and behavioral patterns.
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.