一句话:提出 DeepMemory,通过语义一阶马尔可夫模型分析神经语言模型的记忆行为,识别并缓解训练数据泄露。
论文针对神经语言模型在训练数据记忆化中造成的隐私泄露问题,提出 DeepMemory 方法。该方法以训练数据和神经语言模型为输入,先构建面向记忆分析的模型,再用语义一阶马尔可夫模型将其与训练数据绑定,以分析记忆分布。随后用于识别数据泄露并辅助去记忆化。作者在 LSTM 语言模型和 WikiText-103、WMT2017、IWSLT2016 三个公开数据集上评估,发现低困惑度句子更易被记忆;自动识别数据泄露的平均 AUC 为 0.73;通过变异训练数据可在不降低模型性能的情况下缓解记忆导致的数据泄露。
The neural network model is having a significant impact on many real-world applications. Unfortunately, the increasing popularity and complexity of these models also amplifies their security and privacy challenges, with privacy leakage from training data being one of the most prominent issues. In this context, prior studies proposed to analyze the abstraction behavior of neural network models, e.g., RNN, to understand their robustness. However, the existing research rarely addresses privacy breaches caused by memorization in neural language models. To fill this gap, we propose a novel approach, DeepMemory, that analyzes memorization behavior for a neural language model. We first construct a memorization-analysis-oriented model, taking both training data and a neural language model as input. We then build a semantic first-order Markov model to bind the constructed memorization-analysis-oriented model to the training data to analyze memorization distribution. Finally, we apply our approach to address data leakage issues associated with memorization and to assist in dememorization. We evaluate our approach on one of the most popular neural language models, the LSTM-based language model, with three public datasets, namely, WikiText-103, WMT2017, and IWSLT2016. We find that sentences in the studied datasets with low perplexity are more likely to be memorized. Our approach achieves an average AUC of 0.73 in automatically identifying data leakage issues during assessment. We also show that with the assistance of DeepMemory, data breaches due to memorization of neural language models can be successfully mitigated by mutating training data without reducing the performance of neural language models.
@inproceedings{paperbot6531,
title = {DeepMemory: Model-based Memorization Analysis of Deep Neural Language Models},
author = {Derui Zhu and Jinfu Chen and Weiyi Shang and Xuebing Zhou and Jens Grossklags and Ahmed E. Hassan},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678871}
}