PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Expedia

Validate and monitor ranking model end-to-end

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's mastery of learning-to-rank concepts, offline evaluation and metric design, position-bias correction, diagnostic analysis, deployment safeguards, and alignment of surrogate objectives with business KPIs for hotel search ranking.

  • hard
  • Expedia
  • Machine Learning
  • Data Scientist

Validate and monitor ranking model end-to-end

Company: Expedia

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Onsite

For the same Expedia hotel-ranking model: a) Propose an offline evaluation plan that prevents leakage (time-based splits, user-level grouping), handles position bias (propensity-weighted/IPS metrics or counterfactual LTR), and reports probability calibration of conversion predictions (e.g., reliability curves, ECE). b) Specify which ranking metrics you’ll report (e.g., NDCG@10 with revenue weights, ERR), including the formulas and why they reflect client value. c) Outline diagnostics to identify key drivers without leaking target information (e.g., SHAP with proper background, permutation checks, stability across folds). d) Define rollout/monitoring: shadow mode, canary, guardrail alarms, drift detection (data and concept), late-arriving data handling, and an automatic rollback policy with thresholds. e) Describe how you’d verify that optimizing a surrogate objective still improves the client KPI, and what you’d do if the offline–online relationship breaks.

Quick Answer: This question evaluates a data scientist's mastery of learning-to-rank concepts, offline evaluation and metric design, position-bias correction, diagnostic analysis, deployment safeguards, and alignment of surrogate objectives with business KPIs for hotel search ranking.

Expedia logo
Expedia
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Machine Learning
6
0

Expedia Hotel-Ranking Model: Evaluation, Metrics, Diagnostics, Rollout, and KPI Alignment

Context: You are building a learning-to-rank (LTR) model to order hotel search results for Expedia. The goal is to maximize client value (e.g., bookings, gross merchandise value [GMV], or margin) while ensuring rigorous offline evaluation, attribution fairness under position bias, and safe deployment.

Answer the following:

(a) Offline evaluation plan

  • Prevent leakage through time-based splits and user/session-level grouping.
  • Handle position bias using propensity-weighted (IPS/SNIPS/DR) metrics or counterfactual LTR.
  • Report probability calibration of conversion predictions (reliability curves, ECE).

(b) Ranking metrics

  • Specify which ranking metrics you will report (e.g., NDCG@10 with revenue/margin weights, ERR), including formulas and why they reflect client value.

(c) Diagnostics for key drivers

  • Outline diagnostics to identify key drivers without leaking target information (e.g., SHAP with proper background, permutation checks, stability across folds).

(d) Rollout and monitoring

  • Define shadow mode, canary, guardrail alarms, drift detection (data and concept), late-arriving data handling, and an automatic rollback policy with thresholds.

(e) Surrogate objective and client KPI

  • Describe how you would verify that optimizing a surrogate objective still improves the client KPI, and what you would do if the offline–online relationship breaks.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Expedia•More Data Scientist•Expedia Data Scientist•Expedia Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.