atlas

Research map / Learning theory and algorithms / Prediction and decision losses

Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability

ICML 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Data attribution and recourse · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Gives a distribution-learnability framework giving theoretical bounds on learned indexing, cardinality estimation and sorting under insertions and distribution shift, showing a Ω(√k) generalization error lower bound for any fixed model.

Problem

Learned database operations (indexing, cardinality estimation, sorting) degrade under data insertions and distribution shift, yet no theoretical guarantees exist for their performance in dynamic datasets.

Approach

Introduces distribution learnability, which abstracts the modeling problem into a learnable-distribution-class oracle with accuracy, inference and training complexity parameters, so that generalization under insertions and distribution shift (measured by total variation) can be analyzed separately; shows any fixed model's expected error grows as Ω(√k) after k insertions, and derives query/insertio

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use learned indexing with no distribution shift (δ=0)Learned indexing · Dynamic indexing, 𝔛_ρ or 𝔛_cquery and insertion complexity: O(log log n) vs O(log n)Helped
Increase distribution shift to the worst case (δ=1)Learned indexing · Dynamic indexingquery and insertion complexity: O(log log n+logδn)Hurt
Use learned cardinality estimation for a known distribution class with ε≥√nCardinality estimation · High-dimensional cardinality estimation, 𝔛_cquery and insertion time: O(1) vs space exponential in dimensionalityHelped
Use learned cardinality estimation in 1 dimension for 𝔛_cCardinality estimation · 1-dimensional cardinality estimationquery and insertion complexity: O(log n)Helped
Use learned sorting when the distribution is approximately known and efficiently evaluableLearned sorting · Static sortingtime complexity: O(n)Helped
Keep a single model fixed for k insertions instead of retrainingLearned indexing or cardinality estimation · Dynamic data sampled i.i.d. from a continuous distributionexpected maximum generalization error: √k/4Hurt

Surprising findings

Limitations

Experimental setup

Baselines: B-tree PGM index sampling-based cardinality estimation

Builds on: PGM index interpolation search piecewise linear approximation

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy