Saved in:
Bibliographic Details
Main Authors: Guo, Anxin, Li, Jingwei, Sukprasert, Pattara, Khuller, Samir, Deshpande, Amol, Mukherjee, Koyel
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.11741
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914684883435520
author Guo, Anxin
Li, Jingwei
Sukprasert, Pattara
Khuller, Samir
Deshpande, Amol
Mukherjee, Koyel
author_facet Guo, Anxin
Li, Jingwei
Sukprasert, Pattara
Khuller, Samir
Deshpande, Amol
Mukherjee, Koyel
contents In this work, we study the cost efficient data versioning problem, where the goal is to optimize the storage and reconstruction (retrieval) costs of data versions, given a graph of datasets as nodes and edges capturing edit/delta information. One central variant we study is MinSum Retrieval (MSR) where the goal is to minimize the total retrieval costs, while keeping the storage costs bounded. This problem (along with its variants) was introduced by Bhattacherjee et al. [VLDB'15]. While such problems are frequently encountered in collaborative tools (e.g., version control systems and data analysis pipelines), to the best of our knowledge, no existing research studies the theoretical aspects of these problems. We establish that the currently best-known heuristic, LMG, can perform arbitrarily badly in a simple worst case. Moreover, we show that it is hard to get $o(n)$-approximation for MSR on general graphs even if we relax the storage constraints by an $O(\log n)$ factor. Similar hardness results are shown for other variants. Meanwhile, we propose poly-time approximation schemes for tree-like graphs, motivated by the fact that the graphs arising in practice from typical edit operations are often not arbitrary. As version graphs typically have low treewidth, we further develop new algorithms for bounded treewidth graphs. Furthermore, we propose two new heuristics and evaluate them empirically. First, we extend LMG by considering more potential ``moves'', to propose a new heuristic LMG-All. LMG-All consistently outperforms LMG while having comparable run time on a wide variety of datasets, i.e., version graphs. Secondly, we apply our tree algorithms on the minimum-storage arborescence of an instance, yielding algorithms that are qualitatively better than all previous heuristics for MSR, as well as for another variant BoundedMin Retrieval (BMR).
format Preprint
id arxiv_https___arxiv_org_abs_2402_11741
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle To Store or Not to Store: a graph theoretical approach for Dataset Versioning
Guo, Anxin
Li, Jingwei
Sukprasert, Pattara
Khuller, Samir
Deshpande, Amol
Mukherjee, Koyel
Data Structures and Algorithms
Computational Complexity
Databases
Distributed, Parallel, and Cluster Computing
In this work, we study the cost efficient data versioning problem, where the goal is to optimize the storage and reconstruction (retrieval) costs of data versions, given a graph of datasets as nodes and edges capturing edit/delta information. One central variant we study is MinSum Retrieval (MSR) where the goal is to minimize the total retrieval costs, while keeping the storage costs bounded. This problem (along with its variants) was introduced by Bhattacherjee et al. [VLDB'15]. While such problems are frequently encountered in collaborative tools (e.g., version control systems and data analysis pipelines), to the best of our knowledge, no existing research studies the theoretical aspects of these problems. We establish that the currently best-known heuristic, LMG, can perform arbitrarily badly in a simple worst case. Moreover, we show that it is hard to get $o(n)$-approximation for MSR on general graphs even if we relax the storage constraints by an $O(\log n)$ factor. Similar hardness results are shown for other variants. Meanwhile, we propose poly-time approximation schemes for tree-like graphs, motivated by the fact that the graphs arising in practice from typical edit operations are often not arbitrary. As version graphs typically have low treewidth, we further develop new algorithms for bounded treewidth graphs. Furthermore, we propose two new heuristics and evaluate them empirically. First, we extend LMG by considering more potential ``moves'', to propose a new heuristic LMG-All. LMG-All consistently outperforms LMG while having comparable run time on a wide variety of datasets, i.e., version graphs. Secondly, we apply our tree algorithms on the minimum-storage arborescence of an instance, yielding algorithms that are qualitatively better than all previous heuristics for MSR, as well as for another variant BoundedMin Retrieval (BMR).
title To Store or Not to Store: a graph theoretical approach for Dataset Versioning
topic Data Structures and Algorithms
Computational Complexity
Databases
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2402.11741