Paper 2025/048

ABLE: Optimizing Mixed Arithmetic and Boolean Garbled Circuit

Jianqiao Cambridge Mo, New York University
Karthik Garimella, New York University
Austin Ebel, New York University
Brandon Reagen, New York University
Abstract

Privacy and security have become critical priorities in many scenarios. Privacy-preserving computation (PPC) is a powerful solution that allows functions to be computed directly on encrypted data. Garbled circuit (GC) is a key PPC technology that enables secure, confidential computing. GC comes in two forms: Boolean GC supports all operations by expressing functions as logic circuits; arithmetic GC is a newer technique to efficiently compute a set of arithmetic operations like addition and multiplication. Mixed GC combines both Boolean and arithmetic GC, in an attempt to optimize performance by computing each function in its most natural form. However, this introduces additional costly conversions between the two forms and it remains unclear if and when the efficiency gains of arithmetic GC outweigh these conversion costs. In this paper, we present Arithmetic Boolean Logic Exchange for Garbled Circuit, the first real implementation of mixed GC. ABLE profiles the performance of Boolean and arithmetic GC operations along with their conversions. We assess not only communication but also computation latency, a crucial factor in evaluating the end-to-end runtime of GC. Based on these insights, we propose a method to determine whether it is more efficient to use general Boolean GC or mixed GC for a given application. Rather than implementing both approaches to identify the better solution for each unique case, our method enables users to select the most suitable GC realization early in the design process. This method evaluates whether the benefits of transitioning operations from Boolean to arithmetic GC offset the associated conversion costs. We apply this approach to a neural network task as a case study. We propose an optimization to reduce the number of primes in arithmetic GC, cutting communication and compute latency by up to 14.1% and 15.7%, respectively. Additionally, we optimize mixed GC conversions with a row reduction technique, achieving a 48.6%reduction in garbled table size for bit-decomposition and a 50%reduction for bit-composition operation. Our code is open-sourced for community use.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
privacy-preserving computationsecure multi-party computationcryptography
Contact author(s)
jm8782 @ nyu edu
kg2383 @ nyu edu
abe5240 @ nyu edu
bjr5 @ nyu edu
History
2025-04-24: revised
2025-01-13: received
See all versions
Short URL
https://ia.cr/2025/048
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/048,
      author = {Jianqiao Cambridge Mo and Karthik Garimella and Austin Ebel and Brandon Reagen},
      title = {{ABLE}: Optimizing Mixed Arithmetic and Boolean Garbled Circuit},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/048},
      year = {2025},
      url = {https://eprint.iacr.org/2025/048}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.