Skip to content

Ethicist: Targeted extraction of training data via loss-smoothed soft prompts and calibrated confidence estimationEthicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confidence Estimation

arXiv· arXiv:2307.04401· ACL 2023· Zhexin Zhang, Jiaxin Wen, Minlie Huang·Indexed by this site · 24 days ago· Originally publishedAttacks
AI summary

The researchers propose a method called Ethicist for recovering training-data suffixes from pretrained language models given a prefix, and it significantly improves extraction on public benchmarks. The method keeps the attacked model unchanged and only tunes soft prompt embeddings to induce model memorization; it also designs a smoothing loss that smooths the loss distribution of suffix tokens, making the correct suffix easier to sample. To select the most likely suffix from candidate suffixes and estimate confidence, the authors propose a calibrated confidence estimate that normalizes the confidence of generated suffixes using a local estimate. The study also examines the effects of decoding strategy, model scale, prefix length and suffix length on extraction performance, and the code is released at https://github.com/thu-coai/Targeted-Data-Extraction。

Read originalACL 2023