JNET: Learning User Representations via Joint Network Embedding and Topic Embedding

Lin Gong, Lu Lin, Weihao Song, Hongning Wang · DOI

Abstract

In personalized digital systems, understanding user intent requires synthesizing diverse data streams, primarily social connections and textual content. Traditional approaches often model these modalities in isolation or treat one as a secondary regularizer for the other. This paper introduces JNET, a probabilistic generative framework that learns user representations by jointly embedding social network structures and text content into a shared latent space. By explicitly modeling the dependency between a user’s social circle and their topical interests—a concept rooted in the psychological "user schema"—JNET significantly outperforms state-of-the-art models in document modeling, link prediction, and expert recommendation. Notably, the framework demonstrates high resilience in "cold-start" scenarios where user data is sparse.

Introduction

In the landscape of social media and collaborative platforms, user data is inherently multimodal. We observe who users follow (social network) and what they write (content streams). However, most existing models treat these signals as separate entities. Topic models like Latent Dirichlet Allocation (LDA) focus on text, while network embedding models like DeepWalk focus on graph topology.

JNET addresses this gap by formalizing the intuition that a person’s internal knowledge structure organizes both their social relationships and their topical interests. By bridging the gap between what a user says and who they know, JNET captures the mutual dependency between these two modalities, allowing for more robust user representations than unimodal or loosely coupled joint models.

Methodology

The core innovation of JNET is the construction of a shared latent space $\mathbb{R}^M$ where both users and topics are represented as vectors. This unified space allows the model to capture complex interactions through simple geometric proximity.

1. Shared Embedding Space

Every user $u_i$ and every topic $\phi_k$ is mapped to a vector in the same $M$-dimensional space. This ensures that the relationship between a user and a topic is mathematically comparable to the relationship between two users.

2. Affinity Modeling

  • Topical Affinity: A user’s preference for a specific topic is determined by the dot product between the user vector and the topic vector. This affinity serves as the prior for the topic distribution in the user's documents.
  • Social Affinity: The likelihood of a social connection between two users is determined by the proximity of their respective user vectors in the latent space.

3. Generative Process and Inference

JNET utilizes a probabilistic generative framework, assuming that a user’s latent intent simultaneously "draws" their social links and their document topics from the shared space. Because the model employs non-conjugate logistic-normal priors, the authors utilize mean-field variational Bayesian inference combined with Taylor expansions. This approach makes the computation tractable and allows for parallelization across large datasets.

Experimental Setup

The authors evaluated JNET against several baselines (including LDA, DeepWalk, and TADW) using two large-scale, real-world datasets:

  • Yelp: Comprising 187,737 restaurant reviews from 10,830 users, with social networks derived from Facebook connections.
  • StackOverflow: Comprising 244,360 discussion posts from 10,808 users. Here, the social network was constructed based on "reply-to" interactions within discussion threads.

Key Results and Discussion

Document Modeling

JNET achieved lower perplexity—indicating better predictive power for unseen text—compared to LDA, HFT, and CTR. This improvement was most significant for users with rich social connections but sparse text, demonstrating that the model effectively uses social data to "fill in" missing content signals.

JNET outperformed network-only models like DeepWalk and joint models like TADW. On the Yelp dataset, JNET showed a significant lead in NDCG and MAP scores for link prediction. On StackOverflow, the model successfully identified experts by combining topical expertise (user-topic proximity) and social closeness (user-user proximity), providing more accurate recommendations than baseline models.

Interpretability and Cold-Start Resilience

Because topics and users reside in the same space, the model is highly interpretable. Visualizations (such as t-SNE) reveal that users interested in specific domains (e.g., SQL or Java) naturally cluster around the corresponding topic embeddings. Furthermore, JNET is particularly effective for "light" users; even if a user has no friends, their text content provides the necessary signals to predict potential social connections, and vice versa.

Conclusion and Future Work

JNET represents a significant step forward in multimodal user modeling by explicitly linking social and topical behaviors. While the model is highly effective, the authors identify several avenues for future research:

  • Higher-Order Proximity: Moving beyond direct links to capture global network topology (e.g., friends-of-friends).
  • Temporal Dynamics: Adapting the model to account for evolving user interests and growing social networks over time.
  • Scalability: Optimizing the quadratic complexity relative to the number of users to accommodate billion-node social networks.

Summary updated

BibTeX
@inproceedings{gong2019jnet,
  author = {Lin Gong and Lu Lin and Weihao Song and Hongning Wang},
  title = {{JNET: Learning User Representations via Joint Network Embedding and Topic Embedding}},
  booktitle = {WSDM},
  year = {2019},
  doi = {10.1145/3336191.3371770},
}
Figure