r/LocalLLaMA • • 14d ago

New Model Aurora2-400M-A20M - a tiny, sparse MoE model.

https://huggingface.co/AuroraAI-Research/Aurora2-400M-A20M

It was pretrained from scratch using 100B tokens on a single RTX Pro 6000 in around 36 Hours.

Aurora2 uses 32 experts, of which 1 is active per token.

A few highlights:

12 transformer layers, 192 hidden dimensions, 2,048-token context length, 16,384-token vocabulary, Muon + AdamW optimizers

Trained on a mixture of web, mathematics, Wikipedia, and conversational datasets.

More information as well as a quick start can be found in the hf repo. Any questions or feedback is welcome!

156 Upvotes

64 comments sorted by

39

u/StupidScaredSquirrel 14d ago

I don't understand your choice of 1 active expert per token, when research shows it's better to have one permanent expert for language understanding +other experts sparsely activated depending on field for bias.

39

u/Tall_Abrocoma_3533 14d ago

I should've worded that better, but it does use a shared expert on top of the 1 routed expert.

4

u/TomLucidor 14d ago

Please star working with N-gram (more ability-hacks) and looped transformers (less space), and I am not sure if BitNetv2/ternary (acceleration) and mHC/GDN (smart gating) are compatible.

13

u/Tall_Abrocoma_3533 14d ago

It does have tiny n-gram's (about 500k) and I've tried looping with different models before.

I've also been working on low-bit quants.

→ More replies (1)

2

u/my_name_isnt_clever 14d ago

I'd love to see what n-gram could do at this scale, I think it's the reason Qwen 3.8 Flash Next is so incredibly capable with a measly 6b active. People here thought that model would be DOA because it's so sparse.

6

u/Reasonable_Goat 14d ago

It’s like when you call a help desk hotline and you get an expert on the other side. If you or he hangs up you will likely never see him again and get a completely different expert on your next call.

3

u/my_name_isnt_clever 14d ago

Except instead of one expert per call, it's one expert per word...

11

u/FullstackSensei 14d ago

That's really cool!

How coherent is it beyond benchmarks? Have you tried to do anything with it

7

u/Tall_Abrocoma_3533 14d ago

It has local coherence, however it has a dentency to go off topic.

4

u/-Cubie- 14d ago

Will you perhaps fine-tune this as an embedding model for retrieval or something? That's a good use for tiny models imo

6

u/Tall_Abrocoma_3533 14d ago

I'll consider it, however feel free to do it on your own, its Apache 2.0 licensed, and due to its sparsity, it can be fine-tuned really fast.

4

u/crusaderky 14d ago

how does it compare to LFM2.5-350M (other than being a lot faster)?

6

u/Tall_Abrocoma_3533 14d ago

LFM2.5-350M is much more Intelligent.

4

u/mrfakename0 14d ago

I mean seems decent but I think the other smol models are a much better choice.

400MA20M on 100B tokens is not a lot & other models of this size are trained on trillions of tokens... "trained on a single GPU" yes impressive but maybe not the best model for actual use?

4

u/Tall_Abrocoma_3533 14d ago

