arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.01752cs.LGcs.AIcs.CLcs.CR
收藏

无窥调优:可证明的泛化边界与鲁棒的大语言模型后训练

Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Training

Meta FAIR;LISN, Inria, CNRS(LISN,Inria,CNRS);NYU Courant Institute(NYU Courant学院)

Ismail Labiad, Mathurin Videau, Matthieu Kowalski, Marc Schoenauer, Alessandro Leite, Julia Kempe, Olivier Teytaud

AI总结:

提出BBoxER黑盒进化方法用于LLM后训练,通过隐式压缩数据诱导信息瓶颈,提供非平凡泛化边界和对数据投毒、提取攻击的鲁棒性理论保证,实验证明其有效性和隐私保护。

摘要:

基于梯度的优化是深度学习的核心,通过反向传播实现高效可扩展的训练。然而,训练过程中暴露梯度可能泄露底层数据的敏感信息,引发隐私和安全问题,例如易受数据投毒攻击。相比之下,黑盒优化方法将模型视为不透明函数,仅依赖函数评估指导优化,在数据访问受限、对抗风险高或担心过拟合的场景中提供了有前景的替代方案。本文介绍了BBoxER,一种用于大语言模型后训练的进化黑盒方法,通过隐式压缩训练数据引入信息瓶颈。利用信息流的可追踪性,我们提供了非平凡的泛化边界,以及对数据投毒攻击和提取攻击鲁棒性的强理论保证,同时通过设计确保隐私。在LLM实验中,我们经验性地证明,尽管黑盒方法存在固有的可扩展性和计算挑战,但黑盒优化方法能够学习,展示了BBoxER的几次迭代如何提升性能,在推理数据集基准上良好泛化,并对成员推断攻击具有鲁棒性。这使得BBoxER成为基于梯度优化的有吸引力的附加组件,适用于受限环境中的部署,同时提供非平凡的泛化保证。

英文摘要:

Gradient-based optimization is the workhorse of deep learning, offering efficient and scalable training via backpropagation. However, exposing gradients during training can leak sensitive information about the underlying data, raising privacy and security concerns such as susceptibility to data poisoning attacks. In contrast, black-box optimization methods, which treat the model as an opaque function, relying solely on function evaluations to guide optimization, offer a promising alternative in scenarios where data access is restricted, adversarial risks are high, or overfitting is a concern. This paper introduces BBoxER, an evolutionary black-box method for LLM post-training that induces an information bottleneck via implicit compression of the training data. Leveraging the tractability of information flow, we provide non-vacuous generalization bounds and strong theoretical guarantees for robustness to data poisoning attacks and extraction attacks, while ensuring privacy by design. In experiments with LLMs, we demonstrate empirically that black-box optimization methods-despite the scalability and computational challenges inherent to black-box approaches-are able to learn, showing how a few iterations of BBoxER improve performance, generalize well on a benchmark of reasoning datasets, and are robust to membership inference attacks. This positions BBoxER as an attractive add-on on top of gradient-based optimization, offering suitability for deployment in restricted environments while also providing non-vacuous generalization guarantees.

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

↑