arXiv reader

On Subspace Approximation and Subset Selection in Fewer Passes by MCMC Sampling

Amit Deshpande and Rameshwar Pratap

arXiv
2103.11107v1 · PDF · 20 March 2021
Categories
cs.CG, cs.LG, math.SP, stat.ML
Licence
CC BY 4.0 The site shows the text.

Abstract

We consider the problem of subset selection for \ell_{p} subspace approximation, i.e., given n points in d dimensions, we need to pick a small, representative subset of the given points such that its span gives (1+\epsilon) approximation to the best k-dimensional subspace that minimizes the sum of p-th powers of distances of all the points to this subspace. Sampling-based subset selection techniques require adaptive sampling iterations with multiple passes over the data. Matrix sketching techniques give a single-pass (1+\epsilon) approximation for \ell_{p} subspace approximation but require additional passes for subset selection. In this work, we propose an MCMC algorithm to reduce the number of passes required by previous subset selection algorithms based on adaptive sampling. For p=2, our algorithm gives subset selection of nearly optimal size in only 2 passes, whereas the number of passes required in previous work depend on k. Our algorithm picks a subset of size \mathrm{poly}(k/\epsilon) that gives (1+\epsilon) approximation to the optimal subspace. The running time of the algorithm is nd + d~\mathrm{poly}(k/\epsilon). We extend our results to the case when outliers are present in the datasets, and suggest a two pass algorithm for the same. Our ideas also extend to give a reduction in the number of passes required by adaptive sampling algorithms for \ell_{p} subspace approximation and subset selection, for p \geq 2.

Items 14

Lemma

Lemma 4.1

YJLT

Let \epsilon_1, \epsilon_2 \in (0, 1) and \tilde{S} \subseteq S \subseteq \mathcal{X}. Then for m \geq 1+ \frac{2}{\epsilon_1}\log \tfrac{1}{\epsilon_2}, either \mathrm{err}_{p}(\mathcal{X}, S) \leq \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) or \left\|P^{(1)}(\cdot \;|\; S) - \tilde{P}^{(1)}_{m}(\cdot \;|\; S)\right\|_{TV} \leq \epsilon_{2}t.

Used by Proof
Proof of Lemma 4.1

Consider the l=1, t=1 case of the above MCMC sampling procedure. In this case, the procedure outputs only one element of \mathcal{X}. This random element is picked by m steps of the following random walk. We first pick x with probability q(x), then we sample a y with probability q(y), we compute p(x), p(y) and sample a number uniformly at random from the interval (0, 1), and if p(y) q(x)/p(x) q(y) > \mathrm{Unif}(0,1), then the random walk moves from x to y and updates p(x) as p(y). Observe that the stationary distribution of the above random walk is the adaptive sampling distribution w.r.t. S given by p(x) = d(x, \operatorname{span}\left(S\right))^{p}/\mathrm{err}_{p}(\mathcal{X}, S). Using Corollary 1 of [cai], the total variation distance after m steps of the random walk is bounded by

\left(1 - \frac{1}{\gamma}\right)^{m-1} \leq e^{-(m-1)/\gamma} \leq \epsilon_{2}, \quad \text{where $\gamma = \max_{x \in \mathcal{X}} \frac{p(x)}{q(x)}$}.

The above bound is at most \epsilon_{2} if we choose to run the random walk for m \geq 1+\gamma \log \frac{1}{\epsilon_2} steps. Now suppose \mathrm{err}_{p}(\mathcal{X}, S) > \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}). Then, for any x \in \mathcal{X}

\frac{p(x)}{q(x)} = \dfrac{\dfrac{d(x, \operatorname{span}\left(S\right))^{p}}{\mathrm{err}_{p}(\mathcal{X}, S)}}{\dfrac{1}{2}\dfrac{d(x, \operatorname{span}\left(\tilde{S}\right))^{p}}{\mathrm{err}_{p}(\mathcal{X}, \tilde{S})} + \dfrac{1}{2 \left|\mathcal{X}\right|}} \leq \dfrac{2~ d(x, \operatorname{span}\left(S\right))^{p}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})}{d(x, \operatorname{span}\left(\tilde{S}\right))^{p}~ \mathrm{err}_{p}(\mathcal{X}, S)} \leq \frac{2}{\epsilon_{1}},

using \tilde{S} \subseteq S and the above assumption \mathrm{err}_{p}(\mathcal{X}, S) > \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}). Therefore, m > \frac{2}{\epsilon_{1}} \log\frac{1}{\epsilon_{2}} ensures that m steps of the random walk gives a distribution within total variation distance \epsilon_{2} from the adaptive sampling distribution for picking a single point.

