Peking University speeds up video loading for AI by 1.45x
A team led by academician Wen Gao at Peking University has released codec4AI, a video storage system for AI training. Standard codecs are built for sequential playback, but training pulls frames in random order, forcing the decoder to reconstruct a mass of unnecessary data. On a large robotics dataset, the method delivers 1.45x faster loading compared to LeRobot v3 and 58.7% less media data at comparable quality. Reconstruction is capped at three frames per requested target, regardless of how the GOP is structured. • The DDRA scheme ties each internal frame to two reference intra-frames • Sparse decoding works without re-encoding the source videos • Code and documentation are open, and VLA, WAM, and VLM quality is preserved
AI-processed from Hugging Face Daily Papers; edited by Hamidun News
Researchers at Peking University led by academician Wen Gao have proposed codec4AI: a way of storing and reading video tailored to the actual workload of neural network training. On a large robotics corpus, the DDRA H.265 variant showed 1.45x the data-loading throughput compared to the LeRobot v3 configuration the authors used as a baseline. Media volume, meanwhile, was 58.7% smaller, with comparable reconstruction quality. The paper is published on arXiv (2610.33079), and the code and documentation are openly available.
Why codecs get in the way of training
Standard video codecs were built for playback: frames run in sequence, and compression squeezes maximum efficiency out of references between neighbors. Most frames are stored as a difference relative to other frames, so showing just one requires reconstructing the chain of references back to the nearest keyframe.
Training works differently. Robotics datasets for VLA models and other multimodal systems sample frames randomly across time. The dataset loader requests a frame from the middle of a clip, and the decoder dutifully unpacks everything needed to produce it.
The authors call this effect decode amplification and identify two sources:
- sequential reconstruction of unrelated frames that no one asked for;
- reconstruction of the reference chains needed for the target frames themselves.
Common workarounds hit storage hard. Independent JPEG frames or short GOPs take load off the decoder but bloat storage volume and traffic, and at the scale of hundreds of thousands of episodes that quickly becomes a real cost line item.
Two levers: sparse decoding and DDRA
The researchers attacked both causes at once by aligning the decoding schedule with the reference structure.
The first component, dependency-aware sparse decoding, reconstructs only the requested frames and the references strictly necessary to assemble them. Everything else is skipped. The source videos don't need to be re-encoded for this, so the method can be applied to datasets that have already been accumulated.
The second component, Dependency-Decoupled Random Access (DDRA), is optional and works as offline encoding. Each internal frame gets references to only two bounding intra-encoded anchors. Inter-frame prediction is preserved, so compression stays efficient, while long dependency chains disappear.
Together these techniques produce a hard bound: no more than three frames are reconstructed per requested frame (the target plus two anchors). This upper limit doesn't depend on the length of the intra-period, meaning the GOP can be made long for the sake of compactness without paying for it in decoding time.
What the measurements showed
Experiments ran on a large robotics dataset corpus, with the LeRobot v3 configuration serving as the baseline. Results for DDRA H.265:
- 58.7% less media data;
- 1.45x data-loading throughput;
- comparable frame reconstruction quality;
- comparable results on VLA, WAM, and VLM tasks given suitable compression settings (separate experiments by the authors).
The last point is the most important one in practice. A speed gain means nothing if the model trained on heavily compressed frames performs worse afterward. The authors separately verified this on three types of models and stress a caveat: this holds for suitable compression settings, not any arbitrary bitrate.
The authors include Zetian Song, Qize Yu, Yue Chen, Shiyu Huang, Siwei Ma, and Wen Gao. The project is tied to the LeRobot ecosystem and explicitly recommends against using its default video storage.
Who should run the benchmark
The first candidates to test this are teams training policies for manipulators and humanoids on LeRobot datasets. For them, video makes up the bulk of the data volume, and the loader often bottlenecks on decoding rather than on the GPU. If the 1.45x speedup holds up on their hardware and with their sampling pattern, every epoch gets faster.
The 58.7% volume savings matters independently of speed, too. It cuts costs for storage, for copying between clusters, and for loading from remote storage.
The sequence of steps is clear. Sparse decoding can be tested on existing data without re-encoding, and if loading speeds up noticeably, the next step is DDRA and offline re-encoding of the archive. Before that, it's worth running your own task set at different compression levels, as the authors did, and confirming that downstream model metrics don't drop.
The repository is still modest, but its openness makes it possible to compare the approach against a current pipeline using one's own data.
- Oct 27, 2026XREAL launches 1 Pro+: on-device 2D-to-3D conversion at 60 frames per second
- Oct 27, 2026SkeLAM taught a robot to mirror human movements after training on just 10 hours of data
- Oct 27, 2026Action Intelligence launches Chorus: robot training data grows 40x
- Oct 26, 2026Claude Opus 5.5 wins Code2Video-AA with 1536 Elo, beating GPT-6 Astra by 109
Key Questions Answered
Why codecs get in the way of training?
Standard video codecs were built for playback: frames run in sequence, and compression squeezes maximum efficiency out of references between neighbors. Most frames are stored as a difference relative to other frames, so showing just one requires reconstructing the chain of references back to the nearest keyframe. Training works differently. Robotics datasets for VLA models and other multimodal systems sample frames randomly across time. The dataset loader requests a frame from the middle of a clip, and the decoder dutifully unpacks everything needed to produce it. The autho
What are the key details on Two levers: sparse decoding and DDRA?
The researchers attacked both causes at once by aligning the decoding schedule with the reference structure. The first component, dependency-aware sparse decoding, reconstructs only the requested frames and the references strictly necessary to assemble them. Everything else is skipped. The source videos don't need to be re-encoded for this, so the method can be applied to datasets that have already been accumulated. The second component, Dependency-Decoupled Random Access (DDRA), is optional and works as offline encoding. Each internal frame gets references to only two boun
What the measurements showed?
Experiments ran on a large robotics dataset corpus, with the LeRobot v3 configuration serving as the baseline. Results for DDRA H.265: 58.7% less media data; 1.45x data-loading throughput; comparable frame reconstruction quality; comparable results on VLA, WAM, and VLM tasks given suitable compression settings (separate experiments by the authors). The last point is the most important one in practice. A speed gain means nothing if the model trained on heavily compressed frames performs worse afterward. The authors separately verified this on three types of models and stress
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.