Motion Aware ViT-based Framework for Monocular 6-DoF Spacecraft Pose Estimation

Jose Sosa, Dan Pineau, Arunkumar Rathinam, Abd El Rahman Shabayek, Djamila AouadaarXiv 2025 · DOI

Abstract

Determining the precise position and orientation of a spacecraft is essential for autonomous docking and satellite servicing. Traditional single-shot methods often struggle with the harsh lighting and visual ambiguities of space. This paper presents a motion-aware framework that utilizes Vision Transformers (ViT) and optical flow from image sequences to enhance 6-DoF pose estimation. By fusing spatial features with temporal motion cues through cross-attention, the proposed system achieves significant improvements in keypoint localization and pose accuracy across both synthetic and real-world datasets.

Introduction

Accurate spacecraft pose estimation—calculating the six-degree-of-freedom (6-DoF) translation and rotation—is a cornerstone of modern space operations, including debris removal and autonomous proximity maneuvers. However, the orbital environment presents unique challenges: extreme contrast, pitch-black backgrounds, and spacecraft with repetitive, metallic geometries.

Most existing solutions rely on single-image analysis to identify structural keypoints. While effective in controlled settings, these "single-shot" methods lack the temporal context necessary to resolve ambiguities in complex scenarios. This research addresses the gap by introducing a deep learning architecture that inherently understands spacecraft dynamics through time, moving beyond simple post-processing filters.

Methodology: A Motion-Aware Framework

The proposed framework operates in two distinct stages: 2D keypoint localization followed by 6-DoF pose estimation.

1. Motion-Aware 2D Keypoint Localization

The core innovation lies in the "Motion-Aware" (MA) stage, which processes a sequence of three consecutive images ($I_{t-1}, I_t, I_{t+1}$).

  • Feature Extraction: A Vision Transformer (ViT) backbone extracts high-level spatial features from the central frame ($I_t$). Simultaneously, a pre-trained RAFT optical flow model calculates the motion between $I_t$ and its adjacent frames.
  • Feature Fusion: These spatial and motion features are integrated using Cross-Attention blocks. This mechanism allows the model to focus on specific spacecraft components based on their predicted movement patterns.
  • Heatmap Generation: The final output is a set of "motion-aware heatmaps" that predict the 2D coordinates of eight predefined keypoints.
Detailed architecture of the motion-aware 2D keypoint localization stage.

2. 6-DoF Pose Estimation

Once the 2D keypoints are localized, the system employs a standard Perspective-n-Point (PnP) solver with RANSAC. By mapping the predicted 2D points to a known 3D model of the spacecraft, the final 3D translation and rotation are computed.

Experiments and Key Results

The model was evaluated using the SPADES-RGB dataset (simulated Proba-2 sequences) and the SPARK-2024 dataset (synthetic and real-world laboratory data). The integration of motion awareness consistently outperformed static baselines.

On the SPADES-RGB dataset, the Motion-Aware (MA) model achieved a PCK@10 of 94.05%, compared to 92.63% for the non-motion version. The impact on 6-DoF precision was even more pronounced: translation error ($E_t$) was reduced from 0.375 to 0.227, and orientation error ($E_q$) improved from 8.84° to 7.57°.

Qualitative results showing predicted keypoints and bounding boxes on various spacecraft datasets.

While the model showed excellent generalization on synthetic SPARK-2024 data (98.16% PCK@10), a performance dip to 77.45% on real-world lab data highlights a persistent "domain gap" between simulation and reality.

Discussion and Conclusion

A key insight from this work is that motion is a powerful feature for resolving geometric ambiguities. By encoding movement magnitude and direction into heatmaps, the model can distinguish between identical-looking parts that move differently in 3D space. Furthermore, the use of a Vision Transformer proved superior to traditional CNNs for capturing the global structural relationships of metallic spacecraft.

Future work will focus on bridging the domain gap for real-world deployment and extending the temporal window beyond three frames to capture more complex motion dynamics. Additionally, optimizing the computational efficiency of the ViT and RAFT components will be necessary for deployment on resource-constrained satellite hardware.

Summary updated

BibTeX
@misc{sosa2025motion,
  author = {Jose Sosa and Dan Pineau and Arunkumar Rathinam and Abd El Rahman Shabayek and Djamila Aouada},
  title = {{Motion Aware ViT-based Framework for Monocular 6-DoF Spacecraft Pose Estimation}},
  year = {2025},
  eprint = {2509.06000},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.06000},
}
Figure