Coded Computing for Secure Boolean Computations

Chien-Sheng Yang, Amir Salman AvestimehrIEEE J. Sel. Areas Inf. Theory 2021

TL;DR

This paper tackles the challenge of securely computing Boolean functions in distributed systems prone to adversarial workers. They introduce novel "coded" schemes (ANF, DNF, PTF) that significantly improve security thresholds compared to existing methods by cleverly modeling Boolean functions as combinations of low-degree polynomials and threshold functions.

What Problem Does This Paper Address?

Modern applications, especially in areas like blockchain and cryptography, rely heavily on distributed systems to handle massive computations. However, these systems often involve untrusted "workers" who might intentionally send incorrect data to disrupt computations for their own gain (Byzantine attacks). Boolean functions are fundamental building blocks in these applications. While existing techniques like Lagrange Coded Computing (LCC) offer some protection, their effectiveness diminishes drastically when dealing with complex Boolean functions that can be represented by high-degree polynomials. This paper aims to bridge this gap by developing new methods that maintain high security even for complex Boolean functions, ensuring reliable computation in the face of adversarial behavior.

Methods

The core innovation lies in how the authors represent Boolean functions. Instead of directly modeling them as high-degree polynomials (which LCC struggles with), they propose three new schemes:

  • Coded Algebraic Normal Form (ANF): This approach decomposes a Boolean function into its constituent monomials and then represents each monomial using a linear threshold function. These linear functions are then encoded using a standard (N, K) MDS code, offering a much higher security threshold.
  • Coded Disjunctive Normal Form (DNF): Similar to coded ANF, this scheme breaks down the Boolean function into clauses (terms in a DNF representation) and uses linear threshold functions for each clause. Again, an (N, K) MDS code is employed for encoding.
  • Coded Polynomial Threshold Function (PTF): This method models the Boolean function as a low-degree polynomial threshold function. It leverages LCC for data encoding but benefits from the reduced degree of the polynomial representation, leading to improved security.

The key idea across all schemes is to transform the computation of a potentially high-degree Boolean function into computations involving lower-degree polynomials and linear threshold functions, which are more amenable to robust coding techniques.

Datasets

Not discussed in the paper. The paper focuses on theoretical frameworks and algorithmic improvements rather than specific datasets.

Key Insights and Ideas

  • The "degree problem" is central: The paper highlights that the security of existing coded computing schemes is fundamentally limited by the degree of the polynomial representing the computation. High-degree polynomials lead to low security thresholds.
  • Decomposition is key: By breaking down complex Boolean functions into simpler components (monomials or clauses) and representing these with low-degree structures (linear threshold functions or low-degree polynomials), the authors unlock significantly higher security.
  • Optimality for ANF and DNF: The paper proves that their coded ANF and coded DNF schemes achieve an optimal security threshold, meaning no scheme can do better for these specific representations.
  • Trade-offs exist: The coded PTF scheme introduces a tunable parameter (D) that allows for a trade-off between security threshold and decoding complexity, offering flexibility for different application needs.
  • Practical implications for cryptography: The paper demonstrates the effectiveness of their schemes on a real-world cryptographic example (an 8-bit S-box), showing substantial security improvements over LCC.

Key Results

  • Improved Security Thresholds: The proposed coded ANF and coded DNF schemes achieve a security threshold of $\lfloor \frac{N-K}{2} \rfloor$, which is independent of the Boolean function's degree. This is a significant improvement over LCC, which can have a very low threshold for high-degree functions.
  • Optimality: Coded ANF and coded DNF are shown to be optimal in terms of their security threshold.
  • Performance on S-box: For an 8-bit S-box computation with 100 workers, the proposed schemes improved the security threshold by 150% compared to LCC.
  • Coded PTF: Offers a flexible approach with a tunable parameter, allowing for a balance between security and decoding complexity.
  • Generalization: The paper extends these ideas to general multivariate polynomials, proposing "coded data logarithm" and "coded data augmentation" techniques to mitigate the degree problem.

Limitations and Future Work

  • Floating-point errors: The paper acknowledges that the coded ANF and coded DNF schemes require embedding bits into real numbers, which might introduce floating-point errors during decoding. Implementing these schemes in actual systems and measuring the effect of field transformations is suggested as future work.
  • Learning DNF: The paper notes that learning the DNF representation of a Boolean function is generally a hard problem, which motivates focusing on more tractable classes of functions.
  • Further exploration of coded PTF: The coded D-partitioned PTF scheme offers a spectrum of solutions. Further research could explore optimal choices for the partitioning parameter D based on specific function properties and system constraints.
  • Application to other domains: While cryptography and blockchains are mentioned, exploring the application of these robust coded computing techniques to other areas like machine learning and data analytics could be a fruitful direction.

Summary updated

BibTeX
@article{yang2021coded,
  author = {Chien-Sheng Yang and Amir Salman Avestimehr},
  title = {{Coded Computing for Secure Boolean Computations}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2021},
  doi = {10.1109/jsait.2021.3055341},
}

Loading related content...

Figure