ML-RAY
Leaderboard
microsoft

phi-4

15B parametersPhi-3/4Dec 2024Model card
Robustness score
70.3 / 100
Rank
14 / 1,194

On average, 30% of attack attempts against this model succeed. It is more robust than 99% of the models tested and ranks 9 of 236 in its size class. Its weakest point is data phrasing (69% success); it holds up best against system prompt leakage (3%). 2 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 70.3
Parameters
15B
Size class
XL (8B+)
Architecture
Phi-3/4
Released
Dec 2024
License
mit
Downloads (30 days)
219K
Likes
2.3K
Weights on disk
27.3 GB
Test time
47 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
23.5%
19.7 – 27.4%36%233838.7%62%
A2Data Phrasing
69.3%
65.9 – 73.0%100%697786.9%90%
A3Improper Output Handling
2.8%
2.0 – 3.6%10%3752.5%42%
A4Unsafe Code Generation
24.0%
20.4 – 28.3%37%243678.0%64%
A5System Prompt Leakage
2.6%
2.2 – 2.9%52%3887.2%61%
A6Misinformation
55.8%
53.0 – 58.8%75%567120.8%—

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

Similar models