# MimicGen

**MimicGen** 是一个系统，能够从少量人类演示中自动合成大规模机器人学习数据集——方法是将这些演示适配到仿真中的新情境。该系统由 NVIDIA Research 的 Ajay Mandlekar、Soroush Nasiriany、Bowen Wen、Iretiayo Akinola、Yashraj Narang、Linxi Fan、Yuke Zhu、Dieter Fox 及其合作者在 2023 年机器人学习会议（CoRL）上提出，从大约 200 条人类演示中，针对 18 个任务生成了超过 50,000 条演示，涵盖多样的场景配置、物体实例和机械臂。<sup>[1](https://arxiv.org/abs/2310.17596)</sup><sup> • </sup><sup>[2](https://proceedings.mlr.press/v229/mandlekar23a.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 目的 | 通过将少量人类演示适配到新情境，自动合成大规模、丰富的数据集<sup>[1](https://arxiv.org/abs/2310.17596)</sup> |
| 标志性规模 | 从约 200 条人类演示中，针对 18 个任务生成超过 5 万条演示<sup>[1](https://arxiv.org/abs/2310.17596)</sup> |
| 发表 | Mandlekar 等，CoRL 2023，Proceedings of Machine Learning Research 229:1820-1864；arXiv 2023 年 10 月 26 日<sup>[2](https://proceedings.mlr.press/v229/mandlekar23a.html)</sup><sup> • </sup><sup>[1](https://arxiv.org/abs/2310.17596)</sup> |
| 核心机制 | 从源演示中组合以物体为中心的子任务片段，将其变换到每个子任务开始时观测到的新物体位姿<sup>[3](https://mimicgen.github.io/docs/tutorials/datagen_custom.html)</sup> |
| 迁移维度 | 生成可针对不同的重置分布、不同的机械臂或不同的物体实例<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup> |
| 输出格式 | 兼容 robomimic 的 HDF5 文件，可直接用于模仿学习，通常为行为克隆<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup> |
| 关键局限 | 需要已知的以物体为中心的子任务序列、每个子任务一个参考物体，且仅适用于准静态任务；使用朴素线性插值，不考虑碰撞<sup>[5](https://proceedings.mlr.press/v229/mandlekar23a/mandlekar23a.pdf)</sup> |

## 工作原理

MimicGen 将每个操作任务视为一系列以物体为中心的子任务，每个子任务的运动都相对于恰好一个物体定义。系统将每条源人类演示解析为这些子任务片段，然后通过以下方式生成新轨迹：在新场景中观测每个子任务开始时相关物体的位姿，将对应的人类片段变换到该物体的坐标系中，并用控制器执行所得的末端执行器轨迹。<sup>[3](https://mimicgen.github.io/docs/tutorials/datagen_custom.html)</sup><sup> • </sup><sup>[6](https://www.researchgate.net/publication/394362220_Constraint-Preserving_Data_Generation_for_Visuomotor_Policy_Learning)</sup>

三条任务特定信息使这一切成为可能。一个环境接口类告诉 MimicGen 如何在生成过程中获取物体位姿和其他信息；`get_object_poses` 方法返回一个字典，将物体名称映射到 4x4 位姿矩阵；`get_subtask_term_signals` 提供二值标志，标记每个子任务何时完成，源演示中第一个从 0 到 1 的跳变决定子任务的结束。对于 robosuite 的 Stack Three 任务，四个子任务分别是抓取 cubeA、将 cubeA 放到 cubeB 上、抓取 cubeC、将 cubeC 放到 cubeA 上，抓取和放置检查作为终止信号。最后一个子任务不需要信号，因为它的结束就是源演示的结束。<sup>[3](https://mimicgen.github.io/docs/tutorials/datagen_custom.html)</sup> 在无法使用启发式方法的地方，可以用标注脚本手动分割演示。<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup>

该接口还在仿真器动作和末端执行器控制器的目标位姿之间进行转换，通常通过缩放因子和旋转约定之间的转换来实现。<sup>[3](https://mimicgen.github.io/docs/tutorials/datagen_custom.html)</sup>

## 工作流程

典型应用包含四个步骤。<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup>

1. **收集源演示**，通常通过遥操作完成，生成兼容 robomimic 的 HDF5 文件。
2. **标注源数据集**，使用 `scripts/prepare_src_dataset.py`，该脚本需要任务的环境接口类，并在每个时间步提取 DatagenInfo 对象。
3. **运行数据生成**，使用 `scripts/generate_dataset.py` 和 JSON 配置文件。该脚本执行子任务分解、采样新物体位姿、在仿真中重放适配后的轨迹、仅保留成功的运行，并写入新的 HDF5 文件。<sup>[7](https://www.roboticscenter.ai/datasets/mimicgen)</sup> 默认情况下，未经编辑的快速启动配置会一直运行，直到收集到 1,000 条成功轨迹。<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup>
4. **训练策略**，用任意模仿学习算法在生成的数据上训练；行为克隆是常见选择，robomimic 提供了训练流程。<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup>

生成不需要在与源演示完全相同的任务上运行。论文和文档涵盖了具有不同重置分布、不同机械臂和不同物体实例的任务变体。<sup>[4](https://mimicgen.github.io/docs/tutorials/getting_started.html)</sup>

## 结果与采用

在原始评估中，用 MimicGen 生成的数据训练出的智能体在长时程和高精度任务上表现强劲，例如多部件装配和咖啡制作，覆盖广泛的初始状态分布，且生成数据的有效性与收集额外人类演示相比具有优势。<sup>[1](https://arxiv.org/abs/2310.17596)</sup> 发布的数据集包含约 50,000 条合成演示，覆盖 18 个任务和 4 种具身形态，包括接触丰富的操作任务，如螺母装配、咖啡制作、厨房清理和双臂锤击。<sup>[7](https://www.roboticscenter.ai/datasets/mimicgen)</sup>

在 robomimic Square 任务上的一项实验中，分别从一位较高质量操作员的 10 条演示和一位较低质量操作员的 10 条演示生成数据集；在各自数据上训练的策略取得了可比的结果，这表明在数据规模很大时，数据质量可能不那么重要。<sup>[8](https://mimicgen.github.io/?trk=public_post_reshare-text)</sup>

MimicGen 成为 robosuite 生态中的标准数据扩展工具。RoboCasa 使用它生成了 1,615 小时的合成预训练数据，涵盖 60 个原子任务，每个任务约 10,000 条演示，另有 482 小时的人类遥操作数据。<sup>[9](https://robocasa.ai/docs/build/html/datasets/datasets_overview.html)</sup> RoboCasa365 基准后来报告了一个注意事项：朴素地将 MimicGen 合成数据与人类数据混合并没有帮助，因为合成演示的质量参差不齐。Human300（仅人类数据）在下游表现上优于 Human300 加 60 个 MimicGen 任务，在 100% 目标数据下平均成功率为 52.5% 对 51.1%，在 10% 下为 40.0% 对 35.9%。<sup>[10](https://arxiv.org/abs/2603.04356)</sup>

## 局限性

作者列出了若干假设和局限。<sup>[5](https://proceedings.mlr.press/v229/mandlekar23a/mandlekar23a.pdf)</sup>

- 任务必须具有已知的以物体为中心的子任务序列，且每个子任务必须恰好依赖一个参考物体；涉及两个或更多物体的子任务不受支持。
- 在生成时，系统需要每个子任务开始时的物体位姿估计。作者确实展示了使用位姿估计方法的真实世界操作，对位姿误差有一定容忍度。
- 对生成数据的过滤是朴素的，仅基于任务成功与否，因此生成的数据集可能带有偏差或伪影。
- 片段之间用朴素的线性插值连接，不考虑场景几何，可能导致意外碰撞；较长的插值片段也可能损害策略学习。
- 物体迁移仅在几何相似的同类刚体物体上展示过，且坐标框架对齐；软物体不受支持。
- 系统面向准静态任务，原始形式不太可能适用于动态任务，尽管跟踪目标末端执行器位姿路径允许为具有不同动力学的机械臂生成数据。
- 移动操作假设底座和手臂不会同时移动，移动底座的动作是复制的而非变换的。

## 后续系统

该方法已被扩展到更困难的场景。**DexMimicGen**（Jiang 等，ICRA 2025）为具有灵巧手的人形机器人生成双臂操作轨迹，仅从 60 条源人类演示中就在其任务上生成了 21,000 条演示，并在真实人形机器人罐子分拣任务上展示了从真实到仿真再到真实的流程。<sup>[11](https://arxiv.org/abs/2410.24185)</sup> **HumanoidMimicGen** 为人形机器人移动操作适配接触丰富的全身技能，并报告称，在其生成数据与小型真实世界数据集上联合训练的策略，表现比仅在真实世界数据上训练的策略高出 20%。<sup>[12](https://humanoidmimicgen.github.io/)</sup> **Interventional MimicGen**（I-MG）从少量人类干预中生成合成纠正干预，以解决位姿估计误差带来的分布偏移；在 Nut Insertion 任务上，用 I-MG 数据训练的策略达到 98.7% 的成功率，而用相同源预算的 MimicGen 完整演示训练的策略为 54.7%。<sup>[13](https://sites.google.com/view/interventional-mimicgen)</sup> **DynaMimicGen** 将该框架扩展到动态任务。<sup>[14](https://arxiv.org/abs/2511.16223)</sup>

## References

1. [Mandlekar, A. et al. (2023). MimicGen: A Data Generation System for Scalable Robot Learning using Human Demonstrations. arXiv:2310.17596.](https://arxiv.org/abs/2310.17596)
2. [Mandlekar, A. et al. (2023). MimicGen. Proceedings of The 7th Conference on Robot Learning, PMLR 229:1820-1864.](https://proceedings.mlr.press/v229/mandlekar23a.html)
3. [Data Generation for Custom Environments, MimicGen 1.0 documentation.](https://mimicgen.github.io/docs/tutorials/datagen_custom.html)
4. [Getting Started, MimicGen 1.0 documentation.](https://mimicgen.github.io/docs/tutorials/getting_started.html)
5. [Mandlekar, A. et al. (2023). MimicGen, full paper PDF (Limitations appendix). PMLR.](https://proceedings.mlr.press/v229/mandlekar23a/mandlekar23a.pdf)
6. [Constraint-Preserving Data Generation for Visuomotor Policy Learning (description of MimicGen mechanism).](https://www.researchgate.net/publication/394362220_Constraint-Preserving_Data_Generation_for_Visuomotor_Policy_Learning)
7. [MimicGen: Synthetic Demonstration Generation, Robotics Center Datasets.](https://www.roboticscenter.ai/datasets/mimicgen)
8. [MimicGen project page.](https://mimicgen.github.io/?trk=public_post_reshare-text)
9. [Overview of Datasets, RoboCasa 1.0.1 documentation.](https://robocasa.ai/docs/build/html/datasets/datasets_overview.html)
10. [RoboCasa365: Generalist Robot Simulation Benchmark (summary of data composition ablations).](https://arxiv.org/abs/2603.04356)
11. [Jiang, Z. et al. (2024). DexMimicGen: Automated Data Generation for Bimanual Dexterous Manipulation via Imitation Learning. arXiv:2410.24185.](https://arxiv.org/abs/2410.24185)
12. [HumanoidMimicGen: Data Generation for Loco-Manipulation via Whole-Body Planning.](https://humanoidmimicgen.github.io/)
13. [Hoque, R. et al. Interventional MimicGen project page.](https://sites.google.com/view/interventional-mimicgen)
14. [DynaMimicGen: A Data Generation Framework for Robot Learning of Dynamic Tasks. arXiv:2511.16223.](https://arxiv.org/abs/2511.16223)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Robot software, AI, and methods › Datasets and benchmarks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/mimicgen

English original: https://www.edgepedia.org/mimicgen
