Workload-aware data lakehouse maintenance using hierarchical deep reinforcement learning
Omar Essameldin, Omer Karim, Omar Shrief, Ahmed B.Zaky
Key points
From the paper's conclusion- We present a hierarchical multi-agent framework that jointly optimises compaction and partitioning decisions online: a rule-based meta-controller evaluates per-step urgency scores and delegates to two specialist reinforcement learning (RL) agents—a compaction agent and a partition agent—each trained with a reward signal aligned to its operational objective.
Abstract
Modern data lakehouses built on open table formats such as Apache Iceberg accumulate small files and suboptimal partition layouts as data is continuously ingested, degrading query performance over time. Existing maintenance strategies rely on hand-crafted, workload-agnostic rules that cannot adapt to shifting query distributions. We present a hierarchical multi-agent framework that jointly optimises compaction and partitioning decisions online: a rule-based meta-controller evaluates per-step urgency scores and delegates to two specialist reinforcement learning (RL) agents—a compaction agent and a partition agent—each trained with a reward signal aligned to its operational objective. Within this framework we study three neural architectures: an attention-based actor-critic (), a feedforward actor-critic (), and a dueling double DQN (), each trained under a matched configuration with five independent random seeds. Evaluation on LakeGym v5 , a simulation environment backed by a real Iceberg table on Apache Spark, comprises 216 seeded runs with paired non-parametric significance testing. The best configuration () attains a mean global reward of 0.2105 (95% CI [0.2026, 0.2185], bootstrap over training seeds), exceeding the strongest of 17 heuristic baselines by +8.3% (paired permutation $$p = 0.002$$ , Cliff’s $$\delta = +0.71$$ ), with all five independent training runs individually beating that heuristic. The advantage persists on two held-out workloads exhibiting gradual drift and concurrent query mixtures. Ablation confirms a non-additive interaction between the two specialists: removing compaction collapses partition pruning from 0.225 to 0.080 because data is never rewritten into the new layout. Capacity-matched comparison shows the attention encoder confers no significant advantage ( $$p = 0.54$$ ), and direct inspection of its attention weights reveals a static recency gate rather than workload-transition sensitivity. Across-seed variability differs sharply between architectures (s.d. 0.0104 to 0.0403), demonstrating that single-checkpoint evaluation is insufficient to rank architectures in this domain.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Workload-Aware Incremental Reclustering in Cloud Data WarehousesProceedings of the ACM on Management of Data · 2026
- ARGOS: Reinforcement Learning-Driven Multidimensional Elasticity for Service Orchestration in the Computing ContinuumarXiv · 2026
- MLE Agents: Autonomous ML Engineering in Large-scale Recommendation SystemsarXiv · 2026
- Multi-objective drift-aware MLOps agent for model retrainingarXiv · 2026
- Differential Refresh Policies for Models Trained on Lagging Data Snapshots: From a Single-Age Equivalence Limit to an Optimal Per-Segment AllocationarXiv · 2026
- OGDA: Ontology-Grounded Data Agents for Reliable Analysis over Heterogeneous Data LakesarXiv · 2026