Abstract
User profiling, or "portrait generation," is a critical technique for enhancing recommendation systems in online dating platforms. However, these platforms often suffer from "data integrity" issues, where users leave sensitive fields blank or provide dishonest information. This paper introduces PortraitAI, a multi-task deep learning framework designed to automatically generate accurate user profiles—including age, gender, education, salary, and personality traits—using only unstructured self-introduction text. By leveraging a hybrid architecture of CNNs and Bi-LSTMs within a multi-task learning (MTL) framework, PortraitAI captures both local keywords and global context to outperform traditional single-task methods.
Introduction: The Challenge of Data Integrity
Online dating success hinges on accurate user portraits to facilitate high-quality matches. With platforms often hosting over 100 million users, maintaining data quality is a significant hurdle. Users frequently omit sensitive attributes like salary or age, or provide "high-profile" fake information to appear more attractive. While structured data fields are easily manipulated, unstructured self-introduction text often serves as a window into a user's true characteristics. The challenge lies in building a system capable of extracting multiple, nuanced personal attributes from these often short and varied pieces of text.
Methodology: The PortraitAI Architecture
PortraitAI treats the prediction of different attributes as related subtasks within a single neural network. This multi-task approach allows the model to exploit natural correlations between attributes—for instance, the relationship between a user's education level and their salary or age.
As shown in the architecture diagram, the model consists of several key components:
- Word Embeddings: Raw text is converted into dense vector representations using a Skip-Gram (Word2Vec) model pre-trained on a massive corpus of 8 million Chinese words.
- Hybrid Feature Extraction: The architecture splits feature learning into two paths. Global Features are extracted using a combination of Bi-LSTM (Bidirectional Long Short-Term Memory) and CNNs with large kernels (sizes 7 and 9) to capture high-level context. Subtask-Specific Features use CNNs with smaller kernels (sizes 1, 3, and 5) to focus on local, discriminative keywords unique to specific attributes.
- Multi-Task Learning (MTL): Shared representations feed into task-specific output layers. The system employs Sigmoid layers for binary/multi-label tasks (gender and characteristics) and Softmax layers for multi-class tasks (age, education, and salary).
- Optimization: The model is trained using the Adam optimizer with a combined loss function that aggregates errors from all five subtasks.
Experimental Results
The researchers evaluated PortraitAI using a real-world dataset from Zhenai.com, one of China’s most popular dating social networks, consisting of 8,671 unique self-introductions. PortraitAI significantly outperformed three benchmark models in almost every category. Compared to the second-best performing model, PortraitAI achieved the following accuracy improvements:
- Age: +21.8%
- Education: +18.4%
- Salary: +13.8%
- Gender: +12.8%
The model reached an impressive accuracy of 68.10% for gender and 57.00% for education, validating the hypothesis that writing style and content can reveal true socioeconomic status even when structured data is missing.
Discussion and Future Work
The one area where the model did not see a significant boost was in predicting personality characteristics (78.83% accuracy, roughly 1% lower than benchmarks). The authors attribute this to data sparsity; many users leave characteristic fields blank, creating "0" values that make it difficult for the model to learn distinct patterns.
For future work, the authors plan to collect a much larger dataset to better handle sparse characteristic classes and refine methods for handling missing values. Additionally, they intend to release the collected dataset to the public to serve as a benchmark for the research community.
Summary updated