Rethinking Video Storage for AI Training: Breaking Cross-Frame Dependencies for Efficient Random Access
Organizations: Peking University · Tsinghua University
Abstract
Large-scale AI training increasingly relies on massive video datasets with random temporal sampling patterns. However, existing video storage paradigms are optimized for sequential playback and employ sophisticated inter-frame reference structures to maximize compression efficiency. When applied to the random-sampling workloads of AI training, these paradigms face substantial decoding-efficiency bottlenecks. Workarounds such as independent JPEG frames and short groups of pictures (GOPs) reduce decoding work at the cost of larger storage and transfer volumes. In this paper, we identify two sources of decode amplification: sequential reconstruction of unrelated frames and reconstruction of the reference chains required by sampled targets. We address both sources by co-designing the decoding schedule and video reference structure. Dependency-aware sparse decoding reconstructs only requested frames and their required references, skipping unrelated reconstruction without transcoding the source videos. Optional offline Dependency-Decoupled Random Access (DDRA) encoding further reduces reference reconstruction by restricting each interior frame to two bounding intra-coded anchors. Together, sparse decoding and DDRA retain inter-frame prediction while bounding reconstruction to at most three frames per requested target, independent of the intra period. Experiments on a large-scale robotics corpus show that, at comparable reconstruction quality, our method achieves the loading throughput of LeRobot v3 with 58.7% less media payload.
Figures & tables
| 1 | |
|---|---|
| 2 | |
| 3 | |
| 4 | |
| 5 | for in order do |
| 6 | if then |
| 7 |
| No offline transcoding | Offline transcoding required | ||||||||
| Pattern | Stat. | PyAV | Decord | Torch Codec | Ours native | JPEG | LeRobot v3 | Ours-DDRA H.264 | Ours-DDRA H.265 |
| Loading time (ms/batch) | |||||||||
| Contiguous | Average | 336.5 | 305.2 | 278.2 | 226.7 | 251.0 | 170.2 | 123.6 | 118.2 |
| p95 | 2286.0 | 1916.3 | 1963.7 | 1348.3 | 1274.6 | 982.2 | 573.2 | 521.5 | |
| Random | Average | 594.2 | 407.1 | 383.3 | 297.8 | 248.8 | 185.1 | 134.1 | 140.6 |
| p95 | 2895.7 | 2088.3 | 1952.8 | 1921.3 | 1238.9 | 1218.2 | 633.4 | 714.9 | |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Representation | Quality setting | RGB PSNR (dB) |
|---|---|---|
| LeRobot v3 (AV1) | CRF 30 | 41.473 |
| JPEG | Quality 79, 4:4:4 | 41.393 |
| Ours-DDRA (H.264) | CRF 16 | 41.294 |
| Ours-DDRA (H.265) | CRF 16 | 41.496 |
| LIBERO | MVBench | |||||
| Method | Setting | ( ) | VLA (%) | WAM (%) | ( ) | VLM (%) |
| Original | – | 1.000 | 98.00 | 99.20 | 1.000 | 65.87 |
| DDRA (H.264) | CRF18 | 28.885 | 97.75 | 98.90 | 0.703 | 66.13 |
| DDRA (H.264) | CRF28 | 92.307 | 97.00 | 98.55 | 2.067 | 66.42 |
| DDRA (H.264) | CRF38 | 249.160 | 85.60 | 86.40 | 5.511 | 64.89 |
| DDRA (H.264) | CRF48 | 574.095 | 39.45 | 45.25 | 15.510 | 63.82 |
Video Compression
Video compression reduces the bits needed to store or transmit moving images while balancing visual quality, computational cost, and downstream usefulness.
See all 73 papers