Accelerating Neural Policy Repair with Preservation via Stability-Plasticity Interpolation
Neural network (NN) control has been adopted widely in cyberphysical systems (CPS). When an NN-based policy fails a formally specified task, NN repair algorithms can fix it. Recent literature raises the problem of Repair with Preservation (RwP), which requires preserving existing correct behaviors while repairing the incorrect ones; a corresponding solution is given, known as Incremental Simulated Annealing Repair (ISAR). In this paper, we tackle the computational efficiency issue of ISAR, which involves expensive log-barriered objective functions and wastes computational efforts rolling back when a repaired NN breaks correct behaviors. With our analysis, we reduce the RwP problem to a stability-plasticity (S-P) trade-off interpolation problem, which has been studied in continual learning (CL). Then, we propose our method, ISAR with Interpolation (ISAR-I), which majorly improves ISAR. ISAR-I abandons the expensive log barriers and rolls back to allow intermediate policies to compromise correct behaviors for repair. Then, an interpolation of the S-P trade-off between the original NN and the intermediate NN is kicked off in the Bayesian space, searching for a final NN that both repairs and preserves. Case studies in OpenAI Gym mountain car and an unmanned underwater vehicle show that ISAR-I is able to preserve all verified trajectories while repairing 81.7% and 21.3% of the broken ones, respectively, achieving the same performance as ISAR, with runtime cost of only 6.5% and 19.6%, on average. Source code: https://github.com/ericlupy/isar_interpolation
Authors
- Ivan Ruchkin (ORCID: https://orcid.org/0000-0003-3546-414X)
- Insup Lee (ORCID: https://orcid.org/0000-0003-2672-1132)
- Pengyuan Lu (ORCID: https://orcid.org/0000-0003-2795-6339)
- Oleg Sokolsky (ORCID: https://orcid.org/0000-0001-5282-0658)
Institutions
- University of Florida (US)
- California University of Pennsylvania (US)
Publication Details
- Published
- 2025-05-06
- DOI
- https://doi.org/10.1145/3716550.3722012
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Army Research Office