Personalized Microblog Sentiment Classification via Multi-Task Learning

Fangzhao Wu, Yongfeng Huang

Abstract

Traditional sentiment classification models often adopt a "one-size-fits-all" approach, ignoring the inherent subjectivity and individual linguistic habits of microblog users. This paper presents a Personalized Microblog Sentiment Classification (PMSC) framework that decomposes a user's sentiment classifier into a global component representing shared knowledge and a user-specific component capturing individual bias. By integrating social network relations through multi-task learning, the framework addresses data sparsity and enhances classification accuracy. Experimental results on Twitter and Weibo datasets demonstrate that PMSC significantly outperforms traditional and state-of-the-art methods while maintaining high scalability.

Introduction

Sentiment analysis in microblogging platforms like Twitter and Weibo is challenging due to the subjective nature of language. A single phrase can convey different sentiments depending on the user's background or interests. For instance, a price drop in a product might be viewed positively by a consumer but negatively by an investor. Generic models fail to capture these personal nuances. Furthermore, training independent models for each user is often infeasible due to data sparsity, as most users do not provide enough labeled data for robust training.

Methodology

The proposed PMSC framework addresses these challenges through three key innovations:

Model Decomposition

Each user $i$'s sentiment classifier $w_i$ is modeled as the sum of two vectors: $w_i = w_{global} + u_i$. Here, $w_{global}$ represents the common sentiment patterns shared across the entire population, while $u_i$ captures the specific linguistic biases and preferences of user $i$. This structure allows the model to maintain a stable baseline while adapting to individual variations.

Social Regularization

Leveraging the principle of homophily, the framework incorporates social network information. It assumes that users who are connected in a social graph are likely to share similar sentiment expressions. A social regularization term is added to the objective function, penalizing large differences between the personalized components ($u_i, u_j$) of connected users. Notably, the model uses unigram features and $l_1$ regularization for automatic feature selection, avoiding reliance on potentially inaccurate microblog syntactic parsing.

Multi-Task Learning and Optimization

The system treats the classification for each user as a distinct but related task. By training these tasks collaboratively via Multi-Task Learning (MTL), the model can "borrow" strength from the global pool and social neighbors to compensate for individual data sparsity. To ensure scalability for millions of users, the authors developed a distributed optimization algorithm based on the Alternating Direction Method of Multipliers (ADMM), enabling efficient parallel processing.

Experimental Evaluation

The framework was evaluated using two real-world datasets: a subset of the Twitter Sentiment140 corpus (1,000 users) and a Weibo dataset (296 users). Training was performed using noisy labels from emoticons, while a manually labeled test set ensured rigorous evaluation.

Accuracy comparison of different model components on Twitter and Weibo datasets.

Key Results

As shown in Figure 1, the combination of global, individual, and social components yields the highest accuracy. The global model provides a necessary baseline, but the addition of individual and social features provides a measurable performance boost. This confirms that knowing who a user interacts with provides a strong prior for how they express sentiment. Furthermore, the PMSC model consistently outperformed state-of-the-art multi-task learning methods such as LFM and RMTL across both datasets.

Scalability and Efficiency

The distributed approach using ADMM showed near-linear speedup. As illustrated in Figure 2, increasing the number of processing cores ($M$) significantly reduces the running time as the number of users grows. This efficiency proves the model's readiness for large-scale deployment in real-world social networks.

Running time comparison across different numbers of users and processing cores (M=1 vs M=4).

Conclusion

The PMSC framework successfully bridges the gap between generic sentiment models and the need for personalization in microblogging. By balancing global knowledge with individual and social context, the model achieves superior accuracy even in the face of data sparsity. Future work may explore dynamic sentiment biases that change over time or vary by topic, as well as the integration of more complex linguistic structures.

Summary updated

BibTeX
@inproceedings{wu2016personalized,
  author = {Fangzhao Wu and Yongfeng Huang},
  title = {{Personalized Microblog Sentiment Classification via Multi-Task Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10378},
}
Figure