Dionysius: A Framework for Modeling Hierarchical User Interactions in Recommender Systems

Jian Wang, Krishnaram Kenthapadi, Kaushik Rangadurai, David HardtkearXiv 2017

Abstract

Standard content-based recommendation systems often rely on static user profiles, failing to capture the dynamic, implicit intent revealed through user interactions. We present Dionysius, a hierarchical graphical model developed at LinkedIn that incorporates signals such as job views and applications into existing production systems. By modeling user intent as a hierarchy of "hidden fields"—where profile data serves as a prior for view behavior, which in turn informs application intent—Dionysius achieves significant performance gains. Notably, the framework was designed to be infrastructure-agnostic, replacing static vectors in existing stores without requiring changes to online scoring logic. Deployment at LinkedIn yielded a 3.6% increase in job applications and a 5.2% improvement in offline ROC AUC.

Introduction: The Challenge of Static Profiles

Large-scale recommendation engines, particularly those in the professional domain like LinkedIn, frequently utilize content-based models powered by logistic regression. These models are favored for their scalability, speed, and interpretability. However, they are fundamentally limited by their reliance on static profile data. Two users with identical "Software Engineer" profiles may have vastly different current objectives—one seeking a career pivot into data science, the other looking for leadership roles in a specific geographic region.

This "implicit context" is often hidden within user interactions. While advanced models like Generalized Linear Mixed Models (GLMix) can capture these nuances, they often lead to an explosion in the feature space, necessitating expensive and complex infrastructure redesigns. Dionysius was developed as a solution to bridge this gap, providing a sophisticated modeling approach that remains compatible with legacy production environments.

The Dionysius Framework: Hierarchical Modeling of Intent

The core of Dionysius is a hierarchical graphical model that treats user intent as a multi-layered evolution of signals. The model assumes a hierarchy of signal strength: Application > View > Profile.

Figure 2: The hierarchical graphical model of Dionysius, illustrating the flow from user profile-based fields to view-based and application-based hidden fields.

In this framework, the user's static profile acts as a "prior" or initial estimate. As a user interacts with the platform, the model updates this estimate:

  1. View-based updates: When a user views a job, the profile-based vector is updated to create a "view-based" hidden field vector.
  2. Application-based updates: If the user proceeds to apply for a job, the view-based vector serves as the prior for an even more refined "application-based" vector.

These "hidden fields" are learned using an Expectation-Maximization (EM) algorithm, which jointly optimizes global model coefficients and individual user latent vectors.

Infrastructure-First Design and Integration

A primary innovation of Dionysius is its deployment strategy. Rather than introducing new features that would require modifying the online scoring infrastructure, Dionysius simply replaces the static user profile vector in the existing "User fields store" with the learned hidden field vector.

Figure 1: The LinkedIn recommendation system architecture, showing how Dionysius integrates by updating the User fields store without altering the Recommendation Application Service Tier.

As shown in the system architecture, the online scoring tier remains unchanged. It continues to fetch a user vector of the same dimensions; the "intelligence" is embedded within the vector itself during the offline batch update process. This approach allowed for the rapid deployment of a sophisticated Bayesian model into a system that was not originally designed for it.

Experimental Results and Impact

The framework was evaluated using proprietary LinkedIn data, training on millions of interactions and testing the ability to predict future job applications.

Offline Performance: The hierarchical model (M-viewApply) demonstrated a 5.2% improvement in ROC AUC compared to the baseline profile-only model.

Online A/B Testing: Over a year of production deployment, Dionysius delivered substantial business impact:

  • Applications Per Impression (API): Increased by 3.6%.
  • Views Per Impression (VPI): Increased by 3.5%.
  • Total Impressions: Increased by 4.1%, indicating higher user engagement with the recommended content.

Interestingly, the model also improved performance for inactive users. By learning more accurate global regression coefficients that account for the latent intent of active users, the system provided better "fallback" recommendations for those with no recent activity.

Conclusion and Future Directions

Dionysius served as a highly effective "bridge" solution at LinkedIn, providing the benefits of latent intent modeling without the overhead of a full infrastructure overhaul. While it was eventually succeeded by more complex GLMix systems as infrastructure evolved, its success highlights the value of "infrastructure-first" research.

Future work suggested by the authors includes applying similar hierarchical modeling to the item side and reducing update latency, as the current batch-processed hidden fields do not react instantaneously to real-time session behavior.

Summary updated

BibTeX
@misc{wang2017dionysius,
  author = {Jian Wang and Krishnaram Kenthapadi and Kaushik Rangadurai and David Hardtke},
  title = {{Dionysius: A Framework for Modeling Hierarchical User Interactions in Recommender Systems}},
  year = {2017},
  eprint = {1706.03849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.03849},
}
Figure