In the landscape of modern recommender systems, capturing the diverse and evolving interests of users remains a significant challenge. Traditional models often compress a user's entire interaction history into a single vector, a "unified" representation that inherently struggles to reflect multi-faceted preferences. This paper introduces ComiRec (Controllable Multi-Interest Framework), a novel architecture designed to handle these complexities at an industrial scale, as presented at KDD '20.
The Problem: The "Averaging" Bottleneck
Most sequential recommendation models follow a two-stage pipeline: matching and ranking. During the matching stage, the system retrieves a candidate set of items from a pool of millions. Standard approaches, such as YouTube DNN or GRU4Rec, represent a user with a single embedding vector.
The authors argue that this single-vector approach is a fundamental bottleneck. It forces the model to create a weird "average" of distinct interests—for instance, if a user clicks on a hammer, a dress, and a book, the resulting vector might not accurately represent any of those categories well. Furthermore, production systems face a constant tension between accuracy (recommending what is most likely to be clicked) and diversity (avoiding a repetitive user experience).
The ComiRec Framework
ComiRec addresses these issues by extracting multiple interest embeddings and providing a controllable mechanism to balance retrieval quality with recommendation diversity.
The framework consists of two primary modules:
1. Multi-Interest Extraction Module
Instead of a single vector, this module generates $K$ discrete interest embeddings. The paper proposes two distinct architectures for this extraction:
- ComiRec-DR (Dynamic Routing): This method utilizes Capsule Networks. User behaviors are treated as primary capsules, while interests act as higher-level capsules. An iterative routing process effectively clusters related behaviors into specific interest vectors.
- ComiRec-SA (Self-Attention): This approach uses a multi-head-like attention mechanism to attend to different segments of the user's history, identifying various interest clusters.
2. Controllable Aggregation Module
Once $K$ sets of candidate items are retrieved (one for each interest), they must be merged into a final recommendation list. ComiRec introduces a controllable factor $\lambda$ to manage this. By maximizing a value function $Q(u, S)$ that combines an accuracy score with a diversity penalty, the system can be precisely tuned. When $\lambda = 0$, the system maximizes for pure accuracy; as $\lambda$ increases, the system prioritizes items from different interest categories.
Experimental Results and Industrial Impact
The researchers evaluated ComiRec on public datasets (Amazon Books and Taobao) and a massive Alibaba Industrial Dataset containing 4 billion interactions.
Key findings include:
- State-of-the-Art Performance: ComiRec outperformed existing models like MIND, YouTube DNN, and GRU4Rec across metrics such as Recall, NDCG, and Hit Rate.
- Industrial Scalability: When deployed on Alibaba's distributed cloud platform, ComiRec-DR improved Recall@50 by 8.65% over the previous best-performing model.
- Effective Trade-offs: On the Amazon dataset, increasing $\lambda$ from 0 to 0.25 more than doubled the diversity score (from 23.2% to 55.1%) while only incurring a minor 5% drop in Recall. This demonstrates that significant diversity gains can be achieved with minimal impact on accuracy.
Conclusion and Future Work
ComiRec demonstrates that moving beyond unified embeddings to a multi-interest framework significantly improves retrieval quality and provides essential product controllability. While the current model relies on pre-defined categories for diversity metrics, future work may explore incorporating memory networks for long-term interest tracking and cognitive theories to better model how users switch between interests during a single session.
Summary updated