Bayesian Multi-Task Learning MPC for Robotic Mobile Manipulation

Elena Arcari, Maria Vittoria Minniti, Anna Scampicchio, Andrea Carron, Farbod Farshidian, Marco Hutter, Melanie N. Zeilinger

TL;DR

This paper introduces a novel Bayesian multi-task learning approach to improve Model Predictive Control (MPC) for robotic mobile manipulation. By learning a shared model of dynamic uncertainties across related tasks using trigonometric basis functions, the system can adapt quickly to new, unseen tasks, leading to more robust and efficient robot control.

What Problem Does This Paper Address?

Robotic mobile manipulation, which involves robots performing tasks like opening doors or moving objects, is inherently complex. A key challenge is dealing with uncertainties in the robot's own dynamics and its interaction with objects. While model-based controllers like MPC are effective, they rely on accurate models. When these models are imprecise, performance suffers. Traditional methods often require retraining for each new task or object, which is inefficient. This paper tackles the problem of efficiently adapting robot controllers to new tasks by leveraging knowledge gained from previously encountered, related tasks, specifically addressing the need for a model that can be both descriptive and quickly updated online.

Methods

The core of the proposed method is a Bayesian multi-task learning framework combined with Model Predictive Control (MPC).

  • Error Model: Instead of trying to model the entire robot dynamics perfectly, the approach focuses on learning an error model that captures the discrepancies between the known (nominal) dynamics and the true, uncertain dynamics. This error is approximated using trigonometric basis functions (sines and cosines). The frequencies of these basis functions are shared across tasks, while task-specific parameters linearly combine them. This choice of features is motivated by their low computational cost and ability to represent complex dynamics.
  • Multi-Task Learning: The system employs a two-phase learning process:
  • Training Phase: Data from multiple related tasks is used to optimize the shared hyperparameters, specifically the frequencies of the trigonometric basis functions. This phase leverages Kullback-Leibler divergence minimization to find the best shared representation.
  • Online Learning Phase: For a new, unseen task, the learned frequencies are fixed. The task-specific parameters are then adapted online using a Kalman filter. This allows for rapid fine-tuning of the error model based on real-time data.
  • MPC Integration: The learned and adapted error model is integrated into the MPC formulation. The MPC then uses this compensated model to generate control commands, aiming for high performance even in the presence of uncertainties. The MPC problem is solved using a direct multiple-shooting approach with a receding horizon strategy.

Datasets

The paper utilizes datasets generated from various robotic tasks for both training and evaluation.

  • Training Data: Data is collected from performing M similar tasks. For example, in the door-opening scenario, training tasks involved pulling a door with different levels of added friction.
  • Evaluation Data: New, unseen tasks are used to evaluate the generalization capabilities of the proposed method. This includes door-opening tasks with friction levels not encountered during training, and experiments with human disturbances.
  • Simulated Benchmarks:
    • A ball-balancing robot (ballbot) with perturbed dynamics.
  • A quadrupedal manipulator performing an object tracking task with sinusoidal and exponential disturbances.
  • Hardware Experiments:
    • A quadrupedal manipulator (ANYmal) performing a door-opening task under varying friction conditions and human disturbances.

Key Insights and Ideas

  • Leveraging Task Similarity: The core idea that related tasks share underlying dynamic structures is powerful. By learning a shared representation of uncertainty (trigonometric frequencies), the system can efficiently transfer knowledge.
  • Trigonometric Basis Functions for Efficiency: Using sines and cosines for the error model is a clever choice. It provides a rich representation while keeping the computational overhead low, which is crucial for real-time MPC.
  • Two-Phase Learning for Adaptability: The separation into a training phase for shared parameters and an online phase for task-specific adaptation strikes a good balance between generalization and rapid learning.
  • Bayesian Framework for Uncertainty: The Bayesian approach naturally handles uncertainty in parameter estimation, providing a principled way to update beliefs about the error model.
  • Robustness to Unseen Tasks: The multi-task approach demonstrates significantly better generalization to tasks not seen during training compared to single-task learning or methods that don't leverage multi-task information.

Key Results

The proposed Bayesian multi-task learning MPC consistently outperformed baseline controllers across various scenarios:

  • Object Tracking (Quadruped): In simulations with sinusoidal disturbances, the multi-task MPC showed comparable or better performance than single-task MPC and offset compensation. For a more complex nonlinear disturbance, it demonstrated superior generalization capabilities.
  • Ballbot Dynamics Perturbation: Hardware experiments showed that the multi-task MPC achieved the smallest Root Mean Square Error (RMSE) in joint positions, indicating superior system identification in closed-loop compared to nominal MPC, offset compensation, and single-task MPC.
  • Door Opening (Quadruped):
    • In the "added friction" scenario, the multi-task MPC consistently achieved lower tracking errors across all tasks, including those not seen during training, outperforming the nominal MPC which showed high variability.
  • In the "human disturbance" scenario, the multi-task MPC also demonstrated smoother behavior and better tracking than a single-task MPC trained on that specific disturbance.
  • When compared against an adaptive bias (offset compensation) in a scenario with an artificially added elastic band, the multi-task MPC converged to steady-state parameters, while the offset compensation diverged, leading to instability.

Limitations and Future Work

  • Limitations:
    • The paper notes that the assumption of the error being only a function of the state (neglecting input dependence) was made for the quadrupedal manipulator to reduce dimensionality. This might limit applicability in scenarios where input significantly affects the error.
  • While the method is computationally efficient, the performance of the Kalman filter in the online phase crucially depends on the accuracy of the error model and the noise variances.
  • Future Work:
    • The authors suggest extending the work by incorporating robust or stochastic techniques to provide stability guarantees for the considered model and residual uncertainties.
  • Exploring more complex error models or different basis functions could be a direction.
  • Investigating the impact of different task relationships on the effectiveness of multi-task learning.

Summary updated

BibTeX
@article{arcari2023bayesian,
  author = {Elena Arcari and Maria Vittoria Minniti and Anna Scampicchio and Andrea Carron and Farbod Farshidian and Marco Hutter and Melanie N. Zeilinger},
  title = {{Bayesian Multi-Task Learning MPC for Robotic Mobile Manipulation}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2023},
  doi = {10.1109/lra.2023.3264758},
}
Figure