Manuscript Offprint

arXiv:2610.31801

KiRoSe: Using Kinematic Data for Efficient Segmentation of Robot Demonstrations

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

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 for Robot Segmentation), a novel framework that focuses on the companion stream of robot kinematic data. Inspired by the principle of classical entropy coding, such as Huffman coding, where frequently occurring symbols are represented more compactly, we propose Sparse Motion Tokens (SMTs), a discrete kinematic vocabulary designed to compactly represent recurring, temporally localized motion patterns, which we refer to as kinematic events. SMTs are learned by encoding kinematic trajectories with temporal-segment supervision and quantizing the resulting features. We use increasingly available robot demonstration subtask annotations to supervise an open language model to interpret the resulting token sequences. Evaluation against human-labeled segmentation shows that KiRoSe can substantially outperform baseline segmentation methods in F1 quality and transfers zero-shot to unseen robot embodiments and ego-centric human motion, while preserving the language model's open-vocabulary knowledge. Beyond segmentation, KiRoSe tracks task progress on an unseen robot and detects when an action is being reversed. (website: https://berkeleyautomation.github.io/kirose/)

'Grasp closure ( g˙<0\dot{g} < 0) + Synchronized upward lift ( vz>0v_z > 0)

Figure

Bimanual Lift: k432 k118 k47 k0

giver gripper opens ( g˙>0\dot{g} > 0) while the receiver gripper closes ( g˙<0\dot{g} < 0).

Handover: k0 k393 k303 k326 k287

gripper closure ( g˙<0\dot{g} < 0) and upward payload transport.

Figure

Single arm object pick up: k150 k35 k134

release ( g˙>0\dot{g} > 0) and arm retraction away from the workspace.

Single arm place: k134 k35 k150

Figure 1: Encoding Kinematic Events into Sparse Motion Tokens. Across diverse manipulation tasks and objects, continuous robot motion decomposes into recurring, temporally localized patterns termed kinematic events (e.g., bimanual lift, handover, pick, place). Despite visual and spatial variations, end-effector trajectories within the same motion primitive share structural kinematic signatures. KiRoSe compresses kinematic events into a short, ordered sequence of N discrete Sparse Motion Tokens (colored blocks; shaded chronologically).

1 INTRODUCTION

Large-scale robot demonstration datasets, such as Open X-Embodiment (Open X-Embodiment Collaboration, 2023), can grow to terabyte or even petabyte scale and span diverse robot embodiments and manipulation tasks. Beyond directly training Vision-Language-Action (VLA) models, understanding the structure within these trajectories is important for effectively using them. Robot demonstrations of “put the cup in the cabinet” and “put the book on the shelf,” for example, share stages such as reaching, grasping, transporting, and placing, potentially mixed with pauses or corrective motions. We refer to recurring, temporally localized motion patterns underlying these stages as kinematic events (Figure 1). Identifying meaningful kinematic events supports demonstration generation through subtask reuse (Mandlekar et al., 2023), learning and sequencing reusable skills (Garrett et al., 2024), and retrieving relevant behaviors for policy adaptation (Memmel et al., 2024). Such intervals also provide useful units for inspecting demonstration quality, complementing approaches that improve policy learning through data filtering (Chen et al., 2025) or progress-based weighting (Chen et al., 2026b).

Manually annotating this structure is tedious and error-prone. Multimodal Large Language Models (MLLMs) offer a promising route to automate subtask annotation, but processing long, synchronized multi-camera videos can incur substantial inference costs and quickly exhaust their context windows. We observe that proprioceptive kinematics provide a compact and information-dense alternative to video: for example, gripper closure may indicate grasping, while a subsequent increase in end-effector velocity may indicate the transition from grasping to object transport (Figure 1). However, raw kinematic trajectories are high-frequency and high degree-of-freedom continuous time series without the discrete, semantically structured representation (e.g., directly convert a 1 minute bimanual robot trajectory at 30 Hz consumes approximately 500k text tokens).

In this paper, we introduce KiRoSe (Kinematics for Robot Segmentation), a framework that focuses on using compact kinematics representation to identify action and their boundaries. At its core are Sparse Motion Tokens (SMTs), a low-rate kinematic tokenizer for pretrained VLMs. Rather than asking a tokenizer to faithfully reconstruct every low-level state, we use the increasingly available subtask annotations in large-scale robot demonstration datasets as supervision for learning a sparse motion vocabulary that preserves information useful for language-model reasoning. We first encode high-frequency kinematic trajectories into temporally contextual features and quantize them into a compact discrete vocabulary. To make these tokens interpretable by a language model, we add the SMT vocabulary to a pretrained language model and supervise the reader with trajectory segment annotations containing segment boundaries and natural-language action descriptions. The tokenizer remains fixed during this stage, so the language model learns to interpret the motion vocabulary rather than reshaping the underlying representation.

We evaluate KiRoSe on held-out trajectory segmentation, zero-shot cross-embodiment transfer, semantic description of unseen actions, and task-progress understanding. Results show that KiRoSe achieves a boundary F1 within 1 second of 0.63 vs. 0.42 for the strongest alternative kinematic tokenizer on 200 held-out YAM episodes, and, transferred zero-shot to an unseen AgiBot embodiment, a boundary F1 within 0.5 seconds of 0.61 vs. 0.30 for GPT-6 Astra. KiRoSe also retains the language model's open-vocabulary knowledge, producing task-appropriate words absent from its training annotations on unseen human tasks; when a subtask is played backward, KiRoSe tracks the reversal with a progress correlation of ρ=−0.68\rho = -0.68 on AgiBot, compared with ρ=+0.88\rho = +0.88 for the video-based ReWiND baseline (Zhang et al., 2025).

To summarize, we make the following contributions: (1) Sparse Motion Tokens (SMT), a boundary-supervised, low-rate kinematic tokenizer that compresses high-frequency robot motion into a compact discrete vocabulary with semantic and temporal motion structure; (2) KiRoSe, an end-to-end framework that adapts an open language model to interpret SMT sequences with temporal markers, enabling trajectory segmentation, zero-shot cross-embodiment transfer, open-vocabulary action description, and task-progress understanding; (3) Evaluation Data suggests substantial performance improvement in segmentation quality over baseline and frontier VLMs.

References (68)