AIセキュリティポータル K Program
Can LLMs get help from other LLMs without revealing private information?
Share
Abstract
Cascades are a common type of machine learning systems in which a large, remote model can be queried if a local model is not able to accurately label a user's data by itself. Serving stacks for large language models (LLMs) increasingly use cascades due to their ability to preserve task performance while dramatically reducing inference costs. However, applying cascade systems in situations where the local model has access to sensitive data constitutes a significant privacy risk for users since such data could be forwarded to the remote model. In this work, we show the feasibility of applying cascade systems in such setups by equipping the local model with privacy-preserving techniques that reduce the risk of leaking private information when querying the remote model. To quantify information leakage in such setups, we introduce two privacy measures. We then propose a system that leverages the recently introduced social learning paradigm in which LLMs collaboratively learn from each other by exchanging natural language. Using this paradigm, we demonstrate on several datasets that our methods minimize the privacy loss while at the same time improving task performance compared to a non-cascade baseline.
Social learning theory, volume 1
Albert Bandura, Richard H Walters
Published: 1977
Language models are few-shot learners
T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, D. Amodei
Published: 2020
Frugalgpt: How to use large language models while reducing cost and improving performance
Lingjiao Chen, Matei Zaharia, James Zou
Published: 2023
Differential privacy
Cynthia Dwork
Published: 2006
Limiting privacy breaches in privacy preserving data mining
A. Evfimievski, J. Gehrke, R. Srikant
Published: 2003
What can we learn privately?
Shiva Prasad Kasiviswanathan, Homin K Lee, Kobbi Nissim, Sofya Raskhodnikova, Adam Smith
Published: 2011
Rlaif: Scaling reinforcement learning from human feedback with ai feedback
H. Lee, S. Phatale, H. Mansoor, T. Mesnard, J. Ferret, K. Lu, C. Bishop, E. Hall, V. Carbune, A. Rastogi, S. Prakash
Published: 2023
Cascadebert: Accelerating inference of pre-trained language models via calibrated complete models cascade
Lei Li, Yankai Lin, Deli Chen, Shuhuai Ren, Peng Li, Jie Zhou, Xu Sun
Published: 2021
Prompt Injection attack against LLM-integrated Applications
Yi Liu, Gelei Deng, Yuekang Li, Kailong Wang, Zihao Wang, Xiaofeng Wang, Tianwei Zhang, Yepang Liu, Haoyu Wang, Yan Zheng, Yang Liu
Published: 2023.6.9
Towards efficient generative large language model serving: A survey from algorithms to systems
Xupeng Miao, Gabriele Oliaro, Zhihao Zhang, Xinhao Cheng, Hongyi Jin, Tianqi Chen, Zhihao Jia
Published: 2023
Privacy as contextual integrity
Helen Nissenbaum
Published: 2004
GPT-4 Technical Report
OpenAI
Published: 2023
Are emergent abilities of large language models a mirage?
R. Schaeffer, B. Miranda, S. Koyejo
Published: 2023
Synthetic prompting: Generating chain-of-thought demonstrations for large language models
Zhihong Shao, Yeyun Gong, Yelong Shen, Minlie Huang, Nan Duan, Weizhu Chen
Published: 2023
Beyond the imitation game: Quantifying and extrapolating the capabilities of language models
A. Srivastava, A. Rastogi, A. Rao, et al.
Published: 2023
k-anonymity: A model for protecting privacy
L. Sweeney
Published: 2002
Randomized response: a survey technique for eliminating evasive answer bias
Warner, S. L.
Published: 1965
Privacy-preserving in-context learning for large language models
Tong Wu, Ashwinee Panda, Jiachen T Wang, Prateek Mittal
Published: 2023
Large language model cascades with mixture of thoughts representations for cost-efficient reasoning
Murong Yue, Jie Zhao, Min Zhang, Liang Du, Ziyu Yao
Published: 2024
Share