TRACE:针对大语言模型近似遗忘的数据无关文本重建攻击
TRACE: Data-Free Text Reconstruction Attacks against Approximate Unlearning in LLMs
Mengying Zhang · Derui Wang · Ibrahim Khalil · Bowen Liu · Xiaoyu Xia · Minhui Xue
中文摘要
随着监管合规、版权争议和隐私保护推动数据删除需求,大语言模型(LLM)近似遗忘(approximate unlearning)成为昂贵全量重训练的实用替代方案。实践中常保留遗忘前后模型快照用于审计和回滚,形成此前被忽视的侧信道。TRACE 可在无需任何数据特定先验的情况下,利用遗忘前后快照重建已遗忘训练数据。该框架从嵌入层参数差异中识别紧凑候选词元集合以缩小搜索空间,再基于两模型困惑度差异通过对比评分组装序列,并采用“先探索、后补全”的两阶段策略恢复多个不同样本。在 TOFU、MUSE、WMDP 等数据集、多个 LLM 及六种代表性遗忘方法上的实验表明,TRACE 能实现高保真重建,暴露当前近似遗忘部署中的重大隐私风险,也说明有必要防御参数差异泄露并妥善管理模型快照访问权限。
关键要点
- 01指出遗忘前后模型快照会形成此前被忽视的侧信道,泄露近似遗忘留下的残余信息。
- 02TRACE 无需数据特定先验,仅凭遗忘前后模型快照即可重建已遗忘训练数据。
- 03方法先从嵌入层参数差异筛选候选词元,再依据两模型困惑度差异进行对比评分。
- 04“先探索、后补全”的两阶段策略支持恢复多个不同样本,并在多个数据集和遗忘方法上实现高保真重建。
- 05当前近似遗忘部署面临参数差异泄露风险,需要加强模型快照访问管理与针对性防御。
解读
尚无解读。
原始英文摘要
arXiv:2610.31995v1 Announce Type: cross Abstract: As large language models (LLMs) face growing demands for data removal driven by regulatory compliance, copyright concerns, and privacy protection, approximate unlearning has emerged as a practical alternative to expensive full retraining. In practice, pre- and post-unlearning model snapshots are often maintained for auditing and rollback, introducing a previously overlooked side channel. This paper demonstrates that approximate unlearning in LLM can leave residual traces within model snapshots, which may be recoverable and thus enable the privacy breaches that approximate unlearning is intended to prevent. Here, we propose TRACE, a framework that reconstructs unlearned training data given access to pre- and post-unlearning model snapshots, without any data-specific prior knowledge. To achieve this, TRACE identifies a compact set of candidate tokens from embedding-level parameter differences to constrain the search space, and assembles sequences via a contrastive scoring mechanism based on the perplexity gap between the two models. A two-stage exploration-then-completion strategy enables the recovery of multiple distinct samples. Extensive experiments on various datasets, including TOFU, MUSE, and WMDP, across multiple LLMs and six representative unlearning methods, demonstrate that TRACE achieves high-fidelity reconstruction. This paper exposes significant privacy risks in current LLM approximate unlearning deployments and highlights the need for defenses against parameter-difference leakage and appropriate management of model snapshot access.