ロボット模倣学習におけるデータ読み込みボトルネックの実証研究
An Empirical Study of Data-Loading Bottlenecks (and Non-Bottlenecks) in Robotic Imitation Learning
LeRobot環境で学習パイプラインを計測し、データ読み込みは学習時間の1〜3.5%に過ぎず、最適化しても実学習時間は短縮されないことを示した研究。
著者: Mrinal Jain, Arpit Gupta, Animesh Garg
分類: cs.RO
原文アブストラクト
Modern robotic imitation learning pipelines increasingly rely on large-scale datasets, prompting heavy engineering investments in high-performance data infrastructure under the assumption that dataset loading and online augmentation present primary bottlenecks. We challenge this assumption through a systematic, measurement-driven profile of end-to-end policy training within the LeRobot ecosystem across various spatial resolutions. We evaluate standard implementations against a custom, high-performance Rust data engine utilizing Apache Arrow for zero-copy memory access and a copy-on-write (CoW) shared cache. Our profiling reveals three key findings: first, across all reachable configurations on consumer hardware, the data path accounts for a mere 1.0--3.5\% of per-step training time; second, substantial data-path optimizations yielding massive isolated micro-benchmark speedups translate to zero measurable wall-clock improvement in full training; and third, severe data-path degradation stems solely from format-specific serialization flaws, such as unindexed sequential video decoding. Finally, we argue that future robotics data infrastructure must be evaluated against overall training step ratios rather than isolated benchmarks, shifting the community's optimization paradigm away from data loading and toward upstream model layers like visual feature caching. The data engine and training, benchmarking, and evaluation scripts are available at https://github.com/PAIR-data-platform/data-core-rs
