Learning Null Space Projections in Operational Space Formulation

Hsiu-Chin Lin, Matthew HowardarXiv 2016

Abstract

This paper introduces a novel approach for robots to learn physical or self-imposed task constraints solely through motion observation. By bypassing the need for expensive force sensors or prior geometric knowledge, the proposed method learns the "null space projection matrix"—a mathematical representation of restricted movements. By leveraging the geometric properties of idempotence and orthogonality, the algorithm accurately identifies constraint dimensionality, enabling robots to adapt learned skills to novel environments with high precision.

Introduction

In robotics, Learning from Demonstration (LfD) is a standard technique for teaching skills like pouring or wiping. However, most LfD methods focus on learning a specific policy (the sequence of actions) rather than the underlying constraints that dictate those actions. For instance, a table surface restricts downward movement, while a full glass restricts tilting.

If a robot only learns a fixed policy, it fails when the environment changes, such as encountering a taller table. To achieve true adaptability, the robot must understand the constraints themselves. Traditionally, this required manual geometric modeling or force/torque sensors. This research explores whether a robot can learn these constraints just by watching movement, without knowing the number of constraints or the specific goal.

A robotic arm demonstrates task execution across varying surface constraints, illustrating the need for generalized constraint learning.

Methodology: Learning the Null Space

The researchers utilize the Operational Space Formulation, which decomposes robot movement ($u$) into two orthogonal components:

  1. Task Space ($u^{ts}$): Movements necessary to achieve the primary goal.
  2. Null Space ($u^{ns}$): Redundant movements that do not affect the goal but must satisfy environmental constraints.

The core contribution is a new objective function to estimate the Null Space Projection Matrix ($N$). Standard machine learning approaches often suffer from "rank" errors, where the robot misidentifies the number of constraints. To resolve this, the authors combined two mathematical insights:

  • Idempotence: Projecting a null-space movement onto the null space should not change it ($N u^{ns} = u^{ns}$).
  • Orthogonality: Projecting a task-space movement onto the null space should result in zero ($N u^{ts} = 0$).
Geometric representation of task space (blue) and null space (red) vectors and their projections onto the estimated constraint manifold.

By minimizing the sum of errors from both properties, the proposed algorithm iteratively constructs a constraint matrix that captures the true dimensionality of the environment.

Experimental Evaluation

The method was evaluated in two primary simulated environments:

  • 2D Toy Example: A point-mass system subjected to various 1D constraints under linear, limit-cycle, and sinusoidal movement policies.
  • Three-Link Planar Arm: A kinematic simulation testing complex, non-linear constraints, such as restricting $(x, z)$ end-effector positions while allowing orientation to vary.

Key Results

  • High Accuracy: In toy examples, the "Normalised Projected Policy Error" (NPPE) was frequently below $10^{-4}$, indicating near-perfect matching of ground-truth constraints.
  • Generalization: For the three-link arm, once a constraint (like a table surface) was learned, the robot could successfully execute completely new task policies while still respecting the original physical boundaries.
  • Robustness: Performance remained high even with limited training data or up to 20% Gaussian noise contamination.

Discussion and Insights

A significant finding of this work is the "Rank Trap": learning from null-space data alone tends to overestimate constraints, while task-space data alone tends to underestimate them. Combining both is essential for identifying the true dimensionality of the constraint manifold.

Because the method relies entirely on kinematic data (positions and velocities) rather than force data, it is highly accessible for systems using standard cameras or encoders. However, the method does require sufficient variation in the task-space policy to "reveal" the constraints; if a demonstrator never attempts to move against a constraint, the robot cannot distinguish a chosen path from a hard physical limit.

Conclusion

This research provides a robust framework for robots to autonomously discover the "shape of the allowed space." Future work will focus on validating these findings on high-degree-of-freedom physical robots and exploring "soft" or psychological constraints often found in human demonstration data.

Summary updated

BibTeX
@misc{lin2016learning,
  author = {Hsiu-Chin Lin and Matthew Howard},
  title = {{Learning Null Space Projections in Operational Space Formulation}},
  year = {2016},
  eprint = {1607.07611},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.07611},
}
Figure