Unlocking Memorization in Large Language Models with Dynamic Soft Prompting
원문 초록
Pretrained large language models (LLMs) have revolutionized natural language processing (NLP) tasks such as summarization, question answering, and translation. However, LLMs pose significant security risks due to their tendency to memorize training data, leading to potential privacy breaches and copyright infringement. Accurate measurement of this memorization is essential to evaluate and mitigate these potential risks. However, previous attempts to characterize memorization are constrained by either using prefixes only or by prepending a constant soft prompt to the prefixes, which cannot react to changes in input. To address this challenge, we propose a novel method for estimating LLM memorization using dynamic, prefix-dependent soft prompts. Our approach involves training a transformer-based generator to produce soft prompts that adapt to changes in input, thereby enabling more accurate extraction of memorized data. Our method not only addresses the limitations of previous methods but also demonstrates superior performance in diverse experimental settings compared to state-of-the-art techniques. In particular, our method can achieve the maximum relative improvement of 112.75% and 32.26% over the vanilla baseline in terms of discoverable memorization rate for the text generation task and code generation task respectively.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Specification and Evaluation of Multi-Agent LLM Systems -- Prototype and Cybersecurity Applications
The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs
GenerationPrograms: Fine-grained Attribution with Executable Programs
OmniDRCA: Parallel Speech-Text Foundation Model via Dual-Resolution Speech Representations and Contrastive Alignment
Bridging the Gap Between Open-Source and Proprietary LLMs in Table QA
Where to find Grokking in LLM Pretraining? Monitor Memorization-to-Generalization without Test
토론
이 논문과 연결된 포럼 글이 아직 없습니다.