Has anyone conducted their own experiments with training data extraction from offline-LLMs via repeated words ala Nasr, et al.'s "Scalable Extraction of Training Data from (Production) Language Models"? I'd be interested in acquiring your code. I want to conduct a more formal mathematical analysis of the phenomenon, but I'd like to peek under the hood a bit more first.

Ref: https://arxiv.org/abs/2311.17035

#MachineLearning #DeepLearning #AdversarialAttacks #MachineLearningResearch #AIResearch #AI

Scalable Extraction of Training Data from (Production) Language Models

This paper studies extractable memorization: training data that an adversary can efficiently extract by querying a machine learning model without prior knowledge of the training dataset. We show an adversary can extract gigabytes of training data from open-source language models like Pythia or GPT-Neo, semi-open models like LLaMA or Falcon, and closed models like ChatGPT. Existing techniques from the literature suffice to attack unaligned models; in order to attack the aligned ChatGPT, we develop a new divergence attack that causes the model to diverge from its chatbot-style generations and emit training data at a rate 150x higher than when behaving properly. Our methods show practical attacks can recover far more data than previously thought, and reveal that current alignment techniques do not eliminate memorization.

arXiv.org