Sampling Methods for Inner Product Sketching
Majid Daliri, Juliana Freire, Christopher Musco, Aécio S. R. Santos, Haoxiang Zhang
Abstract
Recently, Bessa et al. (PODS 2023) showed that sketches based on coordinated weighted sampling theoretically and empirically outperform popular linear sketching methods like Johnson-Lindentrauss projection and CountSketch for the ubiquitous problem of inner product estimation. We further develop this finding by introducing and analyzing two alternative sampling-based methods. In contrast to the computationally expensive algorithm in Bessa et al., our methods run in linear time (to compute the sketch) and perform better in practice, significantly beating linear sketching on a variety of tasks. For example, they provide state-of-the-art results for estimating the correlation between columns in unjoined tables, a problem that we show how to reduce to inner product estimation in a black-box way. While based on known sampling techniques (threshold and priority sampling) we introduce significant new theoretical analysis to prove approximation guarantees for our methods.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Matrix Product Sketching via Coordinated Sampling cites Correlation Sketches for Approximate Join-Correlation Queries
- Matrix Product Sketching via Coordinated Sampling cites ARDA: Automatic Relational Data Augmentation for Machine Learning
- Matrix Product Sketching via Coordinated Sampling cites A Sketch-based Index for Correlated Dataset Search
- Efficiently Estimating Mutual Information Between Attributes Across Tables cites Correlation Sketches for Approximate Join-Correlation Queries
- Efficiently Estimating Mutual Information Between Attributes Across Tables cites ARDA: Automatic Relational Data Augmentation for Machine Learning
- Efficiently Estimating Mutual Information Between Attributes Across Tables cites A Sketch-based Index for Correlated Dataset Search
- A Sketch-based Index for Correlated Dataset Search cites Correlation Sketches for Approximate Join-Correlation Queries
- A Sketch-based Index for Correlated Dataset Search cites ARDA: Automatic Relational Data Augmentation for Machine Learning
Cited by top-tier papers5
- Efficient Inverted Indexes for Approximate Retrieval over Learned Sparse RepresentationsSebastian Bruch, Franco Maria Nardini, Cosimo Rulli, Rossano VenturiniSIGIR 2024 · 47 citations
- Magneto: Combining Small and Large Language Models for Schema MatchingYurong Liu, Eduardo H. M. Pena, Aécio S. R. Santos, Eden Wu et al.VLDB 2025 · 32 citations
- Streaming Attention Approximation via Discrepancy TheoryEkaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh et al.NeurIPS 2025 · 10 citations
- Efficiently Estimating Mutual Information Between Attributes Across TablesAécio S. R. Santos, Flip Korn, Juliana FreireICDE 2024 · 2 citations
- Matrix Product Sketching via Coordinated SamplingMajid Daliri, Juliana Freire, Danrong Li, Christopher MuscoICLR 2025
Builds on4
- Correlation Sketches for Approximate Join-Correlation QueriesAécio S. R. Santos, Aline Bessa, Fernando Chirigati, Christopher Musco et al.SIGMOD 2021 · 45 citations
- A Sketch-based Index for Correlated Dataset SearchAécio S. R. Santos, Aline Bessa, Christopher Musco, Juliana FreireICDE 2022 · 31 citations
- ARDA: Automatic Relational Data Augmentation for Machine LearningNadiia Chepurko, Ryan Marcus, Emanuel Zgraggen, Raul Castro Fernandez et al.VLDB 2020 · 14 citations
- CountSketches, Feature Hashing and the Median of ThreeKasper Green Larsen, Rasmus Pagh, Jakub TetekICML 2021 · 10 citations
Related papers
- JoinSketch: A Sketch Algorithm for Accurate and Unbiased Inner-Product EstimationFeiyu Wang, Qizhi Chen, Yuanpeng Li, Tong Yang et al.SIGMOD 2023 · 20 citations
- Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive InputsEdith Cohen, Jelani Nelson, Tamás Sarlós, Uri StemmerAAAI 2023 · 14 citations
- CorrBound: Cardinality Estimation Accounting for Inter- and Intra-relation CorrelationsChristoph Mayer, Haozhe Zhang, Mahmoud Abo Khamis, Kyle Deeds et al.SIGMOD 2026
- A Fast and Accurate Estimator for Large Scale Linear Model via Data AveragingRui Wang, Yanyan Ouyang, Panpan Yu, Wangli XuNeurIPS 2023 · 1 citation
- OPORP: One Permutation + One Random ProjectionPing Li, Xiaoyun LiKDD 2023 · 1 citation
