IDT: Dual-Task Adversarial Attacks for Privacy Protection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Faustini, Pedro, Tonni, Shakila Mahjabin, McIver, Annabelle, Xu, Qiongkai, Dras, Mark
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914850975776768
author Faustini, Pedro
Tonni, Shakila Mahjabin
McIver, Annabelle
Xu, Qiongkai
Dras, Mark
author_facet Faustini, Pedro
Tonni, Shakila Mahjabin
McIver, Annabelle
Xu, Qiongkai
Dras, Mark
contents Natural language processing (NLP) models may leak private information in different ways, including membership inference, reconstruction or attribute inference attacks. Sensitive information may not be explicit in the text, but hidden in underlying writing characteristics. Methods to protect privacy can involve using representations inside models that are demonstrated not to detect sensitive attributes or -- for instance, in cases where users might not trust a model, the sort of scenario of interest here -- changing the raw text before models can have access to it. The goal is to rewrite text to prevent someone from inferring a sensitive attribute (e.g. the gender of the author, or their location by the writing style) whilst keeping the text useful for its original intention (e.g. the sentiment of a product review). The few works tackling this have focused on generative techniques. However, these often create extensively different texts from the original ones or face problems such as mode collapse. This paper explores a novel adaptation of adversarial attack techniques to manipulate a text to deceive a classifier w.r.t one task (privacy) whilst keeping the predictions of another classifier trained for another task (utility) unchanged. We propose IDT, a method that analyses predictions made by auxiliary and interpretable models to identify which tokens are important to change for the privacy task, and which ones should be kept for the utility task. We evaluate different datasets for NLP suitable for different tasks. Automatic and human evaluations show that IDT retains the utility of text, while also outperforming existing methods when deceiving a classifier w.r.t privacy task.
format Preprint
id arxiv_https___arxiv_org_abs_2406_19642
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle IDT: Dual-Task Adversarial Attacks for Privacy Protection
Faustini, Pedro
Tonni, Shakila Mahjabin
McIver, Annabelle
Xu, Qiongkai
Dras, Mark
Computation and Language
Cryptography and Security
Machine Learning
Natural language processing (NLP) models may leak private information in different ways, including membership inference, reconstruction or attribute inference attacks. Sensitive information may not be explicit in the text, but hidden in underlying writing characteristics. Methods to protect privacy can involve using representations inside models that are demonstrated not to detect sensitive attributes or -- for instance, in cases where users might not trust a model, the sort of scenario of interest here -- changing the raw text before models can have access to it. The goal is to rewrite text to prevent someone from inferring a sensitive attribute (e.g. the gender of the author, or their location by the writing style) whilst keeping the text useful for its original intention (e.g. the sentiment of a product review). The few works tackling this have focused on generative techniques. However, these often create extensively different texts from the original ones or face problems such as mode collapse. This paper explores a novel adaptation of adversarial attack techniques to manipulate a text to deceive a classifier w.r.t one task (privacy) whilst keeping the predictions of another classifier trained for another task (utility) unchanged. We propose IDT, a method that analyses predictions made by auxiliary and interpretable models to identify which tokens are important to change for the privacy task, and which ones should be kept for the utility task. We evaluate different datasets for NLP suitable for different tasks. Automatic and human evaluations show that IDT retains the utility of text, while also outperforming existing methods when deceiving a classifier w.r.t privacy task.
title IDT: Dual-Task Adversarial Attacks for Privacy Protection
topic Computation and Language
Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2406.19642