--- tags: - robotics - action-tokenizer - bimanual - yam --- # BiCAT-tokenizer Bimanual Temporal Tokenizer (BTT) trained on action-only data from YAM bimanual robots. It turns a 32-step chunk of 14-D joint actions into discrete tokens and decodes them back. Training output layout follows the praxis codec trainer: ``` ├── checkpoints/step_500000/pretrained_model/ # weights to load (EMA) ├── checkpoints/step_500000/training_state/ # optimizer / EMA / RNG, for resuming ├── train_config.yaml # full resolved training config └── train_metrics.jsonl # training loss every 200 steps ``` ## Model | | | |---|---| | Action | 14-D absolute joint positions: per arm 6 joints + 1 gripper (0–1), left arm first | | Chunk | `action_horizon` 32 at 30 fps | | Tokens | 8 latent steps per arm, FSQ levels `[8, 8, 6, 5]` (1920 codes per token) | | Architecture | shared per-arm causal conv encoder (strides 2, 2), 6-layer joint query decoder, `model_dim` 256 | | Arm convention | right arm multiplied by `right_arm_sign = [-1, 1, 1, 1, -1, -1, 1]` before sharing the left-arm frame | | Normalization | `shared_action_min = [-2.5587, -0.3006, -0.2976, -1.8269, -1.8539, -2.8455, 0.0]`, `shared_action_max = [1.5094, 3.1508, 3.1848, 2.1506, 1.8423, 2.9560, 1.0]` (extrema of the cleaned training data, both arms pooled) | The normalization range differs from earlier BiCAT tokenizers, so token ids are not interchangeable with them. ## Training data | Source | Robot | Episodes kept | Frames kept | |---|---|---|---| | MolmoAct2-BimanualYAM-Dataset | `bi_yam_follower` | 32,225 / 32,246 | 76,010,338 | | lerobot/abc_130k_v3_train | `yam_bimanual` | 128,589 / 129,225 | 380,396,445 | Only the `action` column is used (no images). Episodes were dropped if they were shorter than 32 frames, contained non-finite values, had a single-frame arm-joint jump above 1.0 rad, or had an extreme value outside the 0.01–99.99 percentile envelope of all episodes. Sources are mixed in their natural frame ratio (about 1 : 5), so every kept frame is equally likely to be sampled. ## Training | | | |---|---| | Steps | 500,000 | | Batch | 2048 per GPU × 4 B200 = 8192 | | Samples | 4.10 B chunk starts ≈ 9.0 epochs over 456.4 M frames | | Optimizer | lr 5e-5 constant, 200 warmup steps, betas (0.9, 0.95), grad clip 1.0 | | EMA | decay 0.995 (saved `pretrained_model` holds EMA weights) | | Precision | bf16 | | Final training loss | 0.00123 | ## Reconstruction error 200,000 random 32-frame chunks per source from the kept episodes, EMA weights, fp32, raw action space. These episodes were also used for training, so this is training-set reconstruction, not held-out generalization. | Metric | MolmoAct2 | abc_130k_v3 | |---|---|---| | MSE (all 14 dims) | 0.00314 | 0.00324 | | Joint RMSE | 0.060 rad | 0.061 rad | | Joint MAE | 0.043 rad | 0.045 rad | | Joint error, 99th percentile | 0.193 rad | 0.188 rad | | Gripper RMSE | 0.022 | 0.023 | Per-joint RMSE is 1.3–1.6 % of the normalization range (gripper about 2.2 %). The wrist rotation (joint 5) has the largest error. A small tail of chunks reconstructs poorly (max joint error 1.8–1.9 rad). ## Usage With the praxis codebase: ```python from praxis.codecs.factory import make_codec codec = make_codec({ "name": "btt", "kind": "tokens", "pretrained_path": "checkpoints/step_500000/pretrained_model", }).eval() tokens = codec.tokenize(actions) # actions: (B, 32, 14) float tensor recon = codec.detokenize(tokens) # (B, 32, 14) ``` Training config: `train_omnibicat_btt_500k` (praxis). ## Citation ```bibtex @misc{liu2026bicat, title={BiCAT: Bimanual Coordination Action Tokenization}, author={Xuanwei Liu and Guipu Cao and Zhongyi Luo and Jiafei Duan}, year={2026}, eprint={2611.23499}, archivePrefix={arXiv}, primaryClass={cs.RO}, url={https://arxiv.org/abs/2611.23499} } ```