Note that for t > 1 both the adaptive sampling and the MCMC sampling procedure pick an i.i.d. sample of t points, so the total variation distance is additive in t, which means

\left\|P^{(1)}(\cdot \;|\; S) - \tilde{P}^{(1)}_{m}(\cdot \;|\; S)\right\|_{TV} \leq \epsilon_{2}t,

assuming \mathrm{err}_{p}(\mathcal{X}, S) > \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}). This completes the proof the lemma.

Lemma

Lemma 4.2

70M5

For any subset S_{0} \subseteq \mathcal{X}, any \epsilon_{1}, \epsilon_{2} \in (0, 1) and any positive integers t, l, m with m \geq 1+\frac{2}{\epsilon_2}\log \frac{1}{\epsilon_1},

\underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \left(\epsilon_{1} + \epsilon_{2} t l\right) \mathrm{err}_{p}(\mathcal{X}, S_{0}).
Used by Proof
Proof of Lemma 4.2

We show a slightly stronger inequality than the one given above, i.e., for any S_{0} such that \tilde{S} \subseteq S_{0},

\begin{aligned} & \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \left(\epsilon_{1} \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \epsilon_{2} t l\right) \mathrm{err}_{p}(\mathcal{X}, \tilde{S}). \end{aligned}

The special case S_{0} = \tilde{S} gives the lemma. We prove the above-mentioned stronger statement by induction on l. For l=0, the above inequality holds trivially. Now assuming induction hypothesis, the above holds true for l-1 iterations (instead of l) starting with any subset S_{1} = S_{0} \cup A \subseteq \mathcal{X} because \tilde{S} \subseteq S_{0} \subseteq S_{1}.

\begin{aligned} & \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & = \underset{S_{1} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right]\right] \\ & = \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 1} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad \qquad + \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right]. \end{aligned}

If \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 1 then \mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l}) \leq \mathrm{err}_{p}(\mathcal{X}, S_{1}) \leq \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, S_{0}), so the first part of the above sum can be bounded as follows.

\begin{aligned} & \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 1} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \leq \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, S_{0}) \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 1} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right]. \end{aligned}

Now, the second part can be bounded as follows.

\begin{aligned} & \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & = \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \leq \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0}) \cdot \\ & \qquad \left(\underset{T_{2:l} \;|\; S_{1}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] + \left(\epsilon_{1}~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] + \epsilon_{2} t (l-1)\right) \mathrm{err}_{p}(\mathcal{X}, \tilde{S})\right) \\ & \qquad \qquad \text{by applying the induction hypothesis to $(l-1)$ iterations starting from $S_{1}$} \\ & \leq \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} P^{(1)}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{2} t (l-1)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0}) \\ & \qquad + \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \left|\tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0}) - P^{(1)}(S_{1} \;|\; S_{0})\right|~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \leq \sum_{S_{1}} P^{(1)}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{2} t (l-1)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) + \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \left|\tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0}) - P^{(1)}(S_{1} \;|\; S_{0})\right|~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & \qquad + \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{2} t (l-1)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) + \left\|\tilde{P}^{(1)}(\cdot \;|\; S_{0}) - P^{(1)}(\cdot \;|\; S_{0})\right\|_{TV}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & \qquad + \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1} \;:\; \mathrm{ind}_{p}(\mathcal{X}, S_{1}) = 0} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{2} t (l-1)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) + \epsilon_{2} t~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}), \end{aligned}

using Lemma 4.1 about the total variation distance between P^{(1)} and \tilde{P}^{(1)} distributions. Plugging the bounds \eqref{eq:part-1-ind} and \eqref{eq:part-2-ind} into \eqref{eq:parts-by-ind}, we get

\begin{aligned} & \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \epsilon_{1}~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S})~ \sum_{S_{1}} \tilde{P}^{(1)}_{m}(S_{1} \;|\; S_{0})~ \underset{T_{2:l} \;|\; S_{1}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{1} \cup T_{2:l})\right] \\ & \qquad + \epsilon_{2} t (l-1)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) + \epsilon_{2} t~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) \\ & = \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \left(\epsilon_{1} \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{ind}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \epsilon_{2} tl\right)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}) \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \left(\epsilon_{1} + \epsilon_{2} t l\right)~ \mathrm{err}_{p}(\mathcal{X}, \tilde{S}), \end{aligned}

