arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.19325cs.CR
收藏

AutoPoly-HE:面向隐私保护加密推理的多项式激活函数自主设计

AutoPoly-HE: Autonomous Design of Polynomial Activations for Privacy-Preserving Encrypted Inference

Tennessee State University(田纳西州立大学);Howard University(霍华德大学);University of Maryland Baltimore County (UMBC)(马里兰大学巴尔的摩县分校)

Zeinab Elkhatib, Kamrul Hasan, Ali Sekmen, Imtiaz Ahmed, Tariqul Islam

AI总结:

本研究提出自主框架AutoPoly-HE,可针对数据集与模型定制多项式激活函数,经实验验证其能跨ResNet、ViT等架构泛化,还通过优化推理流水线降低加密推理延迟。

摘要:

隐私保护机器学习对于将人工智能部署到医疗、金融、基础设施监测等敏感领域至关重要。同态加密(HE)支持对加密数据进行安全推理,尽管具备优势,但HE与机器学习模型中常见的非线性激活函数不兼容。现有方法通过手动为这些激活函数设计多项式近似来缓解该问题,但这些函数未考虑数据集特征或模型架构的差异,且仅适用于卷积神经网络(CNN)模型的精度。本研究提出一种自主框架,可针对每个数据集和模型定制选择多项式激活函数。利用该框架,我们通过在多个数据集上评估多种CNN ResNet和视觉Transformer(ViT)模型,分析多项式激活函数设计与模型架构之间的相互依赖关系。实验结果表明,所提框架可在ResNet-18、ResNet-34、ResNet-50、ViT-S/16、ViT-B/16、ViT-L/16等多种架构间泛化;在所有数据集上,基于Transformer的模型在多项式近似下保持更高精度,而卷积模型随任务复杂度提升精度下降更明显。此外,延迟分析显示,所提基于<[BOS_never_used_51bce0c785ca2f68081bfa7d91973934]> token的推理流水线通过消除深度依赖操作,将主要开销转移到加密和解密,显著降低了计算开销。这些发现表明,所提方法不仅可跨架构适配多项式激活函数,还能通过激活函数设计和流水线优化实现高效的加密推理。

英文摘要:

Privacy-preserving machine learning has become critical for deploying artificial intelligence in sensitive domains such as healthcare, finance, and infrastructure monitoring. Homomorphic encryption (HE) enables secure inference on encrypted data. Despite its advantages, HE is not compatible with nonlinear activation functions found in machine learning models. Existing methods mitigate this problem by manually designing polynomial approximations for these activation functions. However, these functions do not account for the differences in dataset characteristics or model architecture. Furthermore, these functions are also limited to the accuracies of convolutional neural network (CNN) models. In this work, we propose an autonomous framework that selects polynomial activation functions tailored to each dataset and model. Using this framework, we analyze the interdependence between polynomial activation design and model architecture by evaluating several CNN ResNet and Vision Transformer models across multiple datasets. Experimental results demonstrate that the proposed framework generalizes across multiple architectures, including ResNet-18, ResNet-34, ResNet-50, ViT-S/16, ViT-B/16, and ViT-L/16. Across all datasets, transformer-based models maintain higher accuracy under polynomial approximation, while convolutional models exhibit increased degradation as task complexity grows. In addition, latency analysis reveals that the proposed CLS token based inference pipeline significantly reduces computational overhead by eliminating depth-dependent operations, shifting the primary cost to encryption and decryption. These findings demonstrate that the proposed method not only adapts polynomial activations across architectures, but also enables efficientencrypted inference through both activation design and pipeline optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