Dual Quaternion Rotational and Translational Equivariance in 3D Rigid Motion Modelling

Guilherme Vieira, Eleonora Grassucci, Marcos Eduardo Valle, Danilo Comminiello

Abstract

This paper introduces a novel approach to 3D rigid motion modeling using dual quaternions. By representing rotations and translations within a unified mathematical framework, the proposed models achieve inherent rotational and translational equivariance. This allows for superior generalization to transformed data and significant parameter reduction—up to 88% compared to real-valued baselines—while maintaining or exceeding state-of-the-art performance in tasks such as human pose forecasting.

Introduction

Modeling 3D motion, such as human movement or robotic trajectories, requires precise tracking of both rotation and translation. Standard deep learning architectures typically treat $x, y, z$ coordinates as independent real numbers, which ignores inherent spatial correlations and often results in a lack of translational equivariance. While quaternions have been adopted to improve rotation modeling, they are limited to rotations around axes passing through the origin and do not naturally handle translations. Consequently, models trained on centered data often fail to generalize when the same motion occurs in a different spatial location. This research addresses these limitations by utilizing dual quaternion algebra to treat rigid motion as a single, unified "screw motion" entity.

Methodology

The core of this approach is the Dual Quaternion ($\mathbb{D}$) framework. A dual quaternion is defined as $\hat{\mathbf{q}} = q_0 + \epsilon q_\epsilon$, where $q_0$ and $q_\epsilon$ are standard quaternions and $\epsilon$ is the dual unit satisfying $\epsilon^2 = 0$. In this representation, $q_0$ encodes rotation while $q_\epsilon$ encodes translation.

This mathematical framework allows for:

  1. Joint Representation: For applications like human pose forecasting, global trajectories and local joint positions are encoded into a single dual quaternion.
  2. Inherent Equivariance: The authors provide a practical proof that dual quaternion models are equivariant, meaning the model's output transforms consistently with its input under translation or rotation.
  3. Architectural Integration: The researchers developed Dual Quaternion MLPs for synthetic testing and a Dual Quaternion Variational Autoencoder (DQVAE) utilizing Dual Quaternion LSTMs (DQLSTM) for complex motion prediction.

Key Results

The proposed models were evaluated on both synthetic and real-world datasets.

Lorenz System Stress Test

The Lorenz system, characterized by chaotic trajectories involving constant translation and rotation, served as a benchmark for equivariance. Dual quaternion models demonstrated remarkable zero-shot generalization. When tested on data that had been randomly rotated and translated, the dual quaternion model maintained high accuracy, whereas real-valued and standard quaternion models failed to generalize.

Comparison of model performance on the Lorenz system under spatial transformations.

As shown in the figure above, the dual quaternion model (bottom row) maintains the integrity of the predicted trajectory across original, translated, and rotated-translated scenarios, while the real-valued (top row) and quaternion (middle row) models show significant degradation under transformation.

Human Pose Forecasting

On the 3DPW (3D Poses in the Wild) dataset, the Dual Quaternion CoRPoF model outperformed existing baselines. It achieved a Visibility Ignored Metric (VIM) of 15.23 cm, surpassing the 16.76 cm achieved by the previous best real-valued model. Notably, these results were achieved with extreme parameter efficiency: the dual quaternion networks used up to 88% fewer parameters than real-valued baselines and 75% fewer than standard quaternion models.

Conclusion and Future Work

Dual quaternions offer a powerful and efficient alternative for 3D rigid motion modeling, providing inherent equivariance and significant parameter savings. While current work focuses on rigid motion, extending this framework to non-rigid deformations—such as muscle and skin movement—is a promising direction for future research. Additionally, the parameter efficiency of these models makes them ideal candidates for real-time applications in robotics and edge computing, provided that custom dual quaternion layers are further integrated into standard deep learning libraries.

Summary updated

BibTeX
@inproceedings{vieira2023dual,
  author = {Guilherme Vieira and Eleonora Grassucci and Marcos Eduardo Valle and Danilo Comminiello},
  title = {{Dual Quaternion Rotational and Translational Equivariance in 3D Rigid Motion Modelling}},
  booktitle = {MLSP},
  year = {2023},
  doi = {10.1109/mlsp55844.2023.10285888},
}
Figure