paper-with-me

Papers

Prompt Stealing Attacks Against Large Language Models

2024-02-20 · Zeyang Sha, Yang Zhang

The increasing reliance on large language models (LLMs) such as ChatGPT in various fields emphasizes the importance of ``prompt engineering,'' a technology to improve the quality of model outputs. With companies investing significantly in expert prompt engineers and educational resources rising to meet market demand, designing high-quality prompts has become an intriguing challenge. In this paper, we propose a novel attack against LLMs, named prompt stealing attacks. Our proposed prompt stealing attack aims to steal these well-designed prompts based on the generated answers. The prompt stealing attack contains two primary modules: the parameter extractor and the prompt reconstruction. The goal of the parameter extractor is to figure out the properties of the original prompts. We first observe that most prompts fall into one of three categories: direct prompt, role-based prompt, and in-context prompt. Our parameter extractor first tries to distinguish the type of prompts based on the generated answers. Then, it can further predict which role or how many contexts are used based on the types of prompts. Following the parameter extractor, the prompt reconstructor can be used to reconstruct the original prompts based on the generated answers and the extracted features. The final goal of the prompt reconstructor is to generate the reversed prompts, which are similar to the original prompts. Our experimental results show the remarkable performance of our proposed attacks. Our proposed attacks add a new dimension to the study of prompt engineering and call for more attention to the security issues on LLMs.

📄 PDF Abstract BibTeX arXiv:2402.12959

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Large Language Models for Link Stealing Attacks Against Graph Neural Networks

2024-06-22 · Faqian Guan, Tianqing Zhu, Hui Sun, Wanlei Zhou 외

Graph data contains rich node features and unique edge information, which have been applied across various domains, such as citation networks or recommendation systems. Graph Neural Networks (GNNs) are specialized for ha…

Recommendation Systems

Prompt Stealing Attacks Against Text-to-Image Generation Models

2023-02-20 · Xinyue Shen, Yiting Qu, Michael Backes, Yang Zhang

Text-to-Image generation models have revolutionized the artwork design process and enabled anyone to create high-quality images by entering text descriptions called prompts. Creating a high-quality prompt that consists o…

Image GenerationText to Image GenerationText-to-Image Generation

Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attacks

2019-06-26 · ICLR 2020 1 · Tribhuvanesh Orekondy, Bernt Schiele, Mario Fritz

High-performance Deep Neural Networks (DNNs) are increasingly deployed in many real-world applications e.g., cloud prediction APIs. Recent advances in model functionality stealing attacks via black-box access (i.e., inpu…

Autonomous VehiclesPrediction

Model Stealing Attacks Against Inductive Graph Neural Networks

2021-12-15 · Yun Shen, Xinlei He, Yufei Han, Yang Zhang

Many real-world data come in the form of graphs. Graph neural networks (GNNs), a new family of machine learning (ML) models, have been proposed to fully leverage graph data to build powerful applications. In particular, …

model

Model Stealing Attack against Recommender System

2023-12-18 · Zhihao Zhu, Rui Fan, Chenwang Wu, Yi Yang 외

Recent studies have demonstrated the vulnerability of recommender systems to data privacy attacks. However, research on the threat to model privacy in recommender systems, such as model stealing attacks, is still in its …

modelRecommendation Systems