TL;DR
This paper tackles the challenge of discovering functional dependencies (FDs) in datasets distributed across multiple parties, a crucial step for data integration and quality. They introduce a novel secure multi-party computation (MPC) framework that efficiently and privately discovers these dependencies, outperforming existing general-purpose MPC solutions.
What Problem Does This Paper Address?
Data profiling, a vital process for understanding datasets, often involves discovering functional dependencies (FDs). An FD, like "employee ID determines employee name," describes a relationship where one set of attributes uniquely determines another. However, in today's data landscape, datasets are frequently siloed across different organizations or departments due to privacy regulations (like GDPR) or business requirements. Discovering FDs that hold across these distributed partitions traditionally requires access to all data, which is often impossible. Existing secure multi-party computation (MPC) techniques, while offering privacy, are computationally too expensive for this task. This paper aims to bridge this gap by developing an efficient and secure method for discovering FDs in a distributed, multi-party setting.
Methods
The core of the proposed solution is a top-down framework for FD discovery that leverages secure cryptographic protocols. Instead of directly computing all possible FDs, they focus on efficiently validating candidate FDs.
- Secure FD Validation: The key innovation is a secure protocol for validating candidate FDs. This involves parties encrypting their data partitions and sending them through a chain of "workers" forming a mix network. This mix network allows for secure computation on encrypted data, ultimately determining if a candidate FD holds true across all partitions without revealing the underlying data.
- Mix Networks: Two specialized mix networks are introduced:
- Multiplicative Mixnet: Enables secure equality testing between encrypted values. This is crucial for comparing attribute values across partitions.
- Additive Mixnet: Supports secure comparison of sums of integers. This is used for validating the overall FD condition by aggregating local checks.
- Distributed FD Validation Formula: They derive a formula for distributed FD validation based on attribute partition errors, which breaks down the problem into local computations and a secure computation of the "power set intersection cardinality" (PSI-CA).
- Efficient PSI-CA Computation: A novel algorithm is presented to compute PSI-CA efficiently in linear time, avoiding the exponential complexity of naive approaches.
Datasets
The authors evaluated their approach using eight real-world datasets from the UCI Machine Learning Repository:
- iris
- balance-scale
- chess
- abalone
- nursery
- breast-cancer
- bridges
- echocardiogram
These datasets vary in size and number of attributes, allowing for a comprehensive evaluation of the method's performance.
Key Insights and Ideas
- Privacy-Preserving FD Discovery is Feasible and Efficient: The paper demonstrates that it's possible to discover FDs across distributed datasets with strong privacy guarantees without incurring prohibitive computational costs.
- Specialized MPC for FD Discovery: General-purpose MPC tools are too slow for FD discovery. The paper's success comes from designing specialized cryptographic primitives (mixnets) tailored to the specific operations needed for FD validation.
- Top-Down Pruning is Key: The framework's efficiency stems from its top-down approach, which prunes the search space of candidate FDs effectively.
- Congenial FDs Offer a Useful Relaxed Notion: The introduction of "congenial FDs" (FDs valid on every partition, though not necessarily globally) provides a valuable alternative for data profiling when global FDs are too strict or hard to find.
Key Results
- Practical Efficiency: The proposed Secure Multi-Party Functional Dependency Discovery (SMFD) solution is shown to be practically efficient.
- Significant Speedup: SMFD significantly outperforms general-purpose MPC frameworks like MultipartyPSI and SMCQL. For instance, on the balance-scale dataset, SMFD was orders of magnitude faster than SMCQL in terms of computation and communication.
- Scalability: The costs of SMFD increase linearly with the number of parties and workers, demonstrating good scalability.
- Overhead: The security overhead (computation and communication) is generally within one order of magnitude compared to non-secure distributed FD discovery.
Limitations and Future Work
- Semi-Honest Adversary Model: The security proofs are based on the semi-honest adversary model, meaning parties follow the protocol but may try to infer information. Future work could explore the stronger "malicious adversary" model.
- Data Partitioning Strategy: While the paper uses horizontal partitioning, the impact of different partitioning strategies (e.g., vertical) on performance and security could be explored.
- Approximate FDs: The current work focuses on exact FDs. Extending the framework to discover approximate FDs would be a valuable next step.
- Congenial FD Discovery: While the paper proposes a validation protocol for congenial FDs, a full discovery protocol for them could be further developed.
Summary updated