DP-TabICL: In-Context Learning with Differentially Private Tabular Data

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Carey, Alycia N., Bhaila, Karuna, Edemacu, Kennedy, Wu, Xintao
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909133404372992
author Carey, Alycia N.
Bhaila, Karuna
Edemacu, Kennedy
Wu, Xintao
author_facet Carey, Alycia N.
Bhaila, Karuna
Edemacu, Kennedy
Wu, Xintao
contents In-context learning (ICL) enables large language models (LLMs) to adapt to new tasks by conditioning on demonstrations of question-answer pairs and it has been shown to have comparable performance to costly model retraining and fine-tuning. Recently, ICL has been extended to allow tabular data to be used as demonstration examples by serializing individual records into natural language formats. However, it has been shown that LLMs can leak information contained in prompts, and since tabular data often contain sensitive information, understanding how to protect the underlying tabular data used in ICL is a critical area of research. This work serves as an initial investigation into how to use differential privacy (DP) -- the long-established gold standard for data privacy and anonymization -- to protect tabular data used in ICL. Specifically, we investigate the application of DP mechanisms for private tabular ICL via data privatization prior to serialization and prompting. We formulate two private ICL frameworks with provable privacy guarantees in both the local (LDP-TabICL) and global (GDP-TabICL) DP scenarios via injecting noise into individual records or group statistics, respectively. We evaluate our DP-based frameworks on eight real-world tabular datasets and across multiple ICL and DP settings. Our evaluations show that DP-based ICL can protect the privacy of the underlying tabular data while achieving comparable performance to non-LLM baselines, especially under high privacy regimes.
format Preprint
id arxiv_https___arxiv_org_abs_2403_05681
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DP-TabICL: In-Context Learning with Differentially Private Tabular Data
Carey, Alycia N.
Bhaila, Karuna
Edemacu, Kennedy
Wu, Xintao
Cryptography and Security
Artificial Intelligence
Machine Learning
In-context learning (ICL) enables large language models (LLMs) to adapt to new tasks by conditioning on demonstrations of question-answer pairs and it has been shown to have comparable performance to costly model retraining and fine-tuning. Recently, ICL has been extended to allow tabular data to be used as demonstration examples by serializing individual records into natural language formats. However, it has been shown that LLMs can leak information contained in prompts, and since tabular data often contain sensitive information, understanding how to protect the underlying tabular data used in ICL is a critical area of research. This work serves as an initial investigation into how to use differential privacy (DP) -- the long-established gold standard for data privacy and anonymization -- to protect tabular data used in ICL. Specifically, we investigate the application of DP mechanisms for private tabular ICL via data privatization prior to serialization and prompting. We formulate two private ICL frameworks with provable privacy guarantees in both the local (LDP-TabICL) and global (GDP-TabICL) DP scenarios via injecting noise into individual records or group statistics, respectively. We evaluate our DP-based frameworks on eight real-world tabular datasets and across multiple ICL and DP settings. Our evaluations show that DP-based ICL can protect the privacy of the underlying tabular data while achieving comparable performance to non-LLM baselines, especially under high privacy regimes.
title DP-TabICL: In-Context Learning with Differentially Private Tabular Data
topic Cryptography and Security
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2403.05681