which completes the proof of Lemma 4.2.

Proposition

Proposition 4.3

YN6B

Let k be any positive integer and let \epsilon \in (0, 1). Let S_{0} be any subset S_{0} \subseteq \mathcal{X}. If S_{l} = S_{0} \cup T_{1:l} be obtained by starting from S_{0} and doing adaptive sampling in l iterations, where in each iteration we add t points from \mathcal{X}, then we have \left|S_{l}\right| = \left|S_{0}\right| + tl and

\underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{2}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \leq \left(1 + \frac{2k}{t}\right)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) + \left(\frac{k}{t}\right)^{l}~ \mathrm{err}_{2}(\mathcal{X}, S_{0}),

where V^{*} minimizes \mathrm{err}_{2}(\mathcal{X}, V) over all linear subspaces V of dimension k.

Used by Proof
Proof of Proposition 4.3

Follows directly from Corollary 1 in [DBLP:conf/approx/DeshpandeV06].

Proposition

Proposition 4.4

AAT3

(Immediate from Theorem 1.3, [DeshpandeRVW06]) If S_{0} \subseteq \mathcal{X} is a random subset of size k picked according to \alpha-approximate volume sampling probability, i.e.,

\operatorname{Pr}\left(S\right) \leq \frac{\alpha~ \operatorname{vol}(\Delta_{S})^{2}}{\sum_{T \;:\; \left|T\right|=k} \operatorname{vol}(\Delta_{T})^{2}},

then \mathrm{err}_{2}(\mathcal{X}, S_{0}) is at most \alpha (k+1)~ \mathrm{err}_{p}(\mathcal{X}, V^{*}), in expectation, where V^{*} minimizes \mathrm{err}_{2}(\mathcal{X}, V) over all linear subspaces V of dimension k..

Used by Proof, Proof
Theorem

Theorem 4.5

P107

Let k be any positive integer and let \epsilon \in (0, 1). Let S_{0} be a subset of k points sampled from \mathcal{X} using \alpha-approximate volume sampling for p=2. Let S_{l} = S_{0} \cup T_{1:l} be obtained by starting from S_{0} and doing l iterations of MCMC sampling, where in each iteration we add t points from \mathcal{X} by running t independent random walks for m steps each. Then for t = 8k/\epsilon, l = \log(2\alpha(k+1)/\epsilon)/\log(8/\epsilon) and m \geq 1 + 128k \alpha \log^{2}(2\alpha/\epsilon)/\epsilon^{2} \log(8/\epsilon), we have

\underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{2}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \leq (1+\epsilon)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}),

where V^{*} minimizes \mathrm{err}_{2}(\mathcal{X}, V) over all linear subspaces V of dimension k.

Used by Proof
Proof of Theorem 4.5

We use the following setting of parameters t, l, \epsilon_{1}, \epsilon_{2}, m as functions of k, \epsilon, \alpha.

\begin{aligned} t & = \frac{8k}{\epsilon}, \qquad l = \frac{\log(2\alpha(k+1)/\epsilon)}{\log(8/\epsilon)}, \qquad \epsilon_{1} = \frac{\epsilon}{8\alpha (k+1)}, \qquad \text{and} \\ \epsilon_{2} & = \frac{\epsilon}{8tl\alpha(k+1)} = \frac{\epsilon^{2} \log (8/\epsilon)}{64k(k+1) \alpha \log(2\alpha/\epsilon)}, \\ m & = 1 + \frac{2}{\epsilon_{2}} \log\frac{1}{\epsilon_{1}} = 1 + \frac{128k(k+1) \alpha \log^{2}(2\alpha/\epsilon)}{\epsilon^{2} \log(8/\epsilon)} \end{aligned}

We have