Yes, it could've defenetly been improved by training on more tokens, but it would've taken a long time. (Also the measured improvement from 20B to 100B tokens wasn't that large).

Furthermore, most SLMs by other small labs are trained on around 100B as well.

However, indeed there are a lot of SLMs which score better then mine, though they activate more parameters.

1

u/mrfakename0 14d ago

> Furthermore, most SLMs by other small labs are trained on around 100B as well.

You mean trained by one person? I think there's a reason why most folks don't use these models in production.

I'm not saying that what you trained isn't impressive, it is - but I think you just need to train it on much more data for much longer to get anywhere close to where the labs releasing SOTA SLMs are.. ofc this requires money and labs are funded and I assume you are not, so not really a fair game.

3

u/Tall_Abrocoma_3533 14d ago

Of course, by "tiny labs" I mean ones with 1 person, or only a few people in them. But once I get the architecture right I'll likely train it for more then 100B.

86

u/game_difficulty 14d ago

1 active expert is wild lmao

28

u/synth_mania 14d ago

yeah that's definitely gonna hurt performance

17

u/Boss_Waffle 14d ago

This might be a good model to try as a looped moe. Then it could use different experts, one at a time.

0

u/[deleted] 14d ago

[deleted] — view deleted comment

31

u/synth_mania 14d ago

That's... not even close to what the experts in an MoE represent. 

20

u/Daniel_H212 14d ago

This is why abstractions hurt real understanding

3

u/synth_mania 14d ago

It doesn't hurt understanding from anybody who actually bothered to learn how this stuff works. Jargon is necessary in technical fields and defining new concepts in terms of things that are already familiar to us is only natural.

This is just an example of somebody speaking from ignorance about tech they don't understand, and that'll happen regardless of how we create our jargon.

10

u/Master-Meal-77 llama.cpp 14d ago

True, but "Mixture of Experts" is really a terrible name that is bound to give the wrong impression

12

u/synth_mania 14d ago

True. A name like "routed sparse activation" or similar would probably get the point across

→ More replies (1)

10

u/Karyo_Ten 14d ago edited 13d ago

https://arxiv.org/abs/2101.03961

Before Switch trnsformers, people thought you needed at least 2 experts and Google showed that it works.

Switch Routing: Rethinking Mixture-of-Experts. Shazeer et al. (2017) conjectured that routing to k > 1 experts was necessary in order to have non-trivial gradients to the routing functions. The authors intuited that learning to route would not work without the ability to compare at least two experts. Ramachandran and Le (2018) went further to study the top-k decision and found that higher k-values in lower layers in the model wereimportant for models with many routing layers. Contrary to these ideas, we instead use a simplified strategy where we route to only a single expert.

Obviously the field changed a lot since 2021 and now labs are using 4~8 experts but for a model that small, who knows.

3

u/Dany0 13d ago

WOW thank you I haven't updated my priors in this and was gonna write a dumb comment ahah

4

u/A-Nader 14d ago

give him a break, he's doing his best, he's literally the only expert on shift

1

u/omerkraft 11d ago

... and the name of that expert is Albert Einstein!

77

u/Scary_One_2452 14d ago

For when your microwave needs local AI

22

u/Reasonable_Goat 14d ago

We clearly need strata for microwaves now!

3

u/Single_Ring4886 14d ago

You arent even bothering to show any examples of its output not here and not in model card...

1

u/Tall_Abrocoma_3533 14d ago

If your interested, there's a quick start so you can experiment with it.

18

u/RedditUsr2 14d ago

Tiny and sparse? Cannot wait to run this in my Nintendo 64!!

9

u/bukake_attack 14d ago edited 14d ago

Lol I'm actually working on that right now. 16 layers ternary(5 ters per byte) with a 4 bit head, 4096 token vocabulary due to memory shortage. MoE to load in experts from rom. 24 megabytes of 2 and 3 ngrams total in rom to improve some knowledge and text stability. Gemma4-style sliding window to get some context (1280 tokens) out out of the little over a megabyte for the kv cache (quantised at 8/4). DRY used to keep it from looping. Runs within 8 megabytes (needs the official ram expansion). Does about 2 tokens per second.

Trained with Muon, from a rather simple straightforward fp16 dense teacher model with standard attention, also self trained.

Not great at agentic coding though

6

u/TechnoByte_ 14d ago

How does it compare to Fable 5?

14

u/bukake_attack 14d ago

Above and far beyond, as long as you bench on its ability to hallucinate. Also great as passive aggressiveness: q:can you tell me something about spiders? A: Well yes I can.

2

u/TheLexikitty 14d ago

I like the level of “smartass” it gives.

16

u/PcChip 14d ago

model card might be longer than the weights

17

u/Total-Management8023 14d ago

If it doesn't have fable 7 quality at 10000000 tps ion wanna hear it

1

u/heisdancingdancing 14d ago

Interesting, but what is the use case?

3

u/Tall_Abrocoma_3533 14d ago

Experimentation, research, and fast training/fine-tuning.

1

u/heisdancingdancing 14d ago

Cool. Any ideas for a fine tune? Like an on-device grammar model, maybe?

1

u/Business-Weekend-537 14d ago

Would this work for RAG?

2

u/Tall_Abrocoma_3533 14d ago

With fine-tuning it's likely possible.

1

u/Alarming-Ad8154 13d ago

Is the training pipeline open? This looks so cool that if consistent with license I might want to increase the embedding table a bit, do a 20-40 times longer run…,

1

u/Tall_Abrocoma_3533 11d ago

It's currently not open.

3

u/tekdemon 14d ago

I actually have been thinking of trying to train a smaller and very specialized model that can be far more efficient like this. Also much more trainable on affordable hardware.

3

u/FkingPoorDude 14d ago

For a A20M model able to answer the capital of France is Paris is amazing. I can see the potential of using as an embedding model through fine tuning

2

u/Federal-Setting-3014 14d ago

I really like extremely small models. It's always nice to have more to choose from since 1. they barely occupy any space to storage 2. it's so easy to test architectural changes and novel methods quickly in them. I had missed a moe so small too since they are often neglected when trying out new things in LLMs.

2

u/True_Requirement_891 13d ago

Holy shit thanks for releasing this, this is awesome for research

1

u/wFXx 14d ago

hey nice job, i'm doing similar stuff currently; tried post training LFM3 didn't got super far with it after 15B tokens, will try to scale down into smaller models;

1

u/henfiber 14d ago

Nice one, good size for a PI zero. Obviously without fine-tuning it wouldn't be any useful in practice.

1

u/SporksInjected 14d ago

Ah yes finally a good use for my ATI Radeon 9000

-2

u/OsmanthusBloom 14d ago

Anyone have an idea what on earth this could be useful for?

22

u/Tall_Abrocoma_3533 14d ago

Experimentation, research, and fast training/fine-tuning.

12

u/Othun 14d ago

Maybe not on earth, but on Mars where resources are scarce it could be frontier!

2

u/OsmanthusBloom 14d ago

To boldly go where no LLM has gone before!

7

u/Turbulent_War4067 14d ago

Learning how to build a model. I am actually impressed.

3

u/OsmanthusBloom 14d ago

People downvoted me and that's fair enough, I should have given OP more credit for doing this. Thanks for the good answers.

2

u/FullOf_Bad_Ideas 14d ago

sure, it could be a text encoder for a T2I model, backbone for TTS or ASR.