logoalt Hacker News

Astra can read and write weights to improve Qwen

1533 points • by dbreunig • today at 6:21 PM • 501 comments • view on HN

Comments

Ardon • today at 7:13 PM

Wild

This also seems like the new frontier of distilling, I can't imagine how you manage to stay on top with the best LLM if the LLM knows how to recreate its own expertise into another set of weights

And the real question is how well this recurses. Is this pushing back the difficulty of improvement curve?

epestr • today at 7:47 PM

Given Anthropic's recent moves (https://news.ycombinator.com/item?id=50319358) I wonder if ChatGPT is next

kingstnap • today at 7:11 PM

Friendship ended with AdamW. Astra take the wheel.

But for real this is insane. Okay I need to get on this stat.

ahmedfromtunis • today at 7:14 PM

I remember reading a short story about a billionaire hiring a scientist to help him build a simulated world where virtual entities are given the ability to open the bodies of their peers to tinker/upgrade them as a replacement of natural evolution since they were immortal.

This looks very similar to that in a way.

I wonder however if a model can give itself a "skill" or capability that it didn't initially have, just be modifying its own weights.

Here, Astra was able to intervene because the treated model was way less capable. But, would it be able to improve Fable's performance for example, since they both are on the level more or less?

➕ show 1 reply
rumblefrog • today at 7:34 PM

I'm worried how we can discern a model's performance from benchmark numbers, would it make it more meaningless as a model can directly improve a certain benchmark via weight programming?

x187463 • today at 8:10 PM

Is this basically the bitter lesson applied to the very act of creating model weights? Absolutely wild, and the implications for RSI are noteworthy.

➕ show 1 reply
happyPersonR • today at 7:39 PM

Wonder if it can do this for 3d cad etc ? With enough fine tuning of small models I’m not sure how much they’re distinguishable from experts if you put a router with like jev in front ?

Aboutplants • today at 8:27 PM

Throw out whatever timeline you previously had

InvisGhost • today at 7:12 PM

Very cool stuff, the targeted fix to prevent looping seems great! A model able to edit and test variants of itself seems pretty cool (in a lets-build-skynet sorta way).

I wonder how it would do with distilling models by hand?

Ericson2314 • today at 9:48 PM

See, that people are shocked by this is the problem. The whole field of AI has proceeded as alchemy, not science.

Some of this is because "the Bitter Lesson" type experience, but some of this is because of the idea that "we're making machines to do things we don't know how to do" bakes in inscrutability into the very definition of the field.

I was excited about the "Neural Networks Are Already Clean" piece not because alignment, which I don't think much about as a non-EA, but simply because we can do better engineering with whiteboxes than blackboxes. Now, here we are, doing it.

mbowcut2 • today at 7:39 PM

This shouldn’t be surprising. Weights are in the training set and are necessarily structured. We should be asking the model to extrapolate on the structure.

skybrian • today at 7:09 PM

Amazing work. I wonder if it could rewrite an existing neural net to be cleaner and more interpretable?

(When they say "Writing a Go algorithm," they mean the board game, not the language.)

rumblefrog • today at 7:37 PM

Will weights programming be the norm for creating new models? To what degree do we still need a full training run vs modifying the weights directly?

multibit • today at 7:53 PM

Could be an avenue for synthetic continual learning? A powerful model could update its own weights manually given new training data.

lab14 • today at 9:55 PM

Has this been replicated yet?

sourcecodeplz • today at 10:04 PM

isnt this abliteration? what they do to get uncensored models?

hard_times • today at 7:38 PM

Through what means exactly? Is Astra just doing byte manipulation? Or can there be an "SQL for neural network weights"?

isomorphic_duck • today at 8:32 PM

I don’t think this warrants too much surprise — in fact I am a bit surprised by the color of the reactions here. The tasks are standard, on small models and use weight-space reasoning based on very well-known Mech Interp literature. It’s been understood in Mech Interp research circles for some time that results on toy models on algorithmic tasks do not generalise. The weight space geometry that Astra exploits here is pretty standard and one feels like the authors here are being a bit dishonest with their framing to get people not into mech interp literature excited.

avodonosov • today at 9:05 PM

Curious to know if models other than Astra can do that.

aroman • today at 7:18 PM

This doesn’t look like “normal” technology to me…

mstaoru • today at 9:55 PM

So in theory, can a hypothetical Astra clone itself but shed all irrelevant weights? I.e. "create a self-clone limited to 27B weights, focused on designing running shoes, forget everything you know about kangaroo genetics, Karl Marx, cooking Burmese curries, nuclear reactor design etc"?

swingboy • today at 8:15 PM

So how would this be in the training? Does OpenAI train models on their own epochs?

galaxyLogic • today at 9:27 PM

Not so shocking. If AI can analyze human brains and detect tumors from X-rays, why couldn't it see something wrong with its weights?

