dreaMLearning: Data Compression Assisted Machine Learning

Xiaobo Zhao, Aaron Hurst, Panagiotis Karras, Daniel E. Lucani · DOI

Abstract

Modern machine learning faces significant bottlenecks in storage, memory, and computation due to the massive scale of training datasets. We present dreaMLearning, a novel framework that enables models to train directly on compressed data using an entropy-driven deduplication technique called EntroGeDe. By bypassing the traditional decompression phase and treating compressed "bases" as weighted training samples, dreaMLearning achieves up to an 8.8x training speedup and a 10x reduction in memory usage with negligible impact on accuracy.

Introduction

The "data-hungry" nature of deep learning creates a triple threat: storage constraints for massive datasets, RAM/VRAM limitations during training, and the sheer computational time required to process every sample. Current solutions like coreset selection or standard compression are often insufficient. Coreset selection is computationally expensive and task-specific, while standard lossless compression introduces a "decompression tax" that adds significant latency. dreaMLearning addresses these challenges by providing a task-independent system that reduces storage footprints and enables high-speed training directly on compressed formats.

The dreaMLearning Framework

The core of the dreaMLearning framework is the EntroGeDe (Entropy-based Generalized Deduplication) algorithm. Unlike standard deduplication, EntroGeDe splits data into "bases" (representative patterns) and "deviations" (specific differences).

The dreaMLearning pipeline streamlines the process from storage to training by eliminating the decompression and explicit coreset selection steps required by traditional methods.

Key components include:

  • Entropy-Driven Selection: Using Shannon entropy, the system identifies high-entropy "informative" bits for clustering and low-entropy bits for maximum compression.
  • Direct Learning on Bases: The framework treats compressed "bases" as weighted training samples. If a base represents 100 similar points, the model trains on it once with a loss function weight of 100, effectively bypassing the need to process redundant data.
  • Frequency Domain Processing: For image data, a Discrete Cosine Transform (DCT) is used to reveal latent similarities, making the deduplication engine more effective.

Experimental Evaluation

The authors evaluated dreaMLearning across diverse benchmarks, including tabular data (California Housing, Credit Card Default) and image datasets (MNIST, CIFAR-10/100). Models tested ranged from simple Linear Regression to complex architectures like ResNet18.

Key Results and Performance

dreaMLearning demonstrates a superior balance across all critical performance metrics compared to state-of-the-art coreset methods like GRAD-MATCH and GLISTER.

Radar chart illustrating dreaMLearning's performance across six dimensions, showing significant leads in runtime speedup, memory efficiency, and storage efficiency while maintaining high accuracy.

Quantitative highlights include:

  • Efficiency: Training acceleration up to 8.8x and RAM usage reduction by 10x.
  • Storage: Data footprints were reduced by 42% to 75% depending on the dataset.
  • Accuracy: On MNIST, the framework achieved 99.1% accuracy, nearly matching the 99.3% baseline of the full dataset.
  • Data Scarcity: In scenarios using only 1% to 5% of data, dreaMLearning significantly outperformed existing subset-selection methods.

Conclusion and Future Work

dreaMLearning proves that compression can serve as an effective, task-independent form of data summarization. By identifying redundant patterns to save space, the algorithm simultaneously identifies the representative samples needed for efficient training. Future work will focus on extending this framework to time-series and text data, as well as deploying the system on TinyML edge devices to evaluate real-world power savings.

Summary updated

BibTeX
@misc{zhao2025dreamlearning,
  author = {Xiaobo Zhao and Aaron Hurst and Panagiotis Karras and Daniel E. Lucani},
  title = {{dreaMLearning: Data Compression Assisted Machine Learning}},
  year = {2025},
  eprint = {2506.22190},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.22190},
}
Figure