Abstract
With the rapid development of E-commerce and the increase in the quantity of items, users are presented with more items hence their interests broaden. It is increasingly difficult to model user intentions with traditional methods, which model the user's preference for an item by combining a single user vector and an item vector. Recently, some methods are proposed to generate multiple user interest vectors and achieve better performance compared to traditional methods. However, empirical studies demonstrate that vectors generated from these multi-interests methods are sometimes homogeneous, which may lead to sub-optimal performance. In this paper, we propose a novel method of Diversity Regularized Interests Modeling (DRIM) for Recommender Systems. We apply a capsule network in a multi-interest extractor to generate multiple user interest vectors. Each interest of the user should have a certain degree of distinction, thus we introduce three strategies as the diversity regularized separator to separate multiple user interest vectors. Experimental results on public and industrial data sets demonstrate the ability of the model to capture different interests of a user and the superior performance of the proposed approach.
Introduction
Modern recommender systems typically employ a two-stage pipeline: a matching stage for efficient retrieval and a ranking stage for precise scoring. In the matching stage, users and items are embedded into a shared low-dimensional space. Traditional deep learning models, such as YouTube DNN, represent a user with a single vector. However, users often possess multiple, distinct interests within a single session—for example, browsing for both clothing and electronics. A single vector representation tends to average these interests, often skewing toward the most frequent category and failing to capture the full breadth of user intent.
While recent architectures like MIND and ComiRec attempt to address this by generating multiple interest vectors, they frequently encounter the problem of "interest homogeneity." Without explicit constraints, the generated vectors often converge to nearly identical representations, effectively collapsing back into a single-interest model.
Methodology
We propose Diversity Regularized Interests Modeling (DRIM) to ensure the generation of genuinely distinct interest vectors. The model architecture consists of a Multi-Interest Extractor followed by a Diversity Regularized Separator.
Multi-Interest Extractor
DRIM utilizes a capsule network with dynamic routing to cluster a user's historical behaviors into $K$ different "interest capsules." This mechanism allows the model to learn high-level representations of specific interest clusters from raw interaction data.
Diversity Regularized Separator
To prevent the $K$ vectors from becoming redundant, we introduce three auxiliary loss strategies as separators:
- Max Entropy Loss: Maximizes the entropy between interest capsules to force a wider distribution of captured interests.
- Mean Square Loss: Penalizes vectors that are too close to the user's overall mean interest, pushing individual interests toward the periphery of the embedding space.
- Diverse Loss: Employs cosine similarity to penalize pairs of interest vectors that point in the same direction.
The model is trained jointly using a standard softmax loss for recommendation accuracy and one of the diversity separator losses, balanced by a controllable hyperparameter $\lambda$.
Experimental Results
The performance of DRIM was evaluated on the Amazon Books public benchmark and a large-scale Industrial Dataset (OURS) from an international E-commerce application.
On the Amazon Books dataset, DRIM using the Max Entropy loss achieved a Hit Rate (HR@100) of 0.8957, significantly outperforming ComiRec (0.8785) and MIND (0.7136). On the industrial dataset, the Diverse Loss strategy proved most effective, reaching an HR@100 of 0.5663, compared to 0.4573 for ComiRec and 0.4030 for YouTube DNN.
Visual analysis using t-SNE confirmed that while baseline multi-vector models often produce tightly clustered vectors for a single user, DRIM successfully spreads these representations across the embedding space, capturing disjoint interests such as electronics and clothing.
Conclusion
The DRIM framework addresses the critical limitation of interest homogeneity in multi-vector recommender systems. By introducing explicit geometric and statistical regularization, DRIM ensures that the matching stage captures the full diversity of user preferences, leading to substantial improvements in recommendation performance across both public and industrial benchmarks.
Summary updated