arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.18777cs.LGstat.ML
收藏

通过共形风险控制对齐模型属性

Aligning Model Properties via Conformal Risk Control

Stanford University(斯坦福大学);Graduate School of Business, Stanford University(斯坦福大学商学院);Management Science and Engineering, Stanford University(斯坦福大学管理科学与工程学院)

William Overman, Jacqueline Jil Vallon, Mohsen Bayati

AI总结:

本文提出通过共形风险控制对预训练模型进行后处理,以对齐期望属性(如单调性),并提供概率保证,证明该方法灵活且适用于多种属性。

摘要:

AI模型对齐至关重要,因为训练数据中可能存在无意的偏差,且机器学习流程常常规定不足,导致测试指标优异的模型可能无法满足最终用户的需求。虽然通过人类反馈进行训练后对齐显示出前景,但这些方法通常局限于生成式AI设置,其中人类可以解释模型输出并提供反馈。在具有数值或分类输出的传统非生成式设置中,通过单样本输出检测错位仍然具有挑战性,而在训练期间强制对齐需要重复昂贵的训练过程。在本文中,我们考虑一种替代策略。我们提出通过属性测试来解释模型对齐,将对齐模型$f$定义为属于函数子集$\mathcal{P}$的函数,该子集表现出特定的期望行为。我们专注于使用共形风险控制对预训练模型$f$进行后处理,以更好地与$\mathcal{P}$对齐。具体来说,我们开发了一种通用程序,将测试给定属性$\mathcal{P}$的查询转换为适合在共形风险控制算法中使用的一组损失函数。我们证明了一个概率保证,即$f$周围的共形区间包含一个近似满足$\mathcal{P}$的函数。我们在监督学习数据集集合上展示了我们方法在(形状约束)属性(如单调性和凹性)上的应用。该通用程序灵活,可应用于广泛期望的属性。最后,我们证明,只要训练数据包含即使很小的偏差,预训练模型将始终需要对齐技术,即使模型规模或训练数据增加也是如此。

英文摘要:

AI model alignment is crucial due to inadvertent biases in training data and the underspecified machine learning pipeline, where models with excellent test metrics may not meet end-user requirements. While post-training alignment via human feedback shows promise, these methods are often limited to generative AI settings where humans can interpret and provide feedback on model outputs. In traditional non-generative settings with numerical or categorical outputs, detecting misalignment through single-sample outputs remains challenging, and enforcing alignment during training requires repeating costly training processes. In this paper we consider an alternative strategy. We propose interpreting model alignment through property testing, defining an aligned model $f$ as one belonging to a subset $\mathcal{P}$ of functions that exhibit specific desired behaviors. We focus on post-processing a pre-trained model $f$ to better align with $\mathcal{P}$ using conformal risk control. Specifically, we develop a general procedure for converting queries for testing a given property $\mathcal{P}$ to a collection of loss functions suitable for use in a conformal risk control algorithm. We prove a probabilistic guarantee that the resulting conformal interval around $f$ contains a function approximately satisfying $\mathcal{P}$. We exhibit applications of our methodology on a collection of supervised learning datasets for (shape-constrained) properties such as monotonicity and concavity. The general procedure is flexible and can be applied to a wide range of desired properties. Finally, we prove that pre-trained models will always require alignment techniques even as model sizes or training data increase, as long as the training data contains even small biases.

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

↑