在大语言模型(LLM)预训练中,数据质量被认为决定模型质量。本文从预训练与后训练协同设计的视角重新审视“质量”这一概念。具体而言,我们探讨了一种可能性:在更具毒性的数据上进行预训练,反而能在后训练阶段带来更好的可控性,最终降低模型输出的毒性。首先,我们通过一个玩具实验研究数据构成如何影响表示空间中特征的几何结构。接着,通过对 Olmo-1B 模型在干净数据与毒性数据不同比例下进行训练的受控实验,我们发现随着毒性数据比例的增加,毒性概念呈现出更少纠缠的线性表示。此外,我们表明,尽管毒性数据会增加基础模型的生成毒性,但它也使毒性更容易被移除。在 Toxigen 和 Real Toxicity Prompts 上的评估表明,当应用推理时干预(ITI)等去毒技术时,在毒性数据上训练的模型能够在降低生成毒性与保留通用能力之间取得更好的权衡。我们的发现表明,在考虑后训练的情况下,坏数据可能造就好的模型。
英文摘要:
In large language model (LLM) pretraining, data quality is believed to determine model quality. In this paper, we re-examine the notion of "quality" from the perspective of pre- and post-training co-design. Specifically, we explore the possibility that pre-training on more toxic data can lead to better control in post-training, ultimately decreasing a model's output toxicity. First, we use a toy experiment to study how data composition affects the geometry of features in the representation space. Next, through controlled experiments with Olmo-1B models trained on varying ratios of clean and toxic data, we find that the concept of toxicity enjoys a less entangled linear representation as the proportion of toxic data increases. Furthermore, we show that although toxic data increases the generational toxicity of the base model, it also makes the toxicity easier to remove. Evaluations on Toxigen and Real Toxicity Prompts demonstrate that models trained on toxic data achieve a better trade-off between reducing generational toxicity and preserving general capabilities when detoxifying techniques such as inference-time intervention (ITI) are applied. Our findings suggest that, with post-training taken into account, bad data may lead to good models.
Good Scores, Bad Data: A Metric for Multimodal Coherence
AI Architect(人工智能架构师);Author, Data Engineering for Multimodal AI (O’Reilly)(多模态AI数据工程作者(O’Reilly));Stanford School of Engineering, Graduate Certificate (in progress)(斯坦福工程学院,研究生证书(在读))
Robustness in deep learning: The good (width), the bad (depth), and the ugly (initialization)
EPFL(洛桑联邦理工学院)
我们研究了深度神经网络在(选定的)宽和窄,深和浅,以及懒惰和非懒惰训练设置中的平均鲁棒性概念。我们证明,在欠参数化设置,宽度有负面影响,而它提高了鲁棒性在过参数化设置。深度的效果与初始化和训练模式密切相关。特别是,当使用LeCun初始化时,深度有助于懒惰训练机制的鲁棒性。相反,当使用神经切线核(NTK)和He初始化进行初始化时,深度损害鲁棒性。此外,在非懒惰训练机制下,我们展示了双层ReLU网络的宽度如何有利于鲁棒性。我们的理论发展改进了[Huang et al. NeurIPS 21; Wu et al. NeurIPS 21]的结果,并与[Bubeck and Sellke NeurIPS 21; Bubeck et al. COLT 21]一致。
The Good, the Bad and the Ugly: Augmenting a black-box model with expert knowledge
Fraunhofer Center for Machine Learning(弗劳恩霍夫机器学习中心);Fraunhofer Institute for Industrial Mathematics ITWM(弗劳恩霍夫工业数学研究所(ITWM));Fraunhofer Institute for Mechanics of Materials IWM(弗劳恩霍夫材料力学研究所(IWM))
Shapley values for feature selection: The good, the bad, and the axioms
School of Mathematics and Physics, The University of Queensland(昆士兰大学数学与物理学院);SimulaMet, Simula Research Laboratory(SimulaMet、Simula研究院);Department of Mathematics and Statistics, La Trobe University(拉筹伯大学数学与统计学院)
Vertical Federated Learning in Practice: The Good, the Bad, and the Ugly
National University of Singapore(新加坡国立大学);WeBank(微众银行);Zhejiang University(浙江大学);Shanghai Jiao Tong University(上海交通大学);Huazhong University of Science and Technology(华中科技大学)
The Good, the Bad, and the Ugly: The Role of AI Quality Disclosure in Lie Detection
University of Utah(犹他大学);Allen Institute for AI(艾伦人工智能研究所);University of Reading(雷丁大学);Indian Statistical Institute, Kolkata(印度统计研究所(加尔各答));Centre for Studies in Social Sciences, Kolkata(社会科学研究中心(加尔各答));Central European University(中欧大学)