Skip to content
Gamma-RobotPublic

About

Graph-Reweighted Behavior Cloning with Human Interventions for Precise Robotic Manipulation

Resources

Stars

72 stars

Watchers

6 watching

Forks

Repository files navigation

Graph-Reweighted Behavior Cloning with Human Interventions
for Precise Robotic Manipulation

CoRL 2026

Xiaoman Li1,2   Zhiqiang Yang2,3   Jiayu Hu2,4   Jipeng Kong2,5
Yang Zhang2,6   Jingwei Zhang2,3   Fangzheng Yan2   Chunhua Shen1,†   Chenjia Bai2,7,†

1Zhejiang University, State Key Lab of CAD & CG
2The Institute of Artificial Intelligence, China Telecom (TeleAI)
3South China University of Technology   4University of Science and Technology of China
5ShanghaiTech University   6Tsinghua University   7Gamma Robotics

† Corresponding authors

Paper: arXiv 2610.20504 Project page and videos Supported VLA training interfaces Code license: Apache 2.0

GR-BC overview: build a multi-view goal-reachability graph, retrieve remaining steps, weight supervised action chunks, and incorporate intervention-assisted rollouts.

Learn from progress-making action chunks, including recoveries inside imperfect trajectories, without training a reward model or critic.

Installation · Generate weights · Train VLAs · Visualize and evaluate · Citation

📣 Updates

  • 🚀 2026-10-16: Code released, with graph weighting, VLA training, and visualization tools.
  • 📄 2026-10-14: Paper available on arXiv.
  • 🎉 2026-10-05: GR-BC accepted to CoRL 2026!

Data | Training | Evaluation | Method notes

To-do List

  • Release graph weighting and progress visualization.
  • Support weighted SFT for SmolVLA, X-VLA, and pi0.5.
  • Release code combining RLT with GR-BC for online RL training.

Installation

Use a fresh Python environment with a compatible PyTorch/CUDA setup.

git clone https://github.com/Gamma-Robot/GR-BC.git
cd GR-BC
conda create -n grbc python=3.11 -y
conda activate grbc
python -m pip install torch==2.7.1 torchvision==0.22.1 --index-url https://download.pytorch.org/whl/cu128
python -m pip install -e '.[grbc,smolvla,xvla]'

The CUDA 12.8 wheels above support RTX 50-series GPUs; use a compatible NVIDIA driver. See the short smoke test to check graph generation, progress plots, and training before a full run.

For pi0.5, use a separate environment and install '.[grbc,pi]' instead; its custom Transformers dependency conflicts with the other backbone extras.

Download the official MCR ResNet50 checkpoint from Robots Pre-Train Robots. Model checkpoints and private datasets are not bundled.

hf download GqJiang/robots-pretrain-robots mcr_resnet50.pth --local-dir checkpoints/mcr

Prepare Data

Prepare each task in LeRobot v3.0 dataset format, including synchronized camera views, robot states/actions, and genuine success/reward labels. See the dataset guide.

export DATASET_ROOT=/absolute/path/to/task_v3
export MCR_CKPT=/absolute/path/to/mcr_resnet50.pth

Generate Weights

grbc-export \
  --dataset "$DATASET_ROOT" --mcr-ckpt "$MCR_CKPT" \
  --output-dir outputs/task

The run produces per-frame transition_weights.parquet, graph artifacts, and diagnostic figures without modifying the input dataset. Keep the original dataset frame IDs unchanged for training. Configurations and history-aware usage are documented in the method notes; the resolved settings are saved with each run.

Weighted SFT

export WEIGHTS_PATH="$PWD/outputs/task/transition_weights.parquet"
export OUTPUT_DIR="$PWD/outputs/train_smolvla"
bash scripts/train_smolvla.sh

Use scripts/train_xvla.sh or scripts/train_pi05.sh for the other backbones. Each launcher selects its matching base checkpoint; set PRETRAINED_PATH only to override it. Add --dry-run to inspect a command first; set USE_GRBC=false for uniform SFT. See training instructions for multi-GPU execution and checkpoint requirements.

Visualize and Evaluate

grbc-visualize --run outputs/task --episodes 0 1 6
grbc-evaluate --run outputs/task

Visualize dense progress/weight curves, graph structure, camera frames, and actual shortest paths. The evaluation guide also covers fixed-episode comparisons, isolated-query graph evaluation, and offline checkpoint validation. These diagnostics are not a substitute for closed-loop policy evaluation. See validation scope for completed checks.

License and Citation

Code is released under Apache-2.0, retaining upstream notices. Pretrained checkpoints remain subject to their original terms. If you use this work, please cite:

@misc{li2026graphreweighted,
  title={Graph-Reweighted Behavior Cloning with Human Interventions for Precise Robotic Manipulation},
  author={Xiaoman Li and Zhiqiang Yang and Jiayu Hu and Jipeng Kong and Yang Zhang and Jingwei Zhang and Fangzheng Yan and Chunhua Shen and Chenjia Bai},
  year={2026},
  eprint={2610.20504},
  archivePrefix={arXiv},
  primaryClass={cs.RO},
  url={https://arxiv.org/abs/2610.20504}
}

Built on LeRobot and MCR, with README presentation inspired by Pi3. The main figure is Figure 1 of our paper; see asset notes and acknowledgements.

About

Graph-Reweighted Behavior Cloning with Human Interventions for Precise Robotic Manipulation

Resources

Stars

72 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages