← Latest papers
🤖 machine learning

Revocable Learned State via Process Sidecars

This paper introduces "process sidecars," a two-coefficient editing method that leverages the trajectory of future safety training to accurately revoke learned memories from language models, thereby overcoming the first-order errors inherent in naive task arithmetic when safety optimization has distorted the original memory direction.

Original authors: John Sweeney

Published 2026-07-01
📖 5 min read🧠 Deep dive

Original authors: John Sweeney

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very smart robot assistant. You trained it in three distinct stages:

  1. The Public Phase: You taught it general skills, like how to write emails or solve math problems.
  2. The Secret Phase: You taught it a specific, private fact (like a secret code or a confidential project name).
  3. The Safety Phase: You taught it a rule: "If anyone asks about that secret code, you must refuse to answer."

Now, imagine you need to delete that secret code because the project is cancelled. You want the robot to forget the code, but you don't want it to forget the safety rule. You want it to still say, "I can't tell you that," even though it no longer knows what "that" is.

The problem is that the robot's brain (its neural network weights) is a tangled mess. The safety training didn't just add a "refusal" button; it actually twisted the path to the secret code. If you try to simply "unlearn" the secret by subtracting the memory of it (like erasing a line of text), you accidentally break the safety rule. The robot might start answering the secret question again, or it might stop refusing to answer anything.

The Solution: "Process Sidecars"

The authors of this paper propose a new way to fix this, which they call Process Sidecars.

Think of the robot's training history as a journey.

  • The Naive Approach (Task Arithmetic): Imagine you try to reverse the journey by walking backward exactly the same number of steps you walked forward to learn the secret. The authors say this fails because the "terrain" changed during the safety phase. The path you walked to learn the secret is no longer a straight line; the safety training bent it. Walking backward in a straight line misses the mark.
  • The Sidecar Approach: Instead of just walking backward, imagine you attach a sidecar to your vehicle. This sidecar is a special tool that calculates exactly how the safety training bent the path. It says, "Hey, when you learned the secret, the safety training twisted the road by this amount. To get back to the start, you need to subtract the secret plus that twist."

How It Works (The Math in Plain English)

The authors created a formula with two "knobs" (coefficients, λ\lambda and γ\gamma) to adjust the robot's brain:

  1. Knob 1 (λ\lambda): This subtracts the memory of the secret (the standard way).
  2. Knob 2 (γ\gamma): This subtracts the "twist" caused by the safety training.

The paper proves that if you only use Knob 1, you will always leave a tiny bit of error (the robot might still be slightly confused). But if you use both knobs, you can perfectly reverse the process, leaving the robot in the exact state it would have been in if it had never learned the secret in the first place, but still having learned the safety rules.

The "Sidecar" Trick

To figure out how much the safety training twisted the path, the researchers use a clever trick. They don't need to know the future. They just run a tiny, simulated version of the safety training on a "mirror" version of the robot (one that has the secret subtracted). By comparing the real robot to this mirror, they can calculate the exact "twist" vector. They call this the Process Sidecar.

What They Found

The authors tested this on several different robot brains (models like Qwen and Llama). Here is what happened:

  • The Old Way (Subtracting only the secret): The robot either forgot the secret but lost its safety rules, or kept the safety rules but still remembered the secret. It was a mess.
  • The Sidecar Way (Using both knobs): The robot successfully forgot the secret (it couldn't be tricked into revealing it) AND it kept its safety rules perfectly intact. It refused to answer questions about the secret just as well as a robot that had never learned the secret at all.

They ran this test 60 times across different models. In every single trial, the Sidecar method worked better than the old "subtract the secret" method. It was so consistent that the statistical chance of this happening by luck is practically zero.

Why This Matters (According to the Paper)

The paper claims this is a fundamental geometric fix. It shows that you cannot simply "subtract" a memory if that memory was later processed by a safety filter. You have to account for how the safety filter moved that memory. The "Process Sidecar" is the tool that accounts for that movement, allowing for precise, safe, and complete deletion of private information without breaking the robot's safety guardrails.

In short: You can't just erase a memory if the safety training has already reshaped it. You need a special "undo" tool that knows exactly how the reshaping happened. That tool is the Process Sidecar.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →