Fast Quaternion Product Units for Learning Disentangled Representations in $\mathbb {SO}(3)$
- 29 August 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. PP (01628828) , 1-17
Abstract
Real-world 3D structured data like point clouds and skeletons often can be represented as data in a 3D rotation group (denoted as $\mathbb {SO}(3)$ ). However, most existing neural networks are tailored for the data in the Euclidean space, which makes the 3D rotation data not closed under their algebraic operations and leads to sub-optimal performance in 3D-related learning tasks. To resolve the issues caused by the above mismatching between data and model, we propose a novel non-real neuron model called quaternion product unit (QPU) to represent data on 3D rotation groups. The proposed QPU leverages quaternion algebra and the law of the 3D rotation group, representing 3D rotation data as quaternions and merging them via a weighted chain of Hamilton products. We demonstrate that the QPU mathematically maintains the $\mathbb {SO}(3)$ structure of the 3D rotation data during the inference process and disentangles the 3D representations into “rotation-invariant” features and “rotation-equivariant” features, respectively. Moreover, we design a fast QPU to accelerate the computation of QPU. The fast QPU applies a tree-structured data indexing process, and accordingly, leverages the power of parallel computing, which reduces the computational complexity of QPU in a single thread from $\mathcal {O}(N)$ to $\mathcal {O}(\log N)$ . Taking the fast QPU as a basic module, we develop a series of quaternion neural networks (QNNs), including quaternion multi-layer perceptron (QMLP), quaternion message passing (QMP), and so on. In addition, we make the QNNs compatible with conventional real-valued neural networks and applicable for both skeletons and point clouds. Experiments on synthetic and real-world 3D tasks show that the QNNs based on our fast QPUs are superior to state-of-the-art real-valued models, especially in the scenarios requiring the robustness to random rotations. The code of this work is available at https://github.com/SuferQin/Fast-QPU .Keywords
All Related Versions
This publication has 53 references indexed in Scilit:
- 3D ShapeNets: A deep representation for volumetric shapes2015
- Vector Sparse Representation of Color Image Using Quaternion Matrix AnalysisIEEE Transactions on Image Processing, 2015
- Human Action Recognition by Representing 3D Skeletons as Points in a Lie Group2014
- Metrics for 3D Rotations: Comparison and AnalysisJournal of Mathematical Imaging and Vision, 2009
- Quaternion wavelet phase based stereo matching for uncalibrated imagesPattern Recognition Letters, 2007
- The Theory and Use of the Quaternion Wavelet TransformJournal of Mathematical Imaging and Vision, 2005
- Quaternion Neural Network and Its Application2003
- Optimal and Efficient Algorithms for Summing and Prefix Summing on Parallel MachinesJournal of Parallel and Distributed Computing, 2002
- Animating rotation with quaternion curves1985
- The perceptron: A probabilistic model for information storage and organization in the brain.Psychological Review, 1958