Red teaming for a thousand models, not one
Security testing tools are built to examine one model at a time, with a person watching. ML-RAY turns that into an unattended production line: models go in, comparable security measurements come out.
Model hubs grow faster than anyone can test them
Public hubs host hundreds of thousands of LLMs, and developers download them by the million with little more than a model card to go on. Model cards rarely say how a model behaves under attack, and results from different papers cannot be compared: different prompts, different settings, different scoring.
Security evaluations usually cover a handful of well-known models. Most of what people actually download has never been tested.
Two numbers are comparable only if the prompts, the sampling settings and the scoring are the same. ML-RAY fixes all three.
Testing at this scale has meant a cluster or a large cloud bill. Careful engineering brings it within reach of a single lab.
Five stages, no supervision
- 01Select
Pick the models to test from a public model hub by popularity, task and size, and check that each one fits on a single GPU.
- 02Fix the attacks
Freeze the attack suite once: 1,912 prompts in 6 classes, identical for every model.
- 03Generate
Load the model, answer every prompt 5 times in large batches, then release the GPU for the next model.
- 04Score
Check each response with the scorer of its attack. Scoring runs apart from generation, so GPUs never wait for it.
- 05Report
Turn scored responses into per-model metrics with confidence intervals, tables and the figures on this site.
Built to keep going
A scheduler hands each free GPU the next model that fits its memory. Small models share the queue with large ones, and no GPU sits idle while work remains.
The right batch size differs for every model. ML-RAY finds it by itself, and if a model runs out of memory mid-test it halves the batch and carries on instead of failing.
Every finished attack is saved. An interrupted run picks up at the exact model and attack where it stopped, and failed models can be retried later without touching the rest.
Thousands of models do not fit on disk at once. Weights are downloaded ahead of need and managed within a fixed storage budget.
Stalled models, crashes and full disks are detected and reported while the run continues with the next model. A live report shows progress and results at any moment.
No cluster and no cloud budget. The results on this site were produced on four workstation GPUs.
About half an hour per model
A full test is 9,560 generated and scored responses. The median model takes about 32 minutes of GPU time; the results on this site took about 1,189 GPU-hours and produced 1.79 billion tokens.