Forgetting by Pruning: Data Deletion in Join Cardinality Estimation

Authors

  • Chaowei He Soochow University
  • Yuanjun Liu Soochow University
  • Qingzhi Ma Soochow University
  • Shenyuan Ren Beijing Jiaotong University
  • Xizhao Luo Soochow University
  • Lei Zhao Soochow University
  • An Liu Soochow University

DOI:

https://doi.org/10.1609/aaai.v40i26.39309

Abstract

Machine unlearning in learned cardinality estimation (CE) systems presents unique challenges due to the complex distributional dependencies in multi-table relational data. Specifically, data deletion, a core component of machine unlearning, faces three critical challenges in learned CE models: attribute-level sensitivity, inter-table propagation and domain disappearance leading to severe overestimation in multi-way joins. We propose Cardinality Estimation Pruning (CEP), the first unlearning framework specifically designed for multi-table learned CE systems. CEP introduces Distribution Sensitivity Pruning, which constructs semi-join deletion results and computes sensitivity scores to guide parameter pruning, and Domain Pruning, which removes support for value domains entirely eliminated by deletion. We evaluate CEP on state-of-the-art architectures NeuroCard and FACE across IMDb and TPC-H datasets. Results demonstrate CEP consistently achieves the lowest Q-error in multi-table scenarios, particularly under high deletion ratios, often outperforming full retraining. Furthermore, CEP significantly reduces convergence iterations, incurring negligible computational overhead of 0.3%-2.5% of fine-tuning time.

Published

2026-03-14

How to Cite

He, C., Liu, Y., Ma, Q., Ren, S., Luo, X., Zhao, L., & Liu, A. (2026). Forgetting by Pruning: Data Deletion in Join Cardinality Estimation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(26), 21602–21609. https://doi.org/10.1609/aaai.v40i26.39309

Issue

Section

AAAI Technical Track on Machine Learning III