Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by nikhilsimha on Tuesday April 09, 2024 @03:41PM
(#39983366)
Snapshots can’t travel back with milliseconds precision or even minute level precision. They are just full dumps at regular fixed intervals in time.
[ Parent
| on HN ]
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by _se on Tuesday April 09, 2024 @03:48PM
(#39983455)
Databases have had many forms of time travel for 30+ years now.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by threeseed on Tuesday April 09, 2024 @05:52PM
(#39984695)
Not at the latency needed for feature serving and most databases struggle with column limits.
But please enlighten us on which databases to use so Airbnb (and the rest of us) can stop wasting time.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by refset on Tuesday April 09, 2024 @06:49PM
(#39985170)
Shameless plug, but XTDB v2 is being built for low-latency bitemporal queries over columnar storage and might be applicable: https://docs.xtdb.com/quickstart/query-the-past.html
We've not been developing v2 with ML feature serving in mind so far, but I would love to speak with anyone interested in this use case and figure out where the gaps are.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by mulmen on Tuesday April 09, 2024 @04:44PM
(#39984048)
Snapshots don’t have to be at regular intervals and can be at whatever resolution you choose. You could snapshot as the first step of training then keep that snapshot for the life of the resulting model. Or you could use some other time travel methodology. Snapshots are only one of many options.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by nikhilsimha on Tuesday April 09, 2024 @05:01PM
(#39984203)
These are reconstruction of features / columns that don’t exist yet.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by mulmen on Thursday April 11, 2024 @04:35AM
(#39999806)
I don’t understand what this means. How can something be reconstructed without first existing? Is this not just a caching exercise?
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by hobs on Tuesday April 09, 2024 @04:53PM
(#39984124)
https://en.wikipedia.org/wiki/Sixth_normal_form
Basically we've had time travel (via triggers or built in temporal tables or just writing the data) for a long time, its just expensive to have it all for an OLTP database.
We've also had slowly changing dimensions to solve this type of problem for a decent amount of time for the labels that sit on top of everything, though really these are just fact tables with a similar historical approach.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by ezvz on Tuesday April 09, 2024 @05:14PM
(#39984329)
6NF works well for some temporal data, but I haven't seen it work well for windowed aggregations because the start/end time format of saving values doesn't handle events "falling out of the window" too well. At least the examples I've seen have values change due to explicit mutation events.
Re:Chronon, Airbnb's ML Feature Platform, Is Now Open Source
by hobs on Tuesday April 09, 2024 @07:32PM
(#39985426)
Agree, you don't really want to pre-aggregate your temporal data, or it will effectively only aggregate at each row-time boundary and the value is lower than just keeping the individual calculations.