Covariance Steering for Uncertain Contact-rich Systems

Yuki Shirai, Devesh K. Jha, Arvind U. Raghunathan

TL;DR

This paper introduces a novel stochastic optimization framework for robots performing "contact-rich" tasks (like grasping or walking) under uncertainty. By combining complementarity constraints with a particle-based covariance steering approach, the authors developed a controller that can explicitly manage the "spread" of possible outcomes, ensuring robots stay within safe boundaries even when physical properties like surface stiffness are unknown.

What Problem Does This Paper Address?

In robotics, "contact-rich" systems—where a robot frequently makes and breaks contact with its environment—are notoriously difficult to control. These systems are governed by discontinuous dynamics: the physics changes instantly the moment a finger touches a table or a foot hits the ground.

When you add uncertainty into the mix (e.g., not knowing the exact friction of a surface or the stiffness of a "soft" wall), traditional control methods often fail. Standard tools like the Kalman Filter assume uncertainty is Gaussian (a neat bell curve), but contact discontinuities "shatter" these distributions into complex, non-Gaussian shapes. This makes it nearly impossible to guarantee safety using "chance constraints" (e.g., "ensure the robot doesn't hit the wall with 95% probability") using traditional analytical methods.

Methods

The authors propose a framework called Covariance Steering for Stochastic Discrete-time Linear Complementarity Systems (SDLCS). Key components include:

  1. Complementarity Modeling: They use mathematical "complementarity constraints" to model the switching nature of contact (e.g., either the contact force is zero, or the distance to the object is zero).
  2. Particle-Based Uncertainty Propagation: Instead of assuming a Gaussian distribution, they use a set of "particles" (samples) to represent the range of possible states. This allows the model to capture the complex, non-linear evolution of uncertainty through contact events.
  3. Contact-Aware Feedback: Unlike standard controllers that only look at the robot's position ($x$), this controller also looks at the contact forces ($\lambda$). This "contact-aware" feedback allows the system to adjust its gains to "steer" the covariance (the spread of the particles) toward a target state.
  4. Bilevel Optimization: The problem is formulated as a Non-Linear Program (NLP). To handle the probability of failure, they use a bilevel optimization structure where the lower level "counts" how many particles violate safety constraints.
  5. Important-Particle Algorithm: To make the math computationally feasible, they developed an "important-particle" method. Instead of calculating every possible sample, the algorithm starts with a small set and strategically adds the "worst-case" particles that are most likely to violate constraints.

Datasets

The paper evaluates the method on two simulated robotic benchmarks designed to test contact dynamics:

  • Cartpole with Soft Walls: A classic inverted pendulum on a cart, but constrained by two flexible walls with uncertain stiffness ($k_1, k_2$).
  • Acrobot with Soft Joints: A two-link robotic arm where one joint has an uncertain angle limit and stiffness.

Key Insights and Ideas

  • Forces Matter for Feedback: A major "aha" moment is that for contact-rich systems, you cannot just provide feedback on the robot's position. You must also provide feedback on the contact forces. The authors show that "contact-aware" controllers find feasible solutions in high-uncertainty scenarios where standard controllers fail.
  • Uncertainty is Not Uniform: Uncertainty in physical parameters (like wall stiffness) doesn't just make the robot's position fuzzy; it creates a complex relationship where uncertainty in forces $(\lambda)$ directly drives uncertainty in the state $(x)$.
  • Efficiency through "Worst-Cases": By focusing the optimizer on "important particles" (those breaking the rules), they achieved similar safety guarantees as naive sampling methods but with significantly lower computational costs.

Key Results

  • Covariance Steering Success: The proposed closed-loop controller successfully "squeezed" the distribution of possible robot trajectories to stay within red-line safety boundaries, whereas open-loop planners saw their uncertainty "explode" over time.
  • Feasibility: In the Cartpole test, the contact-aware controller found valid paths even when the required safety probability ($\Delta$) was as high as 80%. Non-contact-aware versions failed to find any solution at that level.
  • Speedup: For the Cartpole system, the "important-particle" method reached a safe solution in 208 seconds, compared to 620 seconds for a naive particle method—a nearly 3x speedup while maintaining safety.

Limitations and Future Work

  • Linearity Constraints: The current work is limited to Linear Complementarity Systems. Real-world robot dynamics are often highly non-linear, and extending this to non-linear systems is a major next step.
  • The Uniqueness Assumption: The math relies on the "P-matrix" assumption, which ensures there is a unique solution for contact forces. In complex multi-contact scenarios (like a robot hand with many fingers), this assumption might not hold.
  • Computational Demand: Even with the "important-particle" optimization, the process is still slow for real-time use. The authors suggest exploring distributed optimization techniques (like ADMM) to further accelerate the solver for live robotic applications.

Summary updated

Abstract

Planning and control for uncertain contact systems is challenging as it is not clear how to propagate uncertainty for planning. Contact-rich tasks can be modeled efficiently using complementarity constraints among other techniques. In this paper, we present a stochastic optimization technique with chance constraints for systems with stochastic complementarity constraints. We use a particle filter-based approach to propagate moments for stochastic complementarity system. To circumvent the issues of open-loop chance constrained planning, we propose a contact-aware controller for covariance steering of the complementarity system. Our optimization problem is formulated as Non-Linear Programming (NLP) using bilevel optimization. We present an important-particle algorithm for numerical efficiency for the underlying control problem. We verify that our contact-aware closed-loop controller is able to steer the covariance of the states under stochastic contact-rich tasks.
BibTeX
@misc{shirai2023covariance,
  author = {Yuki Shirai and Devesh K. Jha and Arvind U. Raghunathan},
  title = {{Covariance Steering for Uncertain Contact-rich Systems}},
  year = {2023},
  eprint = {2303.13382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.13382},
}
Figure