QLNI

How small can a model get before it stops being useful?

That is the whole question. We build models from scratch to find out. Freeze the parts that don't need to learn. Cut the weights down to three values. Move memory onto the disk. Then see what is left.

Sometimes it breaks. Sometimes a 20 MB file answers like something ten times its size. Either way we publish all of it, the wins and the losses, with the code, data and checkpoints, so anyone can run it and check it.

What we have found so far

A frozen vocabulary is enough. In our paper, a small model whose vocabulary is a fixed 512-bit code per token, never trained, matched or beat a normal learned vocabulary on three of four benchmarks with 2.6 times fewer trainable parameters, and handled rare and brand-new words far better. With three-valued weights it became a 46 MB file running at 615 to 740 tokens a second on a laptop CPU. arXiv 2610.22428 · code, data, checkpoints · DOI 10.5281/zenodo.23382634

Seeing and hearing can be tiny too. SHADOW Omni is one 36 MB body, trained from scratch, that looks at photos, watches videos and listens to sounds, writes what it notices, answers simple questions and makes search vectors in EmbeddingGemma 2's space, all on a laptop CPU, offline. It is a proof of concept, and we released it with all 14.2M training items and their teacher vectors. Try it in your browser · model, code and data

model what it is size on a laptop CPU
SHADOW Omni · demo sees photos, video and sound; writes what it sees and makes search vectors; 2-bit 36 MB about 650 photos a minute to search vectors, about 620 words a second, 72 to 145 MB of RAM
SHADOW 250M Instruct · GitHub built from scratch, with a 100M-token memory on disk 60 MB about 400 tokens/s in 80 MB of RAM
SHADOW 50M Instruct · GitHub three-valued weights, arithmetic circuits inside the model, memory on disk 19.8 MB about 2,000 tokens/s in 40 MB of RAM
Embeddings Are Overpriced the three models from the paper 46 MB (ternary) 615 to 740 tokens/s
dataset what it is
SHADOW Omni training data 14.2M photos, videos and speech clips (1.13 TB), each with its caption and EmbeddingGemma 2 teacher vectors
SHADOW Assistant data 7.4 TB: 287B text tokens, about 9.5B picture and video tokens, about 37,700 hours of audio
FLUX-Reason-6M as FLUX.2 latents 5.6M images, ready to train as FLUX.2 latents

Next: one small model, one country

Big models read the whole internet and try to know everything about everywhere. We want to see what happens when a small one is built around a single place instead.

SHADOW Assistant is that experiment. A small model that still knows the wider world, but where Australia is a quarter of everything it reads: its English, its places, its laws, its history, its everyday life. Does a small model become clearly better at one country's life? What does it give up for it? We don't know yet. That is why we are building it.

It is not a national AI and it is not a statement. It is a test, and Australia happens to be home.

It will see images, video and documents, keep a memory on disk, search the web when it is online, and run offline on a normal laptop. SHADOW Omni was built on the way: it is the start of the eyes and ears this assistant needs. Its training data will be published here wherever the licences allow.

Thank you to CloudRift for sponsoring SHADOW Assistant with an AI Builder Grant. Their GPU credits are paying for the training.

Contact

Sai Kiran Bathula, New South Wales, Australia · qlni.io · saikiranbathula@qlni.io · GitHub

Releases are for non-commercial research and education unless a repository says otherwise.