NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Secure Coded Multi-Party Computation for Massive Matrix Operations

Hanzaleh Akbari Nodehi, Mohammad Ali Maddah-Ali

Abstract

Modern data science often requires processing massive datasets across distributed clusters, raising significant privacy and scalability concerns. Traditional Secure Multi-Party Computation (MPC) methods struggle with "massive" matrices that exceed individual worker capacity. This paper introduces polynomial sharing, a novel technique that integrates matrix partitioning directly into the secret-sharing process. This approach achieves an order-of-magnitude reduction in the number of required worker nodes while maintaining data privacy against colluding workers.

Introduction: The Challenge of Scale and Privacy

In the era of big data, organizations frequently offload heavy computations to external distributed workers. This practice introduces two primary hurdles:

  1. Privacy: Sensitive data (e.g., medical or financial records) must remain confidential even if workers are semi-honest and attempt to collude to reconstruct the raw data.
  2. Scale: Standard MPC schemes, such as the BGW protocol, typically assume each worker can store and process the entire dataset. For massive matrices, this is physically impossible.

While a common workaround involves splitting matrices into smaller pieces and applying MPC to each, this "job splitting" approach is highly inefficient, requiring a prohibitively large number of workers to ensure security.

Methodology: Polynomial Sharing

The authors propose a framework called Polynomial Sharing to address these limitations. Unlike Shamir Secret Sharing, which treats a matrix as a single secret, this method partitions the matrix into $k$ smaller sub-matrices.

Figure 1: Overview of the distributed matrix computation framework where partitioned data is shared across multiple workers.

As illustrated in Figure 1, the input matrices $X^{[i]}$ are partitioned and encoded into shares $\tilde{X}_{ij}$ sent to various workers. The core innovation lies in constructing a polynomial where these sub-matrices serve as coefficients, interspersed with random "noise" matrices to guarantee privacy.

The framework supports several fundamental operations:

  • Addition and Scalar Multiplication: These are performed locally by workers on their respective shares.
  • Matrix Multiplication: This involves a communication step where workers exchange encoded messages to "re-align" the polynomial shares.
  • Transposition: A novel technique is introduced to flip the matrix structure while preserving the polynomial sharing format.

A critical technical advancement is the recasting mechanism. This allows the system to "refresh" the result of an operation back into the standard polynomial sharing format, preventing the number of required workers from exploding as the complexity (degree) of the computed function increases.

Key Insights and Results

The primary breakthrough is the realization that partitioning for efficiency and coding for security should be integrated. By embedding secret-sharing into the partitioning structure, the system achieves a much more favorable scaling of resources.

The proposed scheme provides a new upper bound on the number of workers ($N$) required for a collusion threshold $t$ and a partitioning factor $k$:

$$N \le \min\{2k^2 + 2t - 3, k^2 + kt + t - 2\}$$

In contrast, traditional "job splitting + BGW" requires $k^2(2t - 1)$ workers. For a practical scenario where matrices are split into 16 parts ($k=16$) with a collusion threshold of 200 ($t=200$), the traditional method requires 102,144 workers, whereas the proposed method requires only 909—a 100x improvement in resource efficiency.

Conclusion and Future Directions

While polynomial sharing significantly reduces the worker count, some challenges remain. The current model assumes "semi-honest" workers; future work will need to address "adversarial" nodes that might intentionally sabotage computations. Additionally, while the worker count is lower, the communication overhead during matrix multiplication is significant. Optimizing the communication-computation trade-off and exploiting matrix sparsity in real-world datasets are promising avenues for further research.

Summary updated

BibTeX
@article{nodehi2019secure,
  author = {Hanzaleh Akbari Nodehi and Mohammad Ali Maddah-Ali},
  title = {{Secure Coded Multi-Party Computation for Massive Matrix Operations}},
  journal = {IEEE Trans. Information Theory},
  year = {2019},
  doi = {10.1109/tit.2021.3050853},
}
Figure