Back to System Design Mind Map
中文·English
🏗️ System DesignID: esmm-sample-selection-bias

ESMM Entire Space Multi-Task Model

ESMM 全空间多任务模型
🎯Core Definition
ESMM (Entire Space Multi-Task Model, proposed by Alibaba Alimama at SIGIR 2018) is a multi-task learning architecture specifically engineered to resolve the twin industry dilemmas in Conversion Rate (CVR) estimation: Sample Selection Bias (SSB) and Data Sparsity (DS); using probability chain rules: pCTCVR=pCTR×pCVRp\text{CTCVR} = p\text{CTR} \times p\text{CVR}, ESMM trains CTR and CTCVR simultaneously across the entire un-gated impression space, implicitly deriving pCVR=pCTCVRpCTRp\text{CVR} = \frac{p\text{CTCVR}}{p\text{CTR}} without conditioning training exclusively on clicked samples.
💡Use Cases
E-commerce purchase conversion rate estimation, performance advertising bidding (pCVR), and multi-step conversion funnel modeling.
Key Problems Solved
Conventional CVR models train solely on clicked items but serve across the full impression pool, triggering severe distribution shifts (SSB) and over-fitting on sparse positive data; ESMM's full-space joint training completely eliminates selection bias and data sparsity.
🎯5 High-Frequency Exam Points
1
Derive the joint loss function of ESMM over full impression space combining CTR and CTCVR targets?
2
Why does online serving extract the raw output of the CVR Tower directly as the predicted pCVRp\text{CVR} without dividing by CTR?
3
How does embedding weight sharing between CTR and CVR towers leverage abundant CTR impressions to alleviate CVR data sparsity?
4
How does ESM2 extend the ESMM framework across multi-stage conversion DAG funnels (Impression -> Click -> Cart -> Purchase)?
5
Why does optimizing CVR via explicit division cause numerical instability, and how does multiplicative CTCVR loss avoid gradient explosions?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "ESMM Entire Space Multi-Task Model"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardPLE Progressive Layered ExtractionNext CardFeature Store Online/Offline Consistency

🔗 More System Design Knowledge Cards

RecSys Multi-Stage Funnel & 50ms SLADSSM Two-Tower RetrievalYouTube DNN Candidate GenerationPre-Ranking Lightweight Architecture