Abstract
This paper introduces novel coded computing schemes—Coded ANF, Coded DNF, and Coded PTF—designed to secure distributed Boolean function computations against Byzantine workers. By decomposing complex logic into low-degree threshold functions, the proposed methods decouple security from function complexity. This approach achieves optimal security thresholds and significant performance gains over existing Lagrange Coded Computing (LCC) methods, providing a robust framework for secure distributed logic operations.
Introduction
In modern distributed computing, a master node distributes tasks among multiple worker nodes. However, in decentralized environments like blockchains or edge computing, these workers may be "Byzantine," meaning they are adversarial and might deliberately return incorrect data to manipulate the outcome.
To combat this, researchers employ Coded Computing, which adds mathematical redundancy to allow the master to recover the correct answer even if some workers provide false data. While Lagrange Coded Computing (LCC) is effective for simple mathematical functions, it falters when applied to Boolean functions—the AND/OR/XOR logic gates powering smart contracts and cryptography. These functions often have high polynomial degrees, which in LCC leads to a security threshold so low that even a single malicious worker could compromise the system.
Methodology: Linearizing Logic
The authors' primary innovation is the realization that Boolean functions should not be treated as single, high-degree polynomials. Instead, they propose modeling them as a concatenation of low-degree polynomials and threshold functions.
They introduce three specific strategies to implement this:
- Coded ANF (Algebraic Normal Form): Decomposes the function into monomials, each computed using a linear threshold function. This allows the use of simple, highly robust MDS codes.
- Coded DNF (Disjunctive Normal Form): Breaks the function into OR-based "clauses," which is highly efficient for functions with "small weight" (those that output 'True' for few specific inputs).
- Coded PTF (Polynomial Threshold Function): Uses decision trees to represent logic, keeping the polynomial degree logarithmic relative to the function's weight.
By shifting complexity from the polynomial degree to the number of simple functions, the system's security remains high regardless of the logic's complexity.
Key Insights and Theoretical Framework
- Degree Independence: For Coded ANF and DNF, the security threshold is $\lfloor \frac{N-K}{2} \rfloor$. This value depends only on the number of workers ($N$) and data samples ($K$), making it independent of the Boolean function's complexity ($deg f$).
- Sparsity-Weight Trade-off: The paper suggests using ANF for "sparse" functions (few monomials) and DNF for functions with "low weight" (few 'True' outputs).
- Optimal Security: The authors prove that their ANF and DNF schemes hit the theoretical maximum security threshold possible for any distributed computing scheme.
Key Results and Evaluation
The schemes were evaluated using cryptographic S-boxes (specifically an 8-bit S-box used in AES) and synthetic Boolean functions to prove mathematical limits.
In practical tests involving an 8-bit S-box with 100 workers, the previous state-of-the-art (LCC) could only tolerate 18 adversarial workers. The new proposed schemes tolerated 45, representing a 150% improvement in robustness. Furthermore, despite the increased security, the decoding complexity remains polylogarithmic, ensuring the system scales efficiently for large-scale applications.
Conclusion and Future Work
While these schemes offer a massive leap in security, several hurdles remain for real-world implementation. Floating-point errors during the thresholding process could affect result accuracy, and the latency overhead of field transformations needs further testing in live environments. Future research will also look toward creating a universal framework for any high-degree non-Boolean function.
Summary updated