English

Morphing-based Compression for Data-centric ML Pipelines

Databases 2025-04-16 v1 Distributed, Parallel, and Cluster Computing Machine Learning

Abstract

Data-centric ML pipelines extend traditional machine learning (ML) pipelines -- of feature transformations and ML model training -- by outer loops for data cleaning, augmentation, and feature engineering to create high-quality input data. Existing lossless matrix compression applies lightweight compression schemes to numeric matrices and performs linear algebra operations such as matrix-vector multiplications directly on the compressed representation but struggles to efficiently rediscover structural data redundancy. Compressed operations are effective at fitting data in available memory, reducing I/O across the storage-memory-cache hierarchy, and improving instruction parallelism. The applied data cleaning, augmentation, and feature transformations provide a rich source of information about data characteristics such as distinct items, column sparsity, and column correlations. In this paper, we introduce BWARE -- an extension of AWARE for workload-aware lossless matrix compression -- that pushes compression through feature transformations and engineering to leverage information about structural transformations. Besides compressed feature transformations, we introduce a novel technique for lightweight morphing of a compressed representation into workload-optimized compressed representations without decompression. BWARE shows substantial end-to-end runtime improvements, reducing the execution time for training data-centric ML pipelines from days to hours.

Keywords

Cite

@article{arxiv.2504.11067,
  title  = {Morphing-based Compression for Data-centric ML Pipelines},
  author = {Sebastian Baunsgaard and Matthias Boehm},
  journal= {arXiv preprint arXiv:2504.11067},
  year   = {2025}
}

Comments

20 pages, 28 figures, 4 tables

R2 v1 2026-06-28T22:58:56.203Z