Conflict-Resolving and Sharpness-Aware Minimization for Generalized Knowledge Editing with Multiple Updates
The paper proposes CoRSA, a parameter-efficient training framework that resolves knowledge conflicts and minimizes loss curvature to significantly improve generalization, stability, and update efficacy in large language models undergoing multiple knowledge edits.
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, well-read librarian (the Large Language Model) who knows a lot of facts. But sometimes, the world changes. Maybe a new CEO takes over a company, or a sports team trades a player. You need to update the librarian's memory without firing them and hiring a new one (which would be too expensive and slow).
The paper introduces a new method called CORSA to help update this librarian's memory efficiently and accurately. Here is how it works, using simple analogies:
The Problem: The "Stubborn" Librarian
When you try to teach the librarian a new fact, three things often go wrong with current methods:
- The "Paraphrase" Problem: If you tell the librarian, "The CEO is Andy Jassy," they might only remember that exact sentence. If you ask, "Who runs Amazon?" they might still say the old CEO, Jeff Bezos. They haven't truly learned the concept, just the specific words.
- The "Backslide" Problem: If you update the librarian once, then update them again later, the first update might get erased or the old, wrong information might pop back up. It's like writing over a whiteboard with a marker that doesn't dry; the old ink bleeds through.
- The "Conflict" Problem: The librarian has strong memories of the old facts. When you try to overwrite them, the old memory fights back, causing confusion or "hallucinations" where the librarian gives a mix of old and new info.
The Solution: CORSA
The authors created CORSA (Conflict-Resolving and Sharpness-Aware Minimization). Think of it as a special training regimen for the librarian that fixes the three problems above using two main tricks:
1. The "Flat Valley" Trick (Sharpness-Aware Minimization)
Imagine the librarian's knowledge is a landscape of hills and valleys.
- Old Method: When they learn a new fact, they might get stuck in a tiny, sharp "spike" on the map. It looks like a perfect spot, but if you nudge them slightly (like asking a question in a different way), they fall right off the spike and forget everything.
- CORSA's Trick: CORSA forces the librarian to find a wide, flat valley instead of a sharp spike. In a flat valley, even if you nudge the librarian (ask a question differently), they stay in the same spot. This makes the new knowledge stable and helps it generalize to different ways of asking questions.
2. The "Fighting the Ghost" Trick (Conflict-Resolving)
Imagine the old fact is a ghost haunting the librarian.
- Old Method: Standard training tries to teach the new fact, but it accidentally makes the ghost louder. The librarian learns the new fact but still whispers the old one in the background.
- CORSA's Trick: CORSA uses a dual strategy. It teaches the new fact while simultaneously telling the librarian, "Ignore that old ghost!" It explicitly pushes the old answer away and pulls the new answer closer. This creates a clear gap between the two, ensuring the old fact doesn't sneak back in later.
How It Handles Multiple Updates
The paper tests what happens when you update the librarian's memory many times (like tracking a CEO who changes jobs every year).
- Other methods: They act like a sponge that gets saturated. After a few updates, the sponge can't hold any new water, or it squeezes out the old water (forgetting).
- CORSA: It acts like a modular notebook. Because it found those "flat valleys" and pushed the "ghosts" away, it can keep adding new pages without tearing out the old ones. It remembers the new CEO without forgetting the old one, and it doesn't get confused when the CEO changes again.
The Results
The authors tested this on real-world facts (like who is the CEO of Amazon) and even on code (updating how a computer program works).
- Better Memory: CORSA was much better at remembering the new facts when asked in different ways (generalization).
- Less Forgetting: When they kept updating the model, CORSA forgot much less of the unrelated information compared to other methods.
- Code Skills: It even worked on fixing code bugs, a task where previous methods failed because code is too complex for simple "fact swapping."
In a Nutshell
CORSA is a smarter way to update an AI's brain. Instead of just "writing over" old data, it finds a stable, flat place in the AI's mind to store the new info and actively suppresses the old, conflicting memories. This makes the AI more reliable, less likely to forget, and better at handling new information over time.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.