Neither side of Airbnb’s marketplace fully knows what it wants. Guests have vague travel intent. Hosts have a vague sense of price. Airbnb uses AI to infer what both sides need from behavioral signals — and a newer generation of generative AI is quietly reshaping how the company builds everything else.
Primary sources: This case study is based on three Airbnb Engineering blog posts: Recommending Travel Destinations to Help Users Explore (2026), Learning Market Dynamics for Optimal Pricing (2018), Accelerating Large-Scale Test Migration with LLMs (2025), and Listening, Learning, and Helping at Scale: How Machine Learning Transforms Airbnb’s Voice Support Experience (2025).
Airbnb’s story begins in October 2007, when Brian Chesky and Joe Gebbia couldn’t make rent on their San Francisco apartment. A design conference was coming to town and hotels were sold out, so they put an air mattress in their living room and offered it as a bed and breakfast to attendees. Nathan Blecharczyk joined as co-founder, and the company formally launched in 2008 — right into the teeth of the financial crisis. That timing shaped everything about the business: ordinary people needed extra income to hold onto their apartments, and Airbnb gave them a way to earn it.
Millions of Americans were losing their jobs, their homes, or both. The idea that you could make rent by letting a stranger sleep in your spare room went from eccentric to urgent almost overnight. Early Airbnb hosts were not lifestyle entrepreneurs. Many of them were people trying to hold onto their apartments. The platform grew because the crisis made sharing space an economic necessity — and that origin story still matters, because the same economic dynamics that created Airbnb are now driving the backlash against it.
That idea grew into one of the largest travel platforms in the world, with more than 8 million active listings in over 220 countries and regions, and more than 5 million hosts who earn income by renting space to travelers.
What makes Airbnb different from a hotel chain, an airline, or even a platform like Booking.com is the shape of the business. Airbnb owns no properties. It does not employ the people who clean the rooms, answer the doors, or set the prices. Every one of its listings is a unique home offered by an independent host, and every booking is a transaction between two people who may never meet. Airbnb’s job is to be the layer in the middle that makes those transactions happen.
That middle-layer position turns out to be an enormous AI problem. Every night, millions of potential guests are trying to figure out where to go, and millions of hosts are trying to figure out what to charge. Neither side fully knows what they want, and neither side can be expected to. The guest has a vague idea of a trip; the host has a vague sense of what similar homes nearby are charging. Airbnb’s job is to turn those two vague signals into a specific match at a specific price on a specific date — hundreds of thousands of times a day.
Every business in this course so far has had one primary customer. Netflix has subscribers. Spotify has listeners. Uber has riders (yes, drivers matter, but the business problem is framed around getting a rider a ride). Airbnb is structurally different. Airbnb has two customers who need completely different things from the same platform — and the platform only works when both sides get what they need.
Think about what that means in practice. A hotel chain like Marriott has one customer: the traveler. Marriott owns its own rooms, sets its own prices, and controls the experience end to end. If demand drops, Marriott lowers prices. If a guest wants a room, Marriott has one ready. The business is one-sided.
Airbnb owns nothing. Every listing belongs to someone else, and that someone else has their own goals, their own calendar, and their own idea of what their home is worth. Airbnb has to make both sides happy simultaneously — and if either side has a bad experience, the other side suffers too. A guest who can’t find a good listing leaves. A host whose calendar stays empty stops hosting. The platform dies from either direction.
Now here is the twist that shapes the rest of the chapter: neither side of the Airbnb marketplace fully knows what it wants. That might sound strange — aren’t people who visit a travel website the ones with an idea of where they want to go? Sometimes. But often, no.
This is what makes Airbnb’s AI problem a problem of psychology rather than physics. Waymo’s car needs to understand how the physical world behaves — objects have trajectories, roads have geometry, physics has rules. Airbnb’s system needs to understand how people behave when they don’t even know what they want yet — and people do not follow rules. They browse without intent. They search without conviction. They abandon carts on a whim. The AI has to read meaning into all of that ambiguity, on both sides of the marketplace, simultaneously.
Airbnb’s users fall into two categories that require completely different experiences. Transactional users know what they want — they’re searching for a specific city on specific dates because their trip is already planned. Exploratory users don’t — they’re thinking “I want to go somewhere in France this summer” or just “I need a vacation.” Both types open the same app and click the same search bar, but the right experience for each is completely different. A good recommendation for a transactional user is a listing; a good recommendation for an exploratory user is a destination. A business that can’t tell these users apart will frustrate both of them.
If you have ever opened a travel app and just scrolled — no dates in mind, no city in mind, just a vague itch to go somewhere — you were an exploratory user. And you were giving the platform almost nothing to work with. No search query. No dates. Maybe a few past bookings from a year ago. The system needs to figure out what to show you, and it has to do it in the few seconds before you get bored and close the app.
Exploratory users introduce an even harder problem for any recommendation system: if the user doesn’t know where they want to go, how is the system supposed to know what to suggest? This is a classic problem in recommender systems, and it shows up whenever a user has very little history for the system to learn from.
On the host side, the parallel is nearly exact. A host has a home, a calendar, and an approximate sense of what to charge. But they don’t know what a Thursday in early October will actually be worth three months from now — nobody does. Markets move. Big events pull demand forward. Weather shifts bookings around. A host trying to price by intuition is guessing against information the platform already has in aggregate. That is the supply-side version of the same fundamental problem: the person on this side of the marketplace does not fully know what they want (or what they should charge), and the platform is better positioned to help them figure it out than they are on their own.
We introduced the AI Factory framework in Chapter 3 with Spotify and applied it again with Uber in Chapter 4. The same five steps organize Airbnb’s AI systems too — data, model, prediction, decision, value — with one important twist. Airbnb runs parallel AI Factories: one on the guest side, one on the host side, both drawing from the same underlying data layer, and in the last few years, a third running inside the engineering organization itself.
At Waymo, the factory’s data step was sensor readings — lidar points, camera frames, radar returns. Precise, physical, measurable. At Airbnb, the data step is behavioral signals — clicks, searches, bookings, abandoned carts. Noisy, ambiguous, and deeply human. The framework is the same. The nature of what flows through it is fundamentally different, and that difference shapes every design choice in the chapter ahead.
Each track has its own data, its own model, and its own deployment surfaces — but they share a foundation. Every search a guest does becomes training data for the destination recommender, but it is also evidence about demand that feeds Smart Pricing. Every booking a host accepts teaches Smart Pricing about what prices clear the market, but it is also a signal the destination recommender uses to infer where travelers actually want to go. The two factories compound each other. The more guests Airbnb has, the better it can price for hosts. The better prices hosts offer, the more guests convert. This is the marketplace flywheel, and AI is what keeps it spinning.
Part III of this chapter looks at a third, newer use of AI at Airbnb: not customer-facing at all, but pointed at Airbnb’s own engineering organization. That will raise a different set of questions — but the fundamental framework stays the same.
Here is a problem. A user opens the Airbnb app. They have done four things in the last three months: booked a home in Lisbon, searched twice for “Tokyo” without booking, clicked on a listing in Mexico City, and opened the app today without typing anything. What does that tell you about where they want to go next?
A human looking at that list can probably spot a pattern — an adventurous traveler who likes cities, maybe thinking about somewhere warm. But a machine cannot reason that way unless the data is structured to let it.
Before this model existed, Airbnb’s search experience was essentially reactive: you typed a city, you got listings. If you didn’t type anything, the app had nothing to show you. That worked fine for the transactional user who already had a trip planned. It was useless for the exploratory user who was still figuring out where to go — and Airbnb’s own data showed that a large share of users who opened the app fell into that exploratory category. They were the hardest users to serve and, potentially, the most valuable to convert.
The central insight in Airbnb’s destination recommendation system is that a user’s actions can be treated the way a language model treats words. To understand what that means, you need one piece of vocabulary: a token is the smallest unit of input that a model processes. In a language model like ChatGPT or Claude, each word (or piece of a word) is a token. The model reads a sequence of tokens and learns to predict which token comes next. “Peanut butter and” is three tokens, and the model has learned that the next one is probably “jelly.” The key move Airbnb makes is treating user actions as tokens — not words, but clicks, searches, and bookings — and feeding them into the same kind of model.
Each action a user takes — a booking in Lisbon, a search for Tokyo, a click on a Mexico City listing — is treated as a token in the user’s personal travel history, and sequences of those tokens become training data. The model learns that certain patterns of past actions tend to lead to certain future destinations, in the same way a language model learns that certain sequences of words tend to lead to certain next words. This is a powerful reframe: it means Airbnb can reuse the architecture of modern language models (transformers) to understand travel intent — a problem that has nothing to do with language on its face.
That reframe is worth sitting with, because it is not obvious. Travel behavior does not look like language. Nobody “reads” a sequence of Airbnb bookings the way they read a sentence. But the mathematical structure turns out to be surprisingly similar: in both cases, you have a sequence of events in order, and the goal is to predict what comes next based on what came before. Once Airbnb’s data scientists saw that parallel, they could borrow a powerful type of AI model called a transformer — the same technology behind ChatGPT and Claude — that researchers had already spent years building for language. They did not have to invent a new approach to travel recommendation. They repurposed one that already worked for a different problem.
But not every action carries the same meaning. A booking three years ago and a search three minutes ago are both data points, but they say very different things about what a user wants right now. The model is designed to distinguish two kinds of signal. Short-term signals — views and searches in the last few days — reveal what the user is actively considering right now. Long-term signals — historical bookings — reveal durable preferences: this person likes coastal cities, books in summer, tends toward mid-range prices. If Airbnb only looks at recent searches, it overreacts to momentary curiosity. If it only looks at history, it ignores that the user is actively researching Tokyo right now. The model explicitly combines both, which is why it looks at booking history, view history, and search history as separate inputs rather than one giant list.
On top of these behavioral sequences, Airbnb layers contextual signals — things like what time of year it is. A user’s long-term pattern might say “beach destinations,” but if they’re searching in December, the model should probably weight warm-weather beaches over Cape Cod. The current date is an input to the model in the same way a word’s position in a sentence is an input to a language model.
Once you’ve decided to treat user actions as tokens, you need a way to represent each token as something a model can actually do math with. Spotify’s chapter introduced the answer: embeddings.
Once each action is an embedding, the model processes the whole sequence of actions with a transformer — the same class of architecture that powers modern language models like the ones behind ChatGPT and Claude. The technical details are beyond the scope of this course, but the business intuition is straightforward: a transformer is very good at looking at a sequence and figuring out which parts of it matter most for predicting what comes next. When the user’s history is “booked Lisbon two years ago, searched Tokyo three times last week, clicked Mexico City yesterday,” the transformer learns which of those actions deserves the most weight in predicting today’s destination.
But there is one more wrinkle. The model is not just trying to predict a city. It is trying to predict geography at multiple levels at once.
The model uses a technique called multi-task learning: instead of predicting just one thing, it predicts two related things at once — both which region a user is interested in (say, the San Francisco Bay Area) and which specific city within that region (San Francisco, Oakland, San Jose). The two predictions are forced to be consistent with each other. This matters because users who like San Francisco often end up booking in San Jose or Oakland, and training on both tasks at once gives the model more signal to learn from than training on either alone.
The diagram below shows how this works. The “shared trunk” in the middle is the core of the model — the transformer that processes the user’s action sequence and builds up an understanding of their travel intent. Think of it as the part of the model that does the heavy thinking. That shared understanding then feeds into two separate “heads” at the top — one that predicts the region and one that predicts the city. The trunk is shared because the same patterns that help the model understand regions (this user likes coastal Europe) also help it understand cities (they might like Lisbon specifically). By sharing the trunk instead of building two separate models, Airbnb gets richer predictions from the same data.
The figure below shows the full model pipeline in more detail. The data inputs from the previous section (short-term and long-term context) enter at the top. Each action token is converted into an embedding — a list of decimals that represents what that action means. Similar cities produce similar numbers: Seattle might be [0.82, 0.14, 0.67, 0.31, 0.95, ...] and Bellingham might be [0.80, 0.16, 0.65, 0.29, 0.93, ...] — close because travelers who visit one often consider the other. The transformer then reads the full sequence of embeddings and uses attention to decide which actions matter most for predicting what the user wants next. Finally, the shared understanding splits into the two prediction heads.
Here is a training-data puzzle worth sitting with. Airbnb wants the destination model to work for everyone — not just the user who just searched five times in the last week, but also the user who booked once in 2024 and hasn’t logged in since. If you train the model only on users who are currently active, you get a model that is great at the obvious case and useless for the harder, more valuable case of bringing back a lapsed user. If you train it only on dormant users, you can’t serve the active ones well. Airbnb’s answer is to design the training data to include both.
Airbnb’s solution is a training-data design choice. Every past booking generates not one but fourteen training examples: seven that simulate an active user in the final week of planning (using recent searches and views), and seven that simulate a dormant user who hasn’t visited the platform in months (using only historical booking data, because a dormant user has no recent activity). This deliberately teaches the model to handle both situations. It is a reminder that the people designing AI systems make decisions about who the system is being built for before any code is written.
That number — fourteen training examples from a single booking — is easy to read past, but it is one of the most important design decisions in the entire system. It means Airbnb’s engineers made a deliberate choice about who this model would serve before they wrote a single line of model code. They could have trained only on active users, which would have been easier and produced better accuracy on the easy cases.
Instead, they chose to build a system that would also work for the user who booked a cabin in Vermont eighteen months ago and hasn’t opened the app since. That decision has business consequences (dormant users are a huge re-engagement opportunity) and ethical ones (a model built only for power users implicitly excludes everyone else).
Once the model is trained, Airbnb has a predicted region and a predicted city for each user. But a prediction is not a decision — the prediction–decision gap from Chapter 2 applies here too. The model predicts “this user is interested in Tokyo, Osaka, and Kyoto,” but that prediction on its own does nothing. Airbnb has to turn it into specific actions: which three cities to show in autosuggest when the user taps the search bar, which destination to feature in an abandoned-search email, how prominently to surface each one. The destination model is the inference engine. The product decisions around it are where the business value actually lives.
Airbnb has deployed the destination model in two places so far, and the two deployments illustrate opposite ends of the user-intent spectrum:
The value: Higher conversion for active users who find what they want faster, and re-engagement of dormant users who might otherwise never come back. The destination recommender does not generate revenue directly — nobody pays for a recommendation. It generates revenue by shortening the path from “I want to go somewhere” to “I just booked.” That is the AI Factory pattern: data feeds models, models produce predictions, predictions inform decisions, and decisions create business value that generates more data.
The value looks different for each user type. For active users, the value is speed and reduced friction — instead of typing and comparing for twenty minutes, they tap the search bar and the right city is already there. For dormant users, the value is re-engagement itself — someone who booked once a year ago and forgot about Airbnb gets an email with a destination that genuinely interests them, not a generic “we miss you” blast. That is revenue Airbnb would have lost entirely without the model. For Airbnb as a business, the value is leverage — one model, trained once on cleverly designed data, deployed across multiple surfaces at near-zero marginal cost. Every additional surface (push notifications? in-app discovery pages? partner integrations?) reuses the same prediction engine. And every booking those surfaces generate feeds back as training data, making the next cycle of predictions better. The value compounds.
Now flip the marketplace around. A host has just listed a two-bedroom apartment in San Diego. They need to decide what to charge for every single night on their calendar — not just tonight, but six months from now, twelve months from now. Prices that are too high leave the calendar empty. Prices that are too low leave money on the table. And the “right” price for a Thursday in early October is different in July than it is in September, because the market keeps moving.
Before Smart Pricing, most hosts did what you would probably do: they looked at a few nearby listings, picked a round number that felt reasonable, and left it there for months. Some hosts used spreadsheets. A small number of professional property managers used third-party pricing tools. But the vast majority of Airbnb’s millions of hosts are not professional hoteliers — they are people renting a spare room or a vacation home, and they do not have the time, the data, or the expertise to reprice their listing every week as the market shifts.
Just as the guest side has transactional and exploratory users, the host side has two distinct types that need different things from the same tool. Engaged hosts manage multiple properties, check their calendars weekly, track competitors, and adjust for events. They already have market intuition — they need Smart Pricing as a second opinion backed by data. They will override the suggestion if it feels wrong, because they have context the model doesn’t (they just renovated, the neighbor’s construction is noisy). Passive hosts are renting a spare room or vacation home on the side. They set a round number when they listed, haven’t touched it in months, and don’t know there’s a music festival three weeks from now. They need the system to think for them — and they will likely accept whatever Smart Pricing suggests. The same tool, two very different relationships with it — and as we’ll see later, the power dynamic between algorithm and host looks very different depending on which type you are.
The result was widespread mispricing: hosts in high-demand markets charging too little and booking instantly (leaving money on the table), and hosts in soft markets charging too much and sitting empty for weeks (losing income entirely).
Dynamic pricing is not always received well. In August 2024, Oasis announced their first reunion tour in 16 years. Millions of fans entered Ticketmaster’s online queue. Many waited hours. When they finally reached the checkout, standing tickets that had been advertised at £148.50 were now listed at over £350. “Platinum” tickets were priced at nearly 2.5 times the standard price, with no additional benefits — same section, same view, just a fancier label.
The public fury was intense. The UK’s Competition and Markets Authority (CMA) investigated. Interestingly, the CMA found no evidence that Ticketmaster actually used algorithmic dynamic pricing — prices were not adjusting in real time based on demand. What happened was simpler: there were two preset tiers of standing tickets, and once the cheaper tier sold out, the price jumped to the higher tier. Ticketmaster had not told fans waiting in the queue that this would happen.
The CMA secured commitments from Ticketmaster to disclose tiered pricing 24 hours in advance, show the full range of prices when fans join a queue, and stop using misleading ticket labels. But the episode reveals something important about dynamic pricing: the public backlash was not about the prices themselves — it was about the lack of transparency. Fans felt trapped. They had waited hours, had no alternative (there is only one Oasis reunion), and discovered the price change only at the moment of purchase.
Compare that to Airbnb. A guest shopping for a listing in Barcelona can see the price before they commit, compare it against other listings, try different dates, or pick a different city entirely. The host — not an algorithm — makes the final pricing decision. The price adjusts over weeks and months, not minutes. Dynamic pricing feels fair when the buyer has information (what will I pay?), alternatives (can I go elsewhere?), and time (can I decide without pressure?). Ticketmaster failed on all three. Airbnb mostly passes — though a guest searching last-minute in a city with very few available listings during a major event is closer to the Ticketmaster end of the spectrum than Airbnb might like to admit.
One of the most important variables in pricing is lead time — the gap between when a booking is made and the check-in date. A guest booking New Year’s Eve on December 1st has a lead time of 30 days; a last-minute booking for tonight has a lead time of zero.
The lead time distribution is the shape of how bookings spread across those gaps for a given date and location. High-demand dates like New Year’s Eve see early bookings — people plan ahead. Beach towns see more last-minute bookings. A city like San Francisco during a big conference gets booked weeks ahead because there aren’t enough listings to go around. If a host prices a peak date as if bookings will come in the last two weeks, they’ll leave the calendar open too long and miss the early wave. Understanding the lead time distribution is what lets Smart Pricing tell the host when to raise prices and when to lower them.
Bookings arrive over time in a way that looks random at any single moment but has clear patterns when you zoom out. You can’t predict exactly when the next booking for a specific listing will come in, but across thousands of listings and check-in dates, the overall pattern is highly predictable. Smart Pricing’s job is not to guess the next individual booking — it’s to forecast the shape of the arrival pattern for each check-in date, so hosts can price appropriately as the date approaches. Framed this way, dynamic pricing becomes a forecasting problem with a pricing decision bolted onto the end.
Here is where the Smart Pricing story gets interesting — and where it connects directly back to Uber. The obvious move for a company like Airbnb is to throw a powerful machine learning model at the problem. Collect every feature you can find about each listing and each check-in date, train a huge model to predict the optimal price, and deploy it. Airbnb’s data science team considered exactly that approach, and rejected it.
The reasons were specific. With millions of listings, each with its own characteristics, and each checkin date getting booked at most once, there simply is not enough data at the individual-listing level. The prediction problem involves three things at once — which listing, which check-in date, and how far in advance — which makes it extremely complex to compute. And perhaps most importantly, Airbnb’s team had good domain intuition about the shape of the lead time distribution — they could see that bookings tended to accumulate in a recognizable pattern — a shape that statisticians have studied for decades. A pure ML approach would ignore all of that intuition.
A structural model is one where a human expert specifies the general shape of the relationship, and the model’s job is just to fill in the parameters. A pure ML model specifies no shape — it learns everything from data. ML models tend to be more accurate with enough data; structural models tend to be more interpretable. Airbnb’s Smart Pricing team refused to pick one. Instead, they built a hybrid.
This is a decision that comes up constantly in applied AI, and it is worth understanding concretely. Imagine you are on Airbnb’s data science team and you are staring at a chart of how bookings accumulate over time for a popular beach house. You can see the shape: bookings trickle in slowly at first, then accelerate as the check-in date gets closer, then taper off in the last few days. That shape looks like a curve you might recognize from a statistics class — a pattern that has been well-studied.
A pure ML model would have to discover that shape from scratch, using only the data. A structural model would assume that shape and just ask the ML to fill in the specific numbers. The question is: do you trust your domain knowledge enough to bake it in?
The same curve shape produces very different outputs depending on the cluster. The five parameters the ML learns are different for each cluster because the booking patterns are genuinely different. The figure below illustrates this with two clusters from the same city:
But there’s still one problem left. Airbnb has millions of listings, and each one is unique. Even with a hybrid model, trying to calculate five numbers for every individual listing hits the same wall — most listings simply don’t have enough bookings to work with. Consider: a studio apartment in Capitol Hill, Seattle might get booked 12 times a year. That is 12 data points to learn from — not nearly enough to learn a reliable pattern. A cabin on the San Juan Islands might get booked 8 times. The model needs thousands of bookings to calculate those five numbers reliably, and individual listings will never provide that. The workaround is an idea that should feel familiar from Spotify.
Airbnb’s solution uses clustering — a technique where the system groups similar items together on its own, without anyone telling it what the groups should be. (Spotify uses the same idea to group songs by audience.) By looking at which listings guests tend to consider together in a single search session, the system learns which homes share similar audiences. Listings that frequently co-appear in browsing get grouped into clusters Airbnb calls demand aggregations. Each cluster shares a lead time distribution, which solves the not-enough-data problem: instead of trying to learn from one listing with 15 bookings a year, the model learns from a cluster of thousands of listings that share a common audience.
The figure below shows how this works in practice. Individual listings each have sparse data — far too little to learn from alone. But the system watches millions of guest browsing sessions and notices which listings get viewed together. Listings that guests routinely compare end up in the same cluster, even if they look nothing alike physically. Once grouped, the cluster has enough pooled bookings for the hybrid model to learn reliable lead time patterns.
Smart Pricing takes what the model has learned about booking patterns for each cluster of similar listings, combines it with details about the specific listing and the specific check-in date, and produces a suggested nightly price. That suggestion gets displayed in the host’s calendar view. The host can accept it, override it, or ignore it entirely.
That single design choice — suggest, don’t set — is worth pausing on, because it’s a live example of a tension this course has been tracking since Chapter 2.
This is a deliberate choice between automation and augmentation — the same tradeoff from Chapter 2. Airbnb could set prices directly; it has the data and the models. But it chose augmentation: the model recommends, the host decides. Why? Partly legal (Airbnb doesn’t own the home), partly ethical (the host bears the consequences of a bad price), and partly strategic (hosts who feel coerced churn off the platform). The same AI capability that could have been automation is deployed as augmentation because of a business judgment about the relationship between platform and host.
That design choice does not make the ethical questions go away. When Smart Pricing suggests lowering a nightly rate to match an apparent market softening, the host is under real pressure to accept — the alternative is a dark calendar. The suggestion is not a command, but it is not neutral either. A suggestion from an algorithm that sees the entire market is hard to argue with from a position of seeing just your own property. We’ll return to this in §11.
The value looks different depending on the host type. For engaged hosts — the ones who manage multiple properties, track competitors, and check their calendar weekly — the value is a better second opinion. They already have intuition about what to charge; Smart Pricing gives them data to confirm or challenge that intuition, so they spend less time guessing and more time making confident decisions. For passive hosts — the ones who rent a spare room, set a round number three months ago, and haven’t thought about pricing since — the value is that the system thinks for them. Without Smart Pricing, their calendar sits empty for weeks because they priced too high, or they book instantly and leave money on the table because they priced too low. The system catches what they would never notice on their own. For Airbnb, the value is the flywheel: better pricing across millions of listings means more bookings, more bookings mean more service-fee revenue, more bookings generate more training data, and more data makes the next cycle of pricing suggestions better. Every outcome — whether the host accepted the suggestion or overrode it, whether the night was booked or stayed empty — feeds back into the model. The system gets smarter regardless of what the host chose.
But notice the asymmetry. The engaged host evaluates the suggestion and sometimes overrides it — that is genuine augmentation, where human judgment and machine intelligence combine. The passive host almost always accepts. For them, “augmentation” is a design label more than a lived experience. The algorithm is, in practice, setting their prices. Whether that is a problem depends on whether the algorithm’s interests are aligned with the host’s — a question we return to in the responsible-AI section.
The first two parts of this chapter looked at AI systems Airbnb built to serve its customers. This third part is different. It is about a system Airbnb built to serve itself — and it is the clearest example in this course so far of how generative AI is actually being integrated into companies that already have deep ML capability.
The problem: Airbnb had about 3,500 files of automated software tests — code that checks whether other code is working correctly. These tests were written using an older tool called Enzyme, which was becoming obsolete. They needed to be rewritten using a newer tool called React Testing Library. The rewritten tests had to check all the same things the old tests checked — you can’t just delete tests without losing the safety net they provide. Engineers originally estimated this rewrite at about 1.5 years of engineering time if done by hand. In 2025, Airbnb completed it using a pipeline built around a large language model in six weeks.
That is not a small result, and the underlying mechanics matter more than the headline number. To understand what Airbnb actually did, you first need a clear distinction between the kind of AI we’ve been discussing in this course and the kind of AI that handled this migration.
Why was this problem a good fit for an LLM and not for the kind of custom model built in Parts I and II? Three reasons. First, the task is code, not behavior — there’s an enormous amount of public JavaScript code in the world that an LLM has already been trained on. Second, the task is generative, not predictive — the output is a new test file, not a score or a ranking. Third, the task has an objective correctness check — the migrated test either passes or fails when you run it. You don’t need a human to rate the output; the machine can tell immediately whether it worked. That third property is crucial, and it led directly to the most important design decision in the whole project.
Here is the part that business students should pay closest attention to. Airbnb’s engineers did not just hand 3,500 files to a language model and hope for the best. They built an automated pipeline around the model that looked more like a factory than a chatbot. The structure was roughly:
The most important lesson from the migration is not about the LLM — it’s about everything around the LLM. The language model is one component in a much larger system: a validation pipeline, a retry loop, a context-gathering mechanism, and a human-directed tuning loop. The LLM provides capability; the engineering around it provides reliability.
You could swap in a different LLM tomorrow and the system would keep working. Remove the validation and retry machinery, and the raw LLM would be unusable at scale. The model is not the moat. The infrastructure around the model is the moat.
Now the arithmetic. The original estimate was 1.5 years of engineering time. The actual cost was six weeks of engineering time plus the LLM API bill. Airbnb reports the total came in at a fraction of the original estimate. But a careful student should not just celebrate the headline number — they should think about what those six weeks of engineer time were spent on. Almost none of it was “writing tests.” It was building the pipeline, tuning the prompts, reviewing the failures, and fixing the last 3% by hand. The LLM did the typing. The engineers did the architecting.
The migration looks like substitution at first — the LLM wrote code that engineers would otherwise have written. But look closer and it’s augmentation. The engineers didn’t go away. They moved up the stack: from writing individual test files to designing a pipeline, selecting context, and debugging edge cases. The total output was dramatically higher, but the engineers were still there. A recurring business question as generative AI spreads will be: does this deployment substitute for a role, or augment the people in it — and which does the company actually want?
Every chapter in this course circles back to the same basic question: what happens when the algorithm is wrong, or right in a way the business didn’t intend? Airbnb’s version of this question is especially sharp because its AI systems touch three different constituencies (groups of people with a stake in the outcome) — guests, hosts, and the communities those guests and hosts live in. And running through all three is a question this chapter is well-positioned to teach: who is “in the loop” when an AI system makes a consequential decision, and what does that phrase actually mean in practice?
The phrase human-in-the-loop sounds like it means one thing. It doesn’t. This section will walk through four very different versions of it — one on each side of the marketplace, one in voice support, and one from outside the system entirely.
The destination recommender is trained on guests’ past bookings. If a user has only ever booked in Europe, the model will tend to recommend European destinations. That might be exactly what the user wants. But it might also narrow their world in ways neither they nor Airbnb would choose deliberately. A destination model that learns from past behavior will systematically underweight places where the user has never been — which is, by definition, where exploration would actually take them.
A subtler version of the same issue is geographic coverage. The Airbnb Engineering team reports that autosuggest drives the biggest booking gains in regions where English is not the primary language. That’s a good outcome — it means the model is especially helpful for users who might struggle to type and spell unfamiliar destination names. But it also tells you something about the baseline: if the gains are largest in non-English markets, the experience before the model may have been systematically worse there. The model didn’t create that gap, but a responsible team asks whether the training data that produced the model might reflect it — and monitors to make sure the system is closing the gap rather than encoding it.
Airbnb notes that users can opt out of this personalization. That matters — but it also matters how many users know the option exists and how easy it is to find. Opt-out is not the same as informed consent.
There is a structural reason to ask this question. Airbnb’s revenue depends on completed bookings. Lower prices produce more bookings. A pricing algorithm that very slightly biases toward “lower” produces more bookings at every individual decision, produces more revenue for Airbnb, and produces slightly less revenue per night for each host. None of this requires bad faith from anyone. It just requires that the objective function (the specific goal the algorithm is mathematically designed to maximize) is aligned with the platform’s interests rather than the hosts’. Asking whose interests a suggestion serves is one of the most basic questions of responsible AI, and it’s a question hosts have a legitimate right to ask.
This is also where the human-in-the-loop framing gets tested. Smart Pricing is technically augmentation — the host keeps final control. But the information asymmetry (the gap between what each side knows) is enormous. The algorithm sees the entire market; the host sees one property. The host can override the suggestion, but they cannot see the data behind it, and they may not fully understand the consequences of ignoring it.
A system can be human-in-the-loop by design and still feel coercive in practice. The question for a manager is not just can the human override, but does the human have enough information to override well?
Dynamic pricing at scale raises a broader question that airlines have been living with for decades: is charging different prices to different people for the same service fair? (The Ticketmaster mini-case in §7 explored when dynamic pricing feels exploitative vs. defensible.) At Airbnb, two guests booking the same home for the same dates will generally see the same price — but prices move dramatically across dates, and hosts in certain neighborhoods may be nudged toward systematically different price curves than hosts in other neighborhoods. When the data reflects a city’s history, the algorithm can reflect that history too. A responsible pricing team monitors for this, particularly at the intersection of neighborhood demographics and dynamic pricing suggestions.
Airbnb also uses AI in customer support. When a guest or host calls, the system asks an open-ended question — “In a few sentences, tell us why you’re calling” — then transcribes the response, detects the intent, and either resolves it automatically or routes to a human agent. Domain-specific tuning cut transcription errors from 33% to ~10% (so “listing” is no longer heard as “lifting”). The caller can press 0 at any time for a human. This is the matching problem again in miniature: infer what someone needs from messy input and route them to the right answer.
Every AI system in this chapter optimizes for matching — connecting a guest to a destination, a host to a price, a caller to a resolution, an engineer to working code. And by its own metrics, the matching works. Bookings go up. Conversion improves. Revenue grows. But there is a constituency (a group of affected people) that does not appear anywhere in the model’s objective function: the people who live in the neighborhoods where those bookings happen and who never signed up to be part of the platform at all.
This is not a hypothetical concern. Across the world, cities are pushing back — hard — against the growth of short-term rentals, and Airbnb has become a focal point of that backlash. The anger is not just about housing costs.
A study from Trinity College Dublin found that in London, each additional Airbnb tourist per 1,000 residents increased complaints against tourists by 2.2%, and that higher Airbnb penetration was associated with declining neighborhood quality and reduced social capital (the strength of community bonds and trust between neighbors) — measured, strikingly, by the number of charitable organizations in the area. The issue is not just economic. It is social.
There is a painful irony here worth naming. Airbnb was born in 2007 when two guys couldn’t make rent and put an air mattress on their floor. The platform grew because it helped people in economic distress earn extra income to hold onto their apartments. Two decades later, the same platform is being blamed for creating economic distress — pricing people out of the neighborhoods that Airbnb hosts originally needed help staying in. The company that began as a lifeline for renters is now, in many cities, seen as a threat to them.
Airbnb’s leadership has pushed back on the framing. CEO Brian Chesky has argued publicly that in Barcelona, housing prices rose 60% over the past decade while Airbnb listings actually decreased, calling the platform a “convenient scapegoat for a failed policy and deep, long-standing housing issues.” Chesky points out that in Barcelona, around 70% of tourists are cruise ship passengers or hotel guests — not Airbnb users.
And there is research to support the idea that short-term rentals are only one factor: a study published in Marketing Science found that a 1% increase in Airbnb listings in a zip code is associated with only a 0.018% increase in rents — a real but small effect. The deeper structural issue in most cities is chronic underbuilding, not vacation rentals per se.
But for this course, the interesting question is not “is Airbnb the cause of the housing crisis?” — it clearly isn’t the only cause. The interesting question is: what happens when an AI system’s objective function does not include the people most affected by it?
This connects directly to the human-in-the-loop concept we introduced at the top of this section. When Mexico City caps rentals at 180 nights, or when Spain blocks 65,000 listings, those governments are inserting themselves into the loop — from outside the system, on behalf of people the system was never designed to serve. That is Version 4 of human-in-the-loop: regulatory override. It is not elegant, and it is often blunt. But when the people most affected by an AI system have no other way to be heard, regulation becomes the loop.
The test migration in §10 is a governance story in miniature. The engineers built validation into every stage — a test either passes or it doesn’t, a file either compiles or it doesn’t. That worked because the task had hard, objective correctness checks. Not every LLM deployment does. When a generative model is used to draft a customer email, summarize a legal document, or write code that will ship to production, the question “did it work?” becomes much harder to answer mechanically. The discipline Airbnb applied to this project — validation at every step, automated retries, human review of the long tail — should be the default assumption for how LLMs get deployed in serious business contexts. It is not how they are currently deployed in most companies.
And there is a subtler issue worth naming. The engineers who reviewed the last 3% of files were checking whether the code worked — not whether it was written well, not whether it followed the team’s conventions, not whether a junior engineer could read and maintain it later. Functional correctness is the easiest thing to verify about code. Readability, maintainability, and style are much harder, and no automated test catches them.
When a company uses an LLM to write thousands of files at once, it gains speed but risks accumulating a codebase that technically works but that humans struggle to understand. The human-in-the-loop in this case was in the loop for correctness. Whether anyone was in the loop for quality is a different question — and one that will recur as GenAI is deployed more broadly inside engineering organizations.
Why can’t a competitor just copy all of this? Airbnb’s engineering team has published detailed descriptions of every system in this chapter. The models are not secret. The architectures are not proprietary. And yet the advantage compounds.
The moat is not the algorithm. It is the data, the infrastructure, the organizational learning, and the compounding feedback loop between two sides of a marketplace that reinforce each other. Everything else is copyable. That combination is not.
If you find yourself evaluating a company’s AI strategy — as a consultant, an investor, a product manager, or a competitor — the question is not “do they have AI?” Every company will have AI. The question is: do they have the compounding data, the two-sided feedback loop, and the organizational infrastructure that make their AI systems get better every day without anyone deciding to improve them? That is the moat. Everything else is a feature.
| Step | Guest side (recommendations) | Host side (Smart Pricing) | Internal (test migration) |
|---|---|---|---|
| Data | Booking, view, and search history as action sequences | Historical bookings, calendar data, market context | 3,500 test files plus sibling files and examples |
| Model | Transformer on behavioral sequences with multi-task heads | Hybrid: ML predicts 5 parameters of a structural distribution | Frontier LLM with retry loops and dynamic prompting |
| Prediction | Predicted region and city for each user | Predicted lead time distribution per cluster & date | Generated replacement code for each test file |
| Decision | Autosuggest rankings; abandoned-search email content | Suggested nightly price; host keeps final control | Accept if validation passes; retry if not; human fix at tail |
| Value | Higher conversion; re-engagement of dormant users | Better second opinion for engaged hosts; fewer mispriced nights for passive hosts | 1.5 years of engineering compressed into 6 weeks |
These work well as written assignments or in-class discussion prompts. Questions 1, 3, and 6 tend to generate the most debate.
MIS 432 · AI in Business · Case Study · For classroom discussion purposes.