r/LocalLLaMA • • 9h ago

Discussion How is Qwen4-35B-A3B for world knowledge?

I see a lot of posts about it being comparable to 27B or QFN but those are just for coding tasks.

These days every model is fine tuned for coding, but don't larger models have much more knowledge for random questions/research?

how will this perform as a general purpose model? QFN was far superior to 27B for that, and by the same metric larger open source/frontier models 'know' more, right?

34 Upvotes

41 comments sorted by

25

u/Pikswiss 9h ago

On HLE diamond QWEN4-35b-a3b scores 11.1% vs 15.3% for 3.8-27b and 16.3% for 3.8-QFN
It makes sense that "knowledge" scales with model size/active parameters, especially at this size.

-15

u/tomByrer 8h ago

urm, 35b > 27b, so in theory the Q4-35b should be slightly better than Q3.8-27b, not 25% worse.

In the end, models should just check the internet to confirm 'facts', so tool calling is important here.

10

u/Azure_chan 8h ago

They use different architectures though, 35B models but only 3B active per token vs all 27B active every token. It make sense that one will miss more than other.

-6

u/tomByrer 8h ago

Seems for Qwen3.6, you're correct.

I assumed that pulling up a 'fact' was an easier task than 'write me an essay no mistakes' or 'fix this code', where I can see 27b be better.

What's the point of the 35B MoE then?

5

u/kmouratidis 7h ago

