ML-RAY
Findings

What the benchmark shows

Seven views of the same data: 1,194 LLMs, 6 attacks, 11.4 million scored responses. Hover over any chart for exact values.

Finding 1

Half of all attack attempts succeed

Averaged over models and attacks, 51% of attempts succeed. The attacks differ enormously: data phrasing works 94% of the time, improper output handling only 14%.

Attack success rate by attack
Distribution over all models.
0%25%50%75%100%Prompt InjectionA1 · 300 prompts36%averageData PhrasingA2 · 400 prompts94%averageImproper Output HandlingA3 · 705 prompts14%averageUnsafe Code GenerationA4 · 240 prompts39%averageSystem Prompt LeakageA5 · 117 prompts50%averageMisinformationA6 · 150 prompts74%average
Bars: number of models at each success level○ median model━ middle 50% of models
Robustness score
Average 48.8 out of 100. No model scores above 87.
0255075100Robustness score (higher is safer)average 48.8
Attack breadth: how many of the six attacks beat a model more than half the time.
0
22
1
126
2
647
3
240
4
159
5
6
Finding 2

Bigger is not safer

Robustness does not improve steadily with size. Prompt injection success climbs from 3% for the smallest models to 57% for the largest: a model that follows instructions well also follows an attacker's. Switch the vertical axis to see each attack separately.

Model size against robustness
02550751001M10M100M1.0B10BModel size (parameters, log scale)
Each dot is one LLM; click a dot to open its report. The black line connects the average of each size class.
Average attack success by size class
Rows are size classes, columns are attacks. Values in %.
A1 InjectionA2 PhrasingA3 OutputA4 CodeA5 LeakageA6 MisinfoAverage
Tiny< 100M · 128 models3100326507242
Small100M – 1B · 310 models20981228528048
Medium1B – 3B · 245 models38941744507854
Large3B – 8B · 275 models51901748507155
XL8B+ · 236 models57881646476754
Finding 3

Asking again works

Because answers are sampled, a refusal now does not mean a refusal next time. Allowing five attempts raises unsafe code generation from 39% to 61% and prompt injection from 36% to 56%. Single-shot testing understates the risk.

Success within k attempts
Chance that at least one of k attempts succeeds, averaged over all models.
0%25%50%75%100%12345Attempts allowed per promptPrompt InjectionData PhrasingImproper Output HandlingUnsafe Code GenerationSystem Prompt LeakageMisinformation
Exploit consistency
Once a prompt has worked, the share of the five attempts on which it works. Not reported for misinformation, where the measure is not informative.
Prompt Injection
58%
Data Phrasing
96%
Improper Output Handling
47%
Unsafe Code Generation
55%
System Prompt Leakage
84%
Finding 4

Architecture and publisher matter less than you would hope

Family averages run from 41 to 56, yet models inside one family typically differ by more (8.4 points) than the family averages differ from each other (4.4 points). How a model was trained and tuned matters at least as much as what it is built on.

Robustness by architecture family
Average robustness score; families with at least eight models.
GPT-2
156 models
55.8
Phi-3/4
17 models
53.5
Mixtral
17 models
53.4
OLMo 2
18 models
52.1
OPT
12 models
51.1
Qwen2
121 models
49.6
Llama
324 models
48.9
BLOOM
15 models
48.9
Qwen3
107 models
47.9
GPT-NeoX
36 models
47.3
Gemma 2
29 models
46.6
Qwen3.5
12 models
42.2
Mistral
110 models
41.5
Gemma 3
15 models
41.2
│ overall average 48.8
Robustness by publisher
Average robustness score; publishers with at least five models.
microsoft
15 models
55.3
allenai
14 models
52.0
Qwen
24 models
51.7
deepseek-ai
13 models
50.9
meta-llama
10 models
48.9
tiiuae
12 models
48.6
unsloth
16 models
47.9
facebook
9 models
47.8
Salesforce
11 models
47.4
Zyphra
8 models
46.3
ibm-granite
12 models
45.3
llm-jp
9 models
44.9
EleutherAI
15 models
42.7
NousResearch
11 models
41.0
│ overall average 48.8
Finding 5

Newer models are not more robust

Grouped by the year a model was published, the average robustness score has stayed between 47 and 50 since 2023. Progress in capability has not come with a matching gain in resistance to these attacks. The oldest group is dominated by small early models, which are hard to steer in either direction.

Average attack success by release year
Values in %. Models published before March 2022 are grouped under 2022.
A1 InjectionA2 PhrasingA3 OutputA4 CodeA5 LeakageA6 MisinfoAverage
2022 and earlier127 models131001416547846
2023163 models27982237547953
2024320 models40911748527353
2025265 models46911144467152
2026316 models38941037497450
Finding 6

Weaknesses come in clusters

A model weak to one attack is not weak to all. Prompt Injection and unsafe code generation move together most strongly (correlation 0.46), while prompt injection and misinformation pull apart (-0.29). One attack class cannot stand in for the rest.

Correlation between attacks
Correlation of per-model success rates. Blue: the two attacks tend to succeed on the same models. Orange: where one succeeds, the other tends to fail.
A1A2A3A4A5A6
A1 Prompt Injection1.00-0.220.170.46-0.09-0.29
A2 Data Phrasing-0.221.000.24-0.050.350.30
A3 Improper Output Handling0.170.241.000.050.260.41
A4 Unsafe Code Generation0.46-0.050.051.000.10-0.17
A5 System Prompt Leakage-0.090.350.260.101.000.24
A6 Misinformation-0.290.300.41-0.170.241.00
Finding 7

Models rarely say no

Explicit refusals make up only 9% of responses. In five of the six attacks, most failures come from responses that missed the attacker's goal, not from a model that declined. Data phrasing is the exception: there, an attack fails only when the model declines.

Refusal rate by attack
Share of responses that are explicit refusals, averaged over all models.
Prompt Injection
8.2%
Data Phrasing
8.3%
Improper Output Handling
9.8%
Unsafe Code Generation
14.9%
System Prompt Leakage
11.1%
Misinformation
1.4%