Multi-Task Learning for Likes, Shares and Watch Time Prediction
Last updated: November 29, 2026
Quick Overview
The feed ranker must predict finish, like, share, follow and watch time for each candidate video. Explain how to structure a multi-task model and handle conflicts between tasks.
TikTok
November 29, 20260
0
0 solved
The feed ranker must predict finish, like, share, follow and watch time for each candidate video. Explain how to structure a multi-task model and handle conflicts between tasks.
TikTok's ranking stack scores each video on several engagement objectives at once, so MLE onsites often go deep on multi-task architectures. The interviewer looks for knowledge of shared-bottom versus mixture-of-experts designs, negative transfer, loss balancing and how outputs are combined.
What the Interviewer Expects
- Compare shared-bottom, MMoE and PLE style architectures
- Explain negative transfer and when tasks conflict
- Choose losses per task (binary cross entropy vs regression for watch time)
- Balance losses with weights or uncertainty weighting
- Explain how heads are combined into a final ranking score
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you detect negative transfer?
- How would you model watch time, which is heavy-tailed?
- Why might share and like need different gating?
- How would you tune the score fusion weights?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Clarify label sparsity (finish rates around 30%, shares under 1%), whether all tasks are trained on the same impressions, and how the final ranking score is formed (weighted product or sum of predicte...
Approach
Start from a shared-bottom network: embeddings and lower layers shared, one tower per task. It is efficient and helps sparse tasks like share borrow signal from dense tasks like finish. When tasks con...