ai newsMi., 28. Okt.
EilmeldungCould You Switch AI Providers by Friday?

Airbnb Cuts Recommendation Staleness from 2 Days to Seconds with Chronon

Airbnb extended its Chronon feature platform with Push Mode and Near Real-Time Model Transform to update sequence-based recommendation embeddings within seconds. The architecture reduced embedding staleness from nearly two days to under a minute and improved offline NDCG by 1.67%, while online test

InfoQMittwoch 14:53 · 28.10.2 Min. Lesezeit
Bild: InfoQ

The work builds on Airbnb’s JourneyFormer based sequence recommender, which uses a Transformer encoder to represent a guest’s booking, review and browsing history. Previously, the encoder ran as a daily batch job, generating embeddings that were stored in a low latency store. During a search, the ranking system retrieved the latest embedding and combined it with the live query, keeping the Transformer outside the latency sensitive serving path. However, activity occurring after the daily batch could remain absent from the embedding until the following run, with processing delays bringing effective staleness close to two days.

Airbnb’s initial architecture showing the daily batch sequence encoder, embedding store and online ranking path. (Source: Airbnb Blog Post )

Airbnb addressed the freshness problem by adding two capabilities to Chronon. Push Mode causes a streaming job to publish a notification when a feature value is committed, allowing downstream processing to react to updated guest activity rather than polling or waiting for a scheduled job. NRT Model Transform allows an already deployed model to run inside that streaming pipeline. Airbnb uses the same Transformer sequence encoder for the near real time path, avoiding a separate inference implementation for the streaming workflow.

The resulting pipeline captures events such as searches and listing views, combines them with the guest’s existing short and long-term sequence data, and triggers model inference when the updated feature state is available. The generated embedding is then written to the same low-latency store used by the batch system. Consequently, the online ranking path remains largely unchanged while the representation it retrieves becomes more current.

Pengyu Hou, Senior Software Engineer, Infrastructure at Airbnb, described the platform change as addressing the gap between event-driven data and model inference:

NRT Model Transform lets Chronon call an already deployed model... directly from within the streaming flow.

The approach follows a broader feature serving pattern in which predictions can be updated when underlying features change rather than computed on every user request. Feast, another open-source feature platform, documents cached prediction architectures where inference is triggered by feature updates, trading additional writes and pipeline complexity for lower serving latency. Chronon instead integrates streaming computation and model transformation into its feature platform and emphasizes consistency between offline and online computation.

Airbnb’s near real-time Chronon architecture (Source: Airbnb Blog Post )

Airbnb has contributed Push Mode and NRT Model Transform to the public Chronon repository. Chronon supports both batch and streaming computation and provides online feature serving designed to maintain consistency between training and production inference.

Presented by: David Iparraguirre - Senior Product Marketing Manager at Datadog, and Jessica Yang - Product Manager at Datadog

Quelle: InfoQ (InfoQ). Original öffnen