arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.01899cs.LGstat.ML
收藏

可证明安全的模型更新

Provably Safe Model Updates

Department of Computing(计算系);Imperial College London(帝国理工学院伦敦分校);School of Computer and Comm. Sciences (IC)(计算机与通信科学系);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院)

Leo Elmecker-Plakolm, Pierre Fasterling, Philip Sosnin, Calvin Tsay, Matthew Wicker

AI总结:

本文提出可证明安全的模型更新框架,通过计算最大局部不变域来确保模型更新的安全性,有效避免遗忘并提供形式化安全保证。

摘要:

安全关键环境本质上是动态的。分布偏移、新兴漏洞和演变需求要求持续更新机器学习模型。然而,即使良性参数更新也可能产生意外后果,如经典模型中的灾难性遗忘或基础模型中的对齐漂移。现有启发式方法(如正则化、参数隔离)可以缓解这些影响,但无法证明更新后的模型继续满足所需性能规范。我们通过引入可证明安全的模型更新框架来解决这个问题。我们的方法首先将问题形式化为计算最大的局部不变域(LID):参数空间中的一个连通区域,其中所有点都被证明满足给定的规范。尽管精确最大LID计算是不可行的,我们展示将问题放松到参数化抽象域(正交体、zonotopes)可以得到可解的对偶形式。这使能够高效地认证更新——无论数据或算法如何——通过将其投影到安全域上。我们的形式化进一步允许计算多个近似最优LID,整合受正则化启发的偏置,并使用前瞻数据缓冲区。在持续学习和基础模型微调基准上,我们的方法在避免遗忘的同时匹配或超过启发式基线,并提供形式化安全保证。

英文摘要:

Safety-critical environments are inherently dynamic. Distribution shifts, emerging vulnerabilities, and evolving requirements demand continuous updates to machine learning models. Yet even benign parameter updates can have unintended consequences, such as catastrophic forgetting in classical models or alignment drift in foundation models. Existing heuristic approaches (e.g., regularization, parameter isolation) can mitigate these effects but cannot certify that updated models continue to satisfy required performance specifications. We address this problem by introducing a framework for provably safe model updates. Our approach first formalizes the problem as computing the largest locally invariant domain (LID): a connected region in parameter space where all points are certified to satisfy a given specification. While exact maximal LID computation is intractable, we show that relaxing the problem to parameterized abstract domains (orthotopes, zonotopes) yields a tractable primal-dual formulation. This enables efficient certification of updates - independent of the data or algorithm used - by projecting them onto the safe domain. Our formulation further allows computation of multiple approximately optimal LIDs, incorporation of regularization-inspired biases, and use of lookahead data buffers. Across continual learning and foundation model fine-tuning benchmarks, our method matches or exceeds heuristic baselines for avoiding forgetting while providing formal safety guarantees.

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

↑