VOOZH about

URL: https://thenewstack.io/airbnb-builds-a-second-neural-network-to-diversify-listings/

⇱ Airbnb Builds a Second Neural Network to Diversify Listings - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-02-17 03:00:12
Airbnb Builds a Second Neural Network to Diversify Listings
Operations

Airbnb Builds a Second Neural Network to Diversify Listings

Homestay broker Airbnb found that the key to creating diversity with its machine learning algorithms is to have one neural network for standard learning and another to specifically diversify the results.
Feb 17th, 2023 3:00am by Jessica Wachtel
👁 Featued image for: Airbnb Builds a Second Neural Network to Diversify Listings

Homestay broker Airbnb found that the key to creating diversity with its machine learning algorithms is to have one neural network for standard learning and another to specifically diversify the results. Diversification means, in this sense,  increasing the variety of options that a user sees when looking to book a stay.

This concept took years to develop because it went directly against the company engineer’s original core belief, that the probability of someone booking a listing could be determined independently of the listings themselves. Airbnb published a technical paper and a blog post detailing the quiet shortcomings of that approach: that a single neural network produces precise but homogeneous set of results.

To increase diversity, Airbnb engineers underwent the process of creating and iterating on additional neural networks. Once success was found by adding a new network per-listing placement in the results page, the engineers once again iterated for practicality and scalability. The result is a search results page made of two neural networks that work together to return a more diverse set of pages, a measurable gain for users.

This new approach produced good results: Airbnb observed an increase of 0.29% in uncanceled bookings and a 0.8% increase in booking value. The increase in booking value provides a reliable proxy to measure the increase in quality, although this isn’t the only target: A 0.4% increase in five-star ratings was an indicator of higher guest satisfaction for the entire trip.

Variety Is the Spice of Life

A neural network is a deep learning model that mimics the human brain and can recognize relationships between data. In the case of Airbnb, it’s great at determining which listing has a higher booking probability based on price, location or reviews, with each piece of criteria weighted differently.

The neural network learns which listings and criteria are more successful and which are not. The graph below shows how Airbnb bookings favor lower prices.

👁 Image

It’s one thing for a neural network to learn the relationships between successful listings and another for it to understand the following warring business principles:

  • The majority principle: the majority preference should drive ranking.
  • The Pareto principle: user preferences are distributed smoothly with a long tail, roughly binarized by an 80/20 split. (This speaks to me because I am reminded annually that I am the 20% when we book our friends vacation.)
  • The pressure is turned up by the importance of making sure the first page speaks to someone because attention wanes after that.

The original neural network results were so skewed to the majority, to quote the technical paper, “it’s the tyranny of the majority.”

Tyranny !== diversity.

N Models Added For Us 20 Percenters

The lack of diversity meant one thing: the OG neural network was very good at identifying and exploiting listings that exactly matched the search criteria. Rather than start over, the original model was kept and N models for N additional listing positions were added for comparison.

Position One: The First New Model

Listing position one only comes centerstage if the original choice, or “position zero,” didn’t work out (and this is true for every subsequent listing). That means position one has an additional input — the listing in position zero that is now dubbed the “antecedent listing.”

All searches where the listing at position zero was booked are discarded for these new training examples for the conditional pairwise booking probability model. For all cases where position zero wasn’t booked, pairs are created based on ‘booked’ and ‘not booked’ listings, similarly to how the original neural network ranks booking probability.

👁 Image

The setup for position two is similar to position one, but now even more information is available. By the time this listing is checked out, neither the listings in position zero nor one were booked, making two antecedents available to compare against. The process repeats N times for N models.

As one may suspect, the theory is simple but not practical in its implementation and has an 𝑂(𝑁 3 ) time complexity.

The Refactor

With the refactor process, the researchers reported in the technical paper, “we start with the N distinct models constructed for each of the N positions and simplify them, one by one.” The result is two models, the original neural network and a new similarity neural network.

Airbnb expects results from both the original neural network and the “similarity network” to be fairly close since they share a large part of the training model. But the expectation is that the similarity model will outperform, since similar listings are downranked and diverse listings are upranked.

Important note: this only works if listing zero and one are different. If they’re identical, then only one antecedent needs to be accounted for, since one listing didn’t count and the goal is d-i-v-e-r-s-i-t-y. Here’s an illustration:

👁 Image

Give the People What They Want

The probe into diversity didn’t start here with this project. This was a multi-year long process at Airbnb that started in 2017 with category-based diversification. First, it was a singular dimension (price, location, amenities) then diversified along multiple dimensions. Failure and failure.

The breakthrough came in 2019 when the model was given the freedom to diversify accordingly. It’s also important to include that the training data itself is biased against diversity. Airbnb expects future training will include richer examples to learn from and enable a virtuous cycle of diversification.

TRENDING STORIES
Jessica Wachtel is a developer marketing writer at InfluxData where she creates content that helps make the world of time series data more understandable and accessible. Jessica has a background in software development and technical journalism.
Read more from Jessica Wachtel
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.