Lune

VLDB2023Top-tier venue

CORE-Sketch: On Exact Computation of Median Absolute Deviation with Limited Space

Haoquan Guan, Ziling Chen, Shaoxu Song

Abstract

Median absolute deviation (MAD), the median of the absolute deviations from the median, has been found useful in various applications such as outlier detection. Together with median, MAD is more robust to abnormal data than mean and standard deviation (SD). Unfortunately, existing methods return only approximate MAD that may be far from the exact one, and thus mislead the downstream applications. Computing exact MAD is costly, however, especially in space, by storing the entire dataset in memory. In this paper, we propose COnstruction-REfinement Sketch (CORE-Sketch) for computing exact MAD. The idea is to construct some sketch within limited space, and gradually refine the sketch to find the MAD element, i.e., the element with distance to the median exactly equal to MAD. Mergeability and convergence of the method is analyzed, ensuring the correctness of the proposal and enabling parallel computation. Extensive experiments demonstrate that CORE-Sketch achieves significantly less space occupation compared to the aforesaid baseline of No-Sketch, and has time and space costs relatively comparable to the DD-Sketch method for approximate MAD.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. MCUNet: Tiny Deep Learning on IoT DevicesJi Lin, Wei-Ming Chen, Yujun Lin, John Cohn et al.NeurIPS 2020 · 827 citations
  2. Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly DetectionJohn Paparrizos, Paul Boniol, Themis Palpanas, Ruey S. Tsay et al.VLDB 2022 · 171 citations
  3. Diagnosing Root Causes of Intermittent Slow Queries in Large-Scale Cloud DatabasesMinghua Ma, Zheng Yin, Shenglin Zhang, Sheng Wang et al.VLDB 2020 · 119 citations
  4. KLL±: Approximate Quantile Sketches over Dynamic DatasetsFuheng Zhao, Sujaya Maiyya, Ryan Weiner, Divy Agrawal et al.VLDB 2021 · 36 citations
  5. Approximating Median Absolute Deviation with Bounded ErrorZhiwei Chen, Shaoxu Song, Ziheng Wei, Jingyun Fang et al.VLDB 2021 · 14 citations

Related papers

  1. Coreset for Robust Geometric Median: Eliminating Size Dependency on OutliersZiyi Fang, Lingxiao Huang, Runkai YangNeurIPS 2025 · 1 citation
  2. STREAM: Spatiotemporal Similarity-based Efficient Approximate Median with Tunable GranularityFenfang Li, Huizhang Luo, Weichen Liu, Anthony Theodore Chronopoulos et al.DAC 2025
  3. Near-optimal Coresets for Robust ClusteringLingxiao Huang, Shaofeng H.-C. Jiang, Jianing Lou, Xuan WuICLR 2023 · 1 citation
  4. Layered Sampling for Robust Optimization ProblemsHu Ding, Zixiu WangICML 2020 · 6 citations
  5. Robust Kernel Density Estimation with Median-of-Means principlePierre Humbert, Batiste Le Bars, Ludovic MinvielleICML 2022 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines