by José Reis, Mehmet Ugurbil, Sameer Wagh, Ryan Henry and Miguel de Vega
https://eprint.iacr.org/2025/013.pdf
This paper introduces new protocols for secure multiparty computation (MPC)
leveraging Discrete Wavelet Transforms (DWTs) for computing nonlinear functions
over large domains. By employing DWTs, the protocols significantly reduce the
overhead typically associated with Lookup Table-style (LUT) evaluations in MPC.
We state and prove foundational results for DWT-compressed LUTs in MPC, present
protocols for 9 of the most common activation functions used in ML, and
experimentally evaluate the performance of our protocols for large domain sizes
in the LAN and WAN settings. Our protocols are extremely fast – for instance,
when considering 64-bit inputs, computing 1000 parallel instances of the sigmoid
function, with an error less than
Privacy-enhancing technologies, secure multiparty computation, lookup tables, discrete wavelet transforms
This module is to run accuracy experiments measuring the error obtained after compressing the lookup table using discrete wavelet transforms.
- Enter accuracy directory.
cd accuracy
- Create a virtual environment.
python -m venv myenv
- Activate the virtual environment.
source myenv/bin/activate
- Install requirements.
pip install -r requirements.txt
- Generate the data.
python accuracy.py
-
Inspect the image at
data/lutsize.pdf. -
Explore the data for each function such as exponential or gelu.
python explore.py <function_name>
- CSV files can be created for inspection.
python write_to_csv.py
This module is for running time experiments.
- Enter experiments directory.
cd experiments
- Make.
make
- Run the experiments.
./run_all.sh