NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Interest Network with Dynamic Routing for Recommendation at Tmall

Chao Li, Zhiyuan Liu, Mengmeng Wu, Yuchi Xu, Pipei Huang, Huan Zhao, Guoliang Kang, Qiwei Chen, Wei Li, Dik Lun Lee

Abstract

Traditional industrial recommender systems often represent a user's diverse interests with a single fixed-length vector, creating a bottleneck in the candidate retrieval (matching) stage. We present the Multi-Interest Network with Dynamic Routing (MIND), which addresses this by using capsule networks to extract multiple interest vectors from a user's historical behaviors. By capturing the multi-faceted nature of user preferences, MIND significantly improves retrieval accuracy. Evaluated on large-scale industrial datasets from Tmall, MIND demonstrates a substantial improvement in HitRate and online Click-Through Rate (CTR) compared to state-of-the-art single-vector models.

Introduction

Industrial recommender systems typically follow a two-stage pipeline: matching and ranking. The matching stage efficiently retrieves a few thousand candidates from a massive item pool, while the ranking stage performs fine-grained ordering. While the ranking stage can utilize complex models like Deep Interest Networks (DIN), the matching stage requires high efficiency, often relying on vector-based retrieval.

A common limitation in existing matching models, such as the YouTube DNN, is the compression of a user's entire history into a single vector. This "averaging" effect fails to represent users with diverse interests—for instance, a user simultaneously interested in electronics, sports, and books.

Diverse user interests illustrated through click sequences of two different users.

Methodology

The core of MIND is the Multi-Interest Extractor Layer, which utilizes capsule networks and dynamic routing to cluster user behaviors into distinct interest representations.

Multi-Interest Extractor Layer

MIND treats historical user behaviors as "low-level capsules." Through an iterative Behavior-to-Interest (B2I) Dynamic Routing process, these behaviors are aggregated into "high-level capsules," or interest vectors. Key adaptations for the recommendation domain include:

  • Shared Bilinear Mapping: Accommodates variable-length behavior sequences.
  • Dynamic Interest Number: The number of interest capsules ($K$) scales logarithmically with the user's history length, balancing representation power and computational cost.
  • Random Initialization: Prevents routing collapse into a single cluster.
The MIND architecture, featuring the Multi-Interest Extractor Layer and Label-aware Attention mechanism.

Label-aware Attention

During training, a label-aware attention mechanism is employed. This allows the target item (ground truth) to selectively attend to the most relevant interest capsule, optimizing the model to predict the next item based on the specific interest it belongs to. The authors found that increasing the power parameter ($p$) in the attention mechanism—moving toward "hard attention"—improves performance and convergence.

Experiments and Results

MIND was evaluated on the public Amazon Books dataset and a large-scale industrial dataset, TmallData, containing millions of users and items.

Offline Evaluation

On the TmallData dataset, MIND outperformed the single-vector YouTube DNN by over 60% in HitRate@50. It also surpassed MaxMF, a previous multi-interest modeling approach, demonstrating the effectiveness of the dynamic routing mechanism.

Online Deployment

MIND was deployed on the Mobile Tmall App. A week-long A/B test confirmed significant improvements in Click-Through Rate (CTR) over item-based Collaborative Filtering and YouTube DNN. Online results suggest that 5 to 7 interest vectors are optimal for Tmall users; beyond this, performance gains plateau.

Conclusion

MIND successfully bridges the gap between the efficiency required for matching and the representational complexity needed to capture diverse user interests. Future work includes incorporating temporal information into the behavior sequences and exploring more stable routing initialization techniques like K-means++.

Summary updated

BibTeX
@inproceedings{li2019multi,
  author = {Chao Li and Zhiyuan Liu and Mengmeng Wu and Yuchi Xu and Pipei Huang and Huan Zhao and Guoliang Kang and Qiwei Chen and Wei Li and Dik Lun Lee},
  title = {{Multi-Interest Network with Dynamic Routing for Recommendation at Tmall}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2019},
  doi = {10.1145/3357384.3357814},
}
Figure