Projection-cost-preserving sketches
Library · Source module
Projection-cost-preserving sketches
For \mathbf{A} \in \Bbbk^{m \times n}, a matrix \tilde{\mathbf{A}} \in \Bbbk^{m \times l} with the same rows, for instance a sketch \mathbf{A}\mathbf{\Omega}, is a rank-k projection-cost-preserving sketch of \mathbf{A} with constants a, \mathbf{b} when, up to one offset c \ge 0 that does not depend on the projector, the cost \|\mathbf{A} - \mathbf{P}\mathbf{A}\|_{\mathsf{F}}^2 of every orthogonal projector \mathbf{P} of rank at most k is preserved: a\|\mathbf{A} - \mathbf{P}\mathbf{A}\|_{\mathsf{F}}^2 \le \|\tilde{\mathbf{A}} - \mathbf{P}\tilde{\mathbf{A}}\|_{\mathsf{F}}^2 + c \le \mathbf{b}\|\mathbf{A} - \mathbf{P}\mathbf{A}\|_{\mathsf{F}}^2\,. The literature's \varepsilon is a = 1 - \varepsilon, \mathbf{b} = 1 + \varepsilon (two-sided) or a = 1 (one-sided), written so. A projector that is nearly optimal for the sketch is then nearly optimal for \mathbf{A} (NLAlib.IsProjectionCostPreserving.mul_frobNorm_sub_mul_sq_le), which is how a constrained low-rank problem (a set of rank-k projectors, k-means) is solved on a sketch. A subspace embedding of the row space of \mathbf{A} gives one for every k with offset 0.
The head–tail constructor. For a frame \mathbf{Z} whose residual \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} is at most the optimal one, a subspace embedding of \operatorname{range}\mathbf{Z} (the head) and approximate matrix multiplication of the tail \mathbf{E} against itself and against \mathbf{Z}, with upper Frobenius preservation of \mathbf{E}, give a projection-cost-preserving sketch whose dimension does not depend on the rank of \mathbf{A} (CEMMP's Lemma 6 at a frame split). Its random form, the predicate NLAlib.HasProjectionCostPreserving S A k a b δ μ on a sketch \mathbf{S} in the Sketching orientation (\tilde{\mathbf{A}} = \mathbf{A}\mathbf{S}^{\mathsf{H}}), is reached by a union bound over the four events, and from an OSE plus the JL moment property for every \mathbf{A} over \mathbb{R}. The family statements (Gaussian, sub-Gaussian, CountSketch) are in the family files.
Degenerate cases: for a \le 0 the lower half holds automatically and the consequence is vacuous; at k = 0 the only projector is \mathbf{0} and the predicate is a scaled preservation of \|\mathbf{A}\|_{\mathsf{F}}^2; for k \ge \lvert m \rvert the projector \mathbf{I} forces c = 0; at k = 0 the head is void and only the upper Frobenius preservation of \mathbf{A} remains, which is why the family sizes carry d + 1.
Main definitions
* NLAlib.IsProjectionCostPreserving A Ã k a b: the predicate. * NLAlib.HasProjectionCostPreserving S A k a b δ μ: its tail form for a random sketch. * NLAlib.projectionCostTailDim: the rows of the tail events at the family budgets, at present <!-- value projectionCostTailDim v d \varepsilon \delta --> 384 \cdot \mathbf{v} (d + 1)/(\varepsilon^2 \delta).
Main results
* NLAlib.IsProjectionCostPreserving.mono: monotonicity in the rank and the constants. * NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving: a subspace embedding of the row space is a projection-cost-preserving sketch for every rank. * NLAlib.IsProjectionCostPreserving.mul_frobNorm_sub_mul_sq_le: constrained low-rank approximation through the sketch. * NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving_of_hasOrthonormalCols: the head–tail constructor. * NLAlib.HasProjectionCostPreserving.mono, NLAlib.hasProjectionCostPreserving_conjTranspose_iff: monotonicity and the test-matrix orientation. * NLAlib.HasSubspaceEmbedding.hasProjectionCostPreserving, NLAlib.IsObliviousSubspaceEmbedding.hasProjectionCostPreserving: the row-space constructors on the event. * NLAlib.HasSubspaceEmbedding.hasProjectionCostPreserving_of_hasOrthonormalCols: the head–tail constructor on the event, by a union bound. * NLAlib.IsObliviousSubspaceEmbedding.hasProjectionCostPreserving_of_hasJLMoment: an OSE plus the JL moment property, over \mathbb{R}.
Declarations
- NLAlib.HasProjectionCostPreserving
- NLAlib.HasProjectionCostPreserving.mono
- NLAlib.HasSubspaceEmbedding.hasProjectionCostPreserving
- NLAlib.HasSubspaceEmbedding.hasProjectionCostPreserving_of_hasOrthonormalCols
- NLAlib.IsObliviousSubspaceEmbedding.hasProjectionCostPreserving
- NLAlib.IsObliviousSubspaceEmbedding.hasProjectionCostPreserving_of_hasJLMoment
- NLAlib.IsProjectionCostPreserving
- NLAlib.IsProjectionCostPreserving.mono
- NLAlib.IsProjectionCostPreserving.mul_frobNorm_sub_mul_sq_le
- NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving
- NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving_of_hasOrthonormalCols
- NLAlib.hasProjectionCostPreserving_conjTranspose_iff
- NLAlib.hasProjectionCostPreserving_of_isEmpty
- NLAlib.projectionCostTailDim
- NLAlib.projectionCostTailDim_def
- NLAlib.projectionCostTailDim_le
- NLAlib.projectionCostTailDim_mono
- NLAlib.projectionCostTailDim_nonneg