paper-with-me

Papers

Ethicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confidence Estimation

2023-07-10 · Zhexin Zhang, Jiaxin Wen, Minlie Huang

Large pre-trained language models achieve impressive results across many tasks. However, recent works point out that pre-trained language models may memorize a considerable fraction of their training data, leading to the privacy risk of information leakage. In this paper, we propose a method named Ethicist for targeted training data extraction through loss smoothed soft prompting and calibrated confidence estimation, investigating how to recover the suffix in the training data when given a prefix. To elicit memorization in the attacked model, we tune soft prompt embeddings while keeping the model fixed. We further propose a smoothing loss that smooths the loss distribution of the suffix tokens to make it easier to sample the correct suffix. In order to select the most probable suffix from a collection of sampled suffixes and estimate the prediction confidence, we propose a calibrated confidence estimation method, which normalizes the confidence of the generated suffixes with a local estimation. We show that Ethicist significantly improves the extraction performance on a recently proposed public benchmark. We also investigate several factors influencing the data extraction performance, including decoding strategy, model scale, prefix length, and suffix length. Our code is available at https://github.com/thu-coai/Targeted-Data-Extraction.

📄 PDF Abstract BibTeX arXiv:2307.04401

Code (1)

thu-coai/targeted-data-extraction 공식 구현 pytorch

Tasks

Memorization

Similar Papers 제목 키워드 기반

ChatGPT as Research Scientist: Probing GPT's Capabilities as a Research Librarian, Research Ethicist, Data Generator and Data Predictor

2024-06-20 · Steven A. Lehr, Aylin Caliskan, Suneragiri Liyanage, Mahzarin R. Banaji

How good a research scientist is ChatGPT? We systematically probed the capabilities of GPT-3.5 and GPT-4 across four central components of the scientific process: as a Research Librarian, Research Ethicist, Data Generato…

Three Kinds of AI Ethics

2025-03-24 · Emanuele Ratti

There is an overwhelming abundance of works in AI Ethics. This growth is chaotic because of how sudden it is, its volume, and its multidisciplinary nature. This makes difficult to keep track of debates, and to systematic…

Ethics

Targeted Attack on GPT-Neo for the SATML Language Model Data Extraction Challenge

2023-02-13 · Ali Al-Kaswan, Maliheh Izadi, Arie van Deursen

Previous work has shown that Large Language Models are susceptible to so-called data extraction attacks. This allows an attacker to extract a sample that was contained in the training data, which has massive privacy impl…

Inference AttackLanguage ModelingLanguage ModellingMembership Inference Attack+1

Responses to a Critique of Artificial Moral Agents

2019-03-17 · Adam Poulsen, Michael Anderson, Susan L. Anderson, Ben Byford 외

The field of machine ethics is concerned with the question of how to embed ethical behaviors, or a means to determine ethical behaviors, into artificial intelligence (AI) systems. The goal is to produce artificial moral …

Ethics

Towards a Feminist Metaethics of AI

2023-11-10 · Anastasia Siapka

The proliferation of Artificial Intelligence (AI) has sparked an overwhelming number of AI ethics guidelines, boards and codes of conduct. These outputs primarily analyse competing theories, principles and values for AI …

Ethics