<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aizere Aizharykova on Medium]]></title>
        <description><![CDATA[Stories by Aizere Aizharykova on Medium]]></description>
        <link>https://medium.com/@aizharykova.zere?source=rss-a31a22798dd1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SPHhitXybAaWom4Pv6u5MQ.jpeg</url>
            <title>Stories by Aizere Aizharykova on Medium</title>
            <link>https://medium.com/@aizharykova.zere?source=rss-a31a22798dd1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:34:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aizharykova.zere/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Built a Hotel Recommender]]></title>
            <link>https://medium.com/@aizharykova.zere/how-i-built-a-hotel-recommender-df73286b2f9e?source=rss-a31a22798dd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/df73286b2f9e</guid>
            <category><![CDATA[hospitality]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aizere Aizharykova]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 16:46:41 GMT</pubDate>
            <atom:updated>2026-11-09T16:46:41.017Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A plain-language look inside a conversational AI system: what goes in, how one sentence travels through four layers, and how it answers in seconds.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kkALIIwVKrZjKpyO" /><figcaption>Photo by <a href="https://unsplash.com/@quangpraha?utm_source=medium&amp;utm_medium=referral">Quang Nguyen Vinh</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Tags: Recommendation System · Artificial Intelligence · Hospitality · Machine Learning · Hotel Industry</p><p>A guest opens a chat window and types one sentence:</p><blockquote>“Quiet boutique hotel in Le Marais, Paris, for me and my wife. Great breakfast, no street noise.”</blockquote><p>Less than five seconds later, three hotels appear. Each one comes with a real quote from a past guest: <em>“Super great location and quiet room… Loved the quirky decor.”</em></p><p>In my last article [3], I predicted that within five years the best hotel recommendation systems would be <em>“small, focused on the current trip, and conversational.”</em> This time, I set out to build one. This article follows that one sentence through the system I built, layer by layer.</p><h3>1.0 What I wanted to build</h3><p>I set myself three rules.</p><ol><li>The guest speaks in their own words. No forms or filters to click. One sentence from a guest is worth more than a hundred clicks.</li><li>Every claim must be checkable. If the system says a hotel is quiet, a real guest must have said so.</li><li>It must be fast. A guest should get an answer in a few seconds.</li></ol><p>Speed matters: <a href="http://booking.com/">Booking.com</a> found that <em>“an increase of about 30% in latency costs more than 0.5% in conversion rate”</em> [10].</p><p>What follows is a proof of concept. I am currently building it on a MacBook with an Apple M5 chip and 16 GB of memory, with a compact chat model running as a local server.</p><h3>1.1 Why not just ask a chatbot?</h3><p>Any large chatbot would give you three hotel names, but you couldn’t check where they came from. A language model writes what <em>sounds</em> likely, and a plausible hotel is not a real one.</p><p>So the system splits the work. A database holds the facts, and the language model handles the language. This approach is called retrieval-augmented generation (RAG) [4]: first <em>retrieve</em> real evidence, then <em>generate</em> an answer from it.</p><h3>2.0 The data: 515,738 real hotel reviews</h3><p>I used the 515K Hotel Reviews Data in Europe dataset on Kaggle [1]: 515,738 <a href="http://booking.com/">Booking.com</a> reviews of 1,492 hotels in six cities (Amsterdam, Barcelona, London, Milan, Paris and Vienna), written between August 2015 and August 2017. A smaller copy is also available on Hugging Face [2]; I chose the full Kaggle version because it includes each hotel’s location, and location is half of any hotel request.</p><p>Each review in the full dataset carries:</p><ul><li>the hotel’s address and coordinates</li><li>its average score, plus this guest’s own score</li><li>a positive and a negative review, written separately</li><li>tags such as <em>“Couple”</em>, <em>“Business trip”</em> or <em>“Family with young children”</em></li></ul><p>The data is good enough for a proof of concept covering hotels in these six cities.</p><h3>3.0 System design</h3><p>The system has two parts: a build step that runs once, and a request path that runs every time a guest asks something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HdyiPAL8NV7gXHZ1qSMlAg.png" /><figcaption><em>Figure 1. — The system design. Four layers handle each request. The data on the left is built once, and the models on the right run inside Bionic. Diagram by the author.</em></figcaption></figure><p>Everything runs on one MacBook with an Apple M5 chip and 16 GB of memory. These are the technologies involved:</p><ul><li>Data: the Kaggle dataset [1], with 515,738 reviews of 1,492 hotels.</li><li>Language: Python 3.12, installed with uv [11].</li><li>Data processing: pandas, NumPy and PyArrow / Parquet, to clean and group the reviews and store the results.</li><li>Search: LanceDB [7], which stores and searches 85,900 review snippets as files on disk.</li><li>Model server: Bionic by Element Labs (the makers of LM Studio) and its lms command-line tool [9]. It runs both models locally behind an OpenAI-style API.</li><li>Inference engine: llama.cpp [8] on the Apple GPU (Metal), which does the actual model computation.</li><li>Chat model: Qwen3.5–4B [6], 4-bit GGUF (Q4_K_M). It understands requests and writes explanations.</li><li>Embedding model: nomic-embed-text-v1.5 [5], which turns text into 768 numbers for searching.</li><li>Glue: the OpenAI Python SDK to talk to Bionic, and JSON Schema to force structured answers.</li><li>Figures: matplotlib, for the diagrams in this article.</li><li>Coding help: Claude Code, an AI pair-programmer for writing and debugging.</li></ul><h3>3.1 Building the index (once)</h3><p>In my last article, I explained how Airbnb gives every listing a list of numbers, so that similar listings sit close together on a map [3]. The same idea powers this system, applied to sentences.</p><p>An embedding model reads a piece of text and returns 768 numbers. Texts with similar meanings get similar numbers. <em>“The room was very quiet”</em> and <em>“we slept like babies, no noise at all”</em> land close together even though they share almost no words. That is what lets the system search by meaning instead of by keyword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nov0nnHxVfRY_kPAmUWKhg.png" /><figcaption><em>Figure 2. — The one-time build step. Reviews are cleaned, grouped into hotel profiles and short snippets, and each snippet is turned into 768 numbers. Diagram by the author.</em></figcaption></figure><p>To keep the index compact, the build step selects up to 40 positive and 20 negative snippets per hotel: 85,900 in total. At about 110 snippets per second, the laptop embedded them in roughly 13 minutes. The finished index takes 259 MB on disk.</p><h3>4.0 Following one request through every layer</h3><p>Now the core of the article. Let’s take the sentence from the opening and follow it through the system. Every number below is real output from the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qj4nbrpmMibyK8_JTWmmtQ.png" /><figcaption><em>Figure 3. — The Le Marais request, layer by layer, with the time each layer took. Diagram by the author (real output).</em></figcaption></figure><p>Layer 1: Understand. The sentence goes to Qwen3.5–4B, which must reply with a fixed set of fields. The format is enforced with a JSON Schema, so the model can’t answer in free text:</p><pre>resp = client.chat.completions.create(<br>    model=&quot;hotel-llm&quot;,<br>    messages=[{&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: EXTRACT_PROMPT},<br>              {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: request}],<br>    response_format={&quot;type&quot;: &quot;json_schema&quot;,<br>                     &quot;json_schema&quot;: {&quot;name&quot;: &quot;preferences&quot;, &quot;schema&quot;: SCHEMA}},<br>    extra_body={&quot;reasoning_effort&quot;: &quot;none&quot;},  # more on this in section 6.0<br>)</pre><p>The model returned:</p><pre>{&quot;city&quot;: &quot;Paris&quot;, &quot;group_type&quot;: &quot;Couple&quot;,<br> &quot;wants&quot;: [&quot;quiet room&quot;, &quot;boutique hotel&quot;, &quot;in Le Marais&quot;, &quot;great breakfast&quot;],<br> &quot;avoids&quot;: [&quot;street noise&quot;], &quot;central&quot;: false}</pre><p>“Me and my wife” became <em>Couple</em>, and “no street noise” became something to avoid. This took 1.5 seconds. If the city isn’t one of the six, the system says so politely and stops here.</p><p>Layer 2: Retrieve. Each of the five phrases is turned into 768 numbers and compared with the positive reviews of all 458 Paris hotels. For “in Le Marais”, the closest match was <em>“Near le Marais Picasso Museum.”</em> The avoid works the other way: “street noise” is compared with negative reviews and matched 221 complaints across 167 hotels, which lose points. This took about 0.1 seconds.</p><p>Layer 3: Rank. This is where the 458 hotels become three (Figure 4).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_JCywqZQ8N6vGHiqkGmHnA.png" /><figcaption><em>Figure 4. — From 458 hotels to 3. A place the guest wants to be near acts as a filter, and the combined score picks the winners. Diagram by the author.</em></figcaption></figure><p>Location gets special treatment. Guests treat “in Le Marais” as a requirement, not a nice-to-have, so only the 12 hotels whose reviews best match that place stay in. The rest are scored on four signals: how well their reviews match each wish (50%), guest score (30%), the share of past guests who were couples (10%) and the number of reviews (10%), minus penalties from the avoid search. This also took about 0.1 seconds.</p><p>Layer 4: Explain. The winners were Hotel du Petit Moulin (9.1/10), La Chambre du Marais (9.4/10) and Hotel Dupond Smith (9.3/10), all in the 3rd and 4th arrondissements, where Le Marais is. The code writes each hotel’s name, score, distance and address straight from the data. The model writes only one sentence per hotel, from the quotes it is given, so every statement is grounded in real reviews. That took 2.6 seconds, for 4.8 seconds in total.</p><h3>5.0 Results</h3><p>I tested the system with 18 realistic requests, from <em>“business trip to London, need good wifi and a desk”</em> to <em>“family with young kids in Tokyo”</em>. All 18 were handled correctly: 15 received hotels in the right city, requests for cities outside the dataset (Tokyo and New York) received a clear explanation, and the request without a city received a follow-up question. Location matching performed well: <em>“near King’s Cross station”</em> returned hotels at King’s Cross and St Pancras.</p><h3>6.0 Performance optimization</h3><p>Figure 5 shows how each optimization reduced the response time, from 15.6 seconds in the initial version to 5.5 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aPhifLvvf5SdvhpqGjHBbQ.png" /><figcaption><em>Figure 5. — Response time after each change, for a full answer and for the first hotel to appear. Measured by the author on a MacBook with an Apple M5.</em></figcaption></figure><p>One configuration setting had the largest effect, applied before the measurements in the chart. By default, Qwen3.5 “thinks” before answering: on a one-sentence test, 383 of its 400 words were internal reasoning, and the answer took 11.2 seconds. Switching thinking off (reasoning_effort: &quot;none&quot;) delivered the same answer in 0.8 seconds.</p><p>The remaining gains follow one principle: text generation is the most time-consuming step, so the design minimizes how much the model writes. The model generates about 28 words per second on this hardware. Concise answers, fewer fields to fill in, and letting the code write every fact brought the full answer to 5.5 seconds, with the first hotel on screen after 1.8 seconds.</p><p>As for memory, the model file itself takes 2.52 GB and the embedding model 80 MB. In practice, the running model with its context (the working memory it uses for each conversation) occupies 4.64 GB, as Activity Monitor shows. That fits comfortably on a 16 GB laptop.</p><h3>7.0 Potential next steps</h3><p>The proof of concept is the first step, and the design is ready to grow. The architecture does not depend on the current hardware: on a larger machine or a GPU server, a more powerful model plugs into the same system with no other changes. Next, I plan to run the system on such hardware, and to extend the data with fresh reviews from more cities, together with prices and live availability. Adding map coordinates for landmarks will turn “near X” into a measured walking distance. A small fine-tune of the chat model on a few thousand example requests will make it read every wish even more consistently, working alongside the search layer so that every fact stays checkable. Finally, the system will move from the terminal to a simple web page, where it can be tested with requests from real guests.</p><h3>References</h3><p>[1] Jiashen Liu: <a href="https://www.kaggle.com/datasets/jiashenliu/515k-hotel-reviews-data-in-europe">515K Hotel Reviews Data in Europe</a>, Kaggle (dataset used in this project)</p><p>[2] <a href="https://huggingface.co/datasets/ashraq/hotel-reviews">ashraq/hotel-reviews</a>, Hugging Face (a 93,757-review subset of [1])</p><p>[3] Aizharykova: <a href="https://medium.com/@aizharykova.zere/how-does-a-hotel-recommendation-system-predict-what-a-guest-will-book-94d15ab8ae95">How Does a Hotel Recommendation System Predict What a Guest Will Book?</a>, Medium (2026)</p><p>[4] Lewis et al.: <a href="https://arxiv.org/abs/2005.11401">Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks</a> (NeurIPS 2020)</p><p>[5] Nussbaum et al.: <a href="https://arxiv.org/abs/2402.01613">Nomic Embed: Training a Reproducible Long Context Text Embedder</a> (2024)</p><p>[6] Qwen Team: <a href="https://huggingface.co/Qwen/Qwen3.5-4B">Qwen3.5–4B model card</a>, Hugging Face</p><p>[7] <a href="https://lancedb.github.io/lancedb/">LanceDB documentation</a></p><p>[8] <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a>, GitHub</p><p>[9] <a href="https://lmstudio.ai/docs/developer">LM Studio developer documentation</a> (Bionic uses the same engine and lms tool)</p><p>[10] Bernardi, Mavridis &amp; Estevez, <a href="http://booking.com/">Booking.com</a>: <a href="https://dl.acm.org/doi/10.1145/3292500.3330744">150 Successful Machine Learning Models: 6 Lessons Learned at Booking.com</a> (KDD 2019)</p><p>[11] Astral: <a href="https://docs.astral.sh/uv/">uv documentation</a></p><h3>About me</h3><p>Hi, I’m Aizere Aizharykova. I am exploring how artificial intelligence can reshape hospitality and hotel marketing. In my last article I made a prediction; this time I built it. If you work in hotels or travel tech and have ideas for what this system should do next, I would love to hear them. You can reach me at <a href="/service/mailto:aizharykova.zere@gmail.com">aizharykova.zere@gmail.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df73286b2f9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does a Hotel Recommendation System Predict What a Guest Will Book?]]></title>
            <link>https://medium.com/@aizharykova.zere/how-does-a-hotel-recommendation-system-predict-what-a-guest-will-book-94d15ab8ae95?source=rss-a31a22798dd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/94d15ab8ae95</guid>
            <category><![CDATA[hospitality]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[personalization]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[hotel-industry]]></category>
            <dc:creator><![CDATA[Aizere Aizharykova]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 15:39:06 GMT</pubDate>
            <atom:updated>2026-10-29T15:39:06.294Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A plain-language look inside a trip model: what goes in, how it scores each offer, and how it learns which one a guest will accept.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q8ls7YgkLyw2D64U" /><figcaption>Photo by <a href="https://unsplash.com/@neonwangphotography?utm_source=medium&amp;utm_medium=referral">Neon Wang</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Three days before a trip, an email arrives from the hotel. It does not say “20% off everything”. It offers one thing: a late checkout on Thursday, for a small fee.</p><p>The guest’s flight home leaves at 9 p.m. They were dreading six hours of dragging a suitcase around the city. They never told the hotel about the flight.</p><p>So how did the hotel know? It didn’t. It predicted. A piece of software looked at everything the hotel could offer (a spa slot, an upgrade, breakfast, a late checkout) and picked the one this guest was most likely to say yes to.</p><p>That software is called a recommendation system, the same kind of technology that picks your next Netflix show. This article follows that one late-checkout offer from the guest’s booking to the hotel’s email, through a kind of model that predicts the trip rather than the person.</p><h3>1.0 What personalization is worth to a hotel</h3><p>Guests say they respond to it. In a 2025 survey of 350 US travellers who stay at independent hotels, 95% said personalized offers would make them more likely to book <a href="https://www.asianhospitality.com/us-travel-trends-2025-independent-hotel-bookings/">[1]</a>. That is what guests say, not what they do, but it points in a clear direction.</p><p>Hotels pay heavily when guests book elsewhere. When a guest books through a site like <a href="http://booking.com/">Booking.com</a> or Expedia, the hotel pays a commission. Commissions typically run from 15% to over 30% <a href="https://www.cloudbeds.com/articles/online-travel-agencies/commissions/">[2]</a>. Every guest who books directly instead keeps that money with the hotel, and an offer that feels made for them is one of the few reasons a guest has to come back directly.</p><h3>1.1 Why hotels are harder to personalize than Netflix</h3><p>Netflix sees you almost every day. A film is the same for everyone and never sells out. Hotels are different in three ways.</p><ol><li>Guests are almost strangers. Researchers working with the travel site trivago put it this way: “Users usually do not frequently go on vacation and can have long intervals between bookings” <a href="https://arxiv.org/abs/1908.00071">[3]</a>. Imagine Netflix guessing your taste from two films a year.</li><li>The same person changes from trip to trip. Someone on a work trip and the same person on a family holiday want very different things, as shown in Figure 1.</li><li>Rooms run out and prices move. A film is always available. A sea-view room on a Saturday in August is not.</li></ol><p>The first two problems point to the same answer: if you barely know the person, and the person changes anyway, model the trip.</p><h3>2.0 Who builds trip-based models</h3><p>A trip-based (or “session-based”) model makes its prediction from what is happening in this trip: the dates, the party, the pages viewed in this search. It does not depend on a long history of the person. Almost all the public research on this comes from travel websites, not from hotels.</p><ul><li>Airbnb learns from click sessions: the listings a guest views one after another in a single search. Its 2018 paper by Grbovic and Cheng turned those sessions into a “map” of listings <a href="https://doi.org/10.1145/3219819.3219885">[4]</a>. A 2024 follow-up by Bykau and Zou describes the current version, which I use as a building block in section 4.1 <a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf">[5]</a>.</li><li>trivago ran the RecSys Challenge 2019 on session-based hotel recommendation. The data held about 1.2 million search sessions from eight days of logs, and 78.86% of users were first-time visitors <a href="https://doi.org/10.1145/3359555.3359561">[6]</a>. Each session ended with a list of 25 hotels, and teams had to put the one the guest clicked at the top. The winning team, LogicAI, scored 0.686, where 1.0 would mean always ranking the clicked hotel first <a href="https://doi.org/10.1145/3359555.3359558">[7]</a>. The surprise was how much simple signals mattered. In one team’s model, adding simple statistics about the session lifted the score from 0.512 to 0.670, and the full model only reached 0.684 <a href="https://doi.org/10.1145/3359555.3359561">[6]</a>.</li><li>Expedia built hotel2vec from more than 40 million click sessions over 1.1 million hotels. Adding each hotel’s star rating, amenities and location to the session data put the right hotel in the top 100 62.2% of the time, up from 48.1% using sessions alone. For brand-new hotels with no clicks, the figure nearly doubled, from 13.2% to 25.3% <a href="https://arxiv.org/abs/1910.03943">[8]</a>.</li><li><a href="http://booking.com/">Booking.com</a> ran the WSDM WebTour 2021 Challenge: predict the final city of a multi-city trip from 1.5 million real reservations across 269,000 trips. 40 teams submitted <a href="https://ceur-ws.org/Vol-2855/challenge_short_1.pdf">[9]</a>. The winners, a seven-person NVIDIA team including Benedikt Schifferer and Chris Deotte, built a trip model that I take apart step by step in section 5.0 <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>.</li></ul><p>What about the hotel chains themselves? I could not find a single published paper or engineering blog on trip-based models from Marriott, Hilton, IHG, Accor or Hyatt. IHG has launched an AI search in 2026 where you can “ask IHG’s new search for a quiet room on a high floor with a desk you can actually work at, and it will try to find you one” <a href="https://www.hospitalitynet.org/opinion/4133807/ihgs-new-ai-is-attribute-based-selling-finally-finding-its-interface">[11]</a>, but it has not said publicly how the model behind it works.</p><h3>3.0 <strong>What the system knows about a guest</strong></h3><p>A recommendation system only knows what it is given. In a hotel, that is four kinds of information.</p><ul><li>What guests say. Ratings, reviews, and preferences saved in a loyalty profile. Very clear, but rare.</li><li>What guests do. Searches, clicks, and bookings. This is most of the data. At Airbnb, simply viewing a listing makes up 97.8% of everything guests do on the site <a href="https://airbnb.tech/ai-ml/personalizing-airbnb-search-by-learning-from-the-guest-journey/">[12]</a>.</li><li>The trip itself. Dates, length of stay, number of guests, how far ahead it was booked. These clues are called context.</li><li>The thing on offer. A room’s size, floor, view and price.</li></ul><p>Context is the most underrated of the four, and it is what a trip model lives on. In Figure 1, nobody told the system “this is a business trip”. It worked that out from the clues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxZlt-2Qa_42nlNme9I_Cw.png" /><figcaption><em>Figure 1. — The same guest on two trips gives very different clues. Diagram by the author (illustrative example).</em></figcaption></figure><h3>4.0 The building blocks</h3><p>Classic recommenders come in two kinds. Collaborative filtering looks only at who booked what: “guests like you also booked…”. It gives every guest and every item a short list of numbers, and a guest’s score for an item is high when the two lists line up, as shown in Figure 2 <a href="https://developers.google.com/machine-learning/recommendation/collaborative/matrix">[13]</a>. Content-based filtering looks only at the items: “more like what you liked”. Both lean on a guest’s past, which is exactly what a hotel lacks. A first-time guest is an empty row, the cold-start problem, and as the trivago researchers note, “most of the users can be considered new for extended periods of time” <a href="https://arxiv.org/abs/1908.00071">[3]</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PqbjujUJ_1E-4W6IexBkcg.png" /><figcaption><em>Figure 2. — Collaborative filtering guesses the empty boxes. Diagram by the author (illustrative data).</em></figcaption></figure><p>Keep one idea from Figure 2: score = one list of numbers multiplied by another. The trip model in section 5.0 uses exactly the same scoring. It just swaps the guest’s list for a trip’s list.</p><h3>4.1 Turning anything into a list of numbers: Airbnb’s map of taste</h3><p>Where does a good list of numbers come from? What surprised me is that the answer was borrowed from language. AI language tools learn what a word means from the words that usually appear around it <a href="https://arxiv.org/abs/1301.3781">[14]</a>. Airbnb applies the same idea to homes. What a place “means” is learned from the other places guests look at before they book.</p><p>For every listing, the model learns 32 numbers that act like coordinates on a map <a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf">[5]</a>. These coordinates are called an embedding.</p><p>The training rule is simple, as shown in Figure 3:</p><ul><li>The places a guest viewed are pulled closer to the place they finally booked.</li><li>They are pushed away from places that other guests booked instead.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tu0ci_mYsFeT7NYl0NpTrA.png" /><figcaption><em>Figure 3. — How one guest’s search teaches the model. Diagram by the author, based on </em><a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf"><em>Bykau and Zou, Airbnb (2024)</em></a><em>.</em></figcaption></figure><p>After millions of rounds, similar places end up as neighbours on the map, as shown in Figure 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qbv9VjVLzrvvJy8Vyv7yUw.png" /><figcaption><em>Figure 4. — A simplified map of taste. Similar places sit close together. Diagram by the author (conceptual).</em></figcaption></figure><p>Two details show how much care goes into the training <a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf">[5]</a>.</p><p>The model tried to cheat. When the “push away” examples were picked at random from around the world, the model could get far just by learning that places in the same city are similar. Using only same-city examples went too far the other way and made results worse. Mixing the two forced the model to notice pools, parking and style. The booked place landed in the model’s top 50 guesses 96.6% of the time, up from 92.8%.</p><p>Cold start was handled with features. The model reads more than 100 features of each listing, such as bedrooms, amenities, ratings and photos. So a brand-new listing with no views still gets a sensible place on the map.</p><p>The lesson for hotels: anything can get its own 32 numbers. A listing, a city, a day of the week, or a late checkout.</p><h3>5.0 How a trip model scores the late-checkout offer</h3><p>Now the core of the article. Let’s take the March trip from Figure 1 and follow it through a trip model, step by step. The structure is the one NVIDIA used to win the <a href="http://booking.com/">Booking.com</a> challenge <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>. Their team explained why they built it this way:</p><blockquote><em>“The large majority of users had only a single trip available in the dataset. So, instead of trying to model the user preference, we used the last layer of the network to represent the session (trip) embedding.”</em></blockquote><p>Here is what that means in practice.</p><p><strong>Step 1</strong>: Collect the inputs. For the March trip, the system sees:</p><ul><li>check-in on a Tuesday, 2 nights</li><li>1 adult</li><li>booked 4 days in advance</li><li>booked on a laptop at 11 a.m.</li><li>the pages viewed, in order (illustrative): room types, then the airport transfer page, then the FAQ entry on checkout times</li></ul><p>The NVIDIA team used the same kinds of inputs: day of week, month, length of stay, device, the booker’s country, and the previous cities in the trip <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>.</p><p><strong>Step 2</strong>: Turn each input into numbers. Every possible value gets its own learned list of numbers, just like Airbnb’s 32 numbers for a listing. “Tuesday” has a list. “Laptop” has a list. “Booked 4 days ahead” falls into a bucket such as “under a week”, and that bucket has a list. Nobody writes these numbers by hand. They start random and are adjusted in training (step 5).</p><p><strong>Step 3</strong>: Combine them into one trip vector. The pages a guest views come in order, so the model reads them with a sequence layer, a component that reads one item at a time and keeps a running summary, the way you keep track of a story as you read it. That summary is merged with the lists from step 2 into a single list: the trip vector. NVIDIA built three versions of this step, a simple network, a sequence layer called a GRU, and a Transformer, the architecture behind today’s language models. They then averaged the three <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>.</p><p><strong>Step 4</strong>: Score every offer. Each offer also has its own learned list of numbers. The score is the trip vector multiplied with the offer’s vector, exactly as in Figure 2. Here is a toy version with three numbers instead of 32:</p><pre>               #1    #2    #3    Score<br>March trip     0.9   0.2   0.7<br>Late checkout  0.8   0.1   0.9   0.9×0.8 + 0.2×0.1 + 0.7×0.9 = 1.37<br>Spa slot       0.1   0.9   0.2   0.9×0.1 + 0.2×0.9 + 0.7×0.2 = 0.41</pre><p>Scores are not yet probabilities, so a step called softmax turns them into odds that add up to 100%. It raises the number <em>e</em> (about 2.72) to the power of each score and shares out 100% in proportion: e to the power 1.37 ≈ 3.94 and e to the power 0.41 ≈ 1.51, so late checkout gets 3.94 ÷ 5.45 ≈ 72% and the spa gets 28%. The email offers the late checkout.</p><p>In the <a href="http://booking.com/">Booking.com</a> challenge, the “offers” were cities. The trip vector was multiplied with the vector of every possible next city, about 11,000 after rare cities were merged (from more than 40,000), and softmax turned that into odds over all of them <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>.</p><p><strong>Step 5</strong>: Learn from past stays. Training uses past trips where we know the answer: which offer was shown, and which one the guest accepted. For each one, the model makes its prediction, compares it with what actually happened, and nudges every list of numbers so that the accepted offer would have scored a little higher. This is called softmax cross-entropy training, and NVIDIA used exactly this <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>. If the model gave the spa 60% but the guest took the late checkout, the trip’s numbers and the late checkout’s numbers move slightly closer together. This repeats across many examples.</p><p>To check the model has learned real patterns rather than memorized past bookings, it is tested on trips it never saw in training. A common test is top-K accuracy: did the option the guest actually chose appear in the model’s top K? <a href="http://booking.com/">Booking.com</a> used K = 4, because its website has four suggestion slots <a href="https://ceur-ws.org/Vol-2855/challenge_short_1.pdf">[9]</a>.</p><p>The real results. NVIDIA’s model put the right city in its top four 59.4% of the time, 2.8% better than the second-placed team <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>. The organizers did not publish a simple baseline to compare against, but NVIDIA tested the trip-vector idea directly: the same network without the trip-vector scoring step got 55.5%, and with it 56.7%. Each model trained on a single GPU. This is not a giant system.</p><p>Why this beats the classic methods for an offer like late checkout. Collaborative filtering needs a guest history, and this guest may have none. Content-based filtering needs past choices to find “more like this”. The trip model needs neither. Tuesday, two nights, one adult, a laptop at 11 a.m. and a look at the checkout FAQ are all there in this one booking, even for a first-time guest.</p><h3>6.0 From score to offer</h3><p>A score is not yet an email. The system first narrows thousands of options to a shortlist, then ranks it, then checks the real world (is a late checkout actually free that day? has the guest already seen this offer three times?) before anything is sent, as shown in Figure 5. Some systems also keep testing: they usually send the offer they think is best, but sometimes try a different one on purpose to see what happens. Expedia built a whole internal tool around this idea <a href="https://deepai.org/publication/adaptex-a-self-service-contextual-bandit-platform">[15]</a>. And it all has to be fast. <a href="http://booking.com/">Booking.com</a> found that “an increase of about 30% in latency costs more than 0.5% in conversion rate” <a href="https://doi.org/10.1145/3292500.3330744">[16]</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gIC6uBmSjn0RPOUvpCIXzg.png" /><figcaption><em>Figure 5. — The four stages of a hotel recommendation system. Diagram by the author.</em></figcaption></figure><h3>7.0 What stops most hotels today</h3><p>The trip model has its own blind spots. A guest who books in two clicks from an email leaves almost nothing in the sequence for step 3 to read, so the trip vector rests on dates and party size alone. Worse, the training labels in step 5 only exist for offers that were actually shown. If the hotel has never offered a late checkout to families, the model has no evidence either way, and it will keep not offering it. This is exactly why testing systems like Expedia’s deliberately try other offers <a href="https://deepai.org/publication/adaptex-a-self-service-contextual-bandit-platform">[15]</a>.</p><p>The data is in pieces. A hotel’s booking system, restaurant system and spa system often do not talk to each other, so “which offer was accepted” may not be recorded anywhere the model can see. In a 2025 survey, 49% of hoteliers said they struggle to access the data they need <a href="https://www.revinate.com/press-releases/the-future-of-hotel-data-report-reveals-nearly-50-of-hoteliers-struggle-to-access-critical-data/">[17]</a>.</p><p>A better model is not always a better business. <a href="http://booking.com/">Booking.com</a> compared offline model gains with business gains across 23 pairs of models and found no correlation <a href="https://doi.org/10.1145/3292500.3330744">[16]</a>. The only real test is a live experiment, and one hotel rarely has enough guests to run one.</p><p>Popular things get more popular. Guests interact most with popular listings, so the model learns mostly from those. Airbnb had to correct for this on purpose <a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf">[5]</a>. Without a fix, a new rooftop bar may never get its chance.</p><p>The creepy line. The late-checkout email felt helpful. “We noticed you came back at 2 a.m.” would not. Privacy laws such as the GDPR set some limits <a href="https://gdpr-info.eu/art-22-gdpr/">[18]</a>, but the real limit is trust.</p><h3>8.0 My hot take: hotels should stop copying the booking sites</h3><p>Hotels will never win on data volume. A website that sees millions of travellers will always know more than one hotel group. Copying its approach with a tenth of the data gives you a worse copy.</p><p>But hotels have two advantages no website has.</p><p>1. Focus on the trip, not the guest. The best teams in the world already did this, because the data on each person is too thin. A hotel does not need my seven-year history. It needs to know what <em>this stay</em> is. The booking site’s view of me ends at checkout. The hotel’s view starts at check-in.</p><p>2. Stop guessing and start asking. Cold start is only a problem if you stay silent. IHG’s new search shows the way: let guests say what they want in their own words. One sentence from a guest is worth more than a hundred clicks. And because the guest chose to share it, it does not feel creepy.</p><p>The strongest objection. Big chains are not short of history. IHG One Rewards alone has over 160 million members <a href="https://www.ihgplc.com/en/news-and-media/news-releases/2026/half-year-results-for-the-six-months-to-30-june-2026">[19]</a>. Surely years of loyalty data beat one trip’s clues? My answer: that history is real, but it mixes the business traveller and the family holiday in one profile, which is the exact problem in Figure 1. It works best as one more input to the trip vector, not as a replacement for it. The NVIDIA team did exactly this, feeding each user’s past trips into the trip model <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">[10]</a>.</p><p>What would change my mind: a chain publishing a live test where a model built on loyalty history clearly beats a trip model at getting offers accepted, for guests on both kinds of trip. I could not find one.</p><p>My prediction: within five years, the best hotel recommendation systems will be small, focused on the current trip, and conversational.</p><h3>So… how does a hotel know what you want?</h3><p>Short answer: it doesn’t. It makes a very educated bet, and for the guest with the 9 p.m. flight, that bet was 72% late checkout.</p><p>Personally, I started this research thinking the hard part would be the maths. What surprised me is that the methods are mostly public. The hard part is everything around them: connecting the data, testing honestly, and deciding whose side the system is on.</p><p>One thing still bugs me. If the best systems predict the trip and not the person, is that really “personalization”? Maybe it is something simpler and more honest: not knowing who you are, just paying close attention to what you need right now.</p><h3>References</h3><p>[1] <a href="https://www.asianhospitality.com/us-travel-trends-2025-independent-hotel-bookings/">Asian Hospitality: Personalization boosts independent hotel bookings (2025)</a></p><p>[2] <a href="https://www.cloudbeds.com/articles/online-travel-agencies/commissions/">Cloudbeds: A Guide to OTA Commission Rates</a></p><p>[3] <a href="https://arxiv.org/abs/1908.00071">Adamczak et al.: Session-Based Hotel Recommendations: Challenges and Future Directions (2019)</a></p><p>[4] <a href="https://doi.org/10.1145/3219819.3219885">Grbovic &amp; Cheng, Airbnb: Real-time Personalization using Embeddings for Search Ranking at Airbnb (KDD 2018)</a></p><p>[5] <a href="https://airbnb.tech/wp-content/uploads/sites/19/2024/12/Learning-and-Applying-Airbnb-Listing-Embeddings-.pdf">Bykau &amp; Zou, Airbnb: Learning and Applying Airbnb Listing Embeddings in Two-Sided Marketplace (2024)</a></p><p>[6] <a href="https://doi.org/10.1145/3359555.3359561">Ludewig &amp; Jannach: Learning to Rank Hotels for Search and Recommendation from Session-based Interaction Logs and Meta Data (RecSys Challenge 2019)</a></p><p>[7] <a href="https://doi.org/10.1145/3359555.3359558">Volkovs et al., Layer 6 AI: RecSys Challenge 2019 solution</a></p><p>[8] <a href="https://arxiv.org/abs/1910.03943">Sadeghian et al., Expedia: Hotel2vec: Learning Attribute-Aware Hotel Embeddings with Self-Supervision (2019)</a></p><p>[9] <a href="https://ceur-ws.org/Vol-2855/challenge_short_1.pdf">Goldenberg et al., Booking.com: WSDM WebTour 2021 Challenge (2021)</a></p><p>[10] <a href="https://ceur-ws.org/Vol-2855/challenge_short_2.pdf">Schifferer et al., NVIDIA: Using Deep Learning to Win the Booking.com WSDM WebTour21 Challenge on Sequential Recommendations (2021)</a></p><p>[11] <a href="https://www.hospitalitynet.org/opinion/4133807/ihgs-new-ai-is-attribute-based-selling-finally-finding-its-interface">Hospitality Net: IHG’s new AI search (2026)</a></p><p>[12] <a href="https://airbnb.tech/ai-ml/personalizing-airbnb-search-by-learning-from-the-guest-journey/">Airbnb Tech Blog: Learning from the guest journey</a></p><p>[13] <a href="https://developers.google.com/machine-learning/recommendation/collaborative/matrix">Google for Developers: Matrix factorization</a></p><p>[14] <a href="https://arxiv.org/abs/1301.3781">Mikolov et al.: Word Representations in Vector Space (2013)</a></p><p>[15] <a href="https://deepai.org/publication/adaptex-a-self-service-contextual-bandit-platform">Expedia Group: AdaptEx (2023)</a></p><p>[16] <a href="https://doi.org/10.1145/3292500.3330744">Bernardi, Mavridis &amp; Estevez, Booking.com: 150 Successful Machine Learning Models: 6 Lessons Learned at Booking.com (KDD 2019)</a></p><p>[17] <a href="https://www.revinate.com/press-releases/the-future-of-hotel-data-report-reveals-nearly-50-of-hoteliers-struggle-to-access-critical-data/">Revinate &amp; Hapi: The Future of Hotel Data (2025)</a></p><p>[18] <a href="https://gdpr-info.eu/art-22-gdpr/">GDPR, Article 22</a></p><p>[19] <a href="https://www.ihgplc.com/en/news-and-media/news-releases/2026/half-year-results-for-the-six-months-to-30-june-2026">IHG: Half-year results to 30 June 2026</a></p><h3>About me</h3><p>Hi, I’m Aizere Aizharykova. I am exploring how artificial intelligence can reshape hospitality and hotel marketing. If you work in hotels or travel tech and disagree with my hot take, I would love to hear why. You can reach me at <a href="/service/mailto:aizharykova.zere@gmail.com">aizharykova.zere@gmail.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94d15ab8ae95" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>