RECOMMENDATION SYSTEMS · INTERVIEW QUESTION
What is ranking in recommender systems?
🟢 beginner · Recommendation Systems
Hint: Focus on the decision rule, assumptions, and failure mode behind recommendation systems.
Answer
Ranking orders candidates using richer features and models to optimize relevance, utility, and constraints. It prioritizes precision at top positions.
Interview reasoning
Retrieval optimizes coverage over a large catalog; ranking spends more compute on a smaller pool. Relevant candidates absent from the pool cannot be recovered.
A ranker scores a bounded candidate set with richer user-item interactions than the retriever can afford. Cross features capture context-dependent compatibility, such as a user's current interest with item attributes. Train on exposure-aware examples and evaluate both quality and feature/compute cost.
Worked example. A candidate retriever returns 1,000 items; a ranker orders them before a final slate of twenty.
Validation
Report retrieval recall at a fixed candidate and latency budget, then final ranking quality.
Compare NDCG or calibrated outcomes on fixed candidates and end-to-end randomized results; profile feature lookup and ranker p99.
Common pitfalls
A high ranker score evaluated only on easy retrieved positives can obscure coverage failure.
Ranker gains cannot recover missing candidates. Features computed after an impression or click can leak the outcome being predicted.
Likely follow-up: Report retrieval recall at a fixed candidate and latency budget, then final ranking quality.