mlsanityData to 14 Oct 2026

DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation

arXiv 2503.08994 ↗First posted 12 Mar 2025cs.DB cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Research on learned cardinality estimation has made significant progress in recent years. However, existing methods still face distinct challenges that hinder their practical deployment in production environments. We define these challenges as the ``Trilemma of Cardinality Estimation'', where learned cardinality estimation methods struggle to balance generality, accuracy, and updatability. To address these challenges, we introduce DistJoin, a join cardinality estimator based on efficient distribution prediction using multi-autoregressive models. Our contributions are threefold: (1) We propose a method to estimate join cardinality by leveraging the probability distributions of individual tables in a decoupled manner. (2) To meet the requirements of efficiency for DistJoin, we develop Adaptive Neural Predicate Modulation (ANPM), a high-throughput distribution estimation model. (3) We demonstrate that an existing similar approach suffers from variance accumulation issues by formal variance analysis. To mitigate this problem, DistJoin employs a selectivity-based approach to infer join cardinality, effectively reducing variance. In summary, DistJoin not only represents the first data-driven method to support both equi and non-equi joins simultaneously but also demonstrates superior accuracy while enabling fast and flexible updates. The experimental results demonstrate that DistJoin achieves the highest accuracy, robustness to data updates, generality, and comparable update and inference speed relative to existing methods.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 23 of its 69 references that are in the map. First posted on arXiv 12 Mar 2025.

Builds on

23 of 69 references.

References · 23

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  4. 2015MADE: Masked Autoencoder for Distribution Estimationcited by 307
  5. 2017Gate-Variants of Gated Recurrent Unit (GRU) Neural Networkscited by 242
  6. 2019Neo: A Learned Query Optimizercited by 80
  7. 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
  8. 2020Bao: Learning to Steer Query Optimizerscited by 62
  9. 2019An End-to-End Learning-based Cost Estimatorcited by 43
  10. 2019Deep Unsupervised Cardinality Estimationcited by 36
  11. 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
  12. 2019Plan-Structured Deep Neural Network Models for Query Performance Predictioncited by 24
11 more
  1. 2019Autoregressive Energy Machinescited by 23
  2. 2020FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimationcited by 22
  3. 2020NeuroCard: One Cardinality Estimator for All Tablescited by 21
  4. 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
  5. 2020Are We Ready For Learned Cardinality Estimation?cited by 19
  6. 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
  7. 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
  8. 2023ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads (Extended)cited by 13
  9. 2019An Empirical Analysis of Deep Learning for Cardinality Estimationcited by 8
  10. 2024PRICE: A Pretrained Model for Cross-Database Cardinality Estimationcited by 8
  11. 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.