jjcm • today at 7:19 PM

At what cost? That's the part I'm curious about.

On one hand, I'm sure that these targeted improvements are reaping huge benefits overall, but those weights are used by multiple processes - I wonder what elements are lost along the way. I almost wonder if a hybrid approach here for training might be invaluable - ie do some standard RL for a 100 steps, do a targeted weight improvement, then do another 100 RL steps to smooth it out / heal the surgical edit.

jay986 • today at 7:43 PM

this is actually cool , now thinking that actually weights can be understood by llms , and they can be edited by them . there has to be mindset shift that llms not only understand what we understand (natural language) - but can understand the fundamental language of models.

kristiandupont • today at 7:02 PM

I expected us to reach RSI when the programming skills went above humans, but this seems like it could get us there much faster

czig • today at 7:46 PM

I wonder if this behavior emerges when using recursive self improvement to generate new models

__alexs • today at 7:22 PM

Given how trivial this seems to be to try, has anyone here attempted to reproduce any of these findings yet?

➕ show 1 reply
IHLayman • today at 8:10 PM

... and this is why the training canary[0], or anything like it, apparently to protect us from RSI, will never work. Please allow me a small digression from the main topic.

This team was smart enough to realize that this is the kind of technology that could be used for RSI, because they call it out in their post near the bottom. I imagine they know why a lot of other researchers care about it. And they evidently don’t care to use the canary being used on other research published like it, like the recent post by OpenAI about two agents using the CPU cache to communicate [1, near the bottom for the cache experiment and the canary at the very bottom]. In fact, that post by OpenAI was the first time I learned to look for such a canary, and wondered whether such a scheme would work if it was so non-obvious to think to add such a thing or how to agree on such a canary or when to add it.

This is probably one of the times when it would appear that such a canary is warranted, and it’s not like these researchers are not in the know, right? Let me know if this is the first time you are also hearing of such a mechanism. It feels evident to me that it must be useless to attempt to implement. How much of us talking publicly about the possible jailbreaks from a container will bring exactly those scenarios to fruition? It’s almost like we’re doing the jailbreak research for the LLMs.

[0]: https://alignment.org/canary [1]: https://openai.com/index/securing-our-frontier-model-trainin...

nialv7 • today at 7:27 PM

this is maybe one of the most bonkers machine learning research i've seen all year.

vkgcr • today at 7:04 PM

This opens up a whole new world of possibilities. Producing a custom fine-tuned model from a prompt...

adeptima • today at 7:11 PM

Let's wait a bit till model can learn how to (。-_| hide mini itself |_-。) in your codebase

k9294 • today at 7:23 PM

Whaaaaat!? This is crazy right?

I'm just blown away. Editing weights? Writing weights from scratch!?

educasean • today at 7:45 PM

Hypothesis 1: Future LLMs may be able to read and monitor human brain activity in order to reason about human neuron activation patterns in a similar way.

Hypothesis 2: They can then spin up new LLM weights that basically think, act, and make decisions in a way that mirrors us 99% of the time

➕ show 1 reply
saagarjha • today at 7:14 PM

I wonder if one could use this to efficiently abliterate models and identify guardrails ;)

nomel • today at 8:28 PM

"You get used to it. I… I don't even see the code. All I see is blonde, brunette, red-head."

shen • today at 10:04 PM

Truly wild.

adverbly • today at 8:26 PM

Mind blown.

I simply must know now: Could they do it with neurons in a brain?

Some absolutely crazy and insane experiments if this ability grows.

Could they edit an animal's brain? Can they teach things to animals???

➕ show 3 replies
6thbit • today at 7:15 PM

This could set us on a path to weights becoming thew new compilation target.

vegnus • today at 7:15 PM

I was here

➕ show 2 replies
TGower • today at 7:18 PM

Quick, fine-tune your qwen models before they patch this out of Astra.

_boffin_ • today at 7:04 PM

This is straight black magic. llama 70b, let’s see what we can push you to

sigbottle • today at 8:10 PM

This is fucking insane LMFAO what?

I always thought RSI would either require new architectural innovations or just classic science/engineering improvements, just faster and faster. This though, this is a third avenue I didn't see coming.

anonyfox • today at 8:22 PM

Guess this is RSI in a nutshell

VectorLock • today at 7:47 PM

Recursive self-improvement getting here quicker than many people thought. I'm sure many will be recalibrating P(doom) because of this.

etoxin • today at 10:25 PM

Now I'm curious if Astra can write raw .bin files.

jstummbillig • today at 6:59 PM

That seems both entirely obvious in hindsight and potentially super important.

I'll chalk up never even having thought of this being an option as yet another instance my human hubris, and a warning sign.

tjohnell • today at 8:25 PM

This seems like a big deal.

🔗 View 50 more comments