Lune

ICLR2023Top-tier venue

Learning the Positions in CountSketch

Yi Li, Honghao Lin, Simin Liu, Ali Vakilian, David P. Woodruff

Abstract

We consider sketching algorithms which first compress data by multiplication with a random sketch matrix, and then apply the sketch to quickly solve an optimization problem, e.g., low-rank approximation and regression. In the learning-based sketching paradigm proposed by [IVY19], the sketch matrix is found by choosing a random sparse matrix, e.g., CountSketch, and then the values of its non-zero entries are updated by running gradient descent on a training data set. Despite the growing body of work on this paradigm, a noticeable omission is that the locations of the non-zero entries of previous algorithms were fixed, and only their values were learned. In this work, we propose the first learning-based algorithms that also optimize the locations of the non-zero entries. Our first proposed algorithm is based on a greedy algorithm. However, one drawback of the greedy algorithm is its slower training time. We fix this issue and propose approaches for learning a sketching matrix for both low-rank approximation and Hessian approximation for second order optimization. The latter is helpful for a range of constrained optimization problems, such as LASSO and matrix estimation with a nuclear norm constraint. Both approaches achieve good accuracy with a fast running time. Moreover, our experiments suggest that our algorithm can still reduce the error significantly even if we only have a very limited number of training matrices.

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.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Improved Frequency Estimation Algorithms with and without Predictions cites Learning-based Support Estimation in Sublinear Time
  • Improved Frequency Estimation Algorithms with and without Predictions cites Composable Sketches for Functions of Frequencies: Beyond the Worst Case
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. HyperAttention: Long-context Attention in Near-Linear TimeInsu Han, Rajesh Jayaram, Amin Karbasi, Vahab Mirrokni et al.ICLR 2024 · 104 citations
  2. Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal et al.NeurIPS 2023 · 16 citations
  3. Sample complexity of data-driven tuning of model hyperparameters in neural networks with structured parameter-dependent dual functionMaria-Florina Balcan, Anh Nguyen, Dravyansh SharmaNeurIPS 2025 · 14 citations
  4. Generalization Bound and Learning Methods for Data-Driven Projections in Linear ProgrammingShinsaku Sakaue, Taihei OkiNeurIPS 2024 · 13 citations
  5. Clustering the Sketch: Dynamic Compression for Embedding TablesHenry Ling-Hei Tsang, Thomas D. AhleNeurIPS 2023 · 5 citations

Builds on2

  1. Composable Sketches for Functions of Frequencies: Beyond the Worst CaseEdith Cohen, Ofir Geri, Rasmus PaghICML 2020 · 17 citations
  2. Learning-based Support Estimation in Sublinear TimeTalya Eden, Piotr Indyk, Shyam Narayanan, Ronitt Rubinfeld et al.ICLR 2021 · 8 citations

Related papers

  1. Few-Shot Data-Driven Algorithms for Low Rank ApproximationPiotr Indyk, Tal Wagner, David P. WoodruffNeurIPS 2021 · 12 citations
  2. Newton-LESS: Sparsification without Trade-offs for the Sketched Newton UpdateMichal Derezinski, Jonathan Lacotte, Mert Pilanci, Michael W. MahoneyNeurIPS 2021 · 32 citations
  3. Sketching for Convex and Nonconvex Regularized Least Squares with Sharp GuaranteesYingzhen Yang, Ping LiICLR 2025
  4. Optimal Iterative Sketching Methods with the Subsampled Randomized Hadamard TransformJonathan Lacotte, Sifan Liu, Edgar Dobriban, Mert PilanciNeurIPS 2020 · 15 citations
  5. Can Gaussian Sketching Converge Faster on a Preconditioned Landscape?Yilong Wang, Haishan Ye, Guang Dai, Ivor W. TsangICML 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines