# KiRoSe: Using Kinematic Data for Efficient Segmentation of Robot Demonstrations

Robotics.world

> Large robot demonstration datasets contain long trajectories that mix recurring motion stages — reaching, grasping, transporting, placing — plus pauses and corrections.

**arXiv**: 2610.31801 · Preprint · not peer-reviewed

**Published**: 2026-10-22

**Authors**: Shuangyu Xie, Kaiyuan Chen, Muhammad Zubair Irshad, Richard Cheng, Sergey Zakharov, Ken Goldberg

## In plain words

Large robot demonstration datasets contain long trajectories that mix recurring motion stages — reaching, grasping, transporting, placing — plus pauses and corrections. Labeling where these stages begin and end, and what happens in each, is normally done by hand and is tedious and error-prone.

## AI summary

## Overview

**Research area:** Robotics — robot learning from demonstration, specifically automatic temporal and semantic segmentation of manipulation demonstration data using kinematic (proprioceptive) signals rather than video.

**Technical level:** Intermediate. The paper assumes familiarity with robot demonstrations, tokenization/vector quantization, and language-model fine-tuning (LoRA), but the core idea is explained clearly enough for readers with a general machine-learning background.

**Scope:** KiRoSe is an end-to-end framework that compresses high-frequency robot kinematics into a compact discrete token vocabulary (Sparse Motion Tokens) and adapts an open language model to read those tokens and output subtask boundaries plus natural-language action descriptions.

## What This Paper Is About

Large robot demonstration datasets contain long trajectories that mix recurring motion stages — reaching, grasping, transporting, placing — plus pauses and corrections. Labeling where these stages begin and end, and what happens in each, is normally done by hand and is tedious and error-prone. KiRoSe's goal is to automate this segmentation cheaply: instead of feeding expensive multi-camera video into a multimodal model (a one-minute bimanual trajectory at 30 Hz becomes roughly 500k text tokens), it learns a small vocabulary of discrete motion tokens from robot kinematics and lets a language model reason over that compressed stream.

## Key Contributions

1. **Sparse Motion Tokens (SMT):** a boundary-supervised, low-rate kinematic tokenizer that compresses high-frequency robot motion (a 14-dimensional bimanual end-effector signal sampled at 30 Hz) into a discrete vocabulary of K = 512 entries learned with k-means, where the encoder is trained to locate annotated subtask transitions rather than to reconstruct every low-level state.
2. **The KiRoSe framework:** an end-to-end pipeline that adapts an open language model (Qwen3.5-9B via LoRA) to read SMT sequences interleaved with per-second time markers and the task instruction, emitting JSON segments with start time, end time, and action description. The tokenizer stays frozen during this adaptation.
3. **Evaluation data and results:** experiments on 200 held-out YAM episodes from 10 held-out tasks, zero-shot transfer to 2,653 AgiBot World episodes and 193 Ego-Exo4D human-hand trajectories, showing segmentation gains over reconstruction-oriented kinematic tokenizers and frontier vision-language models.
4. **A progress/reversal probe:** a 68k-parameter head on the frozen SMT encoder that tracks task progress on an unseen robot and detects when an action is being undone, despite never being trained for progress or reversal.

## Main Findings

