2 min readfrom Machine Learning

Improved compression of Bad Apple into a Neural Network [P]

Our take

Recent experimentation with SIREN networks has yielded significant improvements in compressing the "Bad Apple" video. By employing a novel batch generation technique that incorporates pixels across the entire video, we’ve achieved a more faithful reproduction while maintaining the original model architecture—4 x 512 wide sine layers totaling 792,257 parameters. While a full framerate version proved challenging due to increased temporal data demands, the low-rate version demonstrates compelling compression capabilities. This reimplementation, built using GPT5.
Improved compression of Bad Apple into a Neural Network [P]

The recent exploration of improved compression for the "Bad Apple" video using SIREN networks, detailed by /u/cpldcpu, is a fascinating and incremental step in a space rapidly gaining attention. It builds upon previous efforts, like the intriguing demonstration of an Imagenet-1k Classifier trained entirely on an Android [Imagenet-1k Classifier trained entirely on an Android], highlighting the surprising efficiency achievable with relatively modest parameter counts. This latest work underscores a key challenge and opportunity within neural network compression: how to effectively encode temporal information. The author’s finding that full framerate reconstruction degrades image quality compared to a subsampled version is particularly insightful. It suggests that, at least with the current architecture, the network struggles to retain and utilize the increased temporal data, a limitation that could be addressed with more sophisticated architectural choices. The experiment with a separate autoencoder, while resulting in a smaller model, further reinforces the difficulty of simply compressing individual frames; the holistic nature of video compression demands a more integrated approach.

The core innovation here isn't revolutionary, but rather a refinement of existing techniques. The author’s use of a wider pixel sampling across the entire video, rather than a limited frame set, clearly demonstrates a tangible improvement in fidelity. This echoes the broader trend within AI research—a move away from massive, monolithic models towards more targeted, efficient architectures. It's a pragmatic approach that prioritizes achievable gains over ambitious claims of breakthroughs. Furthermore, the observation that the network doesn't actually learn motion, but instead generates nonsensical intermediate frames, provides a clear direction for future research. The suggestion of adding a layer to model flow between frames is logical and likely to yield significant improvements. This connects to larger conversations about the limitations of purely “non-physical intelligence” [Non-Physical Intelligence Has A Ceiling], which, as that article discussed, struggles to accurately represent the complexities of the real world without a grounding in sensory and motor input. In this context, encoding motion and temporal dependencies becomes crucial for creating more realistic and coherent outputs.

The project's accessibility, evidenced by the readily available code, is a significant benefit to the broader machine learning community. Reimplementations like this, built on foundations like GPT5.6, are valuable for validating existing research and fostering further experimentation. They contribute to a culture of open collaboration and accelerate the pace of discovery. While the use of SIREN networks themselves might be less widely known than, say, Transformers, this demonstration effectively highlights their potential for efficient video compression. It’s a reminder that innovation often comes from exploring alternative architectures and fine-tuning existing techniques, rather than solely pursuing the latest “game-changing” models. The author’s acknowledgement of the need for a flow-modeling layer also demonstrates a willingness to critically evaluate their own work and identify areas for improvement, a hallmark of rigorous scientific inquiry. Even the discussion of the review process within the AI community [NeurIPS AI Assisted Review authors/reviewers?] subtly reinforces the importance of iterative development and feedback loops in advancing the field.

Ultimately, this incremental advancement in Bad Apple compression serves as a microcosm of the larger trends shaping the future of AI. It demonstrates the value of focused experimentation, efficient architectures, and open collaboration. The challenge of encoding temporal information remains a significant hurdle, but the author’s insights into the limitations of the current approach offer a clear path forward. The question now is: how can we move beyond simply compressing existing video data and instead leverage these techniques to generate entirely new, realistic video sequences? The pursuit of that goal promises to unlock a new era of creative possibilities and fundamentally alter how we interact with visual media.

Improved compression of Bad Apple into a Neural Network [P]

I played a bit with the SIREN network from the other post and found that it could be improved by a using a different sampler for batch generation. By feeding pixels across the entire video and not only a limited set of frames, we can a much more faithful reproduction of the video.

The model is exactly the same as used by OP: 4 x 512 wide sine layers, 792257 parameters. Its a reimplementation (using GPT5.6).

I also created a version with full framerate, instead of subsampled frames, but since the network has to memorize more temporal information, the image reconstruction suffers compared to the low rate version.

The model does not actually learn motion, intermediate frames are nonsensical. I suppose adding a layer that can model flow between frames could enhance the compression a lot.

You can find the code here in this gist.

I tried some addition experiments with a separate autoencoder to compress the frames separately. This resulted in a smaller model, but also degraded quality.

submitted by /u/cpldcpu
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article