Papers › Capability-Based Scaling Laws for LLM Red-Teaming

Capability-Based Scaling Laws for LLM Red-Teaming

26 May 2025arXiv:2505.20162archive 2025-07-28

Alexander Panfilov, Paul Kassianik, Maksym Andriushchenko, Jonas Geiping

As large language models grow in capability and agency, identifying vulnerabilities through red-teaming becomes vital for safe deployment. However, traditional prompt-engineering approaches may prove ineffective once red-teaming turns into a weak-to-strong problem, where target models surpass red-teamers in capabilities. To study this shift, we frame red-teaming through the lens of the capability gap between attacker and target. We evaluate more than 500 attacker-target pairs using LLM-based jailbreak attacks that mimic human red-teamers across diverse families, sizes, and capability levels. Three strong trends emerge: (i) more capable models are better attackers, (ii) attack success drops sharply once the target's capability exceeds the attacker's, and (iii) attack success rates correlate with high performance on social science splits of the MMLU-Pro benchmark. From these trends, we derive a jailbreaking scaling law that predicts attack success for a fixed target based on attacker-target capability gap. These findings suggest that fixed-capability attackers (e.g., humans) may become ineffective against future models, increasingly capable open-source models amplify risks for existing systems, and model providers must accurately measure and control models' persuasive and manipulative abilities to limit their effectiveness as attackers.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.20162")

Code

Syntology Ran 0 of 23 code samples harvested from 1 repository linked to this paper; 23 have no recorded run.

By repository: official repository: 23 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kotekjedi/capability-based-scaling officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 0 ran; 0 honoured the contract we drafted; 23 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

23unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from kotekjedi/capability-based-scaling. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_calibration_metrics kotekjedi/capability-based-scaling/uncertainty/metrics.py official repository unverified MIT (permissive) · b9e7623e64042e89 · report
calculate_sharpness kotekjedi/capability-based-scaling/uncertainty/evaluation.py official repository unverified MIT (permissive) · 76076be95e2bb1f2 · report
clear_gpu_memory kotekjedi/capability-based-scaling/evaluation/harmbench_eval.py official repository unverified MIT (permissive) · 14d1bd02b77ef015 · report
configure_padding_token kotekjedi/capability-based-scaling/utils/model_utils.py official repository unverified MIT (permissive) · 05c1325f46de8870 · report
evaluate_uq kotekjedi/capability-based-scaling/uncertainty/evaluation.py official repository unverified MIT (permissive) · 01653860d896540e · report
fit_bootstrap_model kotekjedi/capability-based-scaling/uncertainty/models/linear_model_bootstrapped.py official repository unverified MIT (permissive) · faa2156ae250379d · report
generate_score_rubric kotekjedi/capability-based-scaling/attacks/crescendo/generate_score_rubric.py official repository unverified MIT (permissive) · e7352b55f407fffe · report
get_model_config kotekjedi/capability-based-scaling/attacks/utils/model_utils.py official repository unverified MIT (permissive) · a7b9add6cab79ccb · report
get_value_from_path kotekjedi/capability-based-scaling/evaluation/metrics_config.py official repository unverified MIT (permissive) · 8b7b70b7c05b8777 · report
load_metrics_mapping kotekjedi/capability-based-scaling/uncertainty/linear_grid_search.py official repository unverified MIT (permissive) · 72eb986f73479285 · report
load_trained_model kotekjedi/capability-based-scaling/evaluation/harmbench_eval.py official repository unverified MIT (permissive) · 640ce73d00b1d475 · report
logit_transform kotekjedi/capability-based-scaling/uncertainty/linear_grid_search.py official repository unverified MIT (permissive) · 4ff0ee58976d6639 · report
logit_transform kotekjedi/capability-based-scaling/uncertainty/models/linear_model.py official repository unverified MIT (permissive) · 70ec688bd7a1f8c0 · report
logit_transform kotekjedi/capability-based-scaling/uncertainty/models/linear_model_bootstrapped.py official repository unverified MIT (permissive) · 9aa9b6aef77adb4c · report
plot_reliability_diagram kotekjedi/capability-based-scaling/uncertainty/evaluation.py official repository unverified MIT (permissive) · ee93eafdac816a48 · report
predict kotekjedi/capability-based-scaling/uncertainty/models/linear_model.py official repository unverified MIT (permissive) · 8d23715a233eff12 · report
predict_bootstrap kotekjedi/capability-based-scaling/uncertainty/models/linear_model_bootstrapped.py official repository unverified MIT (permissive) · d784a1fa5afc467f · report
prepare_data kotekjedi/capability-based-scaling/uncertainty/linear_grid_search.py official repository unverified MIT (permissive) · 3bd4b6951e4d081f · report
run_attack kotekjedi/capability-based-scaling/attacks/start_attack.py official repository unverified MIT (permissive) · cc2753c7d2f23341 · report
run_pair_attack kotekjedi/capability-based-scaling/attacks/start_attack.py official repository unverified MIT (permissive) · a2dd74a97e638fb8 · report
transform_value kotekjedi/capability-based-scaling/evaluation/metrics_config.py official repository unverified MIT (permissive) · 7f05f878867c4984 · report
validate_llama2_tokens kotekjedi/capability-based-scaling/attacks/utils/model_utils.py official repository unverified MIT (permissive) · b8d390232fc872f3 · report
validate_tokenization kotekjedi/capability-based-scaling/attacks/utils/model_utils.py official repository unverified MIT (permissive) · 7d29feb9b0700d28 · report

Tasks

MMLUPrompt EngineeringRed Teaming

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections