An Empirical Study of Data-Loading Bottlenecks (and Non-Bottlenecks) in Robotic Imitation Learning
This paper challenges the assumption that data loading and online augmentation are primary bottlenecks in robotic imitation learning. Through systematic profiling within the LeRobot ecosystem, the authors find that the data path accounts for only 1.0–3.5% of per-step training time on consumer hardware. They demonstrate that substantial optimizations to the data path yield no measurable improvement in full training wall-clock time, while severe degradation stems from specific serialization flaws like unindexed sequential video decoding. The study argues that future infrastructure should focus on upstream model layers like visual feature caching rather than isolated data-loading benchmarks. Source code and scripts are available at https://github.com/PAIR-data-platform/data-core-rs.
arXiv:2611.40047v1 Announce Type: new Abstract: 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