Piece of CAKE : Adaptive Execution Engines via Microsecond-Scale Learning
Zijie Zhao, Ryan Marcus · 2026
Read Piece of CAKE : Adaptive Execution Engines via Microsecond-Scale Learning by Zijie Zhao, Ryan Marcus (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-04181.txt.
Description
Databases waste time running the wrong version of the right operation. Zijie Zhao and 1 co-author built CAKE, which learns per-chunk kernel selection at microsecond scale. Their 2026 paper notes that low-level operators have many equivalent implementations whose speed depends on the data distribution.
Static heuristics leave large gains on the table. CAKE exploits cheap counterfactuals: run several kernels on a sample and learn from full feedback. Policies compile into low-latency regret trees, dodging reinforcement learning's usual overhead. Workload latency fell by up to half against strong static heuristics. The idea suits any system whose inner loops face shifting data.
Catalog record
| CREATOR | Zijie Zhao, Ryan Marcus |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 63 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2602-04181