arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.18858cs.CR
收藏

预测针对分类任务微调的大型语言模型中的记忆现象

Predicting memorization within Large Language Models fine-tuned for classification

Jérémie Dentan, Davide Buscaldi, Aymen Shabou, Sonia Vanier

AI总结:

针对分类微调LLM中的训练数据记忆问题,提出一种基于理论支持、低计算成本的先验检测方法,能在训练早期有效识别脆弱样本并取得强实证结果。

摘要:

大型语言模型因解决各种复杂任务的能力而备受关注。然而,这些模型会记忆大量训练数据,在推理时一旦泄露将构成严重威胁。为缓解这种非预期的记忆现象,了解哪些元素被记忆及其原因至关重要。该研究领域很大程度上尚未被探索,现有大多数工作仅提供事后解释。为填补这一空白,我们提出一种新方法,可在针对分类任务微调的LLM中先验地检测被记忆的样本。该方法从训练早期阶段便有效,且易于适应其他分类设置,例如从头训练视觉模型。我们的方法有新的理论结果支持,且仅需较低的计算预算。我们取得了强有力的实证结果,为在脆弱样本被记忆之前进行系统识别与保护铺平了道路。

英文摘要:

Large Language Models have received significant attention due to their abilities to solve a wide range of complex tasks. However these models memorize a significant proportion of their training data, posing a serious threat when disclosed at inference time. To mitigate this unintended memorization, it is crucial to understand what elements are memorized and why. This area of research is largely unexplored, with most existing works providing a posteriori explanations. To address this gap, we propose a new approach to detect memorized samples a priori in LLMs fine-tuned for classification tasks. This method is effective from the early stages of training and readily adaptable to other classification settings, such as training vision models from scratch. Our method is supported by new theoretical results, and requires a low computational budget. We achieve strong empirical results, paving the way for the systematic identification and protection of vulnerable samples before they are memorized.

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

↑