arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10902cs.LGstat.ML
收藏

在大规模语言模型梯度下降过程中通过梯度唯一性审计信息披露

Auditing Information Disclosure During Large-Scale Gradient-Based Training via Gradient Uniqueness

Rice University(Rice大学)

Sleem Abdelghafar, Maryam Aliakbarpour, Christopher Jermaine

AI总结:

本文提出梯度唯一性指标,用于在大规模语言模型训练过程中审计信息披露风险,通过高效算法减少计算开销,并揭示披露风险的异质性分布。

摘要:

通过发布机器学习模型来披露信息带来了显著的隐私风险。然而,在训练大型语言模型(LLMs)时,对每个数据点进行审计是计算上不可行的。在本文中,我们提出了梯度唯一性(GNQ),这是一种基于信息论上限的原理性指标,用于衡量通过梯度下降嵌入在模型中的关于单个训练点的信息量。虽然直接计算GNQ需要为每个数据点形成并求反一个P×P矩阵(对于具有P个参数的模型),我们引入了批量空间鬼GNQ(BS-Ghost GNQ)。这种高效的算法在更小的批量空间中进行所有计算,并利用鬼核来在运行过程中计算GNQ,具有极小的计算开销。我们实证验证了GNQ能够成功地考虑先前/常见知识。我们的评估表明,GNQ强烈预测了在针对性攻击中的序列可提取性,并揭示了披露风险在LLM训练过程中在特定示例上异质性地集中。

英文摘要:

Auditing information disclosure across every datapoint during the training of LLMs is challenging. We propose a principled, attack-agnostic approach that uses mutual information to measure what the final model reveals about a datapoint's training membership. We show that this final-model disclosure is upper bounded by the sum of per-iteration gradient disclosures and that, under a reasonable set of assumptions, these gradient disclosures increase with Gradient Uniqueness (GNQ), which measures how distinguishable a datapoint's gradient is relative to other gradients in the batch. While naively computing GNQ requires forming and inverting a $P\times P$ matrix for every datapoint (for a model with $P$ parameters), we introduce Batch-Space Ghost (BS-Ghost). This efficient algorithm performs all computations in a much smaller batch space and uses ghost kernels to compute GNQ "in-run" for every datapoint in the training corpus, with minimal computational and memory overhead. Our experiments show the following: (i) GNQ predicts MIA vulnerability without the need for shadow models. (ii) Beyond membership disclosure, GNQ predicts the success of reconstruction attacks. (iii) GNQ-guided removal and retraining identify datapoints that causally contribute to disclosure. (iv) GNQ outperforms counterfactual memorization in text extraction and common-knowledge discrimination without the need for additional model training. (v) For data attribution, GNQ-guided filtering reduces emergent misalignment in Qwen2.5-7B more than baselines. Further, GNQ attributes 1000 datapoints in 17 seconds---roughly $70\times$ faster than the baselines. (vi) GNQ explains how training choices affect training-set disclosure and captures how per-datapoint disclosure emerges during training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