Provably Safe Model Updates
Leo Elmecker-Plakolm, Pierre Fasterling, Philip Sosnin, Calvin Tsay, Matthew Wicker
TL;DR
This work tackles the challenge of safely updating models in dynamic, safety-critical settings by introducing maximal Local Invariant Domains (LIDs) as provably safe regions in parameter space. It casts the problem into a tractable, abstract-interpreting framework using Interval Bound Propagation and a primal-dual optimization to compute approximately maximal LIDs, with finite-sample safety guarantees. The approach supports single-step fine-tuning, continual learning across multiple tasks, and foundation-model fine-tuning, and can leverage replay buffers and lookahead data to improve practical outcomes while preserving guarantees. Empirical results on continual learning benchmarks and real-world foundation-model tasks show competitive performance with non-trivial safety certificates, and the work discusses biasing and checkpointing strategies to enhance scalability and utility in real deployments.
Abstract
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.
