ML Systems Lab Open interactive version →
Advanced 26 min read multi-taskvalue modelMMoErankingRecSys

Multi-Task & Multi-Objective Ranking

Value models, shared-bottom vs MMoE, combining CTR + dwell + shares

Real feeds don't rank by one thing. A staff-level ranker predicts several outcomes at once — probability of click, of a long dwell, of a share, of a report — and then a value model combines them into the single score that decides the order. "Rank by engagement" is not a design; "rank by 1.0·p(click) + 1.2·p(dwell) + 0.5·p(share) − 3.0·p(report)" is.


One model, many heads. A shared-bottom network learns common representations, then splits into task-specific heads (click head, dwell head, share head). It's cheap but forces all tasks to share one trunk — when tasks conflict (clickbait maximizes clicks but minimizes dwell), the shared trunk is pulled in opposite directions and every task suffers (negative transfer). MMoE (Multi-gate Mixture-of-Experts) fixes this: several expert sub-networks, and each task has its own gate that softly picks which experts to use — so conflicting tasks can route to different experts.


The value-model weights are a product decision, not a learned parameter. They encode what the business values: how much a share is worth relative to a click, how hard to penalize a report. There's no weight vector that maximizes every objective — pushing CTR up promotes clickbait and raises the report rate. The weights are usually tuned by online A/B tests against a north-star metric (long-term retention), not by offline loss.


Every head must be calibrated, not just correctly ranked, or the sum lies. The value model adds the heads together as if each pᵢ were a real probability on the same 0–1 scale. Say the true click probability for an item is p(click) = 0.1, but the click head is uncalibrated and outputs 0.2 — that head's contribution to the value score is now double what it should be, silently outweighing a correctly-calibrated dwell head standing right next to it in the same sum. A head can have perfect ranking accuracy (it sorts items in the right order) and still wreck the value model this way, because ranking accuracy only cares about order, not the actual magnitude of the probability.


Guardrails ride in the same score. Harm signals (report, "see fewer", hide) enter the value model as *negative* weights, so harmful-but-clicky content is demoted at ranking time rather than filtered after the fact.

Key points

Takeaway

Staff-level ranking predicts several calibrated outcomes with a multi-task model (MMoE routes conflicting tasks to separate experts) and fuses them with a value model whose weights are a business decision tuned by online A/B tests — with harm signals entering as negative weights so guardrails live inside the ranking score.

Recap

Check your understanding

Q1. A shared-bottom model jointly trains click and dwell heads. Adding the click task *lowers* dwell-head accuracy versus training dwell alone. What's happening and what's the standard fix?

Q2. Why must each prediction head be *calibrated* before the value model combines them as w₁·p₁ + w₂·p₂ + …?

Q3. Select the two correct statements about how value-model weights (click, dwell, share, report) should be set.

Try it interactively

ML Systems Lab is a free interview-prep platform for ML engineers — work through the full interactive module, quizzes, and drills.

Open ML Systems Lab →