Pushing the Limits of Valiant's Universal Circuits: Simpler, Tighter and More Compact
Hanlin Liu, Yu Yu, Shuoyao Zhao, Jiang Zhang, Wenling Liu, and Zhenkai Hu
Abstract
A universal circuit (UC) is a general-purpose circuit that can simulate arbitrary circuits (up to a certain size ). Valiant provides a -way recursive construction of universal circuits (STOC 1976), where tunes the complexity of the recursion. More concretely, Valiant gives theoretical constructions of 2-way and 4-way UCs of asymptotic (multiplicative) sizes and respectively, which matches the asymptotic lower bound up to some constant factor.
Motivated by various privacy-preserving cryptographic applications, Kiss et al. (Eurocrypt 2016) validated the practicality of 2-way universal circuits by giving example implementations for private function evaluation. G{ü}nther et al. (Asiacrypt 2017) and Alhassan et al. (J. Cryptology 2020) implemented the 2-way/4-way hybrid UCs with various optimizations in place towards making universal circuits more practical. Zhao et al. (Asiacrypt 2019) optimized Valiant's 4-way UC to asymptotic size and proved a lower bound for UCs under Valiant framework. As the scale of computation goes beyond 10-million-gate () or even billion-gate level (), the constant factor in circuit size plays an increasingly important role in application performance. In this work, we investigate Valiant's universal circuits and present an improved framework for constructing universal circuits with the following advantages.
[*Simplicity*] Parameterization is no longer needed. In contrast to that previous implementations resort to a hybrid construction combining and for a tradeoff between fine granularity and asymptotic size-efficiency, our construction gets the best of both worlds when configured at the lowest complexity (i.e., ).
[*Compactness*] Our universal circuits have asymptotic size , improving upon the best previously known by 33\% and beating the lower bound for UCs constructed under Valiant's framework (Zhao et al., Asiacrypt 2019).
[*Tightness*] We show that under our new framework the universal circuit size is lower bounded by , which almost matches the circuit size of our 2-way construction.
We implement the 2-way universal circuits and evaluate its performance with other implementations, which confirms our theoretical analysis.
@misc{cryptoeprint:2020/161,
author = {Hanlin Liu and Yu Yu and Shuoyao Zhao and Jiang Zhang and Wenling Liu and Zhenkai Hu},
title = {Pushing the Limits of Valiant's Universal Circuits: Simpler, Tighter and More Compact},
howpublished = {Cryptology {ePrint} Archive, Paper 2020/161},
year = {2020},
url = {https://eprint.iacr.org/2020/161}
}
Note: In order to protect the privacy of readers, eprint.iacr.org
does not use cookies or embedded third party content.