Paper 2026/3004
SinCom: Shallow-and-Narrow Sinusoidal Composites for Low\\ Constant-Round Secure Evaluation of Activation Functions
Abstract
Non-linear activations remain the bottleneck in privacy-preserving machine learning: secure comparison is expensive, polynomial approximation needs many multiplication rounds, and the nested-sine construction of CRAfT is strictly serial---round count grows with depth, with no parallel ``width'' in which to buy accuracy. We start from an asymmetry that holds across secure-computation back-ends---\emph{depth is expensive, width is free}---and ask for the shallowest, narrowest composite that still reaches high accuracy. The result is \textsf{SinCom}: a layered composite of MPC-friendly operators with depth $D\in\{2,3\}$ and per-layer width $W\in\{2,3,4,5\}$, joined by \emph{cross-channel weight matrices}, whose round complexity equals~$D$ independently of~$W$. Frequency is learned per layer rather than prescribed. Unbounded activations must be split before they can be approximated. We single out a component that is bounded \emph{and smooth} and let the exact remainder be a branch-free skeleton, $f=x\cdot h(x)$; on softplus the split is instead the half-slope form $f=\tfrac{x}{2}+E(x)$ with $E$~even, and the optimizer places the skeleton coefficient at $c=\tfrac12$ on its own, beating the classical $c=1$ by up to $22.7\times$. Neither form is universal, so the outcome is a selection rule, not a single recipe. At six sines the composite fits GELU to $1.4\times10^{-6}$, SiLU to $6.0\times10^{-6}$ and mish to $1.2\times10^{-5}$ (24-bit, $[-8,8]$); on CRAfT's own domain $[-3,3]$ with four sines it reaches $3.30\times10^{-7}$ on $\Phi$ against CRAfT's $1.62\times10^{-4}$, a $245\times$ improvement like for like. All figures are \emph{function-level}: the error of the composite in exact arithmetic, excluding what a distributed realization adds (\S\ref{sec:errmodel}). Parameters are public constants fitted offline, so a deployment ships the best of many fits at no online cost---which is why we report best-of-$N$.
Metadata
- Available format(s)
-
PDF
- Category
- Cryptographic protocols
- Publication info
- Preprint.
- Keywords
- multiparty computingnonlinear activationapproximation
- Contact author(s)
- yangm @ whu edu cn
- History
- 2026-11-25: approved
- 2026-11-23: received
- See all versions
- Short URL
- https://ia.cr/2026/3004
- License
-
CC BY-NC
BibTeX
@misc{cryptoeprint:2026/3004,
author = {min yang},
title = {{SinCom}: Shallow-and-Narrow Sinusoidal Composites for Low\\ Constant-Round Secure Evaluation of Activation Functions},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/3004},
year = {2026},
url = {https://eprint.iacr.org/2026/3004}
}