← Questions

Design a family-friendly listing ranking system

0
AirbnbAI/ML designLast asked Apr 2026

An AI/ML design interview question asked in Airbnb's system design round, last asked Apr 2026. It tests ranking, weak supervision and classification.

On a home-rental marketplace, guests traveling with children want places suited to families: enough beds, a crib or high chair, safety features, a quiet area, space to play. Design a ranking system that puts the most family-friendly listings first for these guests, even though there is no reliable label for "family-friendly."

Requirements

  • Functional: know when a search is a family trip (children in the party, or signals from the guest); compute a family-friendliness signal for every listing; blend it into search ranking for family searches; explain to guests why a listing is a good fit.
  • Non-functional: ranking latency stays within the search budget; listings with little data are not buried; the effect on bookings and guest satisfaction is measurable.

Clarifying questions

  • Does the search form tell us how many children are coming, and their ages?
  • Which listing data exist: amenities, house rules ("not suitable for children"), photos, reviews, past bookings by families?
  • Is the goal more bookings by families, fewer bad stays, or both?
  • Do hosts get to say whether their listing is family-friendly, and can we trust that?

What a strong answer covers

  • Building a proxy label without ground truth: bookings by parties with children followed by good reviews and no complaints, reviews that mention kids positively, and a small set of human-rated listings for evaluation.
  • Weak supervision: combining noisy signals (amenities, house rules, review text, photo content) into a score, and checking it against the human-rated set.
  • Features: amenities (cribs, high chairs, safety gates), bedroom and bed counts, house rules, photo classifiers (pool fencing, stairs), review text embeddings, neighborhood, past family bookings.
  • Ranking: either a separate family-fit score added as a feature to the main ranker for family searches, or a ranker trained on family-trip outcomes; position bias in logged data.
  • Cold start for new listings through content features only, and exploration so they get exposure.
  • Evaluation offline (ranking metrics on family bookings) and online (booking rate and review scores for family trips, with guardrails for other guests and for hosts).

Follow-ups

  • A listing has a pool without a fence. How should that affect the score, and who decides?
  • Guests with children do not always enter them in the search. How do you detect a family trip?
  • How do you show the "why" without making false safety claims?

Where it's asked

What it tests

ranking · weak supervision · classification

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing