All models

deepctr_torch.ESMM

Predicts post-click conversions over all impressions by factoring click-and-convert as click times convert.

Tabular and recommender · 50 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 (46 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
87.8K
Operations
50
Framework
PyTorch
Recurrent
No
Published
SIGIR 2018
Cited by
59 (as of 18 October 2026)
Authors
Xiao Ma, Liqin Zhao, Guan Huang and others
License
Apache-2.0
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
m4136
Graph hash
69b55b0f2a2a0f77e395d43ec90c42a868c196355194875c2896c8018883d3ef
Skeleton hash
34afa17d07c2ed472fd262849b216c394e3e3a70d85e3b1542fff28459f5a82a
Architecture hash
c1f1028922413ed1fdf3e45570a737df3aac109af58ea2c712dff424eff47f20
Diagram SHA-256
6bff26ef97383cbd9fe26d433a12044c0595959731c2f0697cdba651f3316814
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

ESMM, the Entire Space Multi-task Model, is a conversion-rate model for the ranking systems behind recommendation and advertising, where estimating the post-click conversion rate accurately is crucial. Its starting point is a practical flaw in conventional CVR models: they are trained on clicked impressions but asked to score all impressions, which causes a sample selection bias. The clicked data is also extremely sparse, which makes the model fitting rather difficult.

The idea is to exploit the sequential pattern of user actions, impression then click then conversion, by introducing two auxiliary tasks: the post-view click-through rate (CTR) and the post-view click-through and conversion rate (CTCVR). ESMM treats pCVR as an intermediate variable which, multiplied by pCTR, equals pCTCVR. Both pCTCVR and pCTR are estimated over the entire space with samples of all impressions, so the derived pCVR also applies over the entire space. The embedding dictionary of the CVR network is shared with that of the CTR network, which sees far richer data, a feature representation transfer that eases the sparsity problem. The loss has only two terms, from the CTR and CTCVR tasks over all impressions, and never uses a CVR loss directly. The multiplication form also keeps the estimated pCVR within [0,1], where a division-based alternative might exceed 1.

The captured member is the DeepCTR-Torch implementation, whose model list files ESMM under its SIGIR 2018 paper. The experiments use traffic logs from Taobao's recommender system, and the authors released a 1% random sample of the whole dataset, which still reaches 38GB without compression. The full product dataset consists of 8.9 billion samples with sequential labels of click and conversion. Trained on that whole dataset, ESMM gains 2.18% absolute AUC on the CVR task and 2.32% on the CTCVR task over the base model. The authors describe the released data as, to their knowledge, the first public dataset with samples whose click and conversion labels are sequentially dependent.

Key idea. ESMM estimates post-click conversion rate directly over the entire impression space by factoring pCTCVR as pCTR times pCVR and sharing the feature embedding between the CTR and CVR networks, eliminating sample selection bias and data sparsity together.

  • esmm
  • entire space multi-task model
  • cvr
  • conversion rate
  • post-click conversion rate
  • ctcvr
  • ctr
  • multi-task learning
  • sample selection bias
  • taobao
  • deepctr-torch

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

Cite the paper

@misc{ma2018entirespacemultitaskmodel,
      title={Entire Space Multi-Task Model: An Effective Approach for Estimating Post-Click Conversion Rate}, 
      author={Xiao Ma and Liqin Zhao and Guan Huang and Zhi Wang and Zelin Hu and Xiaoqiang Zhu and Kun Gai},
      year={2018},
      eprint={1804.07931},
      archivePrefix={arXiv},
      primaryClass={stat.ML},
      url={https://arxiv.org/abs/1804.07931}, 
}