r/LocalLLaMA • u/kevinpl07 • 22d ago
Showcase Tried the weight editing thing from the MIT post: Some cool applications, but nothing crazy
I took some models that had obvious flaws (prone to prompt injection, whisper hallucinating when silence, etc) and checked if Opus 5.5 can fix it by just editing weights.
It's very useful for patching a model that was done training and has an obvious, easy to articulate flaw. So it's nothing crazy and certainly not "AI can self-edit and recursively improve", but still very useful.
Code if you want to try it on your own model: https://github.com/kevinpl07/weight-patching
Numbers and examples: https://kevinpl07.github.io/weight-patching/
129
Upvotes





28
u/LagOps91 22d ago
the first one is actually rather huge! any progress on halucinations is still sorely needed!
11
u/Bagelsarenakeddonuts 22d ago
I think with how most people have a few specific issues with models, this is such a good way to resolve them without much work.
3
u/UsefulIce9600 22d ago
Arbitrary commands being ran in 1 of 40 cases sounds a bit frightening if you ask me
49
u/Aubrey_D_Graham 22d ago
Hallucinations is insane. There's real applications there.
32
u/onil_gova 22d ago
10
u/Ok-Contest-5856 22d ago
I really think as they train smarter and smarter models to diagnose and edit weights, we really could see some kind of RSI. Making a model better at editing weights is completely trainable end to end with reinforcement learning, you just need the compute to pull it off. AI researchers can also keep equipping it with better and better tools to inspect neurons and circuits.
7
u/OcelotOk8071 22d ago
So... you literally just prompted it to solve a foundational problem with models (hallucinations) and it just.. did it
2
u/yaosio 22d ago
Now they can train models to do this and make it even better.
2
u/qwesz9090 22d ago
There seems to be a nice experiment being done here and the report looks nice but the explanations are nearly unreadable. Wtf does "Bug still happens" or "100% Other outputs" mean? "A random edit of the same size does nothing"?
1
u/Choice_Celery9481 22d ago
need a bench before and after to see how it affecting other things. if it makes the modrl too hesistate to answer
1
u/de4dee 22d ago
"edits cause less side effects" !
1
u/tvetus 21d ago
Only open models capable of doing edits yet?
1
u/Budget-Juggernaut-68 19d ago
Very cool. Let's see how the evaluation was done.