$ whoami → doctoral_researcher · stanford.systems_group · 4th_year

Ariel Nasser// systems that learn the data they store

I build self-tuning storage engines — databases that reshape their own physical layout from the queries they observe, replacing decades of manual tuning with models that run inside the query path.

learned_indexescolumnar_storagecost_modelsonline_learning
research.metrics
ANAriel NasserDoctoral Researcher · Stanford
publications0
citations0
h_index0
best_paper_awards0
citations / year740+ total
statusAvailable · 2026 roles
01

Publications

11 peer-reviewed

We present a columnar storage engine that learns its physical design online. Rather than fixing partitioning and sort order at load time, the engine maintains lightweight models of the observed query distribution and reorganizes data only when a cost model predicts net benefit under realistic write amplification. On TPC-H and three production traces, the approach reduces scan latency by 2.1–3.4× over statically tuned baselines while keeping reorganization overhead under 6%.

Learned indexes assume a stationary key distribution — an assumption production workloads routinely violate. We introduce a drift detector that monitors prediction error in situ and triggers targeted model repair instead of full retraining. The method bounds worst-case lookup degradation during shift and recovers index accuracy 9× faster than periodic rebuilds, validated across six evolving real-world datasets.

Compaction scheduling in LSM-tree stores trades write amplification against read performance, usually via hand-tuned heuristics. We derive an analytical cost model that lets the engine speculatively compact ranges ahead of predicted read demand. The model is cheap to evaluate per-flush and improves p99 read latency by up to 28% on write-heavy workloads without raising total write volume.

Self-tuning systems often report median-case wins while hiding tail regressions caused by background reorganization. We propose a benchmarking protocol that isolates and reports adaptation-induced tail latency as a first-class metric, and release an open harness so adaptive-database claims can be reproduced and compared fairly.

Building a secondary index normally pauses ingest or doubles write cost. We show how to construct learned indexes incrementally, amortizing the work across the write path so that worst-case per-operation overhead stays bounded. The engine reaches full index quality with no measurable ingest stall across four production-scale traces.

Range scans dominate analytical workloads yet most learned indexes optimize for point lookups. We fit piecewise-linear models directly to predicate selectivity, letting the optimizer skip blocks with provable bounds. The approach cuts bytes scanned by 35–58% on selective ranges with sub-kilobyte model footprints.

Recursive model indexes are accurate but memory-hungry, which rules them out for embedded and edge deployments. RMI-Lite quantizes and prunes the model hierarchy to fit a fixed memory budget while bounding lookup error, making learned indexing practical on devices with a few megabytes of RAM.

Reproducible evaluation of adaptive indexes needs workloads whose distribution shifts in controlled, documented ways. We release a parameterized generator that emits key streams with tunable drift rate, magnitude, and seasonality, plus six reference traces now used by several follow-on papers.

Learned Bloom filters promise lower false-positive rates by modeling the key set, but their guarantees quietly assume balanced queries. We characterize how negative-query skew erodes those gains and give a simple backup-filter sizing rule that restores worst-case bounds without discarding the learned component.

Column order and encoding decide how well a scan rides the cache hierarchy, yet they are usually picked by rule of thumb. We model the interaction between layout and CPU cache behavior and select per-column encodings that keep hot ranges resident, yielding consistent scan-throughput gains on commodity hardware.

An early-PhD survey mapping where machine-learned components had begun to replace hand-tuned heuristics across indexing, compaction, layout, and cardinality estimation. The taxonomy and open-problem list shaped the direction of the dissertation that followed.

02

Experience & Honors

2022 — present
Graduate Researcher
Stanford University · Systems Group
Summer 2024
Research Intern
Snowflake · Query Optimization
Summer 2023
Research Intern
Google · Systems Research
2024, 2025
Head Teaching Assistant
CS 245 · Data-Intensive Systems
2025
VLDB Best Paper AwardLearned Layouts
2024
NSF Graduate Research FellowshipAwarded · 3-year support
2023
Stanford Graduate FellowshipSchool of Engineering
2022
Edinburgh Medal in InformaticsTop of graduating class
2021
ACM Student Research Competition2nd place, undergraduate
03

