SHARK: Actively Secure Inference Using Function Secret Sharing
Kanav Gupta, Nishanth Chandran, Divya Gupta, Jonathan Katz, Rahul Sharma
Abstract
We consider the problem of actively secure two-party machine-learning inference in the preprocessing model, where the parties obtain (input-independent) correlated randomness in an offline phase that they can then use to run an efficient protocol in the (input-dependent) online phase. In this setting, the state-of-the-art is the work of Escudero et al. (Crypto 2020); unfortunately, that protocol requires a large amount of correlated randomness, extensive communication, and many rounds of interaction, which leads to poor performance. In this work, we show protocols for this setting based on function secret sharing (FSS) that beat the state-of-the-art in all parameters: they use less correlated randomness and fewer rounds, and require lower communication and computation. We achieve this in part by allowing for a mix of boolean and arithmetic values in FSS-based protocols (something not done in prior work), as well as by relying on “interactive FSS;’ a generalization of FSS we introduce. To demonstrate the effectiveness of our approach we build SHARK-the first FSS-based system for actively secure inference-which outperforms the state-of-the-art by up to 2300×.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext febb876d-b76c-4d54-bf7d-0e75d2a7a5caCited by top-tier papers4
- LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison FunctionChenkai Zeng, Qi Feng, Debiao He, Min LuoCCS 2026
- Nudge: A Private Recommendations EngineAlexandra Henzinger, Emma Dauterman, Henry Corrigan-Gibbs, Dan BonehUSENIX Security 2026
- FuseFSS: Efficient Secure LLM Inference with Function Secret SharingYuhan Ma, Yong Li, Stefan SchmidICML 2026
- SMASH: Scalable Maliciously Secure Hybrid Multi-party Computation Framework for Privacy-Preserving Large Language ModelsYunlv Lv, Rui Zhang, Zhiyuan Zhang, Ziyi Wan et al.USENIX Security 2026
Builds on28
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta et al.NeurIPS 2021 · 573 citations
Related papers
- Orca: FSS-based Secure Training and Inference with GPUsNeha Jawalkar, Kanav Gupta, Arkaprava Basu, Nishanth Chandran et al.S&P 2024 · 58 citations
- FLOSS: Fast Linear Online Secret-Shared ShufflingIan Chang, Sela Navot, Alex Ozdemir, Nirvan TyagiUSENIX Security 2026
- CRISP: An Efficient Cryptographic Framework for ML Inference Against Malicious ClientsXiaoyu Fang, Shihui Zheng, Lize GuNDSS 2026
- Secure Sorting and Selection via Function Secret SharingAmit Agarwal, Elette Boyle, Nishanth Chandran, Niv Gilboa et al.CCS 2024 · 5 citations
- Function Secret Sharing for Mixed-Mode and Fixed-Point Secure ComputationElette Boyle, Nishanth Chandran, Niv Gilboa, Divya Gupta et al.EUROCRYPT 2021 · 135 citations
