TL;DR
This paper presents significant optimizations to an existing state-of-the-art protocol for secure two-party computation (2PC). By cleverly adapting techniques like "half-gates" and improving the generation of "authenticated AND triples," the authors achieve substantial reductions in communication and computation, making secure computation even more practical.
What Problem Does This Paper Address?
Secure two-party computation (2PC) allows two parties to jointly compute a function on their private inputs without revealing those inputs to each other. While significant progress has been made, especially in the "malicious" setting (where parties can deviate from the protocol), achieving high efficiency remains a challenge. The Wang et al. (WRK) protocol from CCS 2017 was a leading solution, offering good performance. However, there was still room for improvement, particularly in reducing the communication overhead and computational cost, making it even closer to the efficiency of less secure "semi-honest" protocols.
Methods
The authors build upon the WRK protocol and introduce several key optimizations:
- Authenticated Garbling with Half-Gates: They adapt the "half-gate" optimization (originally for semi-honest settings) to the WRK protocol's authenticated garbling. This allows them to avoid sending an information-theoretic MAC for each garbled row, leading to a significant communication reduction.
- Optimized AND Triple Generation: The WRK protocol relies on "authenticated AND triples" for its preprocessing phase. The authors introduce new protocols for generating these triples, reducing both communication and computation for this crucial step.
- "Authentication Almost for Free": They propose a novel approach to authentication by decoupling it from the main circuit evaluation. This involves an initial unauthenticated evaluation followed by a batch authentication step, significantly reducing the communication cost of authentication.
- Improved Leaky AND Protocol: They introduce a more efficient protocol for generating "leaky AND triples," which are building blocks for secure computation. This optimization reduces hash calls and communication.
- New Function-Dependent Preprocessing: A further optimization is presented for the function-dependent preprocessing phase, making it more efficient, especially for RAM-model secure computation.
Datasets
Not discussed in the paper. The paper focuses on theoretical protocol design and analysis, not on training or evaluating models on specific datasets.
Key Insights and Ideas
- Bridging the Malicious-Semi-Honest Gap: A major surprise is that their optimized online phase achieves communication complexity comparable to state-of-the-art semi-honest protocols, while still providing malicious security. This significantly narrows the efficiency gap between the two security models.
- Decoupling Authentication: Separating the circuit evaluation from the authentication process is a powerful idea. It allows for more efficient authentication without compromising security.
- Leveraging Existing Techniques: The success of adapting techniques like "half-gates" from semi-honest settings to the malicious setting highlights the ongoing cross-pollination of ideas in cryptography.
- "Shift" for Authenticated Garbling: The idea of "shifting" the garbling process by a known value (even if not fully known to one party) is a clever way to handle the challenges of authenticated garbling.
Key Results
The optimizations lead to significant improvements over the WRK protocol:
- Communication: Up to a 2.6x improvement in communication for the authenticated garbling part, and a 1.5x improvement for the AND triple generation step.
- Computation: A 2x improvement in the computation for AND triple generation.
- Overall: The paper presents two variants of their optimized protocol. One minimizes total communication, while the other optimizes the function-dependent phase. These protocols offer substantial improvements over prior work, with one version achieving the same communication as semi-honest protocols in the online phase. Table 2 in the paper provides detailed communication complexity comparisons, showing significant reductions in both single-execution and amortized settings.
Limitations and Future Work
- Multi-Party Extension Challenges: The authors acknowledge that extending their techniques to the multi-party case (more than two parties) presents significant challenges. Specifically, adapting half-gate techniques to a setting with multiple garblers and one evaluator is complex, and it's unclear if it can be done without increasing communication rounds proportionally to the circuit depth.
- Function-Dependent Phase Rounds: One of their optimized versions requires a number of rounds proportional to the circuit depth in the function-dependent phase. While this is acceptable for some applications, constant-round solutions are generally preferred.
- Future Work: The paper suggests exploring the multi-party case further and investigating other avenues for optimization. The improved efficiency also opens doors for more practical applications of secure computation.
Summary updated