English

Sketchy Moment Matching: Toward Fast and Provable Data Selection for Finetuning

Machine Learning 2025-02-10 v3 Numerical Analysis Numerical Analysis Machine Learning

Abstract

We revisit data selection in a modern context of finetuning from a fundamental perspective. Extending the classical wisdom of variance minimization in low dimensions to high-dimensional finetuning, our generalization analysis unveils the importance of additionally reducing bias induced by low-rank approximation. Inspired by the variance-bias tradeoff in high dimensions from the theory, we introduce Sketchy Moment Matching (SkMM), a scalable data selection scheme with two stages. (i) First, the bias is controlled using gradient sketching that explores the finetuning parameter space for an informative low-dimensional subspace S\mathcal{S}; (ii) then the variance is reduced over S\mathcal{S} via moment matching between the original and selected datasets. Theoretically, we show that gradient sketching is fast and provably accurate: selecting nn samples by reducing variance over S\mathcal{S} preserves the fast-rate generalization O(dim(S)/n)O(\dim(\mathcal{S})/n), independent of the parameter dimension. Empirically, we concretize the variance-bias balance via synthetic experiments and demonstrate the effectiveness of SkMM for finetuning in real vision tasks.

Keywords

Cite

@article{arxiv.2407.06120,
  title  = {Sketchy Moment Matching: Toward Fast and Provable Data Selection for Finetuning},
  author = {Yijun Dong and Hoang Phan and Xiang Pan and Qi Lei},
  journal= {arXiv preprint arXiv:2407.06120},
  year   = {2025}
}

Comments

NeurIPS 2024

R2 v1 2026-06-28T17:33:10.398Z