Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Jun;108(2):283-297.
doi: 10.1093/biomet/asaa062. Epub 2020 Jul 30.

Statistical properties of sketching algorithms

Affiliations

Statistical properties of sketching algorithms

D C Ahfock et al. Biometrika. 2021 Jun.

Abstract

Sketching is a probabilistic data compression technique that has been largely developed by the computer science community. Numerical operations on big datasets can be intolerably slow; sketching algorithms address this issue by generating a smaller surrogate dataset. Typically, inference proceeds on the compressed dataset. Sketching algorithms generally use random projections to compress the original dataset, and this stochastic generation process makes them amenable to statistical analysis. We argue that the sketched data can be modelled as a random sample, thus placing this family of data compression methods firmly within an inferential framework. In particular, we focus on the Gaussian, Hadamard and Clarkson-Woodruff sketches and their use in single-pass sketching algorithms for linear regression with huge samples. We explore the statistical properties of sketched regression algorithms and derive new distributional results for a large class of sketching estimators. A key result is a conditional central limit theorem for data-oblivious sketches. An important finding is that the best choice of sketching algorithm in terms of mean squared error is related to the signal-to-noise ratio in the source dataset. Finally, we demonstrate the theory and the limits of its applicability on two datasets.

Keywords: Computational efficiency; Random projection; Randomized numerical linear algebra; Sketching.

PubMed Disclaimer

Figures

Fig. 1
Fig. 1
Bias of partial sketching estimators on the HLA dataset: panels (a)–(c) show results for β P and panels (d)– (f) results for the bias-corrected estimator βP ; mean estimates are plotted against the true values. In this scenario n = 132 353, p = 1000 and k = 1500. The solid line in each panel is the identity line, and the dashed line in panels (a)–(c) represents the theoretical bias factor.

References

    1. Ailon N, Chazelle B. The fast Johnson Lindenstrauss transform and approximate nearest neighbors. SIAM J Comp. 2009;39:302–22.
    1. Astle WJ, Elding H, Jiang T, Allen D, Ruklisa D, Mann AL, Mead D, Bouman H, Riveros-Mckay F, Kostadima MA, et al. The allelic landscape of human blood cell trait variation and links to common complex disease. Cell. 2016;167:1415–29. - PMC - PubMed
    1. Avron H, Nguyen H, Woodruff D. Subspace embeddings for the polynomial kernel; Proc 27th Int Conf Neural Information Processing Systems (NIPS’14); Cambridge, Massachusetts: MIT Press; 2014. pp. 2258–66.
    1. Banerjee A, Dunson DB, Tokdar ST. Efficient Gaussian process regression for large datasets. Biometrika. 2013;100:75–89. - PMC - PubMed
    1. Bardenet R, Maillard O-A. A note on replacing uniform subsampling by random projections in MCMC for linear regression of tall datasets. HAL; 2015. 01248841. preprint https://hal.archives-ouvertes.fr/hal-01248841 .