Saved in:
Bibliographic Details
Main Authors: Pal, Anwesan, Bhargava, Radhika, Hinsz, Kyle, Esterhuizen, Jacques, Bhattacharya, Sudipta
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.05978
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912112991797248
author Pal, Anwesan
Bhargava, Radhika
Hinsz, Kyle
Esterhuizen, Jacques
Bhattacharya, Sudipta
author_facet Pal, Anwesan
Bhargava, Radhika
Hinsz, Kyle
Esterhuizen, Jacques
Bhattacharya, Sudipta
contents Data sanitization in the context of language modeling involves identifying sensitive content, such as personally identifiable information (PII), and redacting them from a dataset corpus. It is a common practice used in natural language processing (NLP) to maintain privacy. Nevertheless, the impact of data sanitization on the language understanding capability of a language model remains less studied. This paper empirically analyzes the effects of data sanitization across several benchmark language-modeling tasks including comprehension question answering (Q&A), entailment, sentiment analysis, and text classification. Our experiments cover a wide spectrum comprising finetuning small-scale language models, to prompting large language models (LLMs), on both original and sanitized datasets, and comparing their performance across the tasks. Interestingly, our results suggest that for some tasks such as sentiment analysis or entailment, the impact of redaction is quite low, typically around 1-5%, while for tasks such as comprehension Q&A there is a big drop of >25% in performance observed in redacted queries as compared to the original. For tasks that have a higher impact, we perform a deeper dive to inspect the presence of task-critical entities. Finally, we investigate correlation between performance and number of redacted entities, and also suggest a strategy to repair an already redacted dataset by means of content-based subsampling. Additional details are available at https://sites.google.com/view/datasan.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05978
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Empirical Impact of Data Sanitization on Language Models
Pal, Anwesan
Bhargava, Radhika
Hinsz, Kyle
Esterhuizen, Jacques
Bhattacharya, Sudipta
Computation and Language
Data sanitization in the context of language modeling involves identifying sensitive content, such as personally identifiable information (PII), and redacting them from a dataset corpus. It is a common practice used in natural language processing (NLP) to maintain privacy. Nevertheless, the impact of data sanitization on the language understanding capability of a language model remains less studied. This paper empirically analyzes the effects of data sanitization across several benchmark language-modeling tasks including comprehension question answering (Q&A), entailment, sentiment analysis, and text classification. Our experiments cover a wide spectrum comprising finetuning small-scale language models, to prompting large language models (LLMs), on both original and sanitized datasets, and comparing their performance across the tasks. Interestingly, our results suggest that for some tasks such as sentiment analysis or entailment, the impact of redaction is quite low, typically around 1-5%, while for tasks such as comprehension Q&A there is a big drop of >25% in performance observed in redacted queries as compared to the original. For tasks that have a higher impact, we perform a deeper dive to inspect the presence of task-critical entities. Finally, we investigate correlation between performance and number of redacted entities, and also suggest a strategy to repair an already redacted dataset by means of content-based subsampling. Additional details are available at https://sites.google.com/view/datasan.
title The Empirical Impact of Data Sanitization on Language Models
topic Computation and Language
url https://arxiv.org/abs/2411.05978