Preserving Module Privacy in Workflow Provenance

Susan B. Davidson, Sanjeev Khanna, Debmalya Panigrahi, Sudeepa Roy

This academic paper, "Provenance Views for Module Privacy," explores the tension between transparency and secrecy in scientific workflows. While provenance (tracking the history of data) is essential for reproducibility, it can inadvertently leak proprietary "secret sauce" or sensitive intermediate data. The authors provide a formal framework and algorithmic solutions for hiding just enough information to protect module functionality at the lowest possible cost to data utility.

TL;DR

The paper introduces the Secure-View problem: how to selectively hide data attributes in a workflow to ensure that proprietary modules remain private (specifically, $\Gamma$-private) while minimizing the "cost" of lost information. The authors prove the problem is generally NP-hard but provide efficient approximation algorithms, particularly for workflows with limited data sharing.

What Problem Does This Paper Address?

In scientific computing, workflows consist of interconnected "modules" (software tools or scripts). Systems like Taverna or Kepler record provenance—the exact inputs, parameters, and intermediate results of every step.

The challenge is twofold:

  1. Data Privacy: Intermediate data might contain sensitive info (e.g., SSNs or medical records).
  2. Module Privacy: A module itself might be a proprietary "black box." If an adversary sees every input and every output across thousands of executions, they can reverse-engineer the module's logic.

The authors seek a way to provide a "view" of the provenance—a version where some attributes are hidden—that guarantees a module's mapping from input to output cannot be easily inferred, all while keeping as much useful data visible as possible.

Methods

The authors model a workflow as a directed acyclic graph (DAG) of modules, represented as relations with functional dependencies ($Input \to Output$).

Key technical components include:

  • $\Gamma$-Privacy: A formalization based on $\ell$-diversity. A module is $\Gamma$-private if, given the visible data, an adversary cannot guess the true output for a given input with a probability higher than $1/\Gamma$.
  • The Secure-View Problem: An optimization task where each data attribute has an associated "cost" for hiding it. The goal is to find a set of attributes to hide that satisfies $\Gamma$-privacy for all modules at minimum total cost.
  • Constraint Modeling: They analyze two ways to specify privacy requirements:
  • Set Constraints: Explicit lists of which combinations of attributes are safe to hide.
  • Cardinality Constraints: Simpler rules stating how many inputs or outputs must be hidden.
  • Algorithmic Approaches: They utilize Linear Programming (LP) relaxations and randomized rounding to develop approximation algorithms.

Datasets

This is a theoretical and algorithmic paper. It does not use empirical datasets for training or benchmarking. Instead, it uses formal relational models and complexity proofs to validate its findings. The "evaluation" consists of proving approximation bounds and hardness results (e.g., reductions from Set Cover and Label Cover).

Key Insights and Ideas

  • Standalone vs. Workflow Privacy: A major "aha" moment is the proof that in an "all-private" workflow (where all modules are proprietary), ensuring each module is private in isolation is sufficient to ensure the whole workflow is private.
  • The Double-Edged Sword of Data Sharing: "Data sharing" occurs when one module's output feeds into multiple subsequent modules. While this complicates the math, it creates an opportunity: hiding one expensive, shared attribute might satisfy the privacy needs of multiple modules simultaneously, potentially lowering the overall "cost" of privacy.
  • Public Modules are Dangerous: If a workflow contains "public" modules (whose logic is known to everyone), they can act as "anchors" that allow an adversary to infer hidden values in adjacent private modules. To fix this, the authors suggest "privatization"—hiding the identity/name of certain public modules.

Key Results

  • Complexity: The Secure-View problem is NP-hard and even hard to approximate within certain factors (specifically $\Omega(\log n)$ for cardinality constraints).
  • Approximation Bounds:
    • For workflows with cardinality constraints, they provide an $O(\log n)$-approximation algorithm.
  • For workflows with bounded data sharing (where an attribute is used by at most $\gamma$ modules), they achieve a constant-factor $(\gamma + 1)$-approximation.
  • General Workflows: They show that workflows mixing public and private modules are significantly harder to protect, requiring more sophisticated "privatization" strategies to maintain the same privacy guarantees.

Limitations and Future Work

  • Uniform Priors: The current model assumes an adversary views all data values as equally likely. In reality, data often follows specific distributions, which an adversary could exploit.
  • Additive Costs: The paper assumes the cost of hiding data is simply the sum of individual attribute costs. Future work could explore more complex utility functions where certain combinations of data are more valuable than others.
  • Infinite Domains: The proofs currently focus on finite relations; extending this to infinite data domains (like real numbers) remains an open challenge.
  • Utility Maximization: Instead of minimizing the cost of hidden data, future research could flip the objective to maximize the utility of the visible data.

Summary updated

Abstract

We study the problem of providing workflow data provenance without revealing the functionality of any module. We develop a model that formalizes the notion of privacy of modules embedded in a workflow structure as a natural extension of privacy of standalone modules. Our model shows that by hiding a small amount of carefully chosen data, one can ensure privacy of all modules over an unbounded number of executions. The problem of identifying the smallest possible amount of such data is NP-hard, and in the full generality of our model it is in fact even hard to get a good approximation. However, we are able to design good approximation algorithms for optimizing the amount of hidden data when either the privacy model is slighted restricted or there is bounded sharing of data items among various modules.
BibTeX
@inproceedings{davidson2011preserving,
  author = {Susan B. Davidson and Sanjeev Khanna and Debmalya Panigrahi and Sudeepa Roy},
  title = {{Preserving Module Privacy in Workflow Provenance}},
  booktitle = {PODS},
  year = {2011},
  doi = {10.1145/1989284.1989305},
}
Figure