Efficient Derivative Computation for Cumulative B-Splines on Lie Groups

Christiane Sommer, Vladyslav Usenko, David Schubert, Nikolaus Demmel, Daniel Cremers

Introduction

In robotics and computer vision, estimating the trajectory of a moving sensor—such as a drone's camera or an AR headset—is a fundamental task. While trajectories are often represented as discrete points, continuous-time representations are superior for fusing data from unsynchronized sensors, such as high-frequency IMUs and lower-frequency cameras.

B-splines are the standard tool for these continuous trajectories. However, because sensor orientations exist on Lie groups (like $SO(3)$ for rotations), the calculus is computationally intensive. Traditional methods for calculating velocity and acceleration scale quadratically ($O(k^2)$) or cubically with the spline order $k$, creating a bottleneck for real-time optimization.

Methods: Recursive Efficiency

The authors introduce a mathematical framework based on recurrence relations to replace expensive product-rule expansions.

  1. Recursive Time Derivatives: By iterating through control points, the method computes angular velocity ($\omega$) and acceleration ($\dot{\omega}$) with linear complexity ($O(k)$). This significantly reduces the number of required matrix-vector multiplications.
  2. Analytic Jacobians: The authors derived closed-form, analytic Jacobians for $SO(3)$ splines, providing a performance boost over automatic differentiation (AD) in solvers like Ceres.
  3. Spline Order Impact: As the spline order $k$ increases to provide smoother trajectories, the efficiency gains of this linear approach become even more pronounced compared to traditional baselines.
B-splines of different orders (k) illustrating the smoothness and control point relationships.

Experimental Evaluation

The approach was evaluated using both simulated sequences and the TUM VI Benchmark for a real-world Camera-IMU calibration task. The calibration involved 51.8 seconds of data, including over 10,000 IMU measurements and 1,036 images.

Key Results

  • Computational Speedup: In simulated experiments, the proposed formulation consistently outperformed the baseline. For acceleration measurements on $SO(3)$ with order $k=6$, the new method achieved a 4.43x speedup.
  • Real-World Calibration: In the Camera-IMU calibration task, the optimization finished in 5.82 seconds, compared to 15.09 seconds for the baseline—a 2.6x improvement.
  • Numerical Consistency: The method was proven to be numerically identical to traditional methods, with deviations near machine epsilon.
Comparison of computational performance (in ms) between the proposed method and the baseline across different Lie groups and spline orders.

Conclusion and Future Work

This work demonstrates that the cumulative structure of Lie group B-splines allows for a recursive "velocity update" step, bypassing expensive matrix-matrix multiplications. While the current analytic Jacobians are primarily optimized for $SO(3)$, extending these to $SE(3)$ is a logical next step. This efficiency makes continuous-time representations far more viable for real-time SLAM systems and complex sensor fusion tasks that were previously limited by computational overhead.

Summary updated

BibTeX
@inproceedings{sommer2020efficient,
  author = {Christiane Sommer and Vladyslav Usenko and David Schubert and Nikolaus Demmel and Daniel Cremers},
  title = {{Efficient Derivative Computation for Cumulative B-Splines on Lie Groups}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01116},
}
Figure