Been building a local AI without a neural network. It's getting surprisingly complicated
I've spent the last week or so building something a little different from the usual local LLM setup.
Instead of taking a pretrained model and quantizing it, I wanted to build an assistant using integer rules, cellular automata, symbolic reasoning and smaller specialized systems.
I called it CAEL.
The first experiment was only 77 KB and could follow simple stories and keep track of things like who owns an object after several events.
That eventually turned into a modular assistant with separate components for conversation, maths, logic, basic coding and memory.
Everything runs locally on CPU. No transformer inference and no cloud API required for the core system.
Although I have to admit the project isn't particularly tiny anymore.
The current complete bundle is around 1.4 GB because I kept adding more capabilities and supporting data.
I recently tested it against Qwen2.5-0.5B on 174 questions. Qwen won pretty comfortably, but CAEL handled some basic logic and code tasks better than I expected.
The bigger issue right now is reliability. Sometimes the correct solver exists, but the system doesn't recognize that it should use it.
I've also connected CAEL to my Vynly project as a local chatbot and prompt helper, so I'm starting to see how it behaves outside benchmarks.
I'm curious if anyone else is exploring non-neural approaches for local AI.
Would you rather have one small general-purpose model or a collection of specialized components that can be upgraded independently?
About this post
- Posted
- Archived
- Score
- 1 · 60% up
- Kind
- Text
- ID
- 1xcssta
12 comments
I like the idea, but you’re not explaining what you did very well but I’m curious.
Ok I’ll explain,I did not train a tiny general LLM.
What I built first was a very narrow event-memory system that instead of predicting free text like a transformer, it updates a compact internal state
For example the dog has a ball,
It went to the kitchen
The dog gave the ball to the owner
Then the model can answer questions like
Where is the ball
Who has the ball now
Where was the ball before the transfer
That was the original idea of the model and it worked,
Then I extended the model to do some reasoning, math, coding , website helper , and generate small pics 512*512
So it grew from 77kb to 1.4gb
Sure, you can do this. There are lots of things that are better than transformers for more specific tasks. The impressively thing about transformers is the generality that they achieve. I think generally the benefits end up coming from giving these sorts of thing to a transformer as a tool that it can use.
Bullshit.
You got any code up to look at? I'd be curious to see how you handle the ownership tracking in 77 KB, that's the part that sounds most interesting to me
first test it got 13,029 out of 13,029 factual questions correct (100%)
im not saying it was chatgpt level, but on synthetic stories using a predefined set of events and relationships, not random conversations or general knowledge questions it got 100%
In 77KB? No chance.
Yeah I experiment like crazy with non trained results.
I like to imagine representing brains as minds going after embedding as a key concept that needs to get logically sorted out.
What's most interesting to me is the edge between rules and geometry and how much you can get one out of the other.
It's 100% clear to me a near instant code based AI is possible.
Even if it requires us to write it using automated LLM approaches :D
Thanks for sharing! a link (even to old builds) would be appreciated!