Work

When Does Quaternion DQN Work? Hamilton Product Inductive Bias for Rotation-Dominant Reinforcement Learning

Year: 2026
Type: article
Abstract: Quaternion neural networks (QNNs) encode 3D rotation structure via the Hamilton product, offering a promising inductive bias for reinforcement learning tasks involving orienta-tion control. However, prior work has not systematically characterizedwhenthis structural advantage translates to measurable performance gains. We introduce QuatDQN, a deep Q-network whose first layer replaces a standard linear transformation with a quaternion-valued Hamilton product operation. On a drone attitude control task where state inputs are 100% quaternion-structured, a 10-seed campaign (2000 episodes each) reveals that QuatDQN achieves comparable success rate to PlainDQN (68.8%± 8.7% vs 66.2% ± 6.2%) while using 7.5% fewer parameters (4742 vs 5126) and exhibiting substantially more consistent attitude precision (final angular distance 11.3◦ ± 1.5◦ vs 13.6◦ ± 4.0◦; Cohen's d = 0.67, medium–large effect). Conversely, in a 3D maze navigation task where rotation constitutes only 22–50% of the state, the advantage vanishes entirely. Through a systematic ablation study, we further show that quantum-inspired encoding, Munchausen regularization, quaternion normalization, and multi-layer quaternion stacking are all harmful to performance. Notably, QuatDQN exhibits initialization sensitivity— one seed produced a clear outlier (48% vs the 71.1% ± 5.5% of the remaining nine)—adding a fourth condition to the practitioner guidelines: appropriate weight initialization is critical. These results yield four actionable conditions for practitioners: QuatDQN is effective when (1) inputs are algebraically quaternion-structured, (2) rotation is the dominant computation, (3) the quaternion layer is applied as a single, unnormalized transformation without additional encoding, and (4) initialization avoids degenerate quaternion weight configurations. QuatDQN's parameter-efficient design enables deployment on embedded con trollers for human-supervised autonomous systems, contributing to the development of symbiotic human–machine intelligence.
Language: English
Open Access status: hybrid
Estimated APC paid: $1,050
OpenAlex ID: W7160054968
FWCI:
Cites: 12
Cited by:
Related to: 10