Design a dynamic rental pricing system

Quick Overview

This question evaluates skills in production machine learning system design for pricing, including problem formulation, data and feature engineering, modeling and uncertainty management, online inference and scalability, experimentation and guardrails, and considerations like fairness and cold-start handling.

Design a dynamic rental pricing system

Company: Airbnb

Role: Software Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Onsite

Design an ML-driven system to help hosts set nightly rental prices. Describe the problem formulation (objective, constraints, business guardrails), data sources (historical bookings, search demand, competitor prices, calendars, events), and feature engineering (seasonality, lead time, availability, price elasticity, cancellations). Propose the modeling approach (e.g., time-series plus gradient boosting with elasticity estimation, or constrained reinforcement learning) and how you would incorporate uncertainty and guardrails. Outline the training pipeline, offline simulation/sandboxing, and online inference architecture; latency and scale requirements; exploration–exploitation strategy; handling cold-start listings and sparse regions; fairness, explainability, and abuse prevention; and a rollout plan with A/B testing and guardrail metrics.

Overview: This question evaluates skills in production machine learning system design for pricing, including problem formulation, data and feature engineering, modeling and uncertainty management, online inference and scalability, experimentation and guardrails, and considerations like fairness and cold-start handling.

|Home/ML System Design/Airbnb
Airbnb logo
Airbnb
Aug 12, 2025
hardSoftware EngineerOnsiteML System Design
17
0

System Design: ML-Driven Nightly Pricing for Short-Term Rentals

Context

Design a production ML system that recommends (and optionally auto-sets) nightly prices for hosts on a two-sided rentals marketplace. The system should maximize long-term marketplace health while protecting hosts and guests with business guardrails.

Requirements

  1. Problem formulation
    • Objective(s)
    • Constraints and business guardrails
  2. Data sources
    • Historical bookings, search demand, competitor prices, calendars, local events
  3. Feature engineering
    • Seasonality, lead time, availability/inventory, price elasticity, cancellations
  4. Modeling approach
    • E.g., time-series + gradient boosting with elasticity estimation, or constrained reinforcement learning
    • How to incorporate uncertainty and guardrails
  5. Training pipeline and evaluation
    • Offline training, offline simulation/sandboxing
  6. Online inference and architecture
    • Service design, latency and scale targets
  7. Exploration–exploitation strategy
  8. Handling cold-start listings and sparse regions
  9. Fairness, explainability, and abuse prevention
  10. Rollout plan with A/B testing and guardrail metrics

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...