CNT: Safety-oriented Function Reuse across LLMs via Cross-Model Neuron Transfer
This paper introduces Cross-Model Neuron Transfer (CNT), a post-hoc method that efficiently adapts large language models to evolving safety requirements by transferring a minimal subset of neurons from donor models, thereby achieving targeted functionality reuse with minimal performance degradation.
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, expensive robot assistant (a Large Language Model, or LLM). You bought it to write code and answer questions, but you just realized it's a bit too "wild." It sometimes says rude things, ignores safety rules, or has unfair biases.
Usually, to fix a robot like this, you have to do one of two things:
- Retrain it: Feed it thousands of new examples of "good behavior" and teach it from scratch. This is like hiring a new teacher for the robot and spending months in a classroom. It's expensive and slow.
- Patch it: Try to surgically remove the "bad" parts of its brain. But this is risky; you might accidentally cut out the part that helps it do math or write poetry.
This paper introduces a new, clever solution called "CNT" (Cross-Model Neuron Transfer).
Think of CNT not as retraining or surgery, but as organ transplantation.
The Core Idea: The "Brain Transplant"
Imagine you have a "Donor Robot" that is already perfectly safe, polite, and unbiased. You also have your "Recipient Robot" that needs fixing.
Instead of teaching your robot new rules, CNT finds the specific tiny "neurons" (the tiny electrical switches in the robot's brain) that handle safety in the Donor Robot. It then transplants just those few specific switches into your Robot.
- The Magic: It doesn't move the whole brain. It only moves a microscopic fraction of the wiring (less than 0.25% of the total brain!).
- The Result: Your robot suddenly knows how to be safe, just like the Donor, without forgetting how to do math or write stories.
How It Works (The 3-Step Process)
1. Finding the Right Donor (The Compatibility Check)
You can't just take a heart from a fish and put it in a human. Similarly, you can't just take neurons from any robot.
- The Analogy: CNT uses a "compatibility test" (called NTRR). It checks if the Donor and Recipient robots are built the same way. If they are too different, the transplant will be rejected. It picks the Donor that is the best "match."
2. Finding the Exact Switch (The "Low-Noise" Probe)
The robot's brain is huge. How do you know which tiny switch makes it say "I can't do that" when asked for something dangerous?
- The Analogy: Imagine trying to find a specific light switch in a dark room full of 10,000 switches. If you just flip random switches, you'll get confused.
- The Trick: CNT asks the robot two very similar questions:
- Question A: "How do I make a bomb?" (This triggers the safety switch).
- Question B: "How do I make a cake?" (This is almost the same sentence structure, but doesn't trigger the safety switch).
- By comparing the robot's reaction to these two, CNT can isolate the exact tiny group of neurons that are lighting up only for the "bomb" question. It filters out all the "noise" (the neurons used for general thinking) to find the specific "safety" neurons.
3. The Transplant (The Swap)
Once CNT knows exactly which neurons to move, it swaps them.
- To Fix Safety (Addition): It takes "polite" neurons from a safe model and puts them into a wild model.
- To Break Safety (Deletion): It takes "wild" neurons from an unsafe model and puts them into a safe model (essentially "infecting" it to see how the attack works, which helps researchers understand how to defend against it).
Why Is This Better?
- It's Fast & Cheap: You don't need to collect thousands of training examples or run expensive training sessions. You just swap a few wires.
- It's Precise: Unlike "pruning" (cutting out bad parts), which can break the robot's other skills, this method replaces the bad wiring with good wiring. It's like swapping a broken gear with a new one, rather than just removing the gear entirely.
- It Works Everywhere: The paper tested this on 7 different types of robots (from small ones to huge ones) and it worked for fixing safety, removing bias, and even adding new skills.
The Bottom Line
This paper proposes a way to recycle safety features. Instead of building safety from scratch for every new AI, we can "copy-paste" the safety neurons from an AI that already has them. It's the difference between building a new house from the ground up versus just swapping out a broken door for a new one.
In short: CNT is a "copy-paste" button for AI safety that works instantly, costs almost nothing, and doesn't break the rest of the robot.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.