How Expedia's business-travel arm ranked hotels by past bookings
In October 2021 Egencia described Smart Mix Lodging, a RandomForest that predicts booked or not booked for each hotel a search returns and sorts by that score, with the company's preferred hotels kept on top. Against an older model without personalisation, bookings of the first result rose 7.4 percent. Three weeks later Expedia Group sold Egencia; its own lodging ranking has since moved to deep learning to rank.

A business traveller sent to the same city every month does not want to browse. They want last trip's hotel, or the one their colleagues use, at the top of the list.
Egencia, then Expedia Group's business-travel brand, described how it put it there in a post on 14 October 2021 by Nicholas Maquillan, Claudio Aldana-Rosenberg, Achyuta Jha and Debraj GuhaThakurta. The live page blocks our client, so we read the archived copy from the day it went up. This is Egencia's system, not Expedia.com's or Hotels.com's.
The problem: find the usual hotel fast
"Since repeat booking patterns are frequent in corporate travel, the shopping experience of corporate travelers is in general less exploratory and more focused on finding their preferred hotels with efficiency."
Filters and the place searched pick the hotels. The model's job was the order: "to rank a list of hotels based on personalized relevance for the user after their search retrieves an inventory of available hotels." The bet: "when most preferred hotels are ranked at the top, users will find their choices easily".
The design: score each hotel, then sort
Each hotel the search returns gets one number, the chance this traveller books it. The list is sorted by that number, with the company's own rules applied first. Our redraw is at the top.
How they built it: one score, four kinds of signal
1. Pick the plainest framing. The team lists three options: classification, learning to rank and collaborative filtering. They chose the first, "a binary classification problem (booked vs. not-booked being the positive and negative classes)". The post calls it "point-wise ranking": each hotel is scored on its own, not against the others in the list.
2. Gather four groups of features. Past bookings, by the traveller and by "co-workers’ historical bookings at the hotel", plus price habits. The profile: brand loyalty and the company's negotiated rates. The hotel: rates, amenities, stars, reviews. The search: distance to the place searched, and whether it was an address, an airport code or a point of interest. "We’ve typically used historical data from the past 6 months." "Total data typically consists of tens of millions of records."
3. Let a live test choose the model. They tried RandomForest and gradient-boosted trees, and "based on online A/B testing performance (below), we deployed a RandomForest model."
4. Keep the company's rules outside the model. "In cases where there are client negotiated or preferred hotels, we rank the remaining hotels retrieved in a search." Policy stays a rule; the model sorts what is left.
5. Serve it with daily features. The model is bundled with MLeap and runs in JVMs on Kubernetes, using live and cached features. "Cached features are refreshed on a daily basis."

How they measured it
Three user metrics: how many bookings land in the top 1, 3 or 10 results; search conversion; and time to book. The live test ran against "a gradient boosting tree-based model that was previously developed without personalization using data from Expedia Group’s leisure brands."
The results, as printed: "Bookings within top 1 displayed rank: Increase of 7.4% (p < 10e-10)". Search conversion and the share of bookings made within five minutes each rose 1.3%.
The post's chart shows what drives the score. The traveller's own booking share at a hotel scores about 0.57 on a 0 to 1 scale, co-workers' share about 0.22, distance about 0.10. Personal and company features "account for about 80% of the feature importance".
What it delivered
"Currently, Egencia enables the personalized lodging ranking model for all Egencia customers." And "about 90% of users’ selections are made within the top 10 ranked properties". The monitoring chart holds near 91 to 93% from November 2020 to May 2021.
The numbers are thin. There are no base rates, no sample size, no test length, and no word on whether 7.4% is relative. The baseline was trained on leisure-brand data, so the test mixes personalisation with better-matched data. A high top-10 share partly feeds itself: hotels shown first get booked more, which raises their history score. All figures are Egencia's own.
The useful lesson is about drift. A customer reported a hotel in an odd position, and the cause was "a degradation of the personalization features due to low booking volume in the previous year". The pandemic had emptied the history. They widened it to three years of bookings.
What has changed since
On 2 November 2021, American Express Global Business Travel completed the purchase of Egencia. "Expedia has also entered into a long-term agreement to provide accommodations supply to GBT." We found no follow-up post and nothing on what became of the model.
Expedia Group's own lodging ranking, built by other teams, went further. The 2023 Juggler mixes relevance with business adjustments: "each adjustment is assigned a weight". A 2024 post describes a deep network for learning to rank, where "a booking is considered as a stronger signal of property relevance than a click or a simple impression", placed between a candidate generator and those adjustments. A 2025 post on loyalty-tier embeddings reports "a slight improvement for NDCG@10" and a significant one for conversion, with no numbers. An August 2026 post on the Keras 3 move says it "made model training 30% faster and cut P99 inference latency by two-thirds".
The tools moved too. TF-Ranking is archived on GitHub. LightGBM offers lambdarank and rank_xendcg, and XGBoost defaults to rank:ndcg; both are maintained. Airbnb's published ranking papers moved from pairwise to listwise neural models.
Why it matters for your business
Indonesian hotels and villas have rooms to fill. "BPS melaporkan, tingkat penghunian kamar (TPK) hotel berbintang di Indonesia mencapai 51,78% pada September 2026", reports Databoks. A chain or villa group selling on its own site decides what a guest sees first.
The signal does not carry over. Egencia's best feature was repeat booking by the same traveller. A family books a villa in Bali once or twice a year, often without logging in. For them, dates, party size, lead time and what similar guests booked matter more. Local OTAs already use this tool family: tiket.com wrote "We use XGBoostRanker as our machine learning algorithm and NDCG as our primary evaluation metric" for its search suggestions.
There is a legal side. Under UU 27/2022, Pasal 10 lets people object to decisions based only on automated processing, "termasuk pemrofilan", where the effect is legal or significant. The Penjelasan counts "preferensi pribadi, minat", behaviour and location as profiling inputs. Our reading: a sort order is unlikely to be a significant decision, but a hidden price difference could be. Pasal 34 lists "evaluasi, penskoran, atau pemantauan yang sistematis" among processing that needs an impact assessment. Not legal advice; check with counsel.
How we would build it today

Picture a villa group or hotel chain with 30 to 300 properties, a booking site and a WhatsApp button.
- Measure a plain sort first. Available for the dates, price fit, recent bookings. Record the booking rate per search.
- Log every impression with its position. Without it you cannot tell a good property from a well-placed one.
- Rank the outcomes. A booking beats a WhatsApp enquiry, which beats a click, which beats a view, the same order as Expedia's 2024 model.
- Keep owner rules visible. Featured properties, minimum nights and promotions as capped, logged adjustments, like Egencia's preferred-first rule.
- Then a gradient-boosted ranker. LightGBM
lambdarankor XGBoostrank:ndcgon party size, nights, lead time, season, price band and property features. Add a guest's past stays only when they log in. - Give anonymous guests the context-only score. Do not guess who they are.
- Test against the plain sort. Write down base rates, sample size and run length before starting, and report absolute change.
- Watch for drift. Refresh features daily and alert when the top-3 booking share moves, especially after Lebaran.
- Write it down. A line saying results are personalised, a switch to turn it off, and the Pasal 34 assessment.
At this size, steps 1 to 4 are probably a week of work. The ranker earns its place once the plain sort is measured and it beats it.