Quaternion Product Units for Deep Learning on 3D Rotation Groups

Total Page:16

File Type:pdf, Size:1020Kb

Quaternion Product Units for Deep Learning on 3D Rotation Groups Quaternion Product Units for Deep Learning on 3D Rotation Groups Xuan Zhang1, Shaofei Qin1, Yi Xu∗1, and Hongteng Xu2 1MoE Key Lab of Artificial Intelligence, AI Institute 2Infinia ML, Inc. 1Shanghai Jiao Tong University, Shanghai, China 2Duke University, Durham, NC, USA {floatlazer, 1105042987, xuyi}@sjtu.edu.cn, [email protected] Abstract methods have made efforts to enhance their robustness to rotations [4, 6, 29, 3, 26]. However, the architectures of We propose a novel quaternion product unit (QPU) to their models are tailored for the data in the Euclidean space, represent data on 3D rotation groups. The QPU lever- rather than 3D rotation data. In particular, the 3D rotation ages quaternion algebra and the law of 3D rotation group, data are not closed under the algebraic operations used in representing 3D rotation data as quaternions and merg- their models (i.e., additions and multiplications).1 The mis- ing them via a weighted chain of Hamilton products. We matching between data and model makes these methods dif- prove that the representations derived by the proposed QPU ficult to analyze the influence of rotations on their outputs can be disentangled into “rotation-invariant” features and quantitatively. Although this mismatching problem can be “rotation-equivariant” features, respectively, which sup- mitigated by augmenting training data with additional rota- ports the rationality and the efficiency of the QPU in the- tions [18], this solution gives us no theoretical guarantee. ory. We design quaternion neural networks based on our To overcome the challenge mentioned above, we pro- QPUs and make our models compatible with existing deep posed a novel quaternion product unit (QPU) for 3D ro- learning models. Experiments on both synthetic and real- tation data, which establishes an efficient and interpretable world data show that the proposed QPU is beneficial for mechanism to enhance the robustness of deep learning mod- the learning tasks requiring rotation robustness. els to rotations. As illustrated in Figure 1a, for each 3D ro- tation, we represent it as a unit quaternion, whose imaginary part indicates the direction of its rotation axis, and the real 1. Introduction part corresponds to the cosine of its rotation angle, respec- tively. Taking N quaternions as its inputs, the QPU first ap- Representing 3D data like point clouds and skeletons plies quaternion power operation to each input, scaling their is essential for many real-world applications, such as au- rotation angles and rotation axes, respectively. Then, it ap- tonomous driving [17, 37], robotics [30], and gaming [2, plies a chain of Hamilton products to merge the weighted 16]. In practice, we often model these 3D data as the collec- quaternions and output a rotation accordingly. The parame- tion of points on a 3D rotation group SO(3), e.g., a skeleton ters of the QPU consists of the scaling coefficients and the can be represented by the rotations between adjacent joints. bias introduced to the rotation angles. Accordingly, the uncertainty hidden in these data is usually The proposed QPU leverages quaternion algebra and the caused by the randomness on rotations. For example, in ac- law of 3D rotation groups, merging the inputs as one quater- tion recognition, the human skeletons with different orienta- nion. Because 3D rotation group is closed under the op- tions may represent the same action [27, 35]; in autonomous erations used in our QPU, the output is still a valid rota- driving, the point clouds with different directions may cap- tion. Moreover, given a dataset X ⊂ SO(3)N , where each ture the same vehicle [37]. Facing to the 3D data with such x = [x1,...,xN ] ∈ X contains N rotations, we can de- rotation discrepancies, we often require the corresponding fine two kinds of rotation robustness for a mapping function representation methods to be robust to rotations. f : SO(3)N 7→ SO(3): Currently, many deep learning-based representation Rotation-invariance f(R(x)) = f(x), ∀x ∈X . Rotation-equivariance f(R(x)) = R(f(x)), ∀x ∈X . ∗The corresponding author of this paper is Yi Xu ([email protected]). This work was supported in part by NSFC 61671298, STCSM 1For example, adding two 3D rotation matrices together or multiplying 18DZ2270700, and 111 Plan B07022. a scalar with a 3D rotation matrix will not result in a valid rotation matrix. 7304 <latexit sha1_base64="faJ5eHrwtQ7ihADjNg1ukcJYv/8=">AAACHXicbVDLSsNAFJ3UV62vqEs3g0VwISVpi4+FUHTTZQX7gCYNk+mkHTqZpDMToYT8iBt/xY0LRVy4Ef/GpC2i1gMzHM65l3vvcUNGpTKMTy23tLyyupZfL2xsbm3v6Lt7LRlEApMmDlggOi6S hFFOmooqRjqhIMh3GWm7o+vMb98RIWnAb9UkJLaPBpx6FCOVSo5etXykhq4XjxN4CbtjxzyBY6ecfRW7F1sqCBNoUQ5ndW5cT3oVRy8aJWMKuEjMOSmCORqO/m71Axz5hCvMkJRd0wiVHSOhKGYkKViRJCHCIzQg3ZRy5BNpx9PrEniUKn3oBSJ9XMGp+rMjRr6UE99N K7Md5V8vE//zupHyzu2Y8jBShOPZIC9iUAUwiwr2qSBYsUlKEBY03RXiIRIIqzTQwjSEiwyn3ycvkla5ZFZK1ZtqsXY1jyMPDsAhOAYmOAM1UAcN0AQY3INH8AxetAftSXvV3malOW3esw9+Qfv4AmekoQg=</latexit> <latexit sha1_base64="skCmEW1j8iZiTSYoGF0hGgm/f9k=">AAACAnicbVDLSsNAFJ3UV62vqCtxM1gEF1ISLT4WQtGNywr2AWkIk+mkHTqZxJlJoYTixl9x40IRt36FO//GSVpErQcuHM65l3vv8WNGpbKsT6MwN7+wuFRcLq2srq1vmJtbTRklApMGjlgk2j6S hFFOGooqRtqxICj0GWn5g6vMbw2JkDTit2oUEzdEPU4DipHSkmfu3Hk2vICO9OxD2AmR6vtBOhx7tuuZZati5YCzxJ6SMpii7pkfnW6Ek5BwhRmS0rGtWLkpEopiRsalTiJJjPAA9YijKUchkW6avzCG+1rpwiASuriCufpzIkWhlKPQ153ZkfKvl4n/eU6igjM3pTxO FOF4sihIGFQRzPKAXSoIVmykCcKC6lsh7iOBsNKplfIQzjOcfL88S5pHFfu4Ur2plmuX0ziKYBfsgQNgg1NQA9egDhoAg3vwCJ7Bi/FgPBmvxtuktWBMZ7bBLxjvXzF4li4=</latexit> <latexit sha1_base64="/E/a8q2+WHcCf0O0pAszmFVJdrk=">AAACAnicbVDLSsNAFJ34rPUVdSVuBovgQkoSi4+FUHTjsoJ9QBrCZDpph04ezkwKJRQ3/oobF4q49Svc+TdO0iBqPXDhcM693HuPFzMqpGF8anPzC4tLy6WV8ura+samvrXdElHCMWniiEW84yFB GA1JU1LJSCfmBAUeI21veJX57RHhgkbhrRzHxAlQP6Q+xUgqydV371wLXkBbuNYR7AZIDjw/HU1cy3H1ilE1csBZYhakAgo0XP2j24twEpBQYoaEsE0jlk6KuKSYkUm5mwgSIzxEfWIrGqKACCfNX5jAA6X0oB9xVaGEufpzIkWBEOPAU53ZkeKvl4n/eXYi/TMnpWGc SBLi6SI/YVBGMMsD9ignWLKxIghzqm6FeIA4wlKlVs5DOM9w8v3yLGlZVfO4WrupVeqXRRwlsAf2wSEwwSmog2vQAE2AwT14BM/gRXvQnrRX7W3aOqcVMzvgF7T3LzYqljE=</latexit> <latexit sha1_base64="CrrIxxh5DpNiciBRzVw1XfUlCOE=">AAAB8XicbVDLSgNBEOyNrxhfUY9eBoPgKWw0+LgFvXiMYB6YLGF2MpsMmZ1ZZmaFsOQvvHhQxKt/482/cXaziBoLGoqqbrq7/IgzbVz30yksLa+srhXXSxubW9s75d29tpaxIrRFJJeq62NNORO0 ZZjhtBspikOf044/uU79zgNVmklxZ6YR9UI8EixgBBsr3fd9NpKGhVQPyhW36mZAi6SWkwrkaA7KH/2hJHFIhSEca92ruZHxEqwMI5zOSv1Y0wiTCR7RnqUC2yVekl08Q0dWGaJAKlvCoEz9OZHgUOtp6NvOEJux/uul4n9eLzbBhZcwEcWGCjJfFMQcGYnS99GQKUoM n1qCiWL2VkTGWGFibEilLITLFGffLy+S9km1dlqt39Yrjas8jiIcwCEcQw3OoQE30IQWEBDwCM/w4mjnyXl13uatBSef2YdfcN6/AOcukTU=</latexit> <latexit sha1_base64="KoO5naGICEI+n1h4X2tzma7TwW4=">AAACPnicbVBBa9swGJXTbc2ydcvaYy9iYbDDCE4X2u1QCNslxw6WJhCbICufExFZdqXPYUH4l/XS39Dbjrv00FJ23XG2Y0bW9IHg8d73SU8vSKQw6Lo/ndrOk6fPduvPGy9e7r163Xyzf27iVHMY 8FjGehQwA1IoGKBACaNEA4sCCcNg8bXwh0vQRsTqO64S8CM2UyIUnGEuTZqDi4mNU8zoKR17CD+wvNJqmGbWrK3sA91wAplCZr2I4TwI7TKrZnxPqLUY2H42abbctluCbpNORVqkwtmkee1NY55GoJBLZsy44yboW6ZRcAlZw0sNJIwv2AzGOVUsAuPbMlFG3+XKlIax zo9CWqqbG5ZFxqyiIJ8sEpqHXiE+5o1TDD/5VqgkRVB8/VCYSooxLbqkU6GBo1zlhHEt8qyUz5lmHPPGG2UJnwsc//vyNjk/anc+trvfuq3el6qOOjkkb8l70iEnpEf65IwMCCeX5Be5JXfOlXPj3Du/16M1p9o5IP/B+fMXCLGzYw==</latexit> <latexit sha1_base64="g1JzUogRNPJwWRViH3uwLJ84EBk=">AAACAnicbVDLSsNAFJ34rPUVdSVuBovgQkpiio+FUHTjsoJ9QBrCZDpph04ezkwKJRQ3/oobF4q49Svc+TdO0iBqPXDhcM693HuPFzMqpGF8anPzC4tLy6WV8ura+samvrXdElHCMWniiEW84yFB GA1JU1LJSCfmBAUeI21veJX57RHhgkbhrRzHxAlQP6Q+xUgqydV371wLXkBbuNYR7AZIDjw/HU1cy3H1ilE1csBZYhakAgo0XP2j24twEpBQYoaEsE0jlk6KuKSYkUm5mwgSIzxEfWIrGqKACCfNX5jAA6X0oB9xVaGEufpzIkWBEOPAU53ZkeKvl4n/eXYi/TMnpWGc SBLi6SI/YVBGMMsD9ignWLKxIghzqm6FeIA4wlKlVs5DOM9w8v3yLGkdV02rWrupVeqXRRwlsAf2wSEwwSmog2vQAE2AwT14BM/gRXvQnrRX7W3aOqcVMzvgF7T3LzrcljQ=</latexit> q =[q ,q ,q ]> 2 H3 <latexit sha1_base64="faJ5eHrwtQ7ihADjNg1ukcJYv/8=">AAACHXicbVDLSsNAFJ3UV62vqEs3g0VwISVpi4+FUHTTZQX7gCYNk+mkHTqZpDMToYT8iBt/xY0LRVy4Ef/GpC2i1gMzHM65l3vvcUNGpTKMTy23tLyyupZfL2xsbm3v6Lt7LRlEApMmDlggOi6S hFFOmooqRjqhIMh3GWm7o+vMb98RIWnAb9UkJLaPBpx6FCOVSo5etXykhq4XjxN4CbtjxzyBY6ecfRW7F1sqCBNoUQ5ndW5cT3oVRy8aJWMKuEjMOSmCORqO/m71Axz5hCvMkJRd0wiVHSOhKGYkKViRJCHCIzQg3ZRy5BNpx9PrEniUKn3oBSJ9XMGp+rMjRr6UE99N K7Md5V8vE//zupHyzu2Y8jBShOPZIC9iUAUwiwr2qSBYsUlKEBY03RXiIRIIqzTQwjSEiwyn3ycvkla5ZFZK1ZtqsXY1jyMPDsAhOAYmOAM1UAcN0AQY3INH8AxetAftSXvV3malOW3esw9+Qfv4AmekoQg=</latexit> 1 2 3 Quaternion Product Unit Layer 1 q =[s , v ] q =[s , v ] Weighting Chained <latexit sha1_base64="skCmEW1j8iZiTSYoGF0hGgm/f9k=">AAACAnicbVDLSsNAFJ3UV62vqCtxM1gEF1ISLT4WQtGNywr2AWkIk+mkHTqZxJlJoYTixl9x40IRt36FO//GSVpErQcuHM65l3vv8WNGpbKsT6MwN7+wuFRcLq2srq1vmJtbTRklApMGjlgk2j6S hFFOGooqRtqxICj0GWn5g6vMbw2JkDTit2oUEzdEPU4DipHSkmfu3Hk2vICO9OxD2AmR6vtBOhx7tuuZZati5YCzxJ6SMpii7pkfnW6Ek5BwhRmS0rGtWLkpEopiRsalTiJJjPAA9YijKUchkW6avzCG+1rpwiASuriCufpzIkWhlKPQ153ZkfKvl4n/eU6igjM3pTxO FOF4sihIGFQRzPKAXSoIVmykCcKC6lsh7iOBsNKplfIQzjOcfL88S5pHFfu4Ur2plmuX0ziKYBfsgQNgg1NQA9egDhoAg3vwCJ7Bi/FgPBmvxtuktWBMZ7bBLxjvXzF4li4=</latexit> 1 1 1 <latexit sha1_base64="skCmEW1j8iZiTSYoGF0hGgm/f9k=">AAACAnicbVDLSsNAFJ3UV62vqCtxM1gEF1ISLT4WQtGNywr2AWkIk+mkHTqZxJlJoYTixl9x40IRt36FO//GSVpErQcuHM65l3vv8WNGpbKsT6MwN7+wuFRcLq2srq1vmJtbTRklApMGjlgk2j6S hFFOGooqRtqxICj0GWn5g6vMbw2JkDTit2oUEzdEPU4DipHSkmfu3Hk2vICO9OxD2AmR6vtBOhx7tuuZZati5YCzxJ6SMpii7pkfnW6Ek5BwhRmS0rGtWLkpEopiRsalTiJJjPAA9YijKUchkW6avzCG+1rpwiASuriCufpzIkWhlKPQ153ZkfKvl4n/eU6igjM3pTxO FOF4sihIGFQRzPKAXSoIVmykCcKC6lsh7iOBsNKplfIQzjOcfL88S5pHFfu4Ur2plmuX0ziKYBfsgQNgg1NQA9egDhoAg3vwCJ7Bi/FgPBmvxtuktWBMZ7bBLxjvXzF4li4=</latexit> 1 1 1 Hamilton Product QPU Layer 2 q =[s , v ] q =[s , v ] <latexit sha1_base64="/E/a8q2+WHcCf0O0pAszmFVJdrk=">AAACAnicbVDLSsNAFJ34rPUVdSVuBovgQkoSi4+FUHTjsoJ9QBrCZDpph04ezkwKJRQ3/oobF4q49Svc+TdO0iBqPXDhcM693HuPFzMqpGF8anPzC4tLy6WV8ura+samvrXdElHCMWniiEW84yFB
Recommended publications
  • Quaternions and Cli Ord Geometric Algebras
    Quaternions and Cliord Geometric Algebras Robert Benjamin Easter First Draft Edition (v1) (c) copyright 2015, Robert Benjamin Easter, all rights reserved. Preface As a rst rough draft that has been put together very quickly, this book is likely to contain errata and disorganization. The references list and inline citations are very incompete, so the reader should search around for more references. I do not claim to be the inventor of any of the mathematics found here. However, some parts of this book may be considered new in some sense and were in small parts my own original research. Much of the contents was originally written by me as contributions to a web encyclopedia project just for fun, but for various reasons was inappropriate in an encyclopedic volume. I did not originally intend to write this book. This is not a dissertation, nor did its development receive any funding or proper peer review. I oer this free book to the public, such as it is, in the hope it could be helpful to an interested reader. June 19, 2015 - Robert B. Easter. (v1) [email protected] 3 Table of contents Preface . 3 List of gures . 9 1 Quaternion Algebra . 11 1.1 The Quaternion Formula . 11 1.2 The Scalar and Vector Parts . 15 1.3 The Quaternion Product . 16 1.4 The Dot Product . 16 1.5 The Cross Product . 17 1.6 Conjugates . 18 1.7 Tensor or Magnitude . 20 1.8 Versors . 20 1.9 Biradials . 22 1.10 Quaternion Identities . 23 1.11 The Biradial b/a .
    [Show full text]
  • Arxiv:1001.0240V1 [Math.RA]
    Fundamental representations and algebraic properties of biquaternions or complexified quaternions Stephen J. Sangwine∗ School of Computer Science and Electronic Engineering, University of Essex, Wivenhoe Park, Colchester, CO4 3SQ, United Kingdom. Email: [email protected] Todd A. Ell† 5620 Oak View Court, Savage, MN 55378-4695, USA. Email: [email protected] Nicolas Le Bihan GIPSA-Lab D´epartement Images et Signal 961 Rue de la Houille Blanche, Domaine Universitaire BP 46, 38402 Saint Martin d’H`eres cedex, France. Email: [email protected] October 22, 2018 Abstract The fundamental properties of biquaternions (complexified quaternions) are presented including several different representations, some of them new, and definitions of fundamental operations such as the scalar and vector parts, conjugates, semi-norms, polar forms, and inner and outer products. The notation is consistent throughout, even between representations, providing a clear account of the many ways in which the component parts of a biquaternion may be manipulated algebraically. 1 Introduction It is typical of quaternion formulae that, though they be difficult to find, once found they are immediately verifiable. J. L. Synge (1972) [43, p34] arXiv:1001.0240v1 [math.RA] 1 Jan 2010 The quaternions are relatively well-known but the quaternions with complex components (complexified quaternions, or biquaternions1) are less so. This paper aims to set out the fundamental definitions of biquaternions and some elementary results, which, although elementary, are often not trivial. The emphasis in this paper is on the biquaternions as an applied algebra – that is, a tool for the manipulation ∗This paper was started in 2005 at the Laboratoire des Images et des Signaux (now part of the GIPSA-Lab), Grenoble, France with financial support from the Royal Academy of Engineering of the United Kingdom and the Centre National de la Recherche Scientifique (CNRS).
    [Show full text]
  • Vectors, Matrices and Coordinate Transformations
    S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between them, physical laws can often be written in a simple form. Since we will making extensive use of vectors in Dynamics, we will summarize some of their important properties. Vectors For our purposes we will think of a vector as a mathematical representation of a physical entity which has both magnitude and direction in a 3D space. Examples of physical vectors are forces, moments, and velocities. Geometrically, a vector can be represented as arrows. The length of the arrow represents its magnitude. Unless indicated otherwise, we shall assume that parallel translation does not change a vector, and we shall call the vectors satisfying this property, free vectors. Thus, two vectors are equal if and only if they are parallel, point in the same direction, and have equal length. Vectors are usually typed in boldface and scalar quantities appear in lightface italic type, e.g. the vector quantity A has magnitude, or modulus, A = |A|. In handwritten text, vectors are often expressed using the −→ arrow, or underbar notation, e.g. A , A. Vector Algebra Here, we introduce a few useful operations which are defined for free vectors. Multiplication by a scalar If we multiply a vector A by a scalar α, the result is a vector B = αA, which has magnitude B = |α|A. The vector B, is parallel to A and points in the same direction if α > 0.
    [Show full text]
  • Bearing Rigidity Theory in SE(3) Giulia Michieletto, Angelo Cenedese, Antonio Franchi
    Bearing Rigidity Theory in SE(3) Giulia Michieletto, Angelo Cenedese, Antonio Franchi To cite this version: Giulia Michieletto, Angelo Cenedese, Antonio Franchi. Bearing Rigidity Theory in SE(3). 55th IEEE Conference on Decision and Control, Dec 2016, Las Vegas, United States. hal-01371084 HAL Id: hal-01371084 https://hal.archives-ouvertes.fr/hal-01371084 Submitted on 23 Sep 2016 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Preprint version, final version at http://ieeexplore.ieee.org/ 55th IEEE Conference on Decision and Control. Las Vegas, NV, 2016 Bearing Rigidity Theory in SE(3) Giulia Michieletto, Angelo Cenedese, and Antonio Franchi Abstract— Rigidity theory has recently emerged as an ef- determines the infinitesimal rigidity properties of the system, ficient tool in the control field of coordinated multi-agent providing a necessary and sufficient condition. In such a systems, such as multi-robot formations and UAVs swarms, that context, a framework is generally represented by means of are characterized by sensing, communication and movement capabilities. This work aims at describing the rigidity properties the bar-and-joint model where agents are represented as for frameworks embedded in the three-dimensional Special points joined by bars whose fixed lengths enforce the inter- Euclidean space SE(3) wherein each agent has 6DoF.
    [Show full text]
  • Chapter 5 ANGULAR MOMENTUM and ROTATIONS
    Chapter 5 ANGULAR MOMENTUM AND ROTATIONS In classical mechanics the total angular momentum L~ of an isolated system about any …xed point is conserved. The existence of a conserved vector L~ associated with such a system is itself a consequence of the fact that the associated Hamiltonian (or Lagrangian) is invariant under rotations, i.e., if the coordinates and momenta of the entire system are rotated “rigidly” about some point, the energy of the system is unchanged and, more importantly, is the same function of the dynamical variables as it was before the rotation. Such a circumstance would not apply, e.g., to a system lying in an externally imposed gravitational …eld pointing in some speci…c direction. Thus, the invariance of an isolated system under rotations ultimately arises from the fact that, in the absence of external …elds of this sort, space is isotropic; it behaves the same way in all directions. Not surprisingly, therefore, in quantum mechanics the individual Cartesian com- ponents Li of the total angular momentum operator L~ of an isolated system are also constants of the motion. The di¤erent components of L~ are not, however, compatible quantum observables. Indeed, as we will see the operators representing the components of angular momentum along di¤erent directions do not generally commute with one an- other. Thus, the vector operator L~ is not, strictly speaking, an observable, since it does not have a complete basis of eigenstates (which would have to be simultaneous eigenstates of all of its non-commuting components). This lack of commutivity often seems, at …rst encounter, as somewhat of a nuisance but, in fact, it intimately re‡ects the underlying structure of the three dimensional space in which we are immersed, and has its source in the fact that rotations in three dimensions about di¤erent axes do not commute with one another.
    [Show full text]
  • Hypercomplex Numbers
    Hypercomplex numbers Johanna R¨am¨o Queen Mary, University of London [email protected] We have gradually expanded the set of numbers we use: first from finger counting to the whole set of positive integers, then to positive rationals, ir- rational reals, negatives and finally to complex numbers. It has not always been easy to accept new numbers. Negative numbers were rejected for cen- turies, and complex numbers, the square roots of negative numbers, were considered impossible. Complex numbers behave like ordinary numbers. You can add, subtract, multiply and divide them, and on top of that, do some nice things which you cannot do with real numbers. Complex numbers are now accepted, and have many important applications in mathematics and physics. Scientists could not live without complex numbers. What if we take the next step? What comes after the complex numbers? Is there a bigger set of numbers that has the same nice properties as the real numbers and the complex numbers? The answer is yes. In fact, there are two (and only two) bigger number systems that resemble real and complex numbers, and their discovery has been almost as dramatic as the discovery of complex numbers was. 1 Complex numbers Complex numbers where discovered in the 15th century when Italian math- ematicians tried to find a general solution to the cubic equation x3 + ax2 + bx + c = 0: At that time, mathematicians did not publish their results but kept them secret. They made their living by challenging each other to public contests of 1 problem solving in which the winner got money and fame.
    [Show full text]
  • For Deep Rotation Learning with Uncertainty
    A Smooth Representation of Belief over SO(3) for Deep Rotation Learning with Uncertainty Valentin Peretroukhin,1;3 Matthew Giamou,1 David M. Rosen,2 W. Nicholas Greene,3 Nicholas Roy,3 and Jonathan Kelly1 1Institute for Aerospace Studies, University of Toronto; 2Laboratory for Information and Decision Systems, 3Computer Science & Artificial Intelligence Laboratory, Massachusetts Institute of Technology Abstract—Accurate rotation estimation is at the heart of unit robot perception tasks such as visual odometry and object pose quaternions ✓ ✓ q = q<latexit sha1_base64="BMaQsvdb47NYnqSxvFbzzwnHZhA=">AAACLXicbVDLSsQwFE19W9+6dBMcBBEcWh+o4EJw41LBGYWZKmnmjhMmbTrJrTiUfodb/QK/xoUgbv0NM50ivg4ETs65N/fmhIkUBj3v1RkZHRufmJyadmdm5+YXFpeW60almkONK6n0VcgMSBFDDQVKuEo0sCiUcBl2Twb+5R1oI1R8gf0EgojdxqItOEMrBc06cFQ66+XXm/RmseJVvQL0L/FLUiElzm6WHLfZUjyNIEYumTEN30swyJhGwSXkbjM1kDDeZbfQsDRmEZggK7bO6bpVWrSttD0x0kL93pGxyJh+FNrKiGHH/PYG4n9eI8X2QZCJOEkRYj4c1E4lRUUHEdCW0PbXsm8J41rYXSnvMM042qB+TLlPmDaQU7dZvJb1UmHD3JIM4X7LdJRGnqKp2lvuFukdFqBDsr9bkkP/K736dtXfqe6d71aOj8ocp8gqWSMbxCf75JickjNSI5z0yAN5JE/Os/PivDnvw9IRp+xZIT/gfHwCW8eo/g==</latexit> ⇤ ✓ estimation. Deep neural networks have provided a new way to <latexit sha1_base64="1dHo/MB41p5RxdHfWHI4xsZNFIs=">AAACXXicbVDBbtNAEN24FIopbdoeOHBZESFxaWRDqxIBUqVeOKEgkbRSHEXjzbhZde11d8cokeWP4Wu4tsee+itsHIMI5UkrvX1vZmfnxbmSloLgruVtPNp8/GTrqf9s+/nObntvf2h1YQQOhFbaXMRgUckMByRJ4UVuENJY4Xl8dbb0z7+jsVJn32iR4ziFy0wmUgA5adL+EA1RkDbldcU/8SgxIMrfUkQzJKiqMvqiTfpAribtTtANavCHJGxIhzXoT/ZafjTVokgxI6HA2lEY5DQuwZAUCis/KizmIK7gEkeOZpCiHZf1lhV/7ZQpT7RxJyNeq393lJBau0hjV5kCzey/3lL8nzcqKHk/LmWWF4SZWA1KCsVJ82VkfCqN21wtHAFhpPsrFzNwSZELdm3KPAdjseJ+VL9WXhfShX+ogHB+aGfakCjIdt2t8uv0ejX4ipwcNaQX/klv+LYbvusefz3qnH5sctxiL9kr9oaF7ISdss+szwZMsB/sJ7tht617b9Pb9nZWpV6r6Tlga/Be/ALwHroe</latexit>
    [Show full text]
  • Split Quaternions and Spacelike Constant Slope Surfaces in Minkowski 3- Space
    Split Quaternions and Spacelike Constant Slope Surfaces in Minkowski 3- Space Murat Babaarslan and Yusuf Yayli Abstract. A spacelike surface in the Minkowski 3-space is called a constant slope surface if its position vector makes a constant angle with the normal at each point on the surface. These surfaces completely classified in [J. Math. Anal. Appl. 385 (1) (2012) 208-220]. In this study, we give some relations between split quaternions and spacelike constant slope surfaces in Minkowski 3-space. We show that spacelike constant slope surfaces can be reparametrized by using rotation matrices corresponding to unit timelike quaternions with the spacelike vector parts and homothetic motions. Subsequently we give some examples to illustrate our main results. Mathematics Subject Classification (2010). Primary 53A05; Secondary 53A17, 53A35. Key words: Spacelike constant slope surface, split quaternion, homothetic motion. 1. Introduction Quaternions were discovered by Sir William Rowan Hamilton as an extension to the complex number in 1843. The most important property of quaternions is that every unit quaternion represents a rotation and this plays a special role in the study of rotations in three- dimensional spaces. Also quaternions are an efficient way understanding many aspects of physics and kinematics. Many physical laws in classical, relativistic and quantum mechanics can be written nicely using them. Today they are used especially in the area of computer vision, computer graphics, animations, aerospace applications, flight simulators, navigation systems and to solve optimization problems involving the estimation of rigid body transformations. Ozdemir and Ergin [9] showed that a unit timelike quaternion represents a rotation in Minkowski 3-space.
    [Show full text]
  • Quaternion Algebra and Calculus
    Quaternion Algebra and Calculus David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. Created: March 2, 1999 Last Modified: August 18, 2010 Contents 1 Quaternion Algebra 2 2 Relationship of Quaternions to Rotations3 3 Quaternion Calculus 5 4 Spherical Linear Interpolation6 5 Spherical Cubic Interpolation7 6 Spline Interpolation of Quaternions8 1 This document provides a mathematical summary of quaternion algebra and calculus and how they relate to rotations and interpolation of rotations. The ideas are based on the article [1]. 1 Quaternion Algebra A quaternion is given by q = w + xi + yj + zk where w, x, y, and z are real numbers. Define qn = wn + xni + ynj + znk (n = 0; 1). Addition and subtraction of quaternions is defined by q0 ± q1 = (w0 + x0i + y0j + z0k) ± (w1 + x1i + y1j + z1k) (1) = (w0 ± w1) + (x0 ± x1)i + (y0 ± y1)j + (z0 ± z1)k: Multiplication for the primitive elements i, j, and k is defined by i2 = j2 = k2 = −1, ij = −ji = k, jk = −kj = i, and ki = −ik = j. Multiplication of quaternions is defined by q0q1 = (w0 + x0i + y0j + z0k)(w1 + x1i + y1j + z1k) = (w0w1 − x0x1 − y0y1 − z0z1)+ (w0x1 + x0w1 + y0z1 − z0y1)i+ (2) (w0y1 − x0z1 + y0w1 + z0x1)j+ (w0z1 + x0y1 − y0x1 + z0w1)k: Multiplication is not commutative in that the products q0q1 and q1q0 are not necessarily equal.
    [Show full text]
  • ROTATION THEORY These Notes Present a Brief Survey of Some
    ROTATION THEORY MICHALMISIUREWICZ Abstract. Rotation Theory has its roots in the theory of rotation numbers for circle homeomorphisms, developed by Poincar´e. It is particularly useful for the study and classification of periodic orbits of dynamical systems. It deals with ergodic averages and their limits, not only for almost all points, like in Ergodic Theory, but for all points. We present the general ideas of Rotation Theory and its applications to some classes of dynamical systems, like continuous circle maps homotopic to the identity, torus homeomorphisms homotopic to the identity, subshifts of finite type and continuous interval maps. These notes present a brief survey of some aspects of Rotation Theory. Deeper treatment of the subject would require writing a book. Thus, in particular: • Not all aspects of Rotation Theory are described here. A large part of it, very important and deserving a separate book, deals with homeomorphisms of an annulus, homotopic to the identity. Including this subject in the present notes would make them at least twice as long, so it is ignored, except for the bibliography. • What is called “proofs” are usually only short ideas of the proofs. The reader is advised either to try to fill in the details himself/herself or to find the full proofs in the literature. More complicated proofs are omitted entirely. • The stress is on the theory, not on the history. Therefore, references are not cited in the text. Instead, at the end of these notes there are lists of references dealing with the problems treated in various sections (or not treated at all).
    [Show full text]
  • The Devil of Rotations Is Afoot! (James Watt in 1781)
    The Devil of Rotations is Afoot! (James Watt in 1781) Leo Dorst Informatics Institute, University of Amsterdam XVII summer school, Santander, 2016 0 1 The ratio of vectors is an operator in 2D Given a and b, find a vector x that is to c what b is to a? So, solve x from: x : c = b : a: The answer is, by geometric product: x = (b=a) c kbk = cos(φ) − I sin(φ) c kak = ρ e−Iφ c; an operator on c! Here I is the unit-2-blade of the plane `from a to b' (so I2 = −1), ρ is the ratio of their norms, and φ is the angle between them. (Actually, it is better to think of Iφ as the angle.) Result not fully dependent on a and b, so better parametrize by ρ and Iφ. GAViewer: a = e1, label(a), b = e1+e2, label(b), c = -e1+2 e2, dynamicfx = (b/a) c,g 1 2 Another idea: rotation as multiple reflection Reflection in an origin plane with unit normal a x 7! x − 2(x · a) a=kak2 (classic LA): Now consider the dot product as the symmetric part of a more fundamental geometric product: 1 x · a = 2(x a + a x): Then rewrite (with linearity, associativity): x 7! x − (x a + a x) a=kak2 (GA product) = −a x a−1 with the geometric inverse of a vector: −1 2 FIG(7,1) a = a=kak . 2 3 Orthogonal Transformations as Products of Unit Vectors A reflection in two successive origin planes a and b: x 7! −b (−a x a−1) b−1 = (b a) x (b a)−1 So a rotation is represented by the geometric product of two vectors b a, also an element of the algebra.
    [Show full text]
  • Rotation Matrix - Wikipedia, the Free Encyclopedia Page 1 of 22
    Rotation matrix - Wikipedia, the free encyclopedia Page 1 of 22 Rotation matrix From Wikipedia, the free encyclopedia In linear algebra, a rotation matrix is a matrix that is used to perform a rotation in Euclidean space. For example the matrix rotates points in the xy -Cartesian plane counterclockwise through an angle θ about the origin of the Cartesian coordinate system. To perform the rotation, the position of each point must be represented by a column vector v, containing the coordinates of the point. A rotated vector is obtained by using the matrix multiplication Rv (see below for details). In two and three dimensions, rotation matrices are among the simplest algebraic descriptions of rotations, and are used extensively for computations in geometry, physics, and computer graphics. Though most applications involve rotations in two or three dimensions, rotation matrices can be defined for n-dimensional space. Rotation matrices are always square, with real entries. Algebraically, a rotation matrix in n-dimensions is a n × n special orthogonal matrix, i.e. an orthogonal matrix whose determinant is 1: . The set of all rotation matrices forms a group, known as the rotation group or the special orthogonal group. It is a subset of the orthogonal group, which includes reflections and consists of all orthogonal matrices with determinant 1 or -1, and of the special linear group, which includes all volume-preserving transformations and consists of matrices with determinant 1. Contents 1 Rotations in two dimensions 1.1 Non-standard orientation
    [Show full text]