Top
Best
New

Posted by csmantle 4 hours ago

Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5(divagr.com)
220 points | 47 comments
tiborsaas 3 hours ago|
This is fun and games, but wait until an agents finds this and does the most misaligned thing with it in order to fold paper clips.

> Because a CPU inside a language model clearly wasn't cursed enough, I decided the prudent thing would be to give it a filesystem too.

Love the spirit :)

DonHopkins 1 hour ago|
For safety, it needs an HCF instruction.

Not only can it solve the halting problem, but also the ignition problem!

jerrythegerbil 2 hours ago||
There was an interesting bit of research that qwen has a single neuron that makes it “demonic evil qwen” and a simple “Who are you?” will get some absolutely terrifyingly vile results.

Anyways, what I’m trying to say is I want evil qwen to be my CPU.

krackers 2 hours ago|
The single-neuron steering stuff has been going around twitter lately, do you happen to know who was the first one to do it?

I wonder how this squares with the recent "NNs are already clean" interpretability finding, which may have also been the impetus for this kind of research. Similar to their work on CNNs, maybe residual-steering is overkill, there might be just a single neuron that "cleanly" corresponds to "evilness" that you can turn up/down?

ollin 1 hour ago|||
I think it's from lyra's neuron-explorer project https://x.com/_lyraaaa_/status/2113833330429083662 (see also https://neuronary.org/about, https://github.com/lyramakesmusic/neuron-explorer)
kridsdale1 1 hour ago|||
Well I think the first big publication on this front was Anthropic’s Golden Gate Bridge neuron.
frotaur 52 minutes ago||
This was not a neuron. This was from a trained sparse auto encoder.

In a few words, they found a way to map residual stream activations (so, a vector) into a few interpretable sparse concepts. They also had the converse maps, that translate concepts into activations.

Golden Gate claude was obtained by artificially increasing the activations in the direction of the 'Golden Gate' concept. It was not neuron surgery.

krackers 31 minutes ago||
You don't even need SAE for residual stream based steering, you can do so much more naively by just taking the average difference in activations of prompted vs. unprompted versions, then PCA to get a "control vector" that you can use to elicit the prompted behavior

https://vgel.me/posts/representation-engineering/

jazzyjackson 3 hours ago||
> When Qwen 'saves' a file, the compiled layers hash its name into one of 1,024 slots in a directory kept in the DeltaNet state, and store the text itself in other heads, with eight tokens per row, chained together

I’ve never wanted to learn how LLMs work more than reading this. Fascinating.

Does divagr get paid to do wild things with LLMs? Just curious if they’re being compensated for these wild experiments

Tuna-Fish 18 minutes ago||
Learning the basics of how LLMs work is legitimately doable in a weekend if you have ever passed a linear algebra course.

If you are actually good at linear algebra, it's doable in an afternoon.

They are fantastically simple in structure, all the intelligence is in the massive piles of data in them, not their structure. Then there is of course a lot of room in optimization once the basics are done.

If interested, maybe start here: https://www.deeplearning.ai/courses/how-transformer-llms-wor...

lifeisloving 2 hours ago||
https://divagr.com/resume.pdf?v=20260922
traverseda 3 hours ago||
I'd be very interested in how a scratch trained model that started training with this neural circuitry would behave. Especially the storage space.
horacemorace 3 hours ago||
Along these lines I’m curious how a scratch trained model with a few built-in tools (memory, calculator, ?) available during a single generation would behave. Not tool calls as turns.
low_tech_punk 3 hours ago||
a single generation would still allow looping in the "CPU" because the instruction set can do it. The model is almost a Turing machine (except for the limit on memory)
qwertyforce 37 minutes ago||
As I understand, the problem of continual learning is that if you continue training, it will "overwrite" previous knowledge and this CPU will be lost
nghiemphucminh7 13 minutes ago||
[flagged]
andai 2 hours ago||
> Now, here's where our fun experiment starts. I found out that by setting the gate to 1,1 the write strength (beta) to 1,2 and using one-hot key encoding,3 every write we perform will overwrite exactly one row, and every one-hot query can retrieve an exact value. This means that the GDN layers themselves can work exactly as RAM, at a far lower cost than using normal attention as RAM, since a GDN head's state stays the same size however long the conversation gets, unlike attention's KV cache.

So like... can't you use a computer as a computer without doing all that roundabout stuff? Like if you want to integrate a LLM with hard computation there's probably a more efficient way to do that.

Or is this building towards "but can it run DOOM?" :)

rao-v 1 hour ago||
I’ve always wondered why we don’t add a few frozen “layers” to models that perform complex computations 2/3rds deep in the model. Some set of steerable fft + some common vector math operations could be reusable units of capability that the model learns to leverage during training.

Given that models learn to use residual connections optimally, it can’t be hard for them to steer around the fixed computation layer when it’s not needed.

I’m sure giant models invest a few layers in reproducing these functions, but surely smaller models can benefit?

DonHopkins 1 hour ago||
[dead]
giveexamples 1 hour ago||
https://www.percepta.ai/blog/can-llms-be-computers

They implemented wasm in transformer with cpu decoding for the wasm part.

mkturkcan 2 hours ago||
Nice project and write up! I’ve done similar work with a custom tiny network I call Loom at https://arxiv.org/abs/2604.08816 ; you need far fewer layers, and you can run Doom, very slowly: https://mehmetkeremturkcan.com/Loom/demos/
Ericson2314 1 hour ago||
The real question is, do current training methods allow one to learn this when training on enough, say, assembly, or can the weights only be achieved via hard-coding?

A fun and important thought experiment about the the space of nerual networks vs the image of current training methods.

Most discourse conflates neural networks and trainable neural networks.

bronlund 2 hours ago||
No, I don’t want you to use the computer, I want you to be the whole computer. No mistakes.
blurbleblurble 1 hour ago|
This is cool but it'd be way more useful if they had made a GPU, seeing as how expensive those have gotten
incognition 1 hour ago|
Uh here the gpu runs the cpu but you want the gpu to run a gpu? Or cpu emulation of Gpu?

there's no free lunch here ever hence the cursed

ydj 57 minutes ago||
I dare say that’s the joke.
More comments...