# Enumeration in Data Profiling

This is a platform for the research project on enumeration problems in data profiling of the HPI Algorithm Engineering group lead by Tobias Friedrich. The research is conducted in close collaboration with our colleagues at the neighboring Information Systems group of Felix Naumann as well as with Kitty Meeks at the University of Glasgow.

## Description

Data profiling is the gathering of metadata from databases. In relational data dependencies among different attributes are of particular importance, e.g., unique column combinations (UCCs, a.k.a. candidate keys), functional dependencies, inclusion dependencies, and denial constraints. Usually it is not enough to detect the existence of a single such dependency in a database, instead one is interested in a comprehensive list of all occurrences. This naturally leads to several interesting enumeration problems.

Many discovery algorithms in data profiling use a reduction to the hitting set problem in hypergraphs. In the case of UCCs, we showed that their enumeration is in fact equivalent to the famous transversal hypergraph problem, i.e., computing all minimal hitting sets. While the computational complexity of the transversal hypergraph problem is a major open question, this equivalence opens intriguing new perspectives and in turn facilitates new algorithms for data profiling.

The results of this project are continuously published at the leading scientific conferences, including at IPEC 2016, ALENEX 2019, VLDB 2020, and ESA 2020. Additionally, the late-breaking developments are presented at workshops like the 2018 Dagstuhl Seminar on Algorithmic Enumeration and WEPA 2019.

The project includes research conducted together with our students. Julius Lischeid wrote his bachelor's thesis on * Lexicographic Enumeration of Hitting Sets in Hypergraphs* and Benjamin Feldmann wrote his master's thesis on

*Distributed Unique Column Combinations Discovery*. Johann Birnick contributed to the development and implementation of the

*HPIValid*algorithm as part of this project.

## HPIValid

The most recent algorithm developed in this project is *HPIValid, *it enumerates all inclusion-wise minimal unique column combinations of a given database. The code of a C++ implementation can be found in this GitLab repository. A ZIP-file with the data used for testing can be downloaded here (3.5GB).

2022 [ nach oben ]

2020 [ nach oben ]

- Birnick, Johann; Bläsius, Thomas; Friedrich, Tobias; Naumann, Felix; Papenbrock, Thorsten; Schirneck, Martin
**Hitting Set Enumeration with Partial Information for Unique Column Combination Discovery**Proceedings of the VLDB Endowment 2020: 2270–2283 - Bläsius, Thomas; Friedrich, Tobias; Schirneck, Martin
**The Minimization of Random Hypergraphs**European Symposium on Algorithms (ESA) 2020: 21:1–21:15

2019 [ nach oben ]

2016 [ nach oben ]

Additionally, several full versions are available as a preprint on ArXiv.

## Code

We provide C++ implementation of two UCC enumeration algorithms. Special thanks go to Julius Lischeid for authoring and maintaining the code for the ALENEX paper.

- ALENEX 2019: an oracle-based enumeration algorithm, hosted on GitHub.
- VLDB 2020:
*HPIValid*, hosted on our GitLab.

## Additional Resources

- This survey article gives an overview of problems and techniques in data profiling.
- The slides of the talk at the Dagstuhl seminar on Algorithmic Enumeration can be found here.
- The Information Systems group maintains another GitHub repository containing different data profiling tools, including their Metanome suite.