Introduction
Modern industrial recommender systems typically employ a two-stage architecture: candidate matching followed by ranking. In the matching stage, the system must efficiently retrieve a subset of relevant items from a catalog of millions. Multi-interest learning has emerged as a dominant paradigm for this task, utilizing models like MIND and ComiRec to represent a user through multiple embedding vectors. These vectors aim to capture distinct facets of a user's preferences, such as separate interests in electronics, fitness, or literature.
Despite their popularity, current multi-interest models suffer from two critical training flaws that limit their retrieval accuracy: the "easy negative" problem and "routing collapse." This paper introduces REMI (REthinking Multi-Interest learning), a framework designed to revitalize these models through an efficient interest-aware hard negative mining strategy and a simple routing regularizer.
The Challenges in Multi-Interest Learning
1. The Easy Negative Trap
Most candidate matching models are trained using sampled softmax, where the model learns to distinguish a positive item from a set of randomly sampled negatives. However, in multi-interest learning, the model optimizes against a specific interest vector (e.g., "cooking"). Randomly sampled negatives (e.g., "a hammer") are often so semantically distant from the target interest that the model finds them trivial to distinguish. This lack of "hard negatives"—items similar to the specific interest but still incorrect—prevents the model from learning fine-grained boundaries between items.
2. Routing Collapse
Multi-interest models use a "routing" mechanism (often based on dynamic routing or attention) to assign items in a user's history to specific interest vectors. The authors observed that during training, these models frequently suffer from "routing collapse." In this state, the routing matrix becomes excessively sparse, causing each interest vector to aggregate information from only a single item in the user's history rather than representing a cohesive category. This leads to significant information loss and reduces the model's ability to generalize.
The REMI Framework
REMI addresses these flaws with two model-agnostic components that can be integrated into existing architectures with negligible computational overhead.
Interest-aware Hard Negative Mining (IHN)
To provide more informative training signals, IHN prioritizes negatives that are closer to the specific interest being optimized. To avoid the prohibitive cost of scoring every item in the catalog, REMI utilizes a Monte-Carlo importance sampling trick. This allows the framework to re-weight standard uniform samples to approximate a "hard" distribution, achieving the benefits of hard negative mining with just a few additional lines of code and no significant impact on training speed.
Routing Regularization (RR)
To combat routing collapse, REMI introduces a variance-based regularization term. This term penalizes overly sparse routing matrices, forcing the model to aggregate information from multiple relevant items in the user's history. By ensuring that each interest vector is a composite representation of a broader interest category, RR preserves the richness of the user's behavioral data.
Experimental Results
The framework was evaluated on three large-scale datasets: Amazon Books, Gowalla (location check-ins), and RetailRocket (e-commerce). Performance was measured using Recall, Hit Rate, and NDCG at cutoffs of 20 and 50.
Performance Gains
REMI demonstrated substantial improvements over existing state-of-the-art (SOTA) models:
- Significant Boosts: When applied to the ComiRec-SA baseline, REMI improved Recall@20 by 48.29% on Amazon Books and 63.60% on Gowalla.
- SOTA Comparison: REMI-enhanced models outperformed the previous best-performing baseline, PIMIRec, by 19.7% in Recall@20 on the Amazon dataset.
- Efficiency: Despite the performance gains, the training time remained nearly identical to simple uniform sampling methods due to the efficiency of the importance sampling approach.
Qualitative Analysis
Visualizations of routing matrices confirmed that standard models often focus on only one or two items per interest. In contrast, REMI-enhanced models successfully fused information from the entire relevant historical sequence, confirming that the Routing Regularization effectively prevents collapse.
Discussion and Insights
The success of REMI highlights a "Specificity Paradox": as representations become more specific (moving from a single user vector to multiple interest vectors), standard training techniques like uniform negative sampling become increasingly ineffective. The paper suggests that in the evolution of recommender systems, optimization strategies and objective functions may be just as impactful as architectural complexity.
While REMI introduces two new hyperparameters—$\beta$ for negative "hardness" and $\lambda$ for regularization strength—the authors found that moderate values generally provide robust improvements across different datasets. Future research may explore how these improved matching representations impact the final ranking stage in a full production pipeline and how to further automate hyperparameter selection.
Summary updated