atlas

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

Towards Establishing Guaranteed Error for Learned Database Operations

ICLR 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 the first information-theoretic lower bounds on the model size (bits) that learned indexing, cardinality estimation and range-sum estimation need to guarantee a given worst-case or average-case error across all databases of a given size.

Problem

Learned database operations (indexing, cardinality estimation, range-sum estimation) lack theoretical error guarantees, so there is no guidance on how large a learned model must be, as a function of data size, dimensionality and tolerable error, to guarantee accuracy on all databases.

Approach

Treats model parameters as a data representation and applies packing/metric entropy arguments to the metric space of query functions, deriving lower bounds on required model bits for worst-case (infinity-norm) and average-case (1-norm, arbitrary-norm) error across all datasets of size n.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Require worst-case error guarantees rather than average-case error guaranteesLearned database operations · Indexing, cardinality estimation, and range-sum estimationrequired model sizeMixed
Allow arbitrary query distributions instead of uniform queriesLearned indexing · Indexingrequired model size lower boundNo clear effect
Allow arbitrary query distributions instead of uniform queriesLearned cardinality and range-sum estimation · Cardinality and range-sum estimationrequired model size lower boundHurt
Increase data sizeLearned database operations · All operationsrequired model sizeHurt
Increase model sizeLinear model and neural networks · Indexing and cardinality estimation on uniform and GMM dataobserved errorNo clear effect
Use sampling instead of the linear modelLearned database operations · Uniform-distribution experimentsobserved errorHurt
Use sampling instead of the linear modelLearned database operations · GMM experimentsobserved errorNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic uniform 1-D datasets synthetic 2-component GMM 1-D datasets

Benchmarks: synthetic uniform and GMM datasets

Metrics: worst-case (infinity-norm) absolute error average (1-norm) absolute error

Baselines: Sample linear model

Builds on: learned index structures (RMI) epsilon-approximations for range counting metric entropy theory

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