Lie PCA: Density Estimation for Symmetric Manifolds Arxiv:2008.04278V2 [Cs.LG] 13 Sep 2020

Lie PCA: Density Estimation for Symmetric Manifolds Arxiv:2008.04278V2 [Cs.LG] 13 Sep 2020

Lie PCA: Density estimation for symmetric manifolds Jameson Cahill∗ Dustin G. Mixonyz Hans Parshallx Abstract We introduce an extension to local principal component analysis for learning sym- metric manifolds. In particular, we use a spectral method to approximate the Lie algebra corresponding to the symmetry group of the underlying manifold. We derive the sample complexity of our method for a various manifolds before applying it to various data sets for improved density estimation. 1 Introduction Recent advances in machine learning have been made possible by exploiting symmetries and invariants in data. In 2003, Simard, Steinkraus and Platt [15] applied two different tricks in this spirit to achieve a record-breaking 0:40 percent error rate in classifying the MNIST database of handwritten digits. First, they augmented the training set using the observation that handwritten digits are closed under certain elastic distortions. Second, they exploited the translation invariance of images by applying a convolutional neural network architecture. In the time since, both data augmentation and convolutional neural networks have enabled substantial strides in image recognition (e.g., [11, 16]). These engineering feats have inspired various theoretical treatments of symmetries and invariants in data. Mallat's scattering transform [12, 3] provides a principled alternative to convolutional neural networks that exhibits translation invariance and stability to diffeo- morphisms. For settings beyond image classification, other symmetries and invariants must be considered. In this spirit, Cahill, Contreras and Contreras-Hip [5, 4] identified Lipschitz maps from a signal space Cn to a low-dimensional feature space in a way that distinguishes arXiv:2008.04278v2 [cs.LG] 13 Sep 2020 orbits in Cn under the action of a representation of a finite group. Another approach is to learn symmetries and invariants from the data. For example, principal component analysis can be viewed as a method of identifying symmetries under the action of a low-dimensional affine group. For classification tasks, one may seek large linear groups under which the classification is invariant; this approach has been used in [13, 8, 7]. In this paper, we consider another fundamental problem in this vein of symmetries and invariants in data. Suppose you are given the task of augmenting a modest training set. You ∗Department of Mathematics and Statistics, University of North Carolina Wilmington, Wilmington, NC yDepartment of Mathematics, The Ohio State University, Columbus, OH zTranslational Data Analytics Institute, The Ohio State University, Columbus, OH xDepartment of Mathematics, Western Washington University, Bellingham, WA 1 are told that there exists a Lie group of deformations (such as elastic distortions) that could be used for this task, but you are not told what the Lie group is. Can you estimate the Lie group from the data? In order to measure performance for this task, we phrase the problem in terms of density estimation: Given a sample fxigi2[n] from some unknown distribution d supported on some unknown symmetric manifold in R , produce fysgs2[N] with N n that approximates random draws from this unknown distribution. In the next section, we propose an extension to local principal component analysis for this task. Our algorithm amounts to a spectral method that estimates the underlying Lie algebra from both the points fxigi2[n] and estimates fTigi2[n] of the tangent spaces at these points. In Section 3, we analyze the sample complexity of this approach. As one would hope, we find that fewer samples are necessary when the manifold has lower dimension and its symmetry group has higher dimension. We apply our method to the density estimation problem in Section 4, and we conclude in Section 5 with a discussion. 2 Derivation of Lie PCA Given a manifold M ⊆ Rd, denote its symmetry group by Sym(M) := fA 2 GL(d): AM = Mg: We are interested in M for which Sym(M) is a Lie group and the orbits of M under the action of Sym(M) are nontrivial. (See [10] for an elementary introduction to matrix Lie groups.) For example, if M is the unit sphere, then Sym(M) = O(d), which is a Lie group. Also, if Sym(M) acts transitively on M (e.g., O(d) acts transitively on the unit sphere), then M is the orbit of any point in M. Let sym(M) ⊆ Rd×d denote the Lie algebra of Sym(M), that is, the set of all matrices of the form f 0(0), where f is a differentiable function from some open interval 0 2 I ⊆ R to Sym(M) such that f(0) = id. Then the matrix exponential maps sym(M) onto the connected component of Sym(M) that contains id. Notice that members of Sym(M) that are close to id can be realized as eA, where A 2 sym(M) is close to the zero matrix. Furthermore, for each A 2 Cd×d, it holds that tA ke − id k2!2 = (1 + o(1)) · kAk2!2 · jtj as t ! 0; indeed, it is easy to verify this for diagonalizable matrices, which are dense in the set of complex matrices. As such, if we know sym(M), then for every x 2 M, it holds that eAx is a slight perturbation of x in M for every small A 2 sym(M). This is the heart of our approach to the density estimation problem, but in order for this to work, we first need to estimate sym(M) from a sample fxigi2[n] of M. We accomplish this in two steps: 1. Use fxigi2[n] to obtain an estimate fTigi2[n] of the tangent spaces fTxi Mgi2[n]. 2. Use fxigi2[n] and fTigi2[n] to obtain an estimate of sym(M). The first step above is well understood: local PCA. That is, for each i 2 [n], we select the xj's closest to xi and run principal component analysis (PCA) on this subcollection to estimate Ti. For the second step, we apply Algorithm 1, which we derive in this section. Our approach is motivated by the following observation: 2 Algorithm 1: Lie principal component analysis d Data: Sample fxigi2[n] of M ⊆ R , estimate fTigi2[n] of fTxi Mgi2[n], and ` 2 N Result: Estimate of Lie algebra sym(M) d×d d×d P Define Σ: ! by Σ(A) := proj ? ·A · proj . R R i2[n] Ti spanfxig Compute eigenvectors fvjgj2[`] of Σ corresponding to the ` smallest eigenvalues. Output spanfvjgj2[`]. Lemma 1. For every x 2 M and A 2 sym(M), it holds that Ax 2 TxM. Proof. Fix x 2 M and A 2 sym(M). Consider any differentiable function f : I ! Sym(M) such that f(0) = id and f 0(0) = A. Then g : I ! M defined by g(t) := f(t)x is differentiable 0 0 with g(0) = f(0)x = x, and so Ax = f (0)x = g (0) 2 TxM. For each x 2 M, denote d×d SxM := fA 2 R : Ax 2 TxMg: By Lemma 1, we have SxM ⊇ sym(M) for every x 2 M. Given a sample fxigi2[n] in M and T corresponding tangent spaces fTxi Mgi2[n], we may estimate sym(M) by i2[n] Sxi M. We seek a numerically robust version of this estimate. To this end, it is convenient to write ? \ X ? X Sx M = (Sx M) = ker proj ? : (1) i i (Sxi M) i2[n] i2[n] i2[n] The terms in this sum have a convenient expression: ? Lemma 2. For every x 2 M n f0g, it holds that proj(SxM) (A) = projNxM ·A · projspanfxg. ? Our proof of this lemma makes use of the following expression for (SxM) : Lemma 3. For every x 2 M, it holds that > d×d (a) SxM = fyx + B : y 2 TxM; B 2 R ; Bx = 0g, and ? > (b) (SxM) = fzx : z 2 NxMg. d×d Proof. In the case where x = 0, we have SxM = R and both (a) and (b) are immediate. It remains to consider the case in which x 6= 0. (a) First, (⊇) follows from the fact that > 2 −2 (yx + B)x = kxk y 2 TxM. For (⊆), given A 2 SxM, take y = kxk Ax and B = −2 > > A(I − kxk xx ) so that A = yx + B with y 2 TxM and Bx = 0. (b) First, (⊇) follows from the fact that hzx>; yx> + Bi = tr((zx>)>(yx> + B)) = tr(xz>(yx> + B)) = kxk2z>y + z>Bx = 0: ? d ? > For (⊆), suppose Z 2 (SxM) . For every u 2 R and v 2 spanfxg , since B = uv 2 SxM satisfies Bx = 0, we have 0 = hZ; uv>i = tr(Z>uv>) = v>Z>u = hZv; ui. Since u 2 Rd is arbitrary, it follows that Zv = 0, and since v 2 spanfxg? is arbitrary, we conclude that > d > Z = zx for some z 2 R . Next, for every y 2 TxM, since yx 2 SxM, it holds that > > > 2 ? 0 = hZ; yx i = tr(Z yx ) = kxk hz; yi, and so z 2 (TxM) = NxM, as desired. 3 d×d ? Proof of Lemma 2. Fix A 2 R . We seek the member of (SxM) that is closest to A in ? > Frobenius norm. By Lemma 3(b), every member of (SxM) takes the form zx for some z 2 NxM. Letting P denote orthogonal projection onto NxM, then Cauchy{Schwarz gives > 2 2 > > 2 kA − zx kF = kAkF − 2hA; zx i + kzx kF 2 2 2 = kAkF − 2hAx; zi + kzk2kxk2 2 2 2 = kAkF − 2hP Ax; zi + kzk2kxk2 2 2 2 2 2 2 ≥ kAkF − 2kP Axk2kzk2 + kzk2kxk2 ≥ min(kAkF − 2kP Axk2 · t + kxk2 · t ): t≥0 Equality is achieved in the first inequality precisely when z is a positive multiple of P Ax.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    18 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us