TLDR: A research paper explores the critical challenge of limited storage in on-device machine learning. It demonstrates that a strategic balance between data quantity and quality (via compression) is essential for optimal performance, as naive strategies are suboptimal. The study reveals that individual data samples have varying sensitivities to compression, suggesting the feasibility of adaptive, sample-wise compression strategies to improve storage-aware learning systems.
On-device machine learning, where artificial intelligence operates directly on your smartphone or other gadgets, is becoming increasingly common. This brings many benefits, like personalized experiences and improved privacy. However, these devices often face a significant challenge: limited storage. Imagine your phone constantly collecting data from its sensors, camera, and microphone – the storage can fill up surprisingly fast.
A new research paper, titled “Toward Storage-Aware Learning with Compressed Data An Empirical Exploratory Study on JPEG”, delves into this critical issue. Authored by Kichang Lee, Songkuk Kim, JaeYeon Park, and JeongGil Ko, the study explores how to effectively manage data for on-device AI when storage is tight. You can read the full paper for more details here.
Traditionally, managing data under storage constraints involves two main approaches: either reducing the quantity of data by discarding samples, or improving its quality by compressing individual samples. The paper highlights that most existing research tends to focus on these two aspects in isolation. However, in reality, storage limitations are a complex interplay of both data quantity and quality. For instance, with a fixed storage budget, you could store a large amount of highly compressed, lower-quality data, or a smaller amount of less compressed, higher-quality data.
The researchers set out to answer three fundamental questions: First, given a fixed storage budget, is there a definitive priority between data quality and quantity, or is a strategic balance required? Second, what is the precise impact of data compression and the associated degradation in quality on deep learning models? And third, are all data samples equally sensitive to compression, or do they exhibit varying levels of sensitivity?
Through a series of experiments using a standard computer vision dataset and JPEG compression, the study revealed some crucial insights. For the first question, they found that simply maximizing data quantity or quality alone does not always lead to the best performance. Instead, there’s an optimal balance between the two that depends heavily on the available storage. This means that a “one-size-fits-all” approach to data management is not effective.
Regarding the impact of compression, the study showed that features extracted from even low-quality, highly compressed data can still be informative and useful for models. Interestingly, models trained with lower compression quality sometimes demonstrated more robust performance when encountering similarly compressed data. This suggests that relying solely on very high-quality data features can sometimes hinder a model’s ability to generalize.
Perhaps one of the most significant findings addresses the third question: not all data samples are equally sensitive to compression. Some data points can be heavily compressed with minimal impact on the model’s learning, while others are highly sensitive and show significant performance degradation when compressed. This differential sensitivity is a key takeaway, as it suggests the potential for a smarter, adaptive compression strategy.
In summary, this research underscores that for on-device AI, managing storage isn’t just about how much data you keep, but also about the quality of that data. The optimal balance is dynamic, and individual data samples react differently to compression. These findings pave the way for developing a new class of “storage-aware” learning systems that can intelligently decide how to compress and store data, leading to more efficient and effective on-device AI.
Also Read:
- Unlocking Efficient Data Learning with Compressive Meta-Learning
- Piecewise-Affine Regularization: A Framework for Quantized Machine Learning Models
Future work inspired by this study includes exploring lightweight methods to predict a sample’s compression sensitivity without extensive testing, extending these concepts to other data types like audio and video, and integrating this storage-aware framework with other on-device learning paradigms such as Federated Learning.