Projects

research artifacts
maintainedstanford-sys/lumen

Lumen

A research columnar engine implementing learned layouts. Pluggable cost models, reproducible benchmark suite, and the reference implementation behind the VLDB '25 paper.

C++17Apache ArrowPyTorch
maintainedstanford-sys/driftkit

DriftKit

Toolkit for monitoring and repairing learned indexes under distribution shift. Drop-in drift detectors with bounded-degradation guarantees and six benchmark datasets.

RustPythonPolars
maintainedstanford-sys/tailbench

TailBench

An open harness for honest tail-latency benchmarking of adaptive databases. Isolates adaptation-induced regressions so self-tuning claims stay reproducible.

PythoneBPFDuckDB
archivedanasser/lsm-costsim

LSM-CostSim

Standalone simulator for the speculative-compaction cost model. Useful for teaching and for sweeping compaction-policy parameters offline.

C++Matplotlib
04

Education

degrees
2022 — present
PhD, Computer Science
Stanford University · Systems Group · expected Spring 2026
2024
MS, Computer Science
Stanford University · conferred en route to the PhD
2018 — 2022
BSc (Hons), Computer Science
University of Edinburgh · First Class
05

Expertise

research & technical

I treat physical database layout as a continuous decision a system makes from the queries it observes — replacing decades of manual tuning with lightweight models that run inside the query path, paired with a cost model that knows when reorganizing data is worth the write amplification it triggers.

Every result ships with reproducible artifacts — open-source systems, public benchmarks, and the datasets behind each claim.

// research areas

Learned indexesSelf-tuning storageColumnar enginesOnline learning for systemsWorkload-adaptive physical design

// systems & languages

C++17RustPythonApache ArrowPyTorchPolarsDuckDBeBPF

// methods

Cost modelingReproducible benchmarkingDistribution-shift adaptationQuery optimizationLSM-tree compaction
06

Teaching

graduate TA
CS 245
Principles of Data-Intensive Systems
Head TA · 2024, 2025
CS 145
Introduction to Databases
Teaching Assistant · 2023
CS 110
Principles of Computer Systems
Teaching Assistant · 2023
Mentoring
Undergraduate Research Advising
4 students · 2023–2025
// open to collaboration

Initiate
Collaboration

Currently open to research-scientist and postdoctoral roles, PhD collaborations, and joint work on self-tuning data systems for 2026.

All publications
★ Best PaperPVLDB · Volume 18202564 citations

Learned Layouts: Workload-Adaptive Physical Design for Columnar Stores

Ariel Nasser, Rohan Patel, Michael Okonkwo
Stanford University · Systems Group

Abstract

Modern analytical databases fix their physical design — partitioning, sort order, and indexing — at load time, based on an expert’s prediction of the workload to come. When that prediction is wrong, or the workload drifts, performance degrades and re-tuning requires manual intervention.

We present Lumen, a columnar storage engine that learns its physical design online. Rather than committing to a layout up front, Lumen maintains lightweight models of the observed query distribution and reorganizes data only when an integrated cost model predicts net benefit under realistic write amplification. The result is a system that adapts continuously without a human in the loop.

Key Results

3.4×
peak scan-latency reduction vs. static tuning
<6%
reorganization overhead under load
4
production traces evaluated

Figure 3 · Latency under workload shift

Lumen (learned) vs. statically tuned baseline across seven workload phases. Lower is better.

Contributions

Online layout models. A class of models cheap enough to consult inside the query path, predicting which physical organization best serves the current query distribution.

Reorganization cost model. An analytical model that quantifies when the benefit of reorganizing data exceeds the write amplification it incurs — the decision that makes online adaptation safe.

Reproducible artifact. A full open-source implementation and benchmark suite, enabling independent verification of every claim in the paper.

Cite this work

