Fast Private Parameter Learning and Evaluation for Sum-Product Networks

Ernst Althaus, Mohammad Sadeq Dousti, Stefan KramerarXiv 2021

Abstract

This paper presents a high-performance framework for the private training and evaluation of Sum-Product Networks (SPNs). By utilizing a secret-sharing-based division protocol instead of computationally expensive homomorphic encryption or garbled circuits, the proposed method enables efficient multi-party learning and inference. Experiments on standard benchmarks demonstrate significant performance gains over existing state-of-the-art privacy-preserving machine learning (PPML) techniques, making multi-party probabilistic modeling practical for sensitive datasets.

Introduction

Machine learning thrives on data, but in sensitive fields like healthcare or finance, data is often siloed. Multiple organizations might wish to build a joint diagnostic or predictive model without sharing their raw records. This is the core challenge of Privacy-Preserving Machine Learning (PPML).

While previous work, such as CryptoSPN, allowed for private inference (answering queries using a pre-trained model), it did not support the private learning of model parameters. Furthermore, existing methods often relied on cryptographic primitives like "Garbled Circuits" or "Oblivious Transfer," which are computationally expensive and typically limited to two-party scenarios. This paper introduces a framework that scales to multiple participants and significantly reduces the overhead of private parameter estimation.

Sum-Product Networks

Sum-Product Networks (SPNs) are a class of deep graphical models that represent a joint probability distribution as an arithmetic circuit. They are composed of sum nodes, product nodes, and leaf nodes representing univariate distributions. SPNs are particularly valued for their ability to perform tractable probabilistic inference, allowing for efficient computation of marginals and conditionals.

Figure 1: Structure of a typical Sum-Product Network (SPN) with sum (+), product (x), and leaf nodes. Weights are associated with the edges originating from sum nodes.

In this work, the authors assume the structure of the SPN is fixed and focus on learning the weights of the sum nodes while keeping the underlying data private across multiple parties.

Methodology

The researchers propose a system where data is horizontally partitioned among $N$ parties. The technical challenge lies in the division operation required for learning SPN weights, which involves calculating the ratio of a node's contribution to the total instances. In a private setting, both the numerator and denominator are hidden across participants.

Secret Sharing and Newton-Iteration

Instead of heavy encryption, the framework uses Secret Sharing, where numbers are split into "shares" distributed among participants. No single share reveals the original value, but they can be manipulated mathematically. To handle the division bottleneck, the authors employ an iterative Newton-method to find the approximate inverse of the denominator. This numerical approach bypasses the need for complex Boolean circuit modeling, which is a common source of inefficiency in PPML.

Novel Integer Division

They also introduce a specialized protocol for dividing a shared secret by a public number. This involves two specialized roles to handle modular arithmetic without leaking values, ensuring that the normalization required for SPN weights remains accurate and private.

Experimental Evaluation

The framework was evaluated using four standard benchmarks from the Discrete Estimation Benchmark Datasets (DEBD): nltcs, jester, baudio, and bnetflix. The experiments were conducted in a simulated network with 10ms latency to reflect realistic multi-party conditions.

Key Results

  • Scalability: The system successfully scaled to 13 participants, a significant improvement over traditional two-party protocols.
  • Training Efficiency: For the largest dataset (bnetflix), training took approximately 1.2 hours with 5 members. While slower than non-private local training, this represents a massive leap over Fully Homomorphic Encryption (FHE) methods, which can take days for similar tasks.
  • Communication Overhead: The number of messages scales linearly with the complexity of the SPN (number of edges). For example, the nltcs model (112 edges) required roughly 4.2 million messages for 13 members.

Conclusion

By prioritizing arithmetic-friendly secret sharing over generic cryptographic solutions, the authors have developed a "justifiably fast" protocol for private SPN learning. While the current method assumes a fixed model architecture and an honest-but-curious security model, it provides a robust foundation for future work in private structure learning. This framework brings practical, multi-party probabilistic modeling one step closer to real-world deployment in privacy-sensitive industries.

Summary updated

BibTeX
@misc{althaus2021fast,
  author = {Ernst Althaus and Mohammad Sadeq Dousti and Stefan Kramer},
  title = {{Fast Private Parameter Learning and Evaluation for Sum-Product Networks}},
  year = {2021},
  eprint = {2104.07353},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.07353},
}
Figure