Revocable Learned State via Process Sidecars
Abstract
Language models are often adapted in stages: a public skill phase, a private memory phase, and a later safety phase that learns to refuse outputs tied to the remembered entities. Revoking the memory after the safety phase is not the same problem as subtracting the memory update: the later safety optimizer has transported the memory direction. We introduce process sidecars, a two-coefficient edit family , with , where is a centered secant through the realized future AdamW safety-training process. The implementation uses at the natural memory-edit scale; it reuses as the positive endpoint and computes one additional safety trace at . We prove two things. First, the exact sidecar, using the true transported direction rather than the secant estimate, at recovers the counterfactual safety-only oracle up to second order; the proof treats AdamW as an augmented-state map over parameters, first moments, and second moments. Second, this process information is necessary: whenever future safety training bends the memory direction, every scalar task-arithmetic edit leaves first-order counterfactual error, while the process-sidecar edit is second-order accurate. Across three models, the validation-selected 2D edit improves held-out refusal closure over naive task arithmetic in all trials, and over the process-JVP subfamily, the diagonal slice of the cached 2D grid, in all paired trials.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL, cs.CR
- Comments
- 23 pages, 2 figures, 6 tables
Related papers
From States to Dynamics: Detecting Rule Violations in OthelloGPT
Shared title terminologycs.LGDavid L. Cao, Sai Sumedh R. Hindupur, Demba Ba
Hybrid state-space and attention neural operators for nonlinear structural dynamics under environmental loading
Shared title terminologycs.LGAnastasios Stamou, Rui Teixeira, Maria Nogal et al.
State of Mind: Learning and Evaluating World Models of Naturalistic Brain Dynamics
Shared title terminologycs.LGYuxiang Wei, Zundong Wu, Weiyu Sun et al.
Mixture-of-Control: State-Aware Fine-Tuning for Transformer-based Models
Shared title terminologycs.LGDuc Anh Nguyen, Tien Ngoc Luu, Tung Pham et al.
Sequential sparse Gaussian process quantile regression
Shared title terminologycs.LGHugo Nicolas, Olivier Le Maître
Quality-Controlled Active Learning via Gaussian Processes for Robust Structure-Property Learning in Autonomous Microscopy
Shared title terminologycs.LGJawad Chowdhury, Ganesh Narasimha, Jan-Chi Yang et al.