\begin{aligned} & \underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \\ & \leq \underset{T_{1:l} \;|\; S_{0}}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S_{0} \cup T_{1:l})\right] + \left(\epsilon_{1} + \epsilon_{2} t l\right)~ \mathrm{err}_{p}(\mathcal{X}, S_{0}) \\ & \hspace{6cm} \text{by Lemma \ref{lemma:induction} and $m \geq 1+\frac{2}{\epsilon_{2}}\log \frac{1}{\epsilon_{1}}$} \\ & \leq \left(1 + \frac{2k}{t}\right)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) + \left(\frac{k}{t}\right)^{l}~ \mathrm{err}_{2}(\mathcal{X}, S_{0}) + \left(\epsilon_{1} + \epsilon_{2} t l\right)~ \mathrm{err}_{2}(\mathcal{X}, S_{0}) \\ & \hspace{6cm} \text{by Proposition \ref{prop:adaptive-iterations}} \\ & \leq \left(1 + \frac{\epsilon}{4}\right)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) + \frac{\epsilon}{2\alpha(k+1)} \alpha(k+1)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) \\ & \qquad \qquad + \left(\frac{\epsilon}{8\alpha(k+1)} + \frac{\epsilon}{8\alpha(k+1)}\right) \alpha (k+1)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) \\ & \hspace{6cm} \text{by Proposition \ref{prop:l2-vol} and plugging in $t, l, \epsilon_{1}, \epsilon_{2}$} \\ & \leq \left(1 + \frac{\epsilon}{4}\right)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) + \frac{\epsilon}{2}~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) + \frac{\epsilon}{4}~ \mathrm{err}_{2}(\mathcal{X}, V^{*}) \\ & \leq (1+\epsilon)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}). \end{aligned}
Theorem

Theorem 4.6

MRSZ

Let k be any positive integer and let \epsilon \in (0, 1). Algorithm ? can be implemented in 2 passes over \mathcal{X}, with \alpha-approximate volume sampling to pick a subset S_{0} of size k taking one pass over \mathcal{X} and the remaining MCMC procedure with S_{0} as its pivot subset taking another pass. Setting t, l, m as t = 8k/\epsilon, l = \log(2/\epsilon)/\log(8/\epsilon) and m \geq 1 + 128k \log^{2}(2(k+2)/\epsilon)/\epsilon^{2} \log(8/\epsilon), the algorithm picks a subset of tl = O(k \log k/\epsilon) points given by T_{1:l} = A_{1} \cup A_{2} \cup \dotsc \cup A_{l} such that

\underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\mathrm{err}_{2}(\mathcal{X}, S_{0} \cup T_{1:l})\right] \leq (1+\epsilon)~ \mathrm{err}_{2}(\mathcal{X}, V^{*}),

where V^{*} minimizes \mathrm{err}_{2}(\mathcal{X}, V) over all linear subspaces V of dimension k. This gives a near-optimal O(k \log k/\epsilon)-sized subset selection with (1+\epsilon) approximation guarantee in only 2 passes over \mathcal{X}. The running time of MCMC procedure is d\cdot \mathrm{poly}(k/\epsilon).

Proof of Theorem 4.6

