Randomized Linear Algebra Approaches to Estimate the Von Neumann Entropy of Density Matrices

Total Page:16

File Type:pdf, Size:1020Kb

Randomized Linear Algebra Approaches to Estimate the Von Neumann Entropy of Density Matrices Randomized Linear Algebra Approaches to Estimate the Von Neumann Entropy of Density Matrices Eugenia-Maria Kontopoulou Ananth Grama Wojciech Szpankowski Petros Drineas Purdue University Purdue University Purdue University Purdue University Computer Science Computer Science Computer Science Computer Science West Lafayette, IN, USA West Lafayette, IN, USA West Lafayette, IN, USA West Lafayette, IN, USA Email: [email protected] Email: [email protected] Email: [email protected] Email: [email protected] Abstract—The von Neumann entropy, named after John von Motivated by the above discussion, we seek numerical Neumann, is the extension of classical entropy concepts to the algorithms that approximate the von Neumann entropy of large field of quantum mechanics and, from a numerical perspective, density matrices, e.g., symmetric positive definite matrices can be computed simply by computing all the eigenvalues of a 3 density matrix, an operation that could be prohibitively expensive with unit trace, faster than the trivial O(n ) approach. Our for large-scale density matrices. We present and analyze two algorithms build upon recent developments in the field of randomized algorithms to approximate the von Neumann entropy Randomized Numerical Linear Algebra (RandNLA), an in- of density matrices: our algorithms leverage recent developments terdisciplinary research area that exploits randomization as a in the Randomized Numerical Linear Algebra (RandNLA) liter- computational resource to develop improved algorithms for ature, such as randomized trace estimators, provable bounds for the power method, and the use of Taylor series and Chebyschev large-scale linear algebra problems. Indeed, our work here polynomials to approximate matrix functions. Both algorithms focuses at the intersection of RandNLA and information come with provable accuracy guarantees and our experimental theory, delivering novel randomized linear algebra algorithms evaluations support our theoretical findings showing considerable and related quality-of-approximation results for a fundamental speedup with small accuracy loss. information-theoretic metric. I. INTRODUCTION A. Background Entropy is a fundamental quantity in many areas of science We will focus on finite-dimensional function (state) spaces. and engineering. The von Neumann entropy, named after John In this setting, the density matrix R represents the statistical von Neumann, is the extension of classical entropy concepts mixture of pure states, and from a linear algebraic perspective to the field of quantum mechanics, and its foundations can be can be written as traced to von Neumann’s work on Mathematische Grundlagen 1 T n×n der Quantenmechanik . In his work, Von Neumann introduced R = ΨΣpΨ 2 R ; (2) the notion of the density matrix, which facilitated the extension where Ψ 2 n×k is the orthonormal matrix whose columns of the tools of classical statistical mechanics to the quantum R k×k are the k pure states and Σp 2 R is a diagonal matrix domain in order to develop a theory of quantum measurements. whose entries are the (positive) pi’s. Let h(x) = x ln x for From a mathematical perspective (see Section I-A for de- any x > 0 and let h(0) = 0. Then, using the cyclical property tails) the density matrix R is a symmetric positive semidefinite of the trace and the definition of h(x) eqn. (1) becomes n×n matrix in with unit trace. Let pi, i = 1 : : : n be the X T R − pi ln pi = −tr Ψh(Σp)Ψ = −tr (h(R)) = −tr (R ln R) : R R eigenvalues of , in decreasing order; then, the entropy of i;pi>0 (3) is defined as n X The second equality follows from the definition of matrix H(R) = − p ln p : (1) i i functions [3]. i=1 We conclude the section by noting that our algorithms will The above definition is a proper extension of both the Gibbs use two tools that appeared in prior work. The first tool is entropy and the Shannon entropy to the quantum case and the power method, with a provable analysis that first appeared implies an obvious algorithm to compute H(R) by first in [4]. The second tool is a provably accurate trace estimation computing the eigendecomposition of R; known algorithms algorithm for symmetric positive semidefinite matrices that 3 for this task necessitate O(n ) time [1]. Clearly, as n grows, appeared in [5]. such running times are impractical. For example, [2] describes an entangled two-photon state generated by spontaneous para- B. Our contributions metric down-conversion, which can result in a density matrix We present and analyze two randomized algorithms to ap- with n ≈ 108. proximate the von Neumann entropy of density matrices, lever- 1Originally published in German in 1932; published in English under the aging two different polynomial approximations of the matrix title Mathematical Foundations of Quantum Mechanics in 1955. function H(R) = −tr (R ln R): the first approximation uses a Taylor series expansion while the second approximation uses of ill-conditioned matrices. However, the dependency of the Chebyschev polynomials. Both algorithms return, with high algorithm of Theorem 35 of [8] on terms like (log n/)6 or probability, relative-error approximations to the true entropy n1=3nnz(A)+npnnz(A) could blow up the running time of of the input density matrix, under certain assumptions. More the proposed algorithm for reasonably conditioned matrices. specifically, in both cases, we need to assume that the input We also note the recent work in [10], which used Taylor density matrix has n non-zero eigenvalues, or, equivalently, approximations to matrix functions to estimate the log determi- that the probabilities pi, i = 1 : : : n, corresponding to the nant of symmetric positive definite matrices (see also Section underlying n pure states are non-zero. The running time of 1.2 of [10] for an overview of prior work on approximating both algorithms is proportional to the sparsity of the input matrix functions via Taylor series). Finally, the work of [11] density matrix and depends (see Theorems 1 and 3 for precise used a Chebyschev polynomial approximation to estimate the statements) on, roughly, the ratio of the largest to the smallest log determinant of a matrix and is reminiscent of our approach probability p1=pn, as well as the desired accuracy. in Section III and, of course, the work of [2]. From a technical perspective, the theoretical analysis of both II. AN APPROACH VIA TAYLOR SERIES algorithms proceeds by combining the power of polynomial approximations, either using Taylor series or Chebyschev Our first approach to approximate the von Neumann entropy polynomials, to matrix functions, combined with randomized of a density matrix uses a Taylor series expansion to approxi- trace estimators. A provably accurate variant of the power mate the logarithm of a matrix, combined with a relative-error method is used to estimate the largest probability p1. If this trace estimator for symmetric positive semi-definite matrices estimate is significantly smaller than one, it can improve the and the power method to upper bound the largest singular running times of the proposed algorithms (see discussion after value of a matrix. Theorem 1). We note that while the power method introduces A. Algorithm and Main Theorem an additional nnz(R) log(n) term in the running time, in practice, its computational overhead is negligible. Our main result is an analysis of Algorithm 1 (see below) Finally, in Section IV, we present a highlight of our that guarantees relative error approximation to the entropy experimental evaluations of our algorithms on large-scale of the density matrix R, under the assumption that R = Pn T n×n synthetic density matrices, generated using Matlab’s QETLAB i=1 pi i i 2 R has n pure states with 0 < ` ≤ pi toolbox [6]. For a 30,000 by 30,000 matrix that was used in our for all i = 1 : : : n. The following theorem is our main quality- evaluations, the exact computation of the entropy takes hours, Algorithm 1 A Taylor series approach to estimate the entropy. whereas our algorithms return approximations with relative n×n errors well below 0:5% in only a few minutes. 1: INPUT: R 2 R , accuracy parameter " > 0, failure We conclude by noting that a longer version of this short probability δ, and integer m > 0. abstract is available in [7]. Indeed, we will often reference [7] 2: Estimate p~1 using the power method of [4] with t = for omitted proofs, omitted experimental evaluations, and O(ln n) and q = O(ln(1/δ)). detailed discussions that are omitted from this version due 3: Set u = minf1; 6~p1g. 2 to space considerations. 4: Set s = 20 ln(2/δ)=" . n 5: Let g1; g2;:::; gs 2 R be i.i.d. random Gaussian vec- C. Prior work tors. To the best of our knowledge, prior to this work, the only 6: OUTPUT: return s m > −1 k non-trivial algorithm to approximate the von Neumann entropy 1 X X g R(In − u R) gi Hb (R) = ln u−1 + i : of a density matrix appeared in [2]. Their approach is based s k on the Chebyschev polynomial expansion that we also analyze i=1 k=1 in Section III. However, our analysis is somewhat different and, overall, much tighter, leveraging a provably accurate of-approximation result for Algorithm 1. variant of the power method as well as provably accurate trace estimators to derive a relative error approximation to the Theorem 1. Let R be a density matrix such that all proba- entropy of a density matrix, under appropriate assumptions. A bilities pi, i = 1 : : : n satisfy 0 < ` ≤ pi. Let u be computed brief technical comparison between our results in Section III as in Algorithm 1 and let Hb (R) be the output of Algorithm 1 and the work of [2] appears in Section III-A, while a detailed on inputs R, m, and < 1; Then, with probability at least 1 − 2δ, comparison can be found in Section 3.3 of [7].
Recommended publications
  • Lecture Notes in One File
    Phys 6124 zipped! World Wide Quest to Tame Math Methods Predrag Cvitanovic´ January 2, 2020 Overview The career of a young theoretical physicist consists of treating the harmonic oscillator in ever-increasing levels of abstraction. — Sidney Coleman I am leaving the course notes here, not so much for the notes themselves –they cannot be understood on their own, without the (unrecorded) live lectures– but for the hyperlinks to various source texts you might find useful later on in your research. We change the topics covered year to year, in hope that they reflect better what a graduate student needs to know. This year’s experiment are the two weeks dedicated to data analysis. Let me know whether you would have preferred the more traditional math methods fare, like Bessels and such. If you have taken this course live, you might have noticed a pattern: Every week we start with something obvious that you already know, let mathematics lead us on, and then suddenly end up someplace surprising and highly non-intuitive. And indeed, in the last lecture (that never took place), we turn Coleman on his head, and abandon harmonic potential for the inverted harmonic potential, “spatiotemporal cats” and chaos, arXiv:1912.02940. Contents 1 Linear algebra7 HomeworkHW1 ................................ 7 1.1 Literature ................................ 8 1.2 Matrix-valued functions ......................... 9 1.3 A linear diversion ............................ 12 1.4 Eigenvalues and eigenvectors ...................... 14 1.4.1 Yes, but how do you really do it? . 18 References ................................... 19 exercises 20 2 Eigenvalue problems 23 HomeworkHW2 ................................ 23 2.1 Normal modes .............................. 24 2.2 Stable/unstable manifolds .......................
    [Show full text]
  • Introduction to Quantum Field Theory
    Utrecht Lecture Notes Masters Program Theoretical Physics September 2006 INTRODUCTION TO QUANTUM FIELD THEORY by B. de Wit Institute for Theoretical Physics Utrecht University Contents 1 Introduction 4 2 Path integrals and quantum mechanics 5 3 The classical limit 10 4 Continuous systems 18 5 Field theory 23 6 Correlation functions 36 6.1 Harmonic oscillator correlation functions; operators . 37 6.2 Harmonic oscillator correlation functions; path integrals . 39 6.2.1 Evaluating G0 ............................... 41 6.2.2 The integral over qn ............................ 42 6.2.3 The integrals over q1 and q2 ....................... 43 6.3 Conclusion . 44 7 Euclidean Theory 46 8 Tunneling and instantons 55 8.1 The double-well potential . 57 8.2 The periodic potential . 66 9 Perturbation theory 71 10 More on Feynman diagrams 80 11 Fermionic harmonic oscillator states 87 12 Anticommuting c-numbers 90 13 Phase space with commuting and anticommuting coordinates and quanti- zation 96 14 Path integrals for fermions 108 15 Feynman diagrams for fermions 114 2 16 Regularization and renormalization 117 17 Further reading 127 3 1 Introduction Physical systems that involve an infinite number of degrees of freedom are usually described by some sort of field theory. Almost all systems in nature involve an extremely large number of degrees of freedom. A droplet of water contains of the order of 1026 molecules and while each water molecule can in many applications be described as a point particle, each molecule has itself a complicated structure which reveals itself at molecular length scales. To deal with this large number of degrees of freedom, which for all practical purposes is infinite, we often regard a system as continuous, in spite of the fact that, at certain distance scales, it is discrete.
    [Show full text]
  • Journal of Computational and Applied Mathematics Exponentials of Skew
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Journal of Computational and Applied Mathematics 233 (2010) 2867–2875 Contents lists available at ScienceDirect Journal of Computational and Applied Mathematics journal homepage: www.elsevier.com/locate/cam Exponentials of skew-symmetric matrices and logarithms of orthogonal matrices João R. Cardoso a,b,∗, F. Silva Leite c,b a Institute of Engineering of Coimbra, Rua Pedro Nunes, 3030-199 Coimbra, Portugal b Institute of Systems and Robotics, University of Coimbra, Pólo II, 3030-290 Coimbra, Portugal c Department of Mathematics, University of Coimbra, 3001-454 Coimbra, Portugal article info a b s t r a c t Article history: Two widely used methods for computing matrix exponentials and matrix logarithms are, Received 11 July 2008 respectively, the scaling and squaring and the inverse scaling and squaring. Both methods become effective when combined with Padé approximation. This paper deals with the MSC: computation of exponentials of skew-symmetric matrices and logarithms of orthogonal 65Fxx matrices. Our main goal is to improve these two methods by exploiting the special structure Keywords: of skew-symmetric and orthogonal matrices. Geometric features of the matrix exponential Skew-symmetric matrix and logarithm and extensions to the special Euclidean group of rigid motions are also Orthogonal matrix addressed. Matrix exponential ' 2009 Elsevier B.V. All rights reserved. Matrix logarithm Scaling and squaring Inverse scaling and squaring Padé approximants 1. Introduction n×n Given a square matrix X 2 R , the exponential of X is given by the absolute convergent power series 1 X X k eX D : kW kD0 n×n X Reciprocally, given a nonsingular matrix A 2 R , any solution of the matrix equation e D A is called a logarithm of A.
    [Show full text]
  • The Exponential Map for the Group of Similarity Transformations and Applications to Motion Interpolation
    The exponential map for the group of similarity transformations and applications to motion interpolation Spyridon Leonardos1, Christine Allen–Blanchette2 and Jean Gallier3 Abstract— In this paper, we explore the exponential map The problem of motion interpolation has been studied and its inverse, the logarithm map, for the group SIM(n) of extensively both in the robotics and computer graphics n similarity transformations in R which are the composition communities. Since rotations can be represented by quater- of a rotation, a translation and a uniform scaling. We give a formula for the exponential map and we prove that it is nions, the problem of quaternion interpolation has been surjective. We give an explicit formula for the case of n = 3 investigated, an approach initiated by Shoemake [21], [22], and show how to efficiently compute the logarithmic map. As who extended the de Casteljau algorithm to the 3-sphere. an application, we use these algorithms to perform motion Related work was done by Barr et al. [2]. Moreover, Kim interpolation. Given a sequence of similarity transformations, et al. [13], [14] corrected bugs in Shoemake and introduced we compute a sequence of logarithms, then fit a cubic spline 4 that interpolates the logarithms and finally, we compute the various kinds of splines on the 3-sphere in R , using the interpolating curve in SIM(3). exponential map. Motion interpolation and rational motions have been investigated by Juttler¨ [9], [10], Juttler¨ and Wagner I. INTRODUCTION [11], [12], Horsch and Juttler¨ [8], and Roschel¨ [20]. Park and Ravani [18], [19] also investigated Bezier´ curves on The exponential map is ubiquitous in engineering appli- Riemannian manifolds and Lie groups and in particular, the cations ranging from dynamical systems and robotics to group of rotations.
    [Show full text]
  • Linear Algebra Review
    Appendix A Linear Algebra Review In this appendix, we review results from linear algebra that are used in the text. The results quoted here are mostly standard, and the proofs are mostly omitted. For more information, the reader is encouraged to consult such standard linear algebra textbooks as [HK]or[Axl]. Throughout this appendix, we let Mn.C/ denote the space of n n matrices with entries in C: A.1 Eigenvectors and Eigenvalues n For any A 2 Mn.C/; a nonzero vector v in C is called an eigenvector for A if there is some complex number such that Av D v: An eigenvalue for A is a complex number for which there exists a nonzero v 2 Cn with Av D v: Thus, is an eigenvalue for A if the equation Av D v or, equivalently, the equation .A I /v D 0; has a nonzero solution v: This happens precisely when A I fails to be invertible, which is precisely when det.A I / D 0: For any A 2 Mn.C/; the characteristic polynomial p of A is given by A previous version of this book was inadvertently published without the middle initial of the author’s name as “Brian Hall”. For this reason an erratum has been published, correcting the mistake in the previous version and showing the correct name as Brian C. Hall (see DOI http:// dx.doi.org/10.1007/978-3-319-13467-3_14). The version readers currently see is the corrected version. The Publisher would like to apologize for the earlier mistake.
    [Show full text]
  • Arxiv:2004.07192V2 [Quant-Ph] 14 May 2021
    Two-way covert quantum communication in the microwave regime R. Di Candia,1, ∗ H. Yi˘gitler,1 G. S. Paraoanu,2 and R. J¨antti1 1Department of Communications and Networking, Aalto University, Espoo, 02150 Finland 2QTF Centre of Excellence, Department of Applied Physics, Aalto University School of Science, FI-00076 AALTO, Finland Quantum communication addresses the problem of exchanging information across macroscopic distances by employing encryption techniques based on quantum mechanical laws. Here, we ad- vance a new paradigm for secure quantum communication by combining backscattering concepts with covert communication in the microwave regime. Our protocol allows communication between Alice, who uses only discrete phase modulations, and Bob, who has access to cryogenic microwave technology. Using notions of quantum channel discrimination and quantum metrology, we find the ultimate bounds for the receiver performance, proving that quantum correlations can enhance the signal-to-noise ratio by up to 6 dB. These bounds rule out any quantum illumination advantage when the source is strongly amplified, and shows that a relevant gain is possible only in the low photon-number regime. We show how the protocol can be used for covert communication, where the carrier signal is indistinguishable from the thermal noise in the environment. We complement our information-theoretic results with a feasible experimental proposal in a circuit QED platform. This work makes a decisive step toward implementing secure quantum communication concepts in the previously uncharted 1 − 10 GHz frequency range, in the scenario when the disposable power of one party is severely constrained. I. INTRODUCTION range. For instance, QKD security proofs require level of noises which at room temperature are reachable only by frequencies at least in the Terahertz band [8].
    [Show full text]
  • Computing Real Square Roots of a Real Matrix* LINEAR ALGEBRA
    Computing Real Square Roots of a Real Matrix* Nicholas J. Higham Department of Mathematics University of Manchester Manchester Ml3 9PL, England In memory of James H. WiIkinson Submitted by Hans Schneider ABSTRACT Bjiirck and Hammarling [l] describe a fast, stable Schur method for computing a square root X of a matrix A (X2 = A).We present an extension of their method which enables real arithmetic to be used throughout when computing a real square root of a real matrix. For a nonsingular real matrix A conditions are given for the existence of a real square root, and for the existence of a real square root which is a polynomial in A; thenumber of square roots of the latter type is determined. The conditioning of matrix square roots is investigated, and an algorithm is given for the computation of a well-conditioned square root. 1. INTRODUCTION Given a matrix A, a matrix X for which X2 = A is called a square root of A. Several authors have considered the computation of matrix square roots [3, 4, 9, 10, 15, 161. A particularly attractive method which utilizes the Schur decomposition is described by Bjiirck and Hammarling [l]; in general it requires complex arithmetic. Our main purpose is to show how the method can be extended so as to compute a real square root of a real matrix, if one exists, in real arithmetic. The theory behind the existence of matrix square roots is nontrivial, as can be seen by noting that while the n x n identity matrix has infinitely many square roots for n > 2 (any involutary matrix such as a Householder transformation is a square root), a nonsingular Jordan block has precisely two square roots (this is proved in Corollary 1).
    [Show full text]
  • Floquet Theory for Time Scales and Putzer Representations of Matrix Logarithms
    Taylor & Francis Journal of Difference Equations and Applications, Ta@rhFrancir tmup 2003 VOL.9 (1). pp. 77-92 Floquet Theory for Time Scales and Putzer Representations of Matrix Logarithms CALVIN D. AHLBRANDP,* and JERRY RIDENHOURb" aDepartment of Mathematics, University of Missouri, Columbia, MO 6521 1, USA; bDepartment of Mathematics and Statistics, Utah State University, Logan, UT 84322-3900, USA (Received 14 September 2001; Revised 9 October 2001; In final form 9 October 2001) Dedicated to Allan Peterson on the occasion of his 60th birthday. A Floquet theory is presented that generalizes known results for differential equations and for difference equations to the setting of dynamic equations on time scales. Since logarithms of matrices play a key role in Floquet theory, considerable effort is expended in producing case-free exact representations of the principal branch of the matrix logarithm. Such representations were fmt produced by Putzer as representations of matrix exponentials. Some representations depend on knowledge of the eigenvalues while others depend only on the coefficients of the characteristic polynomial. Logarithms of special forms of matrices are also considered. In particular, it is shown that the square of a nonsingular matrix with real entries has a logarithm with real entries. Keywords: Floquet theory; Matrix logarithm; Principal branch; Putzer representation 2000 AMS Subject ClassiJication: 39A10 1. INTRODUCTION The theory of dynamic equations on time scales (or, more generally, measure chains) was introduced in Stefan Hilger's PhD thesis in 1988. The theory presents a structure where, once a result is established for general time scales, special cases include a result for differential equations (obtained by taking the time scale to be the real numbers) and a result for difference equations (obtained by taking the time scale to be the integers).
    [Show full text]
  • Fast Computation of Von Neumann Entropy for Large-Scale Graphs Via Quadratic Approximations
    Linear Algebra and its Applications 585 (2020) 127–146 Contents lists available at ScienceDirect Linear Algebra and its Applications www.elsevier.com/locate/laa Fast computation of von Neumann entropy for large-scale graphs via quadratic approximations Hayoung Choi a,∗, Jinglian He b, Hang Hu b, Yuanming Shi b a Research Institute of Mathematics, Seoul National University, Republic of Korea b School of Information Science and Technology, ShanghaiTech University, China a r t i c l e i n f o a b s t r a c t Article history: The von Neumann graph entropy (VNGE) can be used as Received 21 November 2018 a measure of graph complexity, which can be the measure Accepted 24 September 2019 of information divergence and distance between graphs. Available online 1 October 2019 However, computing VNGE is extensively demanding for a Submitted by M. Benzi large-scale graph. We propose novel quadratic approximations MSC: for fast computing VNGE. Various inequalities for error 05C12 between the quadratic approximations and the exact VNGE 05C50 are found. Our methods reduce the cubic complexity of VNGE 05C80 to linear complexity. Computational simulations on random 05C90 graph models and various real network datasets demonstrate 81P45 superior performance. 81P68 © 2019 Elsevier Inc. All rights reserved. Keywords: Von Neumann entropy Von Neumann graph entropy Graph dissimilarity Density matrix 1. Introduction Graph is one of the most common representations of complex data. It has the sophis- ticated capability of representing and summarizing irregular structural features. Today, * Corresponding author. E-mail addresses: [email protected] (H. Choi), [email protected] (J.
    [Show full text]
  • Logarithms and Square Roots of Real Matrices Existence, Uniqueness, and Applications in Medical Imaging
    Logarithms and Square Roots of Real Matrices Existence, Uniqueness, and Applications in Medical Imaging Jean Gallier Department of Computer and Information Science University of Pennsylvania Philadelphia, PA 19104, USA [email protected] September 2, 2019 Abstract. The need for computing logarithms or square roots of real matrices arises in a number of applied problems. A significant class of problems comes from medical imag- ing. One of these problems is to interpolate and to perform statistics on data represented by certain kinds of matrices (such as symmetric positive definite matrices in DTI). Another important and difficult problem is the registration of medical images. For both of these prob- lems, the ability to compute logarithms of real matrices turns out to be crucial. However, not all real matrices have a real logarithm and thus, it is important to have sufficient conditions for the existence (and possibly the uniqueness) of a real logarithm for a real matrix. Such conditions (involving the eigenvalues of a matrix) are known, both for the logarithm and the square root. As far as I know, with the exception of Higham's recent book [18], proofs of the results involving these conditions are scattered in the literature and it is not easy to locate them. Moreover, Higham's excellent book assumes a certain level of background in linear algebra that readers interested in applications to medical imaging may not possess so we feel that a more elementary presentation might be a valuable supplement to Higham [18]. In this paper, I present a unified exposition of these results, including a proof of the existence of the Real Jordan Form, and give more direct proofs of some of these results using the Real Jordan Form.
    [Show full text]
  • Bayesian Inference of Log Determinants
    Bayesian Inference of Log Determinants Jack Fitzsimons1 Kurt Cutajar2 Michael Osborne1 Stephen Roberts1 Maurizio Filippone2 1 Information Engineering, University of Oxford, UK 2 Department of Data Science, EURECOM, France Abstract The standard approach for evaluating the log- determinant of a positive definite matrix involves The log-determinant of a kernel matrix ap- the use of Cholesky decomposition (Golub & Van Loan, pears in a variety of machine learning prob- 1996), which is employed in various applications of lems, ranging from determinantal point pro- statistical models such as kernel machines. However, cesses and generalized Markov random fields, the use of Cholesky decomposition for general dense 3 through to the training of Gaussian processes. matrices requires O(n ) operations, whilst also entail- 2 Exact calculation of this term is often in- ing memory requirements of O(n ). In view of this tractable when the size of the kernel matrix ex- computational bottleneck, various models requiring ceeds a few thousands. In the spirit of proba- the log-determinant for inference bypass the need to bilistic numerics, we reinterpret the problem of compute it altogether (Anitescu et al., 2012; Stein et al., computing the log-determinant as a Bayesian 2013; Cutajar et al., 2016; Filippone & Engler, 2015). inference problem. In particular, we com- Alternatively, several methods exploit sparsity and struc- bine prior knowledge in the form of bounds ture within the matrix itself to accelerate computations. from matrix theory and evidence derived from For example, sparsity in Gaussian Markov Random stochastic trace estimation to obtain proba- fields (GMRFs) arises from encoding conditional inde- bilistic estimates for the log-determinant and pendence assumptions that are readily available when its associated uncertainty within a given com- considering low-dimensional problems.
    [Show full text]
  • Means and Averaging in the Group of Rotations∗
    To appear in: SIAM J. MATRIX ANAL. APPL. MEANS AND AVERAGING IN THE GROUP OF ROTATIONS∗ MAHER MOAKHERy Abstract. In this paper we give precise definitions of different, properly invariant notions of mean or average rotation. Each mean is associated with a metric in SO(3). The metric induced from the Frobenius inner product gives rise to a mean rotation that is given by the closest special orthogonal matrix to the usual arithmetic mean of the given rotation matrices. The mean rotation associated with the intrinsic metric on SO(3) is the Riemannian center of mass of the given rotation matrices. We show that the Riemannian mean rotation shares many common features with the geometric mean of positive numbers and the geometric mean of positive Hermitian operators. We give some examples with closed-form solutions of both notions of mean. Key words. Special orthogonal group, Rotation, Geodesics, Operator means, Averaging AMS subject classifications. 47A64, 65F30 1. Introduction. In many applications, such as the study of plate tectonics [22] or sequence-dependent continuum modeling of DNA [19], experimental data are given as a sequence of three-dimensional orientation data that usually contain a substantial amount of noise. A common problem is to remove or reduce the noise by processing the raw data, for example by the construction of a suitable filter, in order to obtain appropriately smooth data. Three-dimensional orientation data are elements of the group of rotations that generally are given as a sequence of proper orthogonal matrices, or a sequence of Euler angles, or a sequence of unit quaternions, etc.
    [Show full text]