A Social Interaction Activity based Time-Varying User Vectorization Method for Online Social Networks

Tianyi Hao, Longbo HuangIJCAI 2018

Abstract

In this paper, we consider the problem of user modeling in online social networks, and propose a social interaction activity based user vectorization framework, called the time-varying user vectorization (Tuv), to infer and make use of important user features. Tuv is designed based on a novel combination of word2vec, negative sampling and a smoothing technique for model training. It jointly handles multi-format user data and computes user representing vectors, by taking into consideration user feature variation, self-similarity and pairwise interactions among users. The framework enables us to extract hidden user properties and to produce user vectors. We conduct extensive experiments based on a real-world dataset, which show that Tuv significantly outperforms several state-of-the-art user vectorization methods.

Introduction

Most current user modeling in social networks is "static," treating users as fixed nodes in a social graph. However, human behavior is inherently dynamic; interests shift, professional roles change, and interaction patterns evolve over years. Furthermore, traditional models often ignore the rich text data in posts, focusing solely on the links between users. To address these limitations, we propose Tuv (Time-varying User Vectorization), a framework that represents users as evolving entities by fusing text content, interaction timestamps, and social connections into dynamic vectors.

The Tuv Framework

Tuv moves away from simple graph embeddings and adopts a multi-modal approach to capture both content and temporal evolution. The framework is built on four pillars:

  1. Text Integration: Using a word2vec approach, the text of every post is converted into a vector, ensuring content is central to the user representation.
  2. Interaction Modeling: Tuv models specific activities like publishing and forwarding. It calculates the likelihood of these actions based on the similarity between user and content vectors.
  3. Temporal Smoothing: To ensure behavioral consistency, a Gaussian distribution regularizer is used. This ensures a user’s vector at time $t$ is mathematically related to their vector at $t + \Delta t$, respecting the "self-similar" nature of human behavior.
  4. Negative Sampling: The model is trained to distinguish real interactions from random noise, improving efficiency.
The Tuv framework decomposes social interaction activities into likelihood functions based on user, message, and time vectors.

Experimental Evaluation

We evaluated Tuv using a massive real-world dataset from Sina Weibo, spanning nearly eight years (2009–2017). The dataset includes 7,370 verified users and over 17 million activity records.

Key Results

Tuv was compared against state-of-the-art baselines like DeepWalk and LINE across several tasks:

  • User Attention Prediction: Tuv achieved a peak accuracy of 85.0% in predicting message forwarding, outperforming DeepWalk (72.6%) and Weighted LINE (83.4%).
  • Occupation Prediction: The model successfully identified user professions (e.g., Actor, Business, Music) with an F1-micro score of 0.681, outperforming all other methods.
  • Relationship Tracking: Tuv successfully tracked how user similarities shifted over time, capturing the natural drift in social circles over nearly a decade.
Tuv tracks the evolution of user similarities over multiple years, illustrating the dynamic nature of social relationships.

Conclusion

By treating user modeling as a "movie" rather than a "snapshot," Tuv provides a more accurate and nuanced representation of social media behavior. The integration of temporal smoothing and multi-modal data allows for superior performance in attention and occupation prediction. Future work will explore continuous time models and real-time recommendation applications.

Summary updated

BibTeX
@inproceedings{hao2018social,
  author = {Tianyi Hao and Longbo Huang},
  title = {{A Social Interaction Activity based Time-Varying User Vectorization Method for Online Social Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=Hy4wR4M_-r},
}
Figure