paper-with-me

홈 › Papers

Has My System Prompt Been Used? Large Language Model Prompt Membership Inference

2025-02-14 · Roman Levin, Valeriia Cherepanova, Abhimanyu Hans, Avi Schwarzschild, Tom Goldstein

Prompt engineering has emerged as a powerful technique for optimizing large language models (LLMs) for specific applications, enabling faster prototyping and improved performance, and giving rise to the interest of the community in protecting proprietary system prompts. In this work, we explore a novel perspective on prompt privacy through the lens of membership inference. We develop Prompt Detective, a statistical method to reliably determine whether a given system prompt was used by a third-party language model. Our approach relies on a statistical test comparing the distributions of two groups of model outputs corresponding to different system prompts. Through extensive experiments with a variety of language models, we demonstrate the effectiveness of Prompt Detective for prompt membership inference. Our work reveals that even minor changes in system prompts manifest in distinct response distributions, enabling us to verify prompt usage with statistical significance.

📄 PDF Abstract BibTeX arXiv:2502.09974

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelPrompt Engineering

Similar Papers 제목 키워드 기반

Large Language Models and Prompt Engineering for Biomedical Query Focused Multi-Document Summarisation

2023-11-09 · Diego Mollá

This paper reports on the use of prompt engineering and GPT-3.5 for biomedical query-focused multi-document summarisation. Using GPT-3.5 and appropriate prompts, our system achieves top ROUGE-F1 results in the task of ob…

Prompt EngineeringRetrievalRetrieval-augmented Generation

Effective Prompt Extraction from Language Models

2023-07-13 · Yiming Zhang, Nicholas Carlini, Daphne Ippolito

The text generated by large language models is commonly controlled by prompting, where a prompt prepended to a user's query guides the model's output. The prompts used by companies to guide their models are often treated…

Hallucination

SPRIG: Improving Large Language Model Performance by System Prompt Optimization

2024-10-18 · Lechen Zhang, Tolga Ergen, Lajanugen Logeswaran, Moontae Lee 외

Large Language Models (LLMs) have shown impressive capabilities in many scenarios, but their performance depends, in part, on the choice of prompt. Past research has focused on optimizing prompts specific to a task. Howe…

Language ModelingLanguage ModellingLarge Language Model

Can large language models replace humans in the systematic review process? Evaluating GPT-4's efficacy in screening and extracting data from peer-reviewed and grey literature in multiple languages

2023-10-26 · Qusai Khraisha, Sophie Put, Johanna Kappenberg, Azza Warraitch 외

Systematic reviews are vital for guiding practice, research, and policy, yet they are often slow and labour-intensive. Large language models (LLMs) could offer a way to speed up and automate systematic reviews, but their…

Prompt Selection Matters: Enhancing Text Annotations for Social Sciences with Large Language Models

2024-07-15 · Louis Abraham, Charles Arnal, Antoine Marie

Large Language Models have recently been applied to text annotation tasks from social sciences, equalling or surpassing the performance of human workers at a fraction of the cost. However, no inquiry has yet been made on…

text annotation