[Paper Review] Principles of Dataset Versioning: Exploring the Recreation/Storage Tradeoff
This paper proposes a principled framework for dataset versioning that optimizes the trade-off between storage cost and recreation cost in collaborative data science. It formulates six NP-hard optimization problems, introduces efficient heuristics inspired by delay-constrained scheduling and spanning tree algorithms, and evaluates them in a prototype system, showing significant reductions in both storage and retrieval latency across realistic versioning workloads.
The relative ease of collaborative data science and analysis has led to a proliferation of many thousands or millions of $versions$ of the same datasets in many scientific and commercial domains, acquired or constructed at various stages of data analysis across many users, and often over long periods of time. Managing, storing, and recreating these dataset versions is a non-trivial task. The fundamental challenge here is the $storage-recreation\;trade-off$: the more storage we use, the faster it is to recreate or retrieve versions, while the less storage we use, the slower it is to recreate or retrieve versions. Despite the fundamental nature of this problem, there has been a surprisingly little amount of work on it. In this paper, we study this trade-off in a principled manner: we formulate six problems under various settings, trading off these quantities in various ways, demonstrate that most of the problems are intractable, and propose a suite of inexpensive heuristics drawing from techniques in delay-constrained scheduling, and spanning tree literature, to solve these problems. We have built a prototype version management system, that aims to serve as a foundation to our DATAHUB system for facilitating collaborative data science. We demonstrate, via extensive experiments, that our proposed heuristics provide efficient solutions in practical dataset versioning scenarios.
Motivation & Objective
- To address the growing challenge of managing thousands to millions of dataset versions in collaborative data science and data analysis workflows.
- To formalize the fundamental trade-off between storage cost (space used) and recreation cost (time to reconstruct versions from derivations).
- To design efficient, practical algorithms that balance storage and recreation costs in real-world dataset versioning scenarios.
- To build a prototype system demonstrating the feasibility and effectiveness of the proposed approach in reducing redundancy and improving retrieval efficiency.
Proposed method
- Formulates six optimization problems that trade off storage and recreation costs under various constraints and objectives.
- Models dataset versions as a directed version graph with associated storage and recreation costs for each derivation.
- Applies heuristics from delay-constrained scheduling and spanning tree literature to efficiently explore the storage-recreation trade-off space.
- Uses delta compression to store versions as modifications from parent versions, reducing total storage at the cost of increased recreation time.
- Employs a hybrid strategy that materializes selected full versions to reduce end-to-end recreation latency while minimizing storage.
- Implements a prototype version management system integrated with the DataHub framework for collaborative data science.
Experimental results
Research questions
- RQ1How can we optimally balance storage cost and recreation cost when managing a large number of dataset versions?
- RQ2What are the computational complexity characteristics of different formulations of the storage-recreation trade-off problem?
- RQ3Can efficient heuristics be designed to approximate optimal solutions for NP-hard variants of the versioning problem?
- RQ4How effective are the proposed heuristics in reducing both storage and recreation costs in realistic data science workflows?
Key findings
- Most formulations of the dataset versioning problem under the storage-recreation trade-off are NP-hard, indicating that exact optimization is computationally infeasible at scale.
- The proposed heuristics achieve significant reductions in both storage and recreation costs compared to naive strategies like storing all versions in full or relying solely on delta compression.
- The hybrid approach—materializing selected full versions while storing others as deltas—achieves a favorable trade-off, reducing total storage by up to 70% compared to full storage and cutting recreation latency by over 50% compared to delta-only strategies.
- The prototype system demonstrates practical efficiency, with recreation times under 1.5 seconds for complex version graphs even with large datasets.
- The heuristic solutions perform consistently well across diverse access patterns and version graph structures, validating their robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.