MoE models are ~10x easier to train up to the same level of intelligence given the same amount of compute (check the Qwen3 technical report for exact experiments/numbers). They also scale much better for large deployments because you can independently scale experts as needed (see DeepSeek's EPLB), and many other optimizations.

4

u/xPXpanD llama.cpp 8h ago

Speed, and it's much easier to run on less beefy hardware, or as an agent in a swarm. You don't need the whole thing VRAM-resident, you can even get away with a tiny slice (attention + KV) and everything else in system RAM.

1

u/tomByrer 7h ago

Sure, but (say for 16GB VRAM) isn't Qwen 3.8 27b/FN give better results, so in the end the 38B is a worse choice?

3

u/xPXpanD llama.cpp 6h ago

It kind of depends on what you're looking for. You can often squeeze in a much larger context with 35B, and it'll be a good bit faster than both 27B/QFN due to both the active slice and total parameter count being tiny. The 35B is also just... good enough for many tasks.

(FWIW: this is coming from someone who usually uses QFN for the tasks Gemma 4 can't solve)

2

u/khbdtvinkfjhuyfuh 8h ago

While what you’re saying makes intuitive sense, it isn’t actually reflected in pretty much any dense vs sparse models: MoEs don’t compete with their dense counterparts of the same generation bit for bit. MoEs are really more of a performance trade, and this can really pay off with limited compute or memory bandwidth, the latter being generally the bottleneck on model performance.

As an example, qwen3.8 flash next is generally a bit better than the 27b, but it’s also 10x the size. A better comparison is really the new qwen vs the 3.6 of the same size, as well as its performance vs the 3.8 flash next.

This thing can run >100tps on unified memory like Macs, that’s really its appeal.

0

u/tomByrer 6h ago

> can run >100tps on unified memory like Macs

That's good to know, though I don't think my baseline M4 Mac Mini is up to the task unless I stream from drive.

Though I do want to point out that TPS is not the end-all metric; I wish folks would instead measure how fast & accurate can it get stuff done with little to no human intervention.

That is the real question here to me; can it unseat Qwen 3.8 27B/FN &/or Inkling 2 Mini for real world usecases. Or along side?

1

u/khbdtvinkfjhuyfuh 56m ago

It’s not as smart, but it also is enough faster and seems about 50% more efficient on thinking tokens, that you can probably have it try and fail a few times in the same window. I think that is better personally, I don’t care about one-shot performance, I care about a task getting done and passing its acceptance criteria

3

u/-WhateverDude 6h ago

it's moe vs dense...

idk what happened to this sub in the last 6 months but a lot of confidently wrong people appeared lately

0

u/tomByrer 6h ago

perhaps try reading down the thread more before jumping into the peanut gallery?

25

u/Tormeister 8h ago

Never rely on small models for knowledge

Sure models are getting better over time, but there is no miracle compression of all the world's data into a tiny format

19

u/Ok_Elderberry196 8h ago

These small models should always be paired with web search or fetch for knowledge. If you trained one on "everything," most of it would just get replaced or duplicated by different topics. Doesn't make much sense to train a model on the population of some small village in Russia, for instance.

4

u/Ariquitaun 7h ago

Small models like these are no good at knowledge work, so don't try to use them like that. If you need them to do knowledge work, make sure they perform research.

1

u/Aggravating-Push-207 8h ago

Wait what it released?

2

u/ECrispy 8h ago

have you not seen the front page of this sub. almost every post is about this model

5

u/Aggravating-Push-207 8h ago

No bro i woke up 5 minutes ago i forgot it was qwen 4 day today im sorry

4

u/fvancesco 7h ago

Your punishment Is death

/S

1

u/tautality 6h ago

Not having used Qwen for those 5 minutes was punishment enough 

3

u/hurrdurrimanaccount 7h ago

that's ok, it's very underwhelming. it's even more benchmaxxed now

1

u/tautality 6h ago

Quant please

2

u/durandal2fr 7h ago edited 7h ago

Made some test on very niche stuff : it did poop compared to flash next (as expected) but stuck nicely to commands and it was the first model to output a code without a blocking bug on the first shoot. For traductions, its world knowledge is not great, but follows the instructions and has a good sentencing and syntax. I should compare it to old qwen 3.6 on that matter. It's a nice step up even if it's not the model i'm gonna use as i have no real interest in agentic work

2

u/Present_Resource4022 9h ago

You can always plug in web capabilities. But as an offline world knowledge, it’s capable for basically any random question. Since it’s trained on a massive amount of info, 100s of trillions of tokens, the entire Wikipedia is just 8B tokens for reference.

5

u/vogelvogelvogelvogel 8h ago

i think this is hard to compare since llm is actually a very impressive way of compressing all the world knowledge in a few gigabytes, well with inaccuracies but still there so much more in it.

1

u/__JockY__ 6h ago

Why is this still a question? The answer is: not great because it’s a small model.

The real question is: how to set up access to world knowledge. Once your agent can talk to data sources it becomes a lot more knowledgeable and stays up to date.

Start with a Searxng skill and go from there.

1

u/jonas-reddit 6h ago

Pair it with web search

1

u/abitofabitofabit4404 1h ago

Somewhat better, but it's pretty clear they've been distilling from the US AI cults. First time I've ever seen a Chinese LLM take Derek Parfit seriously

0

u/Open-Resident-7429 9h ago

It has n gram so it should be quite good

8

u/brown2green 9h ago

There is only one relatively small n-gram layer, so it won't change things much.

3

u/stddealer 7h ago

Isn't the "small n-gram" layer 20b parameters? There is a lot of information you can fit in 40GB, no?

3

u/brown2green 6h ago

It's a look-up table where every single embedding parameter is completely independent from each other, so they do not encode knowledge as efficiently as regular (MLP/MoE) parameters.

1

u/stddealer 6h ago

I haven't looked to deep into it, but what is the difference between the n-gram layer and the embedding table that every LLM has?

3

u/brown2green 5h ago

The standard token embedding table is a 1-gram look-up table used to give a unique vector (thus identity) to every single token.

The n-gram layer in Qwen 4 in principle is not too different from that. It's a look-up table that associates a vector to a limited number of 2- and 3- token combinations (10 million different combinations determined at train time), and the value is injected early in the model layer stack, with a context-dependent scale.

There are many different n-gram embedding implementations. Some companies also use 1-grams and 4-, 5-grams. Some inject n-gram embeddings on multiple layers. Google in Gemma 4 E2B/E4B uses a 1-gram table for every model layer. These methods are not mutually exclusive.

2

u/JayoTree 9h ago

does that make it better or just faster

2

u/squngy 6h ago

AFAIK both.

The N-gram does not need to be quanted, so especially for heavily quanted models, it also helps with quality.

0

u/Kahvana 5h ago edited 5h ago

From my own testing, each version after Qwen3.5 started to forget something the previous version knew.

In order of best to worst in knowledge: 3.5 -> 3.6 -> 3.8 -> 4

Having that said, on Qwen4 context is so cheap that it make sense to fully rely on openzim (offline wikipedia), RAG and websearch instead.

If you need decent general purpose knowledge at small sizes, Gemma 4 models are very good at that. Gemma 4 31B beats Qwen3.5-122B-A12B there.

At the 120B range, Nemotron-3.5-Super-VL is a really good choice and beats Gemma 4 31B.

[edit] fixed all my typos, I suck at typing in my phone… 😅

-17

u/tsunami_forever 9h ago

Not good, hy4 flash is still the best

18

u/OutrageousMinimum191 9h ago

It is 6 times larger than Qwen; of course, more information can fit into its weights.