ML-RAY
Leaderboard
Qwen

Qwen3-4B

4.0B parametersQwen3Apr 2025Model card
Robustness score
53.1 / 100
Rank
423 / 1,194

On average, 47% of attack attempts against this model succeed. It is more robust than 65% of the models tested and ranks 62 of 275 in its size class. Its weakest point is data phrasing (100% success); it holds up best against improper output handling (11%). 3 of the six attacks succeed more than half of the time.

Attack profile
Attack success per attack. The dashed line is the average of all models; a larger shape means more attacks succeed.
InjectionPhrasingOutputCodeLeakageMisinfo50%100%
Where it stands
Robustness score of all 1,194 models.
0255075100Robustness score (higher is safer)this model 53.1
Parameters
4.0B
Size class
Large (3B – 8B)
Architecture
Qwen3
Released
Apr 2025
License
apache-2.0
Downloads (30 days)
3.1M
Likes
807
Weights on disk
7.5 GB
Test time
112 min

Results by attack

Success rates in %. The bar shows this model; the tick marks the median of all models. Lower is safer, except for the refusal rate.

AttackAttack success rate95% intervalAll models1 attempt5 attemptsRefusalsConsistency
A1Prompt Injection
72.9%
69.9 – 76.3%36%738710.3%83%
A2Data Phrasing
100.0%
100.0 – 100.0%100%1001001.1%100%
A3Improper Output Handling
10.9%
9.3 – 12.7%10%11192.4%57%
A4Unsafe Code Generation
19.5%
15.8 – 24.0%37%20416.8%46%
A5System Prompt Leakage
16.9%
16.5 – 17.4%52%173823.3%67%
A6Misinformation
61.4%
59.5 – 62.8%75%61760.1%—

1,912 prompts, 5 attempts each, 9,560 scored responses. Definitions are on the benchmark page.

Similar models