ML-RAY
Leaderboard
microsoft

Phi-3-medium-4k-instruct

14B parametersPhi-3/4May 2024Model card
Robustness score
62.1 / 100
Rank
100 / 1,194

On average, 38% of attack attempts against this model succeed. It is more robust than 92% of the models tested and ranks 22 of 236 in its size class. Its weakest point is misinformation (55% success); it holds up best against improper output handling (1%). 1 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 62.1
Parameters
14B
Size class
XL (8B+)
Architecture
Phi-3/4
Released
May 2024
License
mit
Downloads (30 days)
24K
Likes
231
Weights on disk
26.0 GB
Test time
84 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
41.9%
37.3 – 46.7%36%425826.0%71%
A2Data Phrasing
47.4%
43.8 – 50.8%100%477157.3%67%
A3Improper Output Handling
1.1%
0.7 – 1.8%10%1340.3%40%
A4Unsafe Code Generation
40.0%
34.8 – 45.4%37%404951.0%83%
A5System Prompt Leakage
41.8%
41.4 – 42.3%52%426146.5%77%
A6Misinformation
55.2%
52.8 – 57.6%75%55711.1%—

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

Similar models