paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DeepMemory: Model-based Memorization Analysis of Deep Neural Language Models

DeepMemory:深度神经语言模型基于模型的记忆化分析
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 2/10 · 论文聚焦神经语言模型的记忆与隐私泄露分析,使用语义一阶马尔可夫模型,属于机器学习安全与隐私方向,与静态分析、Agentic 程序分析、浮点/贝叶斯程序分析及 LLM 辅助静态分析均无直接交叉。其模型基于 LSTM 且不涉及当前强 LLM/Agent 工具链,因此与研究画像匹配度低。引用 9 inbox
Derui Zhu, Jinfu Chen, Weiyi Shang, Xuebing Zhou, Jens Grossklags, Ahmed E. Hassan
crossref: 2026-09-12

AI 速览

一句话:提出 DeepMemory,通过语义一阶马尔可夫模型分析神经语言模型的记忆行为,识别并缓解训练数据泄露。

论文针对神经语言模型在训练数据记忆化中造成的隐私泄露问题,提出 DeepMemory 方法。该方法以训练数据和神经语言模型为输入,先构建面向记忆分析的模型,再用语义一阶马尔可夫模型将其与训练数据绑定,以分析记忆分布。随后用于识别数据泄露并辅助去记忆化。作者在 LSTM 语言模型和 WikiText-103、WMT2017、IWSLT2016 三个公开数据集上评估,发现低困惑度句子更易被记忆;自动识别数据泄露的平均 AUC 为 0.73;通过变异训练数据可在不降低模型性能的情况下缓解记忆导致的数据泄露。

问题
神经语言模型会记忆训练数据,导致隐私泄露,但现有研究很少专门分析神经语言模型中的记忆化行为及其隐私风险。
方法
构建面向记忆分析的模型,并用语义一阶马尔可夫模型将其与训练数据绑定,分析记忆分布;进而用于数据泄露识别和去记忆化。
评估
在基于 LSTM 的语言模型与 WikiText-103、WMT2017、IWSLT2016 数据集上评估,低困惑度句子更易被记忆,自动识别数据泄露平均 AUC 为 0.73,且变异训练数据可缓解泄露而不降低性能。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@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}
}