Defining and Mining Functional Dependencies in Probabilistic Databases

Sushovan De, Subbarao KambhampatiarXiv 2010

Introduction

In traditional relational databases, Functional Dependencies (FDs) like Zip Code → City serve as the cornerstone for schema normalization and data cleaning. However, modern data acquisition—from web scraping to sensor networks—often introduces uncertainty. While probabilistic databases have emerged to manage this "dirty" data by representing it as a collection of "possible worlds," traditional FDs fail in this context. A rule might hold in one possible world but be violated in another. This paper by Sushovan De and Subbarao Kambhampati addresses the challenge of defining and efficiently mining these integrity rules within uncertain datasets.

Problem Statement

The primary hurdle in applying FDs to probabilistic data is computational complexity. Calculating the confidence of a dependency across all possible worlds is often #P-hard. Prior to this work, there were no standardized definitions for probabilistic dependencies or scalable algorithms to discover them in large-scale, noisy environments like the DBLP bibliography.

Proposed Methodology: A Hierarchy of Dependencies

The authors introduce a structured hierarchy of dependency types to bridge the gap between deterministic and probabilistic data management.

Hierarchy of dependency types for deterministic and probabilistic data.
  • pFD (Probabilistic FD): Measures the probability that a standard FD holds across all possible worlds.
  • pAFD (Probabilistic Approximate FD): Calculates the expected "degree of truth" of an FD, providing robustness against minor data noise.
  • CpFD and CpAFD: Conditional variants that restrict the dependency to specific data subsets (e.g., "If Country = 'USA', then Zip Code → City").

To implement these, the authors developed an exact pFD algorithm for Tuple-Disjoint Independent (TDI) databases using a recursive, tree-based approach with aggressive pruning. For more complex pAFDs, they employed Monte Carlo sampling to achieve linear scalability.

Key Insights: The "Possible Worlds" Semantic

A critical contribution of the paper is the distinction between a "naïve" approach and the "possible worlds" semantic. A naïve approach treats every probabilistic alternative as an independent tuple, which often leads to skewed confidence values.

Comparison between the Possible Worlds semantics and the Naïve AFD approach.

As illustrated above, the correct approach weights dependencies by the probability of the worlds in which they hold. The authors demonstrate that pAFDs are generally superior to pFDs for real-world data mining because their confidence scores degrade gracefully in the presence of noise, whereas a single violation can drop a pFD's confidence to zero.

Experimental Evaluation and Results

The framework was tested on both synthetic TDI databases and a real-world DBLP dataset comprising ~700,000 author records augmented with probabilistic attributes.

  • Efficiency: The proposed pFD algorithm outperformed the naïve approach by orders of magnitude. While the naïve method became computationally infeasible at 25 tuples, the new algorithm handled hundreds of tuples efficiently.
  • Scalability: The Monte Carlo estimation for pAFDs proved highly effective on a 200,000-tuple subset of DBLP, reaching stable confidence values within just 100 simulations.
  • Robustness: In noise-tolerance tests, pAFD maintained high confidence even as pFD confidence collapsed under 4% noise, confirming its utility for discovering hidden relationships in messy data.

Conclusion and Future Work

While the current algorithms are highly effective, the exact pFD calculation remains sensitive to the cardinality of attribute domains. Future research may focus on extending these mining techniques to more complex probabilistic graphical models beyond TDI/TI and integrating these dependencies directly into automated data cleaning pipelines. By formalizing these dependencies, this work provides a vital tool for maintaining data integrity in an increasingly uncertain digital landscape.

Summary updated

BibTeX
@misc{de2010defining,
  author = {Sushovan De and Subbarao Kambhampati},
  title = {{Defining and Mining Functional Dependencies in Probabilistic Databases}},
  year = {2010},
  eprint = {1005.4714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1005.4714},
}
Figure