TE-PINN: Quaternion-Based Orientation Estimation using Transformer-Enhanced Physics-Informed Neural Networks

Abstract

This paper introduces TE-PINN, a novel transformer-enhanced physics-informed neural network for quaternion-based orientation estimation from IMU data. The proposed framework combines multi-head attention mechanisms with physics-based constraints to achieve robust attitude estimation in dynamic conditions. By embedding quaternion kinematics and rigid body dynamics directly into the loss function, TE-PINN enforces rotational dynamics consistency while leveraging the transformer’s ability to capture temporal dependencies in IMU measurements. The RK4 quaternion integration with uncertainty quantification further enhances estimation reliability. Experimental results demonstrate a 36.8% reduction in attitude estimation error compared to traditional methods, with superior robustness in high-noise environments. The physics-informed approach ensures physically consistent predictions while maintaining computational efficiency suitable for real-time applications.

Publication
2025 IEEE International Conference on Robotics and Automation (ICRA)

Highlights

  • 36.8% Error Reduction: Significant improvement in attitude estimation accuracy compared to traditional filtering methods
  • Transformer Architecture: Multi-head attention mechanisms for capturing temporal dependencies in IMU data
  • Physics-Informed Learning: Embedded quaternion kinematics and rigid body dynamics as physics-based constraints
  • Robustness: Superior performance in high-noise and dynamic conditions
  • Real-Time Capability: Efficient architecture suitable for real-time orientation estimation
  • Open Source: Code and datasets publicly available for reproducibility

Status

Submitted to ICRA 2025 - Under Review

Arman Asgharpoor Golroudbari
Arman Asgharpoor Golroudbari
Machine Learning Engineer

Machine Learning Engineer with 5+ years of experience in LLMs, transformer architectures, computer vision systems, and autonomous robotics.