bibtex
@inproceedings{nasser2025layouts,
  title     = {Learned Layouts: Workload-Adaptive Physical Design for Columnar Stores},
  author    = {Nasser, Ariel and Patel, Rohan and Okonkwo, Michael},
  booktitle = {Proceedings of the VLDB Endowment (PVLDB)},
  volume    = {18},
  year      = {2025}
}

Related from this author

Back to portfolio
// research notes

Notes

Working notes on data systems — half-formed ideas, paper reactions, and things I wish someone had told me about building databases that learn.

AllSystemsML for DBPhD life
Back to portfolio

Ariel Nasser

Doctoral Researcher · Stanford

ariel@stanford.edu · Gates Building · Rm 412 · Stanford, CA

Education

PhD, Computer Science2022 — present
Stanford University · Systems Group · expected Spring 2026
MS, Computer Science2024
Stanford University · conferred en route to the PhD
BSc (Hons), Computer Science2018 — 2022
University of Edinburgh · First Class

Honors & Awards

VLDB Best Paper Award2025
Learned Layouts
NSF Graduate Research Fellowship2024
Awarded · 3-year support
Stanford Graduate Fellowship2023
School of Engineering
Edinburgh Medal in Informatics2022
Top of graduating class
ACM Student Research Competition2021
2nd place, undergraduate

Experience

Graduate Researcher2022 — present
Stanford University · Systems Group
Research InternSummer 2024
Snowflake · Query Optimization
Research InternSummer 2023
Google · Systems Research
Head Teaching Assistant2024, 2025
CS 245 · Data-Intensive Systems

Teaching

Principles of Data-Intensive SystemsCS 245
Head TA · 2024, 2025
Introduction to DatabasesCS 145
Teaching Assistant · 2023
Principles of Computer SystemsCS 110
Teaching Assistant · 2023
Undergraduate Research AdvisingMentoring
4 students · 2023–2025

Technical Skills

research areasLearned indexes, Self-tuning storage, Columnar engines, Online learning for systems, Workload-adaptive physical design
systems & languagesC++17, Rust, Python, Apache Arrow, PyTorch, Polars, DuckDB, eBPF
methodsCost modeling, Reproducible benchmarking, Distribution-shift adaptation, Query optimization, LSM-tree compaction

Publications

  1. A. Nasser, R. Patel, M. Okonkwo (2025). Learned Layouts: Workload-Adaptive Physical Design for Columnar Stores. PVLDB · Volume 18. ★ Best Paper
  2. A. Nasser, K. Lindgren, M. Okonkwo (2024). Drift-Aware Indexing: Maintaining Learned Indexes Under Distribution Shift. SIGMOD '24.
  3. A. Nasser, J. Whitfield (2024). A Cost Model for Speculative Compaction in LSM-Tree Engines. USENIX ATC '24.
  4. R. Patel, A. Nasser, S. Voss, M. Okonkwo (2023). Benchmarking the Tail: Latency Honesty for Adaptive Databases. CIDR '23.
  5. A. Nasser, R. Patel, M. Okonkwo (2023). Self-Indexing Storage: Bounded-Cost Online Index Construction. PVLDB · Volume 16. ★ Distinguished Artifact
  6. A. Nasser, K. Lindgren (2023). Piecewise-Linear Models for Range Predicates at Scale. SIGMOD '23.
  7. A. Nasser, J. Whitfield, M. Okonkwo (2022). RMI-Lite: Compact Recursive Model Indexes for Embedded Stores. ICDE '22.
  8. S. Voss, A. Nasser (2022). A Workload Generator for Drifting Key Distributions. DBTest '22.
  9. A. Nasser, R. Patel (2022). On the Limits of Learned Bloom Filters Under Skew. EDBT '22.
  10. A. Nasser, M. Okonkwo (2021). Cache-Aware Layout Selection for Columnar Scans. DaMoN '21.
  11. A. Nasser (2021). A Survey of Learned Components in Modern Storage Engines. arXiv preprint.
Explore this demo
  • Switch the color scheme
  • Toggle dark mode
  • Search or filter publications
  • Copy a BibTeX citation
Demo by Smart Sparkle · academic portfolio templateGet yours →