All models

MIND (Multi-Interest Network with Dynamic Routing)

Retrieval-stage recommender that represents each user with several interest vectors found by dynamic routing.

Tabular and recommender · 138 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (107 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
213.6K
Operations
138
Framework
PyTorch
Recurrent
Yes
Published
CIKM 2019
Cited by
397 (as of 30 October 2026)
Authors
Chao Li, Zhiyuan Liu, Mengmeng Wu and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18139
Graph hash
2c87a1763880aa2f0fc704d48d559aa9ac1186971206ba71bc4daaf68cfd8d16
Skeleton hash
c81e6db52b7cf70740e622135398ac273597b807de11445582d9bcb2b58ea0c2
Architecture hash
c262427115880970f76ebbbd225591bc910c5b501c3e3b66b6f1f360b16f1e27
Diagram SHA-256
144eb0132605f0c1668eb0e86940dedfcfa052cc2dabbc7cc5d066bff1641c2e
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MIND (Multi-Interest Network with Dynamic routing) is a recommendation model for the matching stage, the step that retrieves candidate items relevant to a user's interests before a ranking stage sorts them. The paper argues that representing a user as a single vector is insufficient to capture the varying nature of that user's interests. MIND instead represents one user with multiple vectors that encode different aspects of those interests.

The part to look for in the graph is the multi-interest extractor layer, which uses dynamic routing to aggregate a user's historical behaviors into user representation vectors. The paper describes this routing as a form of soft-clustering. In the paper, a label-aware attention layer is added during training so that the target item chooses which interest capsule is used.

With a single interest, the paper notes, MIND degenerates to YouTube DNN, so it can be viewed as a generalization of that model. In the paper's online tests at Tmall, performance peaked when the number of extracted interests reached 5. At the time of the paper, MIND was deployed to handle major online traffic on the homepage of the Mobile Tmall App.

Key idea. The paper designs a multi-interest extractor layer, based on the capsule routing mechanism, that clusters a user's historical behaviors and extracts several interest vectors for retrieval.

  • MIND
  • Multi-Interest Network with Dynamic Routing
  • multi-interest recommendation
  • recommender system
  • candidate retrieval
  • matching stage
  • capsule network
  • dynamic routing
  • user representation
  • Tmall

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2019multiinterestnetworkdynamicrouting,
      title={Multi-Interest Network with Dynamic Routing for Recommendation at Tmall}, 
      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},
      year={2019},
      eprint={1904.08030},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/1904.08030}, 
}