MLCrack

    RECOMMENDATION SYSTEMS · INTERVIEW QUESTION

    What is a cross-feature ranker?

    🟢 beginner · Recommendation Systems

    Hint: Focus on the decision rule, assumptions, and failure mode behind recommendation systems.

    Answer

    A cross-feature ranker jointly models user-item-context interactions, often with trees, deep networks, or attention. It is expressive but more expensive.

    Interview reasoning

    Two towers enable precomputed item vectors; a cross-feature ranker models richer user-item interactions after retrieval. They solve different serving-cost problems.

    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 user-by-category interaction can distinguish two items with similar global popularity.

    Validation

    Compare candidate recall and reranked utility with compatible embedding versions.

    Compare NDCG or calibrated outcomes on fixed candidates and end-to-end randomized results; profile feature lookup and ranker p99.

    Common pitfalls

    A jointly encoded cross model usually cannot score the whole catalog at interactive scale.

    Ranker gains cannot recover missing candidates. Features computed after an impression or click can leak the outcome being predicted.

    Likely follow-up: Compare candidate recall and reranked utility with compatible embedding versions.