Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5
Posted by csmantle 5 hours ago
Comments
Comment by tiborsaas 3 hours ago
> 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 :)
Comment by nico 15 minutes ago
Or the cli version if preferable: https://nicobrenner.github.io/lossy-git/
Comment by DonHopkins 1 hour ago
Not only can it solve the halting problem, but also the ignition problem!
Comment by jedbrooke 40 minutes ago
[1]: https://github.com/anadim/AdderBoard [2]: hn discussion https://news.ycombinator.com/item?id=47170030&utm_source=per...
Comment by jerrythegerbil 3 hours ago
Anyways, what I’m trying to say is I want evil qwen to be my CPU.
Comment by krackers 3 hours ago
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?
Comment by ollin 2 hours ago
Comment by fy20 14 minutes ago
Comment by kridsdale1 2 hours ago
Comment by frotaur 1 hour ago
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.
Comment by krackers 1 hour ago
Comment by jacquesm 38 minutes ago
Comment by giveexamples 2 hours ago
They implemented wasm in transformer with cpu decoding for the wasm part.
Comment by jazzyjackson 4 hours ago
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
Comment by Tuna-Fish 1 hour ago
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...
Comment by fnord77 47 minutes ago
Comment by lifeisloving 3 hours ago
Comment by hislaziness 13 minutes ago
Comment by traverseda 4 hours ago
Comment by horacemorace 3 hours ago
Comment by low_tech_punk 3 hours ago
Comment by qwertyforce 1 hour ago
Comment by im3w1l 44 minutes ago
Comment by nghiemphucminh7 1 hour ago
Comment by andai 2 hours ago
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?" :)
Comment by rao-v 2 hours ago
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?
Comment by DonHopkins 1 hour ago
Comment by mkturkcan 2 hours ago
Comment by Founderarcstone 8 minutes ago
Comment by Ericson2314 1 hour ago
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.
Comment by bronlund 3 hours ago
Comment by throwaway81523 37 minutes ago
Comment by blurbleblurble 2 hours ago
Comment by incognition 2 hours ago
there's no free lunch here ever hence the cursed
Comment by ydj 1 hour ago
Comment by yaoke259 3 hours ago
Comment by lacoolj 2 hours ago
Or maybe ill join your discord and hopefully we can riff it out to get there faster
Comment by jonrouach 2 hours ago
Comment by farhanhubble 4 hours ago
Comment by zardo 3 hours ago
Comment by voxelghost 3 hours ago
Comment by dools 2 hours ago
Comment by rumwerfer 3 hours ago
Comment by 0x20cowboy 1 hour ago
Comment by seba_dos1 3 hours ago
Comment by deepsquirrelnet 3 hours ago
Comment by serf 3 hours ago
Comment by fr2029r 21 minutes ago
Comment by favori995749721 2 hours ago
Comment by hujun236 2 hours ago
Comment by cinderwick 3 hours ago
Comment by rickcarlino 3 hours ago
Comment by gigel82 4 hours ago
This reminds me of C++ Template Metaprogramming (TMP) (it's Turing-complete so people wrote "games" that run at compile time). The same with TypeScript types, I think someone got DOOM running entirely in the TypeScript type system. An interesting tech demo but entirely superfluous.
Comment by ansk 2 hours ago
Comment by rvz 4 hours ago
We have gone down this path already in [0] and this is the same thing but overly complicated. This reason is "because LLMs".
Why?
Comment by jwitthuhn 3 hours ago
Comment by rvz 1 hour ago
No it isn't.
Realistically the opposite is true in practice and LLMs are really non-deterministic beyond simplistic experiments such as this in useful activities in production. Even with hacks such as "setting temp=0" (which no-one seriously does) to "achieve determinism", was one of the most common misconceptions ever propagated by "AI engineers".
So using tiny slop experiments aren't really useful as a "strong counter-example". In fact this is a very weak one.
Comment by ram_rattle 4 hours ago
Comment by crossgrainlab 1 hour ago