Skip to main content

Find similar past demonstrations

Problem: given a new motion, retrieve the closest recorded demonstrations. Uses: Khaos and FAISS.

Detect stalls in a control loop

Problem: stop a robot arm when a motion stalls. Uses: Khaos alone.

Cluster demonstrations into skills

Problem: discover the distinct behaviors in a pile of demonstrations. Uses: Khaos and scikit-learn.

Inputs and outputs for each model

These are real outputs of the v1 models, run through their exported ONNX files on held-out examples. The shapes listed are the exact ONNX inputs and outputs; batch and other named sizes are dynamic.

robo_kinematics_sm

A joint trajectory (timesteps x 14 joints, 25 Hz) in, one 128-dimensional vector out. Compare vectors with cosine similarity to find similar motions. Model inputs: traj float32 [batch, time, 14]; mask float32 [batch, time]
Model outputs: vector float32 [batch, 128]
Input
Output

robo_skill_segmentation

A joint trajectory in, a skill label and a boundary score for every timestep out. Consecutive steps with the same skill are merged below; true is the dataset’s label (derived from gripper phases). Model inputs: traj float32 [batch, time, 14]; mask float32 [batch, time]
Model outputs: boundary_logits float32 [batch, time]; skill_logits float32 [batch, time, 6]
Input
Output

robo_failure_detection

A joint trajectory in, a failure probability for every timestep out. The model only looks at past steps, so it runs live: read the last value. An alarm needs 3 steps above the calibrated threshold. Model inputs: traj float32 [batch, time, 14]; mask float32 [batch, time]
Model outputs: failure_logits float32 [batch, time]
Input
Output