International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems, Volume 2025

FANNG-MPC: Framework for Artificial Neural Networks and Generic MPC


Najwa Aaraj
Technology Innovation Institute (TII), Abu Dhabi, UAE

Abdelrahaman Aly
Technology Innovation Institute (TII), Abu Dhabi, UAE

Tim Güneysu
Ruhr University Bochum, Bochum, Germany

Chiara Marcolla
Technology Innovation Institute (TII), Abu Dhabi, UAE

Johannes Mono
Ruhr University Bochum, Bochum, Germany

Rogerio Paludo
Technology Innovation Institute (TII), Abu Dhabi, UAE

Iván Santos-González
Technology Innovation Institute (TII), Abu Dhabi, UAE

Mireia Scholz
Technology Innovation Institute (TII), Abu Dhabi, UAE

Eduardo Soria Vazquez
Technology Innovation Institute (TII), Abu Dhabi, UAE

Victor Sucasas
Technology Innovation Institute (TII), Abu Dhabi, UAE

Ajith Suresh
Technology Innovation Institute (TII), Abu Dhabi, UAE


Keywords: Multi-Party Computation, Privacy-Preserving Machine Learning, Homomorphic Encryption, Neural Networks, MPC, FHE


Abstract

In this work, we introduce FANNG-MPC, a versatile secure multi-party computation framework capable to offer active security for privacy-preserving machine learning as a service (MLaaS). Derived from the now deprecated SCALE-MAMBA, FANNG is a data-oriented fork, featuring novel set of libraries and instructions for realizing private neural networks, effectively reviving the popular framework. To the best of our knowledge, FANNG is the first MPC framework to offer actively secure MLaaS in the dishonest majority setting.FANNG goes beyond SCALE-MAMBA by decoupling offline and online phases and materializing the dealer model in software, enabling a separate set of entities to produce offline material. The framework incorporates database support, a new instruction set for pre-processed material, including garbled circuits and convolutional and matrix multiplication triples. FANNG also implements novel private comparison protocols and an optimized library supporting Neural Network functionality. All our theoretical claims are substantiated by an extensive evaluation using an open-sourced implementation, including the private inference of popular neural networks like LeNet and VGG16.

Publication

Transactions of Cryptographic Hardware and Embedded Systems, Volume 2025, Issue 1

Paper

Artifact

Artifact number
tches/2025/a5

Artifact published
March 6, 2025

Badge
IACR CHES Artifacts Functional

README

ZIP (293193461 Bytes)  

View on Github

License

Some files in this archive are licensed under a different license. See the contents of this archive for more information.


BibTeX How to cite

Aaraj, N., Aly, A., Güneysu, T., Marcolla, C., Mono, J., Paludo, R., Santos-González, I., Scholz, M., Soria-Vazquez, E., Sucasas, V., & Suresh, A. (2024). FANNG-MPC: Framework for Artificial Neural Networks and Generic MPC. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025(1), 1-36. https://doi.org/10.46586/tches.v2025.i1.1-36. Artifact available at https://artifacts.iacr.org/tches/2025/a5