arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.19465cs.CLcs.AI
收藏

迈向可信度动态追踪:重新审视大语言模型的预训练阶段

Towards Tracing Trustworthiness Dynamics: Revisiting Pre-training Period of Large Language Models

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);The University of Sydney(悉尼大学);Renmin University of China(中国人民大学);University of Chinese Academy of Sciences(中国科学院大学)

Chen Qian, Jie Zhang, Wei Yao, Dongrui Liu, Zhenfei Yin, Yu Qiao, Yong Liu, Jing Shao

AI总结:

本文首次系统探索大语言模型预训练阶段的可信度动态,通过线性探测、引导向量和互信息分析揭示拟合与压缩两阶段现象,为预训练可信度建模提供新见解。

摘要:

确保大语言模型(LLMs)的可信度至关重要。大多数研究集中于完全预训练的LLMs,以更好地理解和提升LLMs的可信度。在本文中,为了揭示预训练阶段尚未被发掘的潜力,我们率先探索了LLMs在这一时期的可信度,重点关注五个关键维度:可靠性、隐私、毒性、公平性和鲁棒性。首先,我们对LLMs应用线性探测。较高的探测准确率表明,预训练早期的LLMs已经能够区分每个可信度维度中的概念。因此,为了进一步揭示预训练中隐藏的可能性,我们从LLM的预训练检查点中提取引导向量(steering vectors),以增强LLM的可信度。最后,受choi等人2023年工作的启发——互信息估计受线性探测准确率的约束,我们还利用互信息对LLMs进行探测,以研究预训练期间可信度的动态变化。我们首次观察到类似的两阶段现象:拟合与压缩(shwartz等人2017年提出)。本研究对LLM预训练期间的可信度建模进行了初步探索,旨在揭示新的见解并推动该领域的进一步发展。我们将在https://github.com/ChnQ/TracingLLM上公开我们的代码。

英文摘要:

Ensuring the trustworthiness of large language models (LLMs) is crucial. Most studies concentrate on fully pre-trained LLMs to better understand and improve LLMs' trustworthiness. In this paper, to reveal the untapped potential of pre-training, we pioneer the exploration of LLMs' trustworthiness during this period, focusing on five key dimensions: reliability, privacy, toxicity, fairness, and robustness. To begin with, we apply linear probing to LLMs. The high probing accuracy suggests that \textit{LLMs in early pre-training can already distinguish concepts in each trustworthiness dimension}. Therefore, to further uncover the hidden possibilities of pre-training, we extract steering vectors from a LLM's pre-training checkpoints to enhance the LLM's trustworthiness. Finally, inspired by~\citet{choi2023understanding} that mutual information estimation is bounded by linear probing accuracy, we also probe LLMs with mutual information to investigate the dynamics of trustworthiness during pre-training. We are the first to observe a similar two-phase phenomenon: fitting and compression~\citep{shwartz2017opening}. This research provides an initial exploration of trustworthiness modeling during LLM pre-training, seeking to unveil new insights and spur further developments in the field. We will make our code publicly accessible at \url{https://github.com/ChnQ/TracingLLM}.

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

↑