# Partially Oblivious Neural Network Inference

### Panagiotis Rizomiliotis, Christos Diou, Aikaterini Triakosia, Ilias Kyrannas, Konstantinos Tserpes

#### 2022

#### Abstract

Oblivious inference is the task of outsourcing a ML model, like neural-networks, without disclosing critical and sensitive information, like the model’s parameters. One of the most prominent solutions for secure oblivious inference is based on a powerful cryptographic tools, like Homomorphic Encryption (HE) and/or multi-party computation (MPC). Even though the implementation of oblivious inference systems schemes has impressively improved the last decade, there are still significant limitations on the ML models that they can practically implement. Especially when both the ML model and the input data’s confidentiality must be protected. In this paper, we introduce the notion of partially oblivious inference. We empirically show that for neural network models, like CNNs, some information leakage can be acceptable. We therefore propose a novel trade-off between security and efficiency. In our research, we investigate the impact on security and inference runtime performance from the CNN model’s weights partial leakage. We experimentally demonstrate that in a CIFAR-10 network we can leak up to 80% of the model’s weights with practically no security impact, while the necessary HE-mutliplications are performed four times faster.

Download#### Paper Citation

#### in Harvard Style

Rizomiliotis P., Diou C., Triakosia A., Kyrannas I. and Tserpes K. (2022). **Partially Oblivious Neural Network Inference**. In *Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT,* ISBN 978-989-758-590-6, pages 158-169. DOI: 10.5220/0011272500003283

#### in Bibtex Style

@conference{secrypt22,

author={Panagiotis Rizomiliotis and Christos Diou and Aikaterini Triakosia and Ilias Kyrannas and Konstantinos Tserpes},

title={Partially Oblivious Neural Network Inference},

booktitle={Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT,},

year={2022},

pages={158-169},

publisher={SciTePress},

organization={INSTICC},

doi={10.5220/0011272500003283},

isbn={978-989-758-590-6},

}

#### in EndNote Style

TY - CONF

JO - Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT,

TI - Partially Oblivious Neural Network Inference

SN - 978-989-758-590-6

AU - Rizomiliotis P.

AU - Diou C.

AU - Triakosia A.

AU - Kyrannas I.

AU - Tserpes K.

PY - 2022

SP - 158

EP - 169

DO - 10.5220/0011272500003283