Personalization without user identity
Airbnb tackles cold-start personalization for logged-out and first-time users with Proximity Features: IP-derived coarse locations are grouped into buckets of roughly 1,000 users, and daily-aggregated group signals (recent searches, booking patterns, bucket metadata) stand in for per-user history. A two-phase adaptive clustering algorithm subdivides dense coordinates by IP hash buckets and progressively coarsens sparse tiles, producing a partition that has stayed stable since 2023 with only daily refreshes. At serving time the IP resolves to a proximity key and features come from a key-value store as a soft dependency that never blocks the request. A/B tests showed gains on marketing landing pages and Homepage AutoSuggest, especially for never-booked and dormant users, while avoiding persistent identifiers and excluding non-consenting users.
Related posts
- De-identifying text at scale: How Airbnb protects personal data in AI training
Airbnb Engineering mediumAdeptAirbnb de-identifies messages, reviews and support chats before ML training using Presidio, an open-source PII framework, shipped as an in-process Python library and a shared pipeline step whose de-identified dataset tag gates model deployment. The team added Airbnb-specific pattern recognizers with multi-word phrase context scoring, replaced spaCy with the zero-shot GLiNER model for names and street addresses, and resolves overlapping detections in the Anonymizer. Replacement uses realistic custom Faker values seeded from the real value plus a per-run secret, so fakes stay consistent within a run but unlinkable across runs. Structured fields get salted hashing, coordinate truncation and format-preserving encryption for 64-bit IDs. Quality is tracked on recall, precision and throughput per entity and language, with recall prioritized.
- CASTLE: training natural language search before the first real query
Airbnb Engineering hardMasterCASTLE solves the cold-start problem for Airbnb's natural language search by generating synthetic queries and relevance labels together. It uses contrastive listing pairs from de-identified booking sessions: a booked listing is the positive and a viewed-but-not-booked one the negative, so the label is correct by construction. Template, few-shot (about 500 user-research seed queries) and attribute-grounded prompts, plus a variety mechanism, prevent query collapse. Query-distribution KL divergence against real users is 1.01, versus 9.33 for the best baseline (Promptagator), and human raters agreed with the labels 91–93% of the time. An LLM Virtual Judge covers listings with no booking history, and a CASTLE-R variant seeds generation from real queries once traffic exists.
- Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize
Airbnb Engineering easyNoviceAirbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers. Core Mondrian extends the classic Mondrian k-anonymity algorithm with a Strategy Pattern architecture, a hybrid recursive-queue parallel execution model, NaN-pattern pre-partitioning and dynamic suppression budgets. The data quality paper defines three metrics (Pearson correlation, RILM and NMIv1) and validates their thresholds by framing quality assessment as a classification problem on synthetic data. The library exposes k_anonymize, p_sensitize and threshold checks, and the default thresholds are offered as starting points for similar systems.
- The guest journey, updated in real time: extending Airbnb’s sequence recommender with Chronon
Airbnb Engineering mediumAdeptAirbnb moved its Transformer-based guest sequence encoder from a daily batch job, where embeddings could lag behavior by nearly two days, to a near-real-time pipeline built on two new Chronon capabilities. Push Mode makes streaming jobs emit a notification as soon as they commit a feature update, and NRT Model Transform calls the already-deployed encoder inside the streaming flow and writes the embedding to the same low-latency store the ranking model already reads. Embeddings now typically update within 10–30 seconds of guest activity. Offline NDCG rose 1.67% and an A/B test showed about a 0.33% lift in uncancelled bookings, showing freshness alone improves ranking quality.
- From Activity to Intent: Generating User Journeys with LLMs
Pinterest Engineering mediumAdeptPinterest replaced a multi-stage keyword-clustering pipeline for inferring user "journeys" (long-horizon goals like a kitchen remodel) with a single fine-tuned 4B Qwen3 model. The model reads a compact chronological activity log and emits a ranked JSON list of localized journey names, with the prompt itself encoding ranking, dedup, noise and safety policy. The student was distilled via LoRA SFT from frontier-model teacher outputs; a few thousand diverse, hard examples were enough, and 4B beat 0.6B/1.7B/8B on the quality/throughput tradeoff. Serving uses NVIDIA Dynamo with vLLM on ~100 L40S GPUs at ~775 req/s (p50 1.2s, p95 3.0s), with KV-aware routing and prefix caching, and skips recently inferred users. Online tests showed 1.1% email CTR and 1.3% push open lifts over the clustering system.