Robotics teams often turn ROS bag recordings into machine-learning datasets with ad hoc sequential scripts, which creates engineering overhead and slow iteration. Researchers from the Technical University of Munich propose treating this conversion as an artifact-based build process, similar to compiling software from source. Their open-source Bazel extension, Bagzel, represents dataset construction as a dependency graph, enabling reproducible and incremental generation.

In experiments comparing Bagzel and a variant called Bagzel-xattr against a sequential rosbag2nuscenes baseline, the build-based approach reduced runtime in all tested execution modes. The largest gains appeared in iterative workflows: warm builds were up to 386.26x faster and incremental builds 7.21x faster on a 20.4 GB dataset. Across dataset sizes from 5.1 to 20.4 GB, Bagzel variants also showed markedly better scaling behavior than the baseline.

The authors note that Bagzel-xattr, which manages digests on the server side, provided additional gains, with a mean runtime reduction of 5.9% compared to Bagzel in the input granularity study. The paper, accepted at the 2026 IEEE CASE conference, argues that this deterministic, artifact-based approach substantially reduces dataset update latency while supporting reproducibility.