AI-Driven Research for Databases

Audrey Cheng, Harald Ng, Aaron Kabcenell, Peter Bailis, Matei Zaharia +3 more
4/8/2026
cs.DBcs.AI

No confident code implementation found for this paper.

Abstract

As the complexity of modern workloads and hardware increasingly outpaces human research and engineering capacity, existing methods for database performance optimization struggle to keep pace. To address this gap, a new class of techniques, termed AI-Driven Research for Systems (ADRS), uses large language models to automate solution discovery.

Show full abstract

This approach shifts optimization from manual system design to automated code generation. The key obstacle, however, in applying ADRS is the evaluation pipeline. Since these frameworks rapidly generate hundreds of candidates without human supervision, they depend on fast and accurate feedback from evaluators to converge on effective solutions. Building such evaluators is especially difficult for complex database systems. To enable the practical application of ADRS in this domain, we propose automating the design of evaluators by co-evolving them with the solutions. We demonstrate the effectiveness of this approach through three case studies optimizing buffer management, query rewriting, and index selection. Our automated evaluators enable the discovery of novel algorithms that outperform state-of-the-art baselines (e.g., a deterministic query rewrite policy that achieves up to 6.8x lower latency), demonstrating that addressing the evaluation bottleneck unlocks the potential of ADRS to generate highly optimized, deployable code for next-generation data systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cheng2026aidriven,
  title  = {AI-Driven Research for Databases},
  author = {Audrey Cheng and Harald Ng and Aaron Kabcenell and Peter Bailis and Matei Zaharia and Lin Ma and Xiao Shi and Ion Stoica},
  year   = {2026},
  eprint = {2604.06566},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.06566v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.06566.svg)](https://codeofpaper.com/paper/2604.06566)

Discussion