← Latest papers
💻 computer science

JourneyFormer: Encoding Airbnb Guest Journey with Sequence Modeling

This paper presents JourneyFormer, a sequence modeling solution deployed at Airbnb to address production challenges like complex guest journeys and sparse booking labels, resulting in significant improvements in both offline ranking metrics and key business outcomes through online A/B testing.

Original authors: Daochen Zha, Chun How Tan, Xin Liu, Bin Xu, Han Zhao, Xiaowei Liu, Tracy Yu, Hui Gao, Huiji Gao, Liwei He, Stephanie Moyerman, Sanjeev Katariya

Published 2026-06-19
📖 5 min read🧠 Deep dive

Original authors: Daochen Zha, Chun How Tan, Xin Liu, Bin Xu, Han Zhao, Xiaowei Liu, Tracy Yu, Hui Gao, Huiji Gao, Liwei He, Stephanie Moyerman, Sanjeev Katariya

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine Airbnb as a massive, bustling digital marketplace where millions of people are looking for places to stay. For years, the system that decides which homes to show you first (the "search ranking") was like a librarian who had read a guest's entire history but only remembered the summary of their trip.

The team at Airbnb built a new system called JourneyFormer. Think of this not as a librarian reading a summary, but as a detective who watches the guest's entire movie in real-time, understanding the plot twists, the pauses, and the final decision.

Here is how it works, broken down into simple concepts:

1. The Problem: The "Noisy" Guest Journey

When you use Airbnb, you don't just click "Book." You might:

  • Look at 50 different apartments.
  • Cancel a trip you planned.
  • Leave a review for a place you stayed at last year.
  • Call customer service because a door was locked.
  • Finally, book one specific place.

The old system tried to summarize all this into a few statistics (e.g., "This person books 2 times a year"). But this missed the story. A guest who looked at 50 cheap hostels might just be window shopping, while a guest who looked at 3 luxury villas might be ready to buy. The old system couldn't tell the difference between "browsing" and "buying."

2. The Solution: The "Journey" Movie

JourneyFormer treats a guest's history like a movie sequence rather than a summary report. It uses a special type of AI (called a Transformer) that is great at understanding stories.

  • The Long-Term Plot: It looks at the last 7 years of a guest's life, but only for the "important scenes" like actual bookings, cancellations, or reviews. It ignores the boring background noise.
  • The Short-Term Plot: It looks at the last 21 days, but focuses heavily on what the guest is clicking right now. If you are frantically clicking on beach houses in Hawaii, the system knows you are likely going to Hawaii soon.

3. The "Smart Filter" (Event Selection)

The paper notes that guests click on listings (views) way more than they actually book. It's like walking past 100 houses in a neighborhood but only buying one. If the AI tried to remember every single "walk-by," it would get confused and slow down.

So, JourneyFormer uses a frequency filter:

  • Rare events (like booking a house or leaving a review) are kept from the last 7 years.
  • Common events (like just looking at a house) are only kept from the last 21 days.
    This keeps the "movie" short and focused on what actually matters.

4. The "Universal Translator" (ID Embeddings)

Airbnb has millions of listings, hosts, and locations. To the computer, these are just random numbers. JourneyFormer uses a "Universal Translator" (called Unified Embeddings) to turn these numbers into a language the AI understands.

It also uses a hierarchical map system (S2Cell IDs). Imagine a map that zooms in from the continent level, to the country, to the city, to the street, and finally to the specific house number. The AI learns that a guest who likes "San Francisco" might also like "The Mission District," but they might not like a house on a noisy street. This helps the AI understand where a guest wants to be, not just what they want.

5. The "Speed Boost" (Training Tricks)

Training an AI on millions of guest journeys is like trying to read a library of books in one hour. The paper describes three clever tricks to make this faster:

  • Bucketing: Instead of forcing a short story and a long novel into the same pile, they group stories by length. This stops the computer from wasting time padding short stories with empty space.
  • Batching Searches: If a guest searches three times in a row, the AI doesn't re-calculate the whole journey from scratch each time. It remembers the previous calculation and just updates the new part.
  • Skipping the Empty Seats: If a batch of data has some "empty" spots (because one guest has fewer searches than another), the AI skips those empty spots instead of processing them.

6. The Results: Better Trips for Everyone

The team tested this new system in the real world (online experiments) and compared it to the old system.

  • Offline: The AI got better at guessing which houses guests would like (measured by a score called NDCG).
  • Online: When they actually showed these results to real people, more people booked trips, and more nights were booked.
  • Emails: They also tested it in promotional emails. When the AI picked the homes to show in an email, people were 5% more likely to click and book.

What They Didn't Do (The "Don'ts")

The paper is honest about what they tried but rejected:

  • Real-time updates: They tried updating the guest's "movie" instantly every time they clicked. It made the AI faster at guessing, but it actually confused the guests by showing them the same houses they had just looked at (retargeting). Guests wanted to see new options, not the same ones again.
  • Too much complexity: They tried making the AI "smarter" by adding more layers, but it just made the system slower and harder to maintain without improving the results.

The Bottom Line

JourneyFormer is a system that stopped treating guests like a list of statistics and started treating them like people with a story. By watching the sequence of their actions—what they looked at, what they booked, and what they cancelled—the system can predict what they need next, leading to more successful bookings for guests and hosts.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →