[Paper Review] Discrepancy, Coresets, and Sketches in Machine Learning
This paper introduces a general framework linking class discrepancy to coreset and sketching complexity in machine learning, proving that low-discrepancy function families admit small coresets of size $O(\sqrt{d}/\epsilon)$ for logistic regression, kernel density estimation, and other analytic functions. It presents a deterministic algorithm for constructing low-discrepancy sequences and improves streaming sketching via a novel merge-and-reduce optimization.
This paper defines the notion of class discrepancy for families of functions. It shows that low discrepancy classes admit small offline and streaming coresets. We provide general techniques for bounding the class discrepancy of machine learning problems. As corollaries of the general technique we bound the discrepancy (and therefore coreset complexity) of logistic regression, sigmoid activation loss, matrix covariance, kernel density and any analytic function of the dot product or the squared distance. Our results prove the existence of epsilon-approximation O(sqrt{d}/epsilon) sized coresets for the above problems. This resolves the long-standing open problem regarding the coreset complexity of Gaussian kernel density estimation. We provide two more related but independent results. First, an exponential improvement of the widely used merge-and-reduce trick which gives improved streaming sketches for any low discrepancy problem. Second, an extremely simple deterministic algorithm for finding low discrepancy sequences (and therefore coresets) for any positive semi-definite kernel. This paper establishes some explicit connections between class discrepancy, coreset complexity, learnability, and streaming algorithms.
Motivation & Objective
- To establish a theoretical connection between class discrepancy and coreset complexity in machine learning.
- To provide a general method for bounding discrepancy across families of analytic functions, including logistic regression and kernel density estimation.
- To resolve the long-standing open problem of coreset complexity for Gaussian kernel density estimation.
- To improve streaming sketching via an exponential enhancement of the merge-and-reduce technique.
- To develop a deterministic, low-discrepancy sequence construction algorithm for positive semi-definite kernels.
Proposed method
- Defining class discrepancy as a measure of coreset complexity, analogous to Rademacher complexity but tailored to optimal coreset construction.
- Applying Banaszczyk's theorem to bound the discrepancy of function families via signed sums over kernel functions.
- Introducing a greedy, deterministic algorithm to assign signs $\sigma_i \in \{-1,1\}$ to data points to minimize the maximum deviation of kernel sums over all queries.
- Using the discrepancy bound $\max_q |\sum_i \sigma_i K(x_i, q)| \leq \sqrt{m}$ to derive coreset guarantees via a union bound over an $\epsilon$-net.
- Enhancing the merge-and-reduce technique with a discrepancy-aware recursive merging strategy to reduce memory usage in streaming settings.
- Leveraging the fact that $K(x,x) \leq 1$ and $K$ being positive semi-definite to ensure bounded norm growth in the vector space induced by the kernel mapping.
Experimental results
Research questions
- RQ1Can class discrepancy serve as a unifying measure for coreset complexity across diverse machine learning problems?
- RQ2What is the minimal coreset size required for $\epsilon$-approximation in kernel density estimation, particularly for Gaussian kernels?
- RQ3How can the merge-and-reduce technique be improved for streaming sketching using discrepancy theory?
- RQ4Is there a deterministic, efficient algorithm to construct low-discrepancy sequences for positive semi-definite kernels?
- RQ5Can discrepancy bounds be used to derive tighter coreset size guarantees than those based on VC-dimension or sensitivity?
Key findings
- The paper proves the existence of $O(\sqrt{d}/\epsilon)$-sized coresets for logistic regression, sigmoid loss, matrix covariance, and kernel density estimation.
- For Gaussian kernel density estimation, the paper resolves the open problem by showing $O(1/\epsilon^2)$-sized coresets suffice, independent of dimension.
- The proposed deterministic algorithm for positive semi-definite kernels achieves $\max_q |\sum_i \sigma_i K(x_i, q)| \leq \sqrt{m}$, which is optimal in the worst case.
- The improved merge-and-reduce technique reduces memory complexity from $O(m^2)$ to $O(m)$, enabling efficient streaming sketches.
- For $L$-Lipschitz kernels, the randomized streaming algorithm achieves memory complexity $O(\log^3(d \log(RLn/\delta\epsilon))/\epsilon^2)$ with high probability.
- Theoretical bounds show that the discrepancy-based coreset size is significantly smaller than that implied by VC-dimension or sensitivity-based methods in many cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.