Papers
Topics
Authors
Recent
Search
2000 character limit reached

Proteus: Preserving Model Confidentiality during Graph Optimizations

Published 18 Apr 2024 in cs.CR and cs.LG | (2404.12512v1)

Abstract: Deep learning (DL) models have revolutionized numerous domains, yet optimizing them for computational efficiency remains a challenging endeavor. Development of new DL models typically involves two parties: the model developers and performance optimizers. The collaboration between the parties often necessitates the model developers exposing the model architecture and computational graph to the optimizers. However, this exposure is undesirable since the model architecture is an important intellectual property, and its innovations require significant investments and expertise. During the exchange, the model is also vulnerable to adversarial attacks via model stealing. This paper presents Proteus, a novel mechanism that enables model optimization by an independent party while preserving the confidentiality of the model architecture. Proteus obfuscates the protected model by partitioning its computational graph into subgraphs and concealing each subgraph within a large pool of generated realistic subgraphs that cannot be easily distinguished from the original. We evaluate Proteus on a range of DNNs, demonstrating its efficacy in preserving confidentiality without compromising performance optimization opportunities. Proteus effectively hides the model as one alternative among up to $10{32}$ possible model architectures, and is resilient against attacks with a learning-based adversary. We also demonstrate that heuristic based and manual approaches are ineffective in identifying the protected model. To our knowledge, Proteus is the first work that tackles the challenge of model confidentiality during performance optimization. Proteus will be open-sourced for direct use and experimentation, with easy integration with compilers such as ONNXRuntime.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (46)
  1. Mosaicml — brave new cloud. https://www.mosaicml.com/. Accessed: 2022-12-01.
  2. Model optimization and automated deployment by the octoml platform. https://octoml.ai/, a. Accessed: 2022-12-01.
  3. How 4x speedup on generative video model (film) created huge cost savings for wombo. OctoML, b. URL https://octoml.ai/blog/how-4x-speedup-on-generative-video-model- film-created-huge-cost-savings-for-wombo/. Accessed on May 21, 2023.
  4. Graph optimizations. ONNX Runtime website. URL https://onnxruntime.ai/docs/performance/model-optimizations/graph-optimizations.html. Accessed on May 21, 2023.
  5. Issues · tensorflow/tensorflow · github. GitHub Issues. URL https://github.com/tensorflow/tensorflow/issues?q=is%3Aissue+is%3Aopen+XLA. Accessed on May 21, 2023.
  6. Bengio, Y. et al. Learning deep architectures for ai. Foundations and trends® in Machine Learning, 2(1):1–127, 2009.
  7. Tvm: An automated end-to-end optimizing compiler for deep learning, 2018. URL https://arxiv.org/abs/1802.04799.
  8. Intel ngraph: An intermediate representation, compiler, and executor for deep learning. arXiv preprint arXiv:1801.08058, 2018.
  9. Z3: An efficient smt solver. In Proceedings of the Theory and Practice of Software, 14th International Conference on Tools and Algorithms for the Construction and Analysis of Systems, TACAS’08/ETAPS’08, pp.  337–340, Berlin, Heidelberg, 2008. Springer-Verlag. ISBN 3540787992.
  10. developers, O. R. Onnx runtime. https://onnxruntime.ai/, 2021. Version: x.y.z.
  11. Hidet: Task-mapping programming paradigm for deep learning tensor programs. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, pp.  370–384, 2023.
  12. NATS-bench: Benchmarking NAS algorithms for architecture topology and size. IEEE Transactions on Pattern Analysis and Machine Intelligence, pp.  1–1, 2021. doi: 10.1109/tpami.2021.3054824. URL https://doi.org/10.1109%2Ftpami.2021.3054824.
  13. An image is worth 16x16 words: Transformers for image recognition at scale, 2021.
  14. Dwork, C. Differential privacy. In Automata, Languages and Programming: 33rd International Colloquium, ICALP 2006, Venice, Italy, July 10-14, 2006, Proceedings, Part II 33, pp.  1–12. Springer, 2006.
  15. Calibrating noise to sensitivity in private data analysis. In Halevi, S. and Rabin, T. (eds.), Theory of Cryptography, pp.  265–284, Berlin, Heidelberg, 2006. Springer Berlin Heidelberg. ISBN 978-3-540-32732-5.
  16. The algorithmic foundations of differential privacy. Foundations and Trends® in Theoretical Computer Science, 9(3–4):211–407, 2014.
  17. Gentry, C. Fully homomorphic encryption using ideal lattices. In Proceedings of the forty-first annual ACM symposium on Theory of computing, pp.  169–178, 2009.
  18. Cryptonets: Applying neural networks to encrypted data with high throughput and accuracy. In International conference on machine learning, pp. 201–210. PMLR, 2016.
  19. Explaining and harnessing adversarial examples, 2014. URL https://arxiv.org/abs/1412.6572.
  20. Explaining and harnessing adversarial examples, 2015.
  21. Inductive representation learning on large graphs, 2018.
  22. Cryptodl: Deep neural networks over encrypted data. arXiv preprint arXiv:1711.05189, 2017.
  23. Squeeze-and-excitation networks, 2019.
  24. Deepsniffer: A dnn model extraction framework based on learning architectural hints. In Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 385–399, 2020.
  25. Reverse engineering convolutional neural networks through side-channel information leaks. In Proceedings of the 55th Annual Design Automation Conference, pp.  1–6, 2018.
  26. Huggingface. Hugging face – the ai community building the future. https://huggingface.co, 2023.
  27. Insider, B. Chatgpt could cost over $700,000 per day to operate. microsoft is reportedly trying to make it cheaper. https://www.businessinsider.com/how-much-chatgpt-costs-openai-to-run- estimate-report-2023-4, 2023.
  28. Taso: Optimizing deep learning computation with automatic generation of graph substitutions. In Proceedings of the 27th ACM Symposium on Operating Systems Principles, SOSP ’19, pp.  47–62, New York, NY, USA, 2019. Association for Computing Machinery. ISBN 9781450368735. doi: 10.1145/3341301.3359630. URL https://doi.org/10.1145/3341301.3359630.
  29. Karger, D. R. Global min-cuts in rnc, and other ramifications of a simple min-out algorithm. In ACM-SIAM Symposium on Discrete Algorithms, 1993.
  30. Labs, L. Demystifying gpt-3. https://lambdalabs.com/blog/demystifying-gpt-3, 2023. Blog post.
  31. NVIDIA Corporation. TensorRT: Programmable Inference Accelerator, 2022. https://developer.nvidia.com/tensorrt.
  32. Towards reverse-engineering black-box neural networks. Explainable AI: Interpreting, Explaining and Visualizing Deep Learning, pp.  121–144, 2019.
  33. ONNX Contributors. ONNX: Open Neural Network Exchange. https://onnx.ai/, 2023. Accessed: May 21, 2023.
  34. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia conference on computer and communications security, pp.  506–519, 2017.
  35. PyTorch. torchvision: datasets, transforms and models specific to computer vision. https://pytorch.org/vision/, 2017.
  36. High-resolution image synthesis with latent diffusion models, 2021.
  37. Glow: Graph lowering compiler techniques for neural networks. arXiv preprint arXiv:1805.00907, 2018.
  38. Sabne, A. Xla: Compiling machine learning for peak performance. 2020.
  39. Stochastic gradient descent with differentially private updates. In 2013 IEEE Global Conference on Signal and Information Processing, pp.  245–248, 2013. doi: 10.1109/GlobalSIP.2013.6736861.
  40. Stealing machine learning models via prediction apis. In USENIX security symposium, volume 16, pp.  601–618, 2016.
  41. TVM. Adding an operator to relay — tvm 0.13.dev0 documentation. https://tvm.apache.org/docs/dev/how_to/relay_add_op.html, 2023.
  42. Stealing hyperparameters in machine learning. In 2018 IEEE symposium on security and privacy (SP), pp. 36–52. IEEE, 2018.
  43. Sparsetir: Composable abstractions for sparse compilation in deep learning. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, pp.  660–678, 2023.
  44. Graphrnn: Generating realistic graphs with deep auto-regressive models, 2018.
  45. Ansor: Generating high-performance tensor programs for deep learning. In Proceedings of the 14th USENIX Conference on Operating Systems Design and Implementation, pp.  863–879, 2020.
  46. Learning transferable architectures for scalable image recognition, 2018.
Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 2 tweets with 1 like about this paper.