Motion at the limit
逼近极限的武术动作
992 martial-arts clips at 50 FPS, from long fist and southern fist to staff, saber and aerial flips — captured from a real athlete, not studio acting.
992 段 50 FPS 武术动作,覆盖长拳、南拳、棍、刀、剑与空中翻腾,素材来自真实运动员而非棚拍演示。
Highly dynamic, balance-challenging martial-arts motion dataset — and a tracking policy that falls, gets up, and keeps going. 高动态、考验平衡的武术运动数据集,以及一套跌倒后能自己站起来、接着跳的跟踪策略。
01 Watch · Bilibili collection
Backflip loops in mjlab, uninterrupted real-robot runs, the open-source walkthrough, and the FastSAC integration — everything we posted while building this. Play it here, or open the collection on Bilibili. mjlab 里的空翻循环、长时间无干扰实机、开源讲解、以及 FastSAC 接入——所有边做边发的片段都在这里。可以直接播放,也可以去 B 站看合集。
Click a clip to play it in the player above; every card also opens on Bilibili. Player may be blocked in some networks — the direct links always work.
点击列表里的任意视频即可在上方播放,卡片本身也会跳转 B 站。少数网络下播放器可能被限制,直接用链接打开即可。
02 Abstract
Humanoid motion tracking can already reproduce routine locomotion and a growing set of highly dynamic skills. What remains fragile is the boundary: when hardware is pushed near its limits, or when the controller loses balance under an unseen disturbance, most pipelines assume the robot never falls. Martial arts sit exactly on that boundary — explosive, high-amplitude, balance-critical, and full of rapid changes of support.
We build a motion dataset from 197 training videos of a national-level wushu athlete, split into 1,726 sub-clips, reconstructed with GVHMR and retargeted with GMR to a 29-DoF Unitree G1. After filtering and manual screening the dataset keeps 992 samples at 50 FPS, partitioned into a Ground set (one foot always in contact) and a Jump set (both feet airborne) — the natural target for fall-recovery research.
On top of the data we propose a training paradigm that explicitly models unsafe states: low-kinetic-energy motion sampling, gravity-based randomized state initialisation, and a recovery objective that turns a fall into a temporary state instead of a terminal one. The result moves humanoid control from “motion tracking” to “recovery-enabled motion execution”.
人形机器人的运动跟踪已经能复现常规步态,也能完成不少高动态动作。真正脆弱的在边界上:硬件被推到极限、控制器在未知扰动下失衡时,绝大多数工作都假设机器人不会摔倒。武术恰好落在这条边界上——爆发力强、幅度大、极度依赖平衡,且重心与支撑频繁切换。
我们以一位国家级武术运动员的 197 段训练视频为素材,切分为 1,726 个子片段,用 GVHMR 重建动作、GMR 重定向到 29 自由度的宇树 G1。经过筛选与人工校验,最终保留 992 条 50 FPS 的动作样本,划分为 Ground(始终至少一只脚触地)与 Jump(双脚离地)两个子集——后者正是跌倒恢复研究的理想试验场。
在数据之上,我们提出一套显式建模“不安全状态”的训练范式:低动能动作采样、基于重力的随机状态初始化,以及把跌倒从“终止状态”变成“可恢复状态”的恢复目标。它把人形控制从“动作跟踪”推进到“带恢复能力的动作执行”。
“A fall is not the end of an episode — it is just another state the policy knows how to leave.”
“摔倒不是回合的结束,它只是策略学会离开的又一个状态。”
992 martial-arts clips at 50 FPS, from long fist and southern fist to staff, saber and aerial flips — captured from a real athlete, not studio acting.
992 段 50 FPS 武术动作,覆盖长拳、南拳、棍、刀、剑与空中翻腾,素材来自真实运动员而非棚拍演示。
An extreme-point correction removes the root-height drift that plagues video-based capture of airborne motion.
用极值点校正消除视频重建在空中动作上常见的根节点高度漂移。
Low-energy sampling and randomized initial states teach a policy to get back up — validated on hardware, without a gantry.
低动能采样与随机初始状态让策略学会“重新站起来”——已在实机上验证,无需龙门架。
03 Dataset
Every clip passes the same pipeline: scene-cut segmentation, monocular motion capture, retargeting to the G1, gravity-based height correction, then human screening. 每一段素材都走同一条流水线:场景切分、单目动作捕捉、重定向到 G1、基于重力的高度校正,最后人工筛选。
Click a row to reveal its sub-disciplines. Skill-based motions (flips, air spins, lotus swings) exist only in the Jump subset.
点击任意一行可展开其子类别。技巧类动作(侧空翻、空中转体、旋子)仅出现在 Jump 子集中。
Non-jumping actions, at least one foot on the ground throughout.
无腾空动作,全程至少一只脚与地面接触。
550 daily · 99 saber/sword · 93 fist · 80 staff
Aerial motion where both feet leave the ground — somersaults, cartwheels, air spins.
双脚离地的腾空动作——空翻、侧手翻、空中转体。
74 daily · 69 skills · 12 saber/sword · 10 staff · 5 fist
{
"smpl_params_global": {
"body_pose": (N, 63),
"betas": (N, 10),
"global_orient":(N, 3),
"transl": (N, 3)
},
"smpl_params_incam": …
}
Use these if you retarget with a different method or to another robot.
如需换用其它重定向方法或其它机器人平台,请使用 SMPL-H 文件。
{
"fps": array(50),
"qpos": ndarray (N, 36)
}
# 36 = 3 (xyz) + 4 (quat wxyz) + 29 DoF
Ready for MJLab / BeyondMimic-style training without any extra conversion.
可直接用于 MJLab / BeyondMimic 风格的训练,无需额外转换。
04 Motion dynamics
Body linear and angular velocity, averaged over each dataset. Bars show the mean, whiskers one standard deviation. 各数据集上人体线速度与角速度的均值,须线表示一个标准差。
| Dataset | Body linear vel. | Body angular vel. | Frames | FPS |
|---|---|---|---|---|
| AMASS | 0.188 ± 0.165 | 0.510 ± 0.309 | 2 – 8,788 | 30 |
| PHUMA | 0.193 ± 0.130 | 0.585 ± 0.368 | 49 – 222 | 50 |
| LAFAN1 | 0.790 ± 0.251 | 1.962 ± 0.553 | 3,065 – 9,171 | 50 |
| KungFuAthlete · Ground | 0.496 ± 0.324 | 1.537 ± 0.959 | 24 – 15,792 | 50 |
| KungFuAthlete · Jump | 0.948 ± 0.473 | 2.832 ± 1.431 | 25 – 2,842 | 50 |
Metrics averaged over the entire dataset. Long clips (up to 15,792 frames ≈ 5 min) make our data suitable for long-horizon tracking and recovery studies.
指标为全数据集的平均值。最长片段达 15,792 帧(约 5 分钟),适合长时程跟踪与恢复研究。
0.948 m/s and 2.832 rad/s — roughly 5.0× and 5.6× AMASS, and above every dataset in the table.
0.948 m/s 与 2.832 rad/s,约为 AMASS 的 5.0 倍与 5.6 倍,在两轴上均高于表中所有数据集。
Even without jumps, the ground subset is 2.6× / 3.0× AMASS and 2.6× / 2.6× PHUMA on both axes.
即便不含腾空,Ground 子集在两轴上仍是 AMASS 的 2.6 / 3.0 倍、PHUMA 的 2.6 / 2.6 倍。
LAFAN1's mocap locomotion keeps a higher average velocity; our contribution is amplitude and transients, not raw smoothness.
LAFAN1 的平均速度更高。我们的优势在于动作幅度与瞬态变化,而不是平滑度。
05 Height correction
On jump clips the GVHMR root drifts: the athlete appears to sink or float between contacts. We detect the extreme points of the motion and re-anchor the root height by gravity, then replay the same clip through the retargeting pipeline. 在腾空片段中,GVHMR 的根节点会产生漂移:运动员看起来时而陷地、时而悬空。我们检测动作的极值点并依据重力重新锚定根节点高度,再用同一条重定向管线回放对比。
G1 qpos playback of the same clip, before and after the extreme-point height correction.
同一段动作在 G1 上的 qpos 回放:左为校正前,右为极值点高度校正后。
The untouched GVHMR reconstruction that feeds retargeting.
未经修正的 GVHMR 重建结果,作为重定向的输入。
Contact frames define the floor; airborne apexes are re-projected so that ballistic arcs stay monotone. The corrected qpos keeps the original joint trajectories — only the root height changes.
以触地帧确定地面,重新投影腾空最高点,使抛物线保持单调。校正只改变根节点高度,各关节轨迹保持不变。
adjust_robot_height_by_gravity.py
06 Method
Instead of assuming a safe state, the sampler deliberately visits low-kinetic-energy states and randomized initial poses — the places from which a fall is about to happen. 采样器不再假设“始终安全”,而是刻意进入低动能状态与随机初始位姿——也就是跌倒即将发生的位置。
Training episodes are biased toward frames where the motion momentarily slows — the pre-fall states a robot actually needs to recover from.
训练回合更倾向采样动作短暂变慢的帧——这正是机器人真正需要脱困的“跌倒前状态”。
Initial states are drawn from a Bernoulli distribution over physically plausible poses, so the policy sees lying, kneeling and half-fallen configurations.
初始状态由物理合理位姿上的伯努利分布采样,使策略见到躺姿、跪姿与半摔倒的构型。
Penalties on foot height, knee-jerk and foot slip keep recovered motion physically plausible instead of a violent snap back to the reference.
对足部高度、膝关节冲击与打滑施加惩罚,让恢复动作物理合理,而不是猛地弹回参考轨迹。
07 Training code
Built on Unitree RL MJLab, extended with the recovery modules. PPO is the default backend; FastSAC is an optional off-policy alternative. 基于宇树 RL MJLab,扩展了恢复模块。默认使用 PPO,也可切换到 off-policy 的 FastSAC。
Learn rough tracking and basic fall recovery with adaptive motion sampling across 8,192 environments.
在 8,192 个并行环境中,用自适应动作采样学到粗略跟踪与基本跌倒恢复。
# PPO backend
python scripts/train.py \
Unitree-G1-1307-Stage-I \
--env.scene.num-envs=8192
Resume and tighten tracking accuracy on the same motion file.
在同一动作文件上继续训练,收紧跟踪精度。
# resume stage I
python scripts/train.py \
Unitree-G1-1307-Stage-II \
--agent.resume=True
Penalise residual falls and stress the policy with disturbances before deployment.
抑制残余跌倒,并在部署前用扰动加压测试策略。
# resume stage II
python scripts/train.py \
Unitree-G1-1307-Stage-III \
--agent.resume=True
All stages share --motion-file src/assets/motions/g1/1307.npz. Make sure the environment is activated and the repo is installed with pip install -e ..
三段训练共用 --motion-file src/assets/motions/g1/1307.npz,请先激活环境并执行 pip install -e .。
| Reward ≥ | PPO (h) | FastSAC (h) | Speed-up |
|---|---|---|---|
| 35 | 4.21 | 1.65 | 2.55× |
| 38 | 7.60 | 4.18 | 1.82× |
| 39 | 10.75 | 14.10 | 0.76× |
FastSAC reaches a usable tracking policy 2.55× faster in wall-clock time; PPO still edges ahead on the final reward given a longer budget.
FastSAC 在墙钟时间上快 2.55 倍达到可用跟踪水平;若给足预算,PPO 的最终奖励仍略高。
About five minutes of continuous Tai Chi — the reference motion used for fall-recovery experiments and the real deployment below.
约五分钟的连续太极,是跌倒恢复实验与下方实机演示所用的参考动作。
# MuJoCo playback
python scripts/play.py Unitree-G1-1307-Checkpoint \
--motion-file src/assets/motions/g1/1307.npz \
--checkpoint-file models/1307/1307.pt
Policy exported to ONNX with the motion file; no gantry, no human intervention.
策略导出为 ONNX,与动作文件一起部署;无需龙门架,也无需人工干预。
1307 Tai Chi on the real G1, hand-held only at initialisation.
1307 太极在真实 G1 上的执行,仅在初始化时有人辅助。
08 Results
All clips rendered from the released policy: standard tracking, tracking interrupted by falls, and recovery from a lying start. 以下片段均由已发布的策略渲染:常规跟踪、跟踪中跌倒后恢复,以及从躺姿开始的起身恢复。
Click any tile to play in full size. Videos load lazily as they enter the viewport.
点击任意缩略图可全屏播放。视频进入视口后才开始加载。
09 Citation & resources
The dataset is released for research and academic use. Video material is used with permission from the athlete. 数据集供科研与学术使用;视频素材已获得运动员本人授权。
@article{lei2026kungfuathletebot,
author = {Zhongxiang Lei and Lulu Cao and Xuyang Wang and Tianyi Qian and Jinyan Liu and Xuesong Li},
title = {A Kung Fu Athlete Bot That Can Do It All Day: Highly Dynamic, Balance-Challenging Martial Arts Motion Dataset and Autonomous Fall-Resilient Tracking},
year = {2026},
eprint = {2602.13656},
archivePrefix = {arXiv},
primaryClass = {cs.RO}
}
Acknowledgement
The video material behind this dataset comes from the publicly released training and competition demonstrations of Xie Yuanhang — an athlete of the Guangxi Wushu Team, a National-Level Elite Athlete of China, and holder of Chinese Wushu 6th Duan, who placed third in Wushu Taolu at the 10th National Games of the People's Republic of China.
His demonstrations systematically cover the International Wushu competition taolu — Changquan, Nanquan, weapon routines, and Taijiquan including Taijijian. We sincerely thank him for granting permission to use these videos for research and academic purposes only.
本项目所使用的视频素材主要来源于谢远航教练/运动员在其个人平台公开发布的武术训练与竞赛示范视频。谢远航系广西武术队运动员、国家级运动健将、中国武术六段,曾获中华人民共和国第十届运动会武术套路项目第三名。其视频内容系统覆盖国际武术竞赛套路中的长拳、南拳、器械及太极拳(剑)等多个项目。
在此特别鸣谢谢远航先生对本项目的大力支持与授权,允许我们基于其公开视频素材进行整理、处理与研究使用。本数据集仅用于科研与学术目的。
Bilibili personal homepageWe gratefully build on these open-source projects.
本项目建立在以上优秀开源工作之上,在此一并致谢。