- **Segmentation on held-out YAM episodes:** KiRoSe reaches Boundary F1 of 0.48 at ±0.5 s, 0.63 at ±1 s, and 0.71 at ±2 s on 200 held-out episodes, compared with 0.22/0.42/0.50 for FAST, 0.22/0.41/0.51 for OAT, and 0.23/0.41/0.50 for MotionGPT — all paired with the same LoRA-adapted Qwen3.5-9B reader. A zero-shot video-based Qwen3.5-9B baseline scores 0.09/0.16/0.22.
- **Grounded F1 (temporal + semantic):** KiRoSe scores 0.43 lexical and 0.49 embedding Grounded F1, versus 0.12/0.17 for FAST, 0.14/0.20 for OAT, and 0.13/0.16 for MotionGPT.
- **Ablations:** Replacing the language-model reader with an MLP on continuous features ("Latent + MLP") gives 0.44/0.52/0.56 Boundary F1; on quantized codes alone ("SMT codes + MLP") gives 0.38/0.45/0.49. Both trail the full language-model reader, indicating the reader contributes beyond the representation.
- **Zero-shot cross-embodiment timing transfer:** Section 4.3 reports 0.40 Boundary F1 at ±0.5 s on AgiBot (versus 0.48 on held-out YAM), with the latent + MLP variant at 0.36 and the video-based Qwen3.5-9B baseline at 0.19. The abstract separately reports a Boundary F1 within 0.5 s of 0.61 for KiRoSe versus 0.30 for GPT-6 Astra on AgiBot; the paper presents these as separate reported figures.
- **Action semantics transfer:** On AgiBot, KiRoSe reaches 0.59 action-level Grounded F1 versus 0.34 for GPT-6 Astra.
- **Human-hand transfer:** On the 114 of 193 Ego-Exo4D trajectories with video available, KiRoSe reaches 0.375 Boundary F1 at ±1 s versus 0.255 for the video baseline, despite never seeing human data and hands having no gripper.
- **Open-vocabulary preservation:** On 12 Ego-Exo4D tasks absent from training, task-appropriate words absent from the training annotations and prompt appear in 6 of the 12 tasks — for example "swab" for a COVID-19 test (14 of 65 trajectories), "pan, egg, mixture, whisk" for an omelet (17 of 36), and "inner (tube), lever" for flat tire installation (8 of 13).
- **Reversal detection:** On 2,586 AgiBot subtasks (357 episodes, 3 tasks), KiRoSe gives Spearman ρ = +0.51 forward and ρ = −0.68 reversed, with negative progress on 86% of reversed subtasks. ReWiND stays positive (ρ = +0.88 on its MetaWorld checkpoint and +0.63 on Open-X, with 1% and 4% of reversed subtasks negative), and Robometer-4B approaches zero at ρ = +0.06 with 46% negative.
- **Qualitative check:** Under a fixed episode-selection rule (no cherry-picking by inspection), KiRoSe matches or exceeds the video baseline on all 15 displayed trajectories across three embodiments.

## Methodology in Plain English

The approach has two stages and deliberately separates "compressing motion" from "understanding motion."

**Stage 1 — build a motion vocabulary.** Each robot trajectory is converted into a shared 14-number-per-timestep signal covering both arms: linear velocity, angular velocity, and gripper opening rate. This same representation can be derived from human hands using wrist motion, palm orientation, and thumb–index separation, which is what enables cross-embodiment transfer. A small convolutional encoder (2,760,448 parameters, seven dilated residual blocks with dilations 1 through 64) turns this stream into 256-dimensional features; its receptive field is 509 samples, or 17.0 s at 30 Hz, so each feature "sees" enough context to know where the current motion sits relative to neighboring subtasks. Crucially, this encoder is trained only to predict where annotated subtask transitions occur, using a focal binary cross-entropy loss against soft targets around each transition timestamp — not to reconstruct the input. The trained boundary head is then thrown away. The resulting features are temporally pooled to a lower rate and clustered with k-means into K = 512 centroids, and each pooled feature is assigned to its nearest centroid, giving a short sequence of discrete tokens.

**Stage 2 — teach a language model to read the tokens.** The tokenizer is frozen. 512 new vocabulary entries (tokens `<k0>` through `<k511>`) with trainable embeddings are added to Qwen3.5-9B, textual time markers are inserted every second, and the model is LoRA-adapted to produce a JSON list of segments with start time, end time, and description from the token sequence plus the task instruction. Supervision comes from existing subtask annotations in demonstration datasets; the loss is applied only to response tokens.

**Evaluation choices.** Boundaries are scored with Boundary F1 at multiple tolerances (matching predicted and reference boundaries one-to-one within ±0.5, ±1, or ±2 s), and semantic correctness with Grounded F1, which first matches segments by interval IoU ≥ 0.5 and then requires either description-token F1 ≥ 0.5 (lexical) or MiniLM cosine similarity ≥ 0.6 (embedding). Control annotations such as *mistake*, *pause*, *wait*, *idle*, and *reset* are excluded from description scoring.

## Why This Matters

