Abstract
Continuous-time trajectory representation is essential for fusing data from high-frequency, unsynchronized sensors in robotics and computer vision. Cumulative B-splines on Lie groups are widely used for this purpose due to their smoothness and lack of singularities. However, computing their derivatives has traditionally been a computational bottleneck, scaling quadratically or cubically with the spline order. This paper introduces a recursive formulation that reduces this complexity to linear $O(k)$, enabling significant performance gains in real-time optimization tasks.
Introduction
In applications like drone navigation or augmented reality, estimating a sensor's trajectory requires fusing data from multiple sources, such as IMUs and cameras. Continuous-time representations allow for seamless integration of these unsynchronized measurements. Cumulative B-splines on Lie groups, such as $SO(3)$ for rotations and $SE(3)$ for rigid body poses, are the preferred choice for such trajectories.
Despite their advantages, the computational cost of calculating velocity and acceleration for these splines is high. Existing methods rely on the "product rule" expansion, which leads to $O(k^2)$ or $O(k^3)$ complexity relative to the spline order $k$. This paper addresses this limitation by proposing a more efficient recursive approach.
Methodology
The core contribution is a shift from standard expansion to a recursive formulation for time derivatives and analytic Jacobians.
Recursive Time Derivatives
Instead of expanding the full derivative of a cumulative product, the authors derive a recurrence relation for angular velocity ($\omega$) and acceleration ($\dot{\omega}$). By leveraging the Adjoint map ($Adj_X$) to shift velocity vectors across spline segments, the computation is reduced to $O(k)$ matrix-vector operations.
Analytic Jacobians
For optimization frameworks like Ceres Solver, the authors derived linear-time analytic Jacobians specifically for $SO(3)$ splines. This replaces slower automatic differentiation methods, providing a significant boost in production environments. Mathematical proofs confirm that this recursive approach is numerically equivalent to traditional methods while being significantly faster.
Experimental Evaluation
The proposed method was evaluated using both simulated trajectories and real-world data from the TUM VI benchmark (calib-cam1 sequence).
Computational Efficiency
In simulations involving $SO(3)$ and $SE(3)$, the recursive method consistently outperformed the baseline. For higher-order splines, the speedup becomes even more pronounced due to the linear scaling. For instance, in $SO(3)$ acceleration estimation with $k=6$, the method achieved a 4.43x speedup.
Real-World Application: Camera-IMU Calibration
The efficiency gains translate directly to real-world tasks. In a camera-IMU calibration experiment, the optimization using analytic Jacobians and recursive derivatives finished in 5.82 seconds, compared to 15.09 seconds for the baseline—a 2.6x improvement. Crucially, the numerical results remained identical to the baseline, ensuring that efficiency does not come at the cost of accuracy.
Conclusion
By achieving $O(k)$ complexity for derivative computation, this work removes a major bottleneck in continuous-time trajectory optimization. While the current analytic Jacobians are focused on $SO(3)$, the general recursive framework can be extended to other Lie groups. This advancement is particularly relevant for power-constrained or high-speed applications, such as mobile AR/VR and autonomous drone racing, where real-time performance is critical.
Summary updated