TL;DR
In shared autonomy, simply blending human and robot commands can inadvertently steer a robot straight into obstacles. This paper introduces BarrierIK, an inverse kinematics solver that uses Control Barrier Functions (CBFs) as hard mathematical constraints to filter out unsafe actions after they are blended. The framework eliminates collision risks in cluttered environments while preserving the operator's sense of control and overall task performance.
What Problem Does This Paper Address?
Shared autonomy combines human intuition with robotic precision, making it highly useful for complex teleoperation tasks like space exploration, surgery, or bomb disposal. Typically, these systems take a command from the human and a command from an autonomous guiding policy, linearly blending them together.
However, in cluttered or non-convex environments, this blending strategy fails catastrophically. For example, if a human operator wants to navigate around the left side of a pillar and the autonomous policy wants to go right, their averaged, blended command will drive the robot directly into the pillar.
Existing solutions usually treat obstacle avoidance as a "soft constraint" by adding penalty functions or artificial potential fields to the optimization objective. The issue here is that safety becomes tradeable: if the tracking error cost gets high enough, the solver will tolerate a "temporary" collision to reach the target. This paper addresses the need for hard safety guarantees that cannot be overridden by task objectives.
Methods
The authors propose a two-stage hierarchical framework:
- Policy Blending: Human target poses ($T_h$) and autonomous guiding poses ($T_r$) are linearly blended in $SE(3)$ using a sigmoid-based arbitration coefficient ($\alpha$) that dynamically adjusts based on how well the human and robot intents align.
- BarrierIK Safety Filtering: The resulting unfiltered, blended target pose ($T$) is passed to BarrierIK, a non-linear optimization-based inverse kinematics (IK) solver.
The core innovation lies in the IK layer. Instead of treating obstacle distance as a cost penalty, BarrierIK formulates safety using discrete-time Control Barrier Functions (CBFs) enforced as hard inequality constraints:
$$\nabla h_o(\theta)^\top \Delta\theta + K(h_o(\theta)) \geq 0$$
To prevent mathematical discontinuities and solver instability when dealing with multiple obstacles simultaneously, the authors aggregate all individual CBF constraints into a single, smooth constraint using a temperature-scaled soft-max (log-sum-exp) approximation. The entire pipeline is implemented in JAX, enabling high-performance automatic differentiation for forward kinematics and collision checking, and solved in real-time using Sequential Least Squares Programming (SLSQP).
Datasets & Evaluation Environments
The framework was evaluated across both autonomous simulations and a human-in-the-loop user study:
- Autonomous Simulation Benchmarks:
- Frame / Shelf (FS) Task: A tool-insertion simulation requiring tight clearances through narrow windows.
- Dynamic Obstacles (DO) Task: A scene featuring three cylindrical obstacles oscillating along orthogonal axes.
- VR Teleoperation User Study: A physical-interaction simulation involving 10 participants using HTC Vive controllers in Unity3D. The task was to pick up three color-coded cubes and place them into a basket within a heavily cluttered environment.
Key Insights and Ideas
- Safety Belongs at the IK Layer: Enforcing safety after command arbitration ensures that regardless of how conflicting or unsafe the high-level blended commands are, the low-level joint commands remain strictly safe.
- The "User Archetype" Split: Subjective feedback revealed that users generally split into two clear preferences: they either want pure, unassisted teleoperation (for maximum predictability) or shared autonomy backed by hard safety constraints (SA-B).
- Soft Constraints Frustrate Users: Intermediate shared autonomy modes that used soft penalties (SA-P) received the lowest usability scores. Because soft constraints constantly "fight" the user's intent without actually guaranteeing safety, they increase cognitive workload and erode user trust.
Key Results
- Marked Reduction in Safety Violations: In autonomous rollouts on the Shelf task, BarrierIK reduced the safety violation time percentage to 0.53%, compared to 4.26% for the soft-penalty baseline (Baseline P) and 24.52% for no obstacle modeling (Baseline N).
- Shallower Penetrations: When numerical discretization did allow minor boundary crossings, BarrierIK ensured they were significantly shallower (less negative minimum clearance) and recovered back to the safe set promptly.
- Maintained Performance with Higher Perceived Control: In the user study, the combination of shared autonomy and BarrierIK (SA-B) achieved the highest average usability score on a modified NASA-TLX index, successfully reducing operator workload without sacrificing task completion times.
Limitations and Future Work
- The Smoothness Trade-Off: Treating safety as a hard constraint forces the robot to take sudden detours around obstacles, which manifested as a higher average joint jerk for BarrierIK. This might be undesirable for contact-sensitive or delicate tasks.
- Myopic Velocity Approximations: Because the teleoperation stack runs in position space rather than velocity/torque space, the task-space velocity is approximated via temporal differences, which ignores longer-horizon trajectory structure.
- Static Dynamic Assumptions: The current CBF implementation does not incorporate obstacle-velocity estimates, making it overly conservative when obstacles move quickly.
The authors plan to address these limitations by deploying the framework on physical hardware, integrating velocity observers for dynamic obstacles, and exploring adaptive shaping of the CBF parameters based on individual user behavior.
Summary updated