**Research impact.** The paper reframes motion tokenization: existing tokenizers (VQ-BeT, FAST, OAT, MotionGPT) optimize reconstruction fidelity or generation efficiency, whereas KiRoSe optimizes for the information a language model needs to identify semantic transitions. The finding that a transition-supervised representation also supports progress estimation and reversal detection — with no training for either — suggests kinematics carry more usable structure than is typically extracted, and offers a cheap alternative to video-based reward and progress models.

**Real-world applications:**

- **Demonstration data curation:** automatically splitting terabyte- to petabyte-scale datasets like Open X-Embodiment into reusable subtasks, and flagging low-quality or error-containing segments.
- **Skill libraries and subtask reuse:** identifying recurring motion primitives so that segments can be recombined to synthesize new demonstrations.
- **Behavior retrieval and policy adaptation:** finding relevant past behaviors by their segmented, described structure rather than raw trajectory matching.
- **Progress and reward modeling:** detecting on an unseen robot whether a task is advancing or being undone, useful for reward shaping and failure recovery.

**Industry relevance.** Robot fleets accumulate kinematics essentially for free from their controllers, while multi-camera video is bandwidth-heavy and costly to run through multimodal models. A compact kinematic token stream that a modest open language model can read is attractive for on-premise deployment, for cross-robot pipelines where the same model must serve different embodiments (YAM, AgiBot G1, human hands), and for reducing inference cost in data-annotation loops.

## Future Directions

- **Richer sensing:** the authors propose extending the representation toward contact signals and object-centric observations, which the current 14-dimensional end-effector stream does not capture.
- **Broader embodiment coverage:** the encoder was trained only on YAM; validating on more robots and on human data at scale (beyond the 193 Ego-Exo4D trajectories) remains open.
- **Downstream uses:** the conclusion names demonstration retrieval, data curation, and reward modeling as targets beyond segmentation.
- **Offline limitation:** per-episode z-scoring makes the encoder an offline model, so streaming or online segmentation during execution is an unresolved question; combining kinematic tokens with video rather than replacing it is also untested.

## Target Audience

Robotics and robot-learning researchers working with large demonstration datasets, imitation learning, or vision-language-action models; practitioners building data pipelines for behavior cloning who need automated subtask annotation; and language-model researchers interested in compact non-text token interfaces for continuous sensor streams. Readers focused on perception, video understanding, or multimodal pretraining will find the kinematic-only framing a useful contrast to video-based approaches.

## Authors’ abstract

Segmenting robot demonstration data into disjoint temporal and semantic subsegments is valuable for learning, cleaning, retrieval, and analysis. Segmentation is often performed manually in a tedious and error prone process. Multimodal Large Language Models (MLLMs) have the potential for automating this process, but directly ingesting raw multi camera video streams into MLLMs can be costly and can quickly exhaust context windows. In this paper, we introduce KiRoSe (Kinematics…

[The full abstract on arXiv](https://arxiv.org/abs/2610.31801)

[Read the original paper](https://arxiv.org/abs/2610.31801)

## Related papers

- [RoboSimStudio: An Interactive Toolkit for Human and Agent Rapid Real2Sim of Robot Manipulation Tasks](https://robotics.world/paper/robosimstudio-an-interactive-toolkit-for-human-and-agent-rapid-real2sim-2610.18835) 2026-10-13 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- [VABAR: A Variational Automation Benchmark for Agentic Robotics](https://robotics.world/paper/vabar-a-variational-automation-benchmark-for-agentic-robotics-2611.06881) 2026-11-04 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- [A Controlled Study of Models, Skills, Feedback, and Curriculum in Agentic Robotics](https://robotics.world/paper/a-controlled-study-of-models-skills-feedback-and-curriculum-in-agentic-2611.09030) 2026-11-06 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- [Flip Anything with Agentic Robotics Self-Learning](https://robotics.world/paper/flip-anything-with-agentic-robotics-self-learning-2611.11941) 2026-11-09 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- [H2RBench: A Real-to-Sim Benchmark for Evaluating Human-to-Robot Transfer](https://robotics.world/paper/h2rbench-a-real-to-sim-benchmark-for-evaluating-human-to-robot-transfer-2609.24778) 2026-09-21 · cs.RO · Also by Muhammad Zubair Irshad, Sergey Zakharov

---

Canonical: https://robotics.world/paper/kirose-using-kinematic-data-for-efficient-segmentation-of-robot-2610.31801