Anari et al. [anari2016monte] give an MCMC algorithm to sample approximately from volume sampling. They start with any subset S, pick i \in S and j \notin S uniformly at random, and perform a lazy random walk over k-sized subsets, i.e., move to T = S \setminus \{i\} \cup \{j\} with probability \frac{1}{2} \min\{1, \frac{\mathrm{vol}(\Delta_{T})^{2}}{\mathrm{vol}(\Delta_{S})^{2}}\}, and with the remaining probability stay at S. They show that in \text{poly}(n, k, \log(1/\delta \mathrm{vol}(\Delta_{S})) steps of the above random walk starting at S, the resulting distribution is within \delta total variation distance from the exact volume sampling distribution. Thus, using Proposition 4.4 with \alpha = 1 and adding the error due to total variation distance, we get that the expected error \mathrm{err}_{2}(\mathcal{X}, S) at the end of \text{poly}(n, k, \log(1/\delta \mathrm{vol}(\Delta_{S})) steps of the above random walk is at most (k+1)~ \mathrm{err}_{p}(\mathcal{X}, V^{*}) + \delta \max_{S \;:\; \left|S\right|=k} \mathrm{err}_{p}(\mathcal{X}, S), where V^{*} minimizes \mathrm{err}_{2}(\mathcal{X}, V) over all linear subspaces V of dimension k. We choose \delta as follows.

\delta = \frac{1}{\kappa} = \frac{\sigma_{\min}}{\sigma_{\max}} \leq \frac{\min_{S \;:\; \left|S\right|=k} \mathrm{err}_{p}(\mathcal{X}, S)}{\max_{S \;:\; \left|S\right|=k} \mathrm{err}_{p}(\mathcal{X}, S)},

where \sigma_{\min} and \sigma_{\max} are the minimum and the maximum singular values, respectively, of the n-by-d matrix whose rows are all the points in \mathcal{X}, and \kappa is the condition number. Then the expected error of \mathrm{err}_{2}(\mathcal{X}, S) is at most (k+2)~ \mathrm{err}_{p}(\mathcal{X}, V^{*}). Observe that \min_{S \;:\; \left|S\right|=k} \mathrm{vol}(\Delta_{S})^{2} \geq \sigma_{\min}^{k}. Note that for the above choice of \delta and any k-sized subset S \subseteq \mathcal{X}, we can upper bound \log(1/\delta \mathrm{vol}(\Delta_{S})^{2}) by O(k \log \kappa), where \kappa is the condition number of the n-by-d matrix whose rows are the points of \mathcal{X}. Thus, in total number of \text{poly}(n, k, \log \kappa) steps of the random walk we get an initial subset S_{0} with \mathrm{err}_{2}(\mathcal{X}, S_{0}) upper bounded by (k+2)~ \mathrm{err}_{2}(\mathcal{X}, S^{*}), in expectation.

Another alternative to implement approximate volume sampling is to do a (1+\epsilon) volume-preseving random projection using only one pass over the given data [DBLP:conf/approx/MagenZ08], and then do exact volume sampling on the projected data in \mathrm{poly}(k/\epsilon) dimensions. This gives another alternative to obtain the initial subset S_{0}.

The rest of the proof using MCMC sampling algorithm starting from S_{0} using the same subset as a pivot is similar to the proof of Theorem 4.5.

The running time of MCMC procedure is O(tlm \cdot d(tl)^2)=d\cdot\mathrm{poly}(k/\epsilon), where d\cdot(tl)^2 is the time required to project a point onto \mathrm{span}(S), where S is a subset of O(tl) points of dimension d each.

Theorem

Theorem 4.7 (Theorem 1 of )

0W59

Let S_0 be the subset of k points sampled using volume sampling stated in line ? of Algorithm ?. Then we have \underset{S}{\operatorname{E}}\left[\mathrm{err}_{p}(\mathcal{X}, S)^{p}\right] \leq k! (k+1)^{p}~ \mathrm{err}_{p}(\mathcal{X}, S^{*}), where S^{*} = \underset{S \;:\; \left|S\right| = k}{\operatorname{argmin}}~ \mathrm{err}_{2}(\mathcal{X}, S).

Theorem

Theorem 5.1

4ZEN

For any given set of points \mathcal{X}=\{x_i\}_{i=1}^n \in \mathbb{R}^{d}, let I \subseteq [n] be the set of optimal (1-\beta)n inliers and S^{*}_I be the optimal subspace over inliers that minimizes their squared distance. Let the input satisfy the condition stated in Equation (?), and k be a positive integer, and \epsilon\in(0, 1). Then Algorithm ? can be implemented in 2 passes over \mathcal{X}, with \alpha-approximate volume sampling to pick a subset S_{0} of size k taking one pass over \mathcal{X} and the remaining MCMC procedure with S_{0} as its pivot subset taking another pass. Setting t, l, m as t = O(k/\epsilon), l = O(\log(\alpha k/\epsilon\lambda)/\log(1/\epsilon)) and m \geq 1 + O( (\alpha k/\lambda) \log^{2}(\alpha k/\epsilon\lambda)/\epsilon^{2} \log(1/\epsilon)), the algorithm picks a subset of tl = O(k^2 \log k/\epsilon^2) points given by T_{1:l} = A_{1} \cup A_{2} \cup \dotsc \cup A_{l} such that

\underset{T_{1:l} \;|\; S_{0}}{\operatorname{\tilde{E}}}\left[\sum_{j\in N_{\beta}(S_{0} \cup T_{1:l})}d(x_j, S_{0} \cup T_{1:l})^2\right] \leq (1+\epsilon)~ \sum_{i\in I}d(x_i, S^{*}_I)^2,

where S^{*}_I = \underset{S \;:\; \left|S\right| = k}{\operatorname{argmin}}~ \sum_{i\in I}d(x_i, S)^2, and N_{\beta}(S_{0} \cup T_{1:l}) \subseteq [n] denotes the set of the indices of the nearest (1-\beta)n points to (S_{0} \cup T_{1:l}) among x_{1}, x_{2}, \dotsc, x_{n}. This gives a near-optimal O(k^2 \log k/\epsilon^2)-sized subset selection with (1+\epsilon) approximation guarantee over inliers in only 2 passes over \mathcal{X}.

Proof of Theorem 5.1

Follows from Theorems 11, 12 of [DBLP:journals/tcs/DeshpandeP21] and Theorem 4.5 of this paper.

Source and licence

The text on this page is from arXiv:2103.11107v1 by Amit Deshpande and Rameshwar Pratap, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2103/2103.11107.jsonl.