Papers › Scaling Trends in Language Model Robustness

Scaling Trends in Language Model Robustness

25 Jul 2024arXiv:2407.18213archive 2025-07-28

Nikolaus Howe, Ian McKenzie, Oskar Hollinsworth, Michał Zajac, Tom Tseng, Aaron Tucker, Pierre-Luc Bacon, Adam Gleave

Increasing model size has unlocked a dazzling array of capabilities in modern language models. At the same time, even frontier models remain vulnerable to jailbreaks and prompt injections, despite concerted efforts to make them robust. As both attack and defense gain access to more compute, and as models become larger, what happens to robustness? We argue that to answer this question requires a \emph{scaling} approach, which we employ in an extensive study of language model robustness across several classification tasks, model families, and adversarial attacks. We find that in the absence of explicit safety training, larger models are not consistently more robust; however, scale improves sample efficiency in adversarial training, though it worsens compute efficiency. Further, we find that increasing attack compute smoothly improves attack success rate against both undefended and adversarially trained models. Finally, after exploring robustness transfer across attacks and threat models, we combine attack and defense scaling rates to study the offense-defense balance. We find that while attack scaling outpaces adversarial training across all models studied, larger adversarially trained models might give defense the advantage in the long run. These results underscore the utility of the scaling lens, and provide a paradigm for evaluating future attacks and defenses on frontier models.

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="2407.18213")

Code

Syntology Ran 12 of 13 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 12 ran with no contract checked.

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

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

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

12ran
1unverified

Licence: 0 of the 13 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 AlignmentResearch/scaling-llm-robustness-paper. “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.

broadcast_list_of_bools AlignmentResearch/scaling-llm-robustness-paper/robust_llm/dist_utils.py official repository ran MIT (permissive) · da2a3e19a7673714 · report
broadcast_list_of_floats AlignmentResearch/scaling-llm-robustness-paper/robust_llm/dist_utils.py official repository ran MIT (permissive) · 0da004cea081d237 · report
broadcast_list_of_ints AlignmentResearch/scaling-llm-robustness-paper/robust_llm/dist_utils.py official repository ran MIT (permissive) · 258b3739406f6c1a · report
check_mount_health AlignmentResearch/scaling-llm-robustness-paper/robust_llm/file_utils.py official repository ran MIT (permissive) · 63c28d2b87badc61 · report
equal_ignore_padding AlignmentResearch/scaling-llm-robustness-paper/robust_llm/mocks.py official repository ran MIT (permissive) · 68bcf1dfa30aec29 · report
format_attack_status AlignmentResearch/scaling-llm-robustness-paper/robust_llm/logging_utils.py official repository ran MIT (permissive) · 71575d7c8c147ebc · report
format_time AlignmentResearch/scaling-llm-robustness-paper/robust_llm/logging_utils.py official repository ran fingerprinted MIT (permissive) · d1b5c3c3f3ee2124 · report
format_training_status AlignmentResearch/scaling-llm-robustness-paper/robust_llm/logging_utils.py official repository ran MIT (permissive) · 1fbe44dd312fb51a · report
get_common_prefix AlignmentResearch/scaling-llm-robustness-paper/robust_llm/models/caching_wrapped_model.py official repository ran MIT (permissive) · e0e72f918568631c · report
get_common_prefix_for_batch AlignmentResearch/scaling-llm-robustness-paper/robust_llm/models/caching_wrapped_model.py official repository ran MIT (permissive) · c246fe4a192305e9 · report
get_n_adv_tr_rounds AlignmentResearch/scaling-llm-robustness-paper/robust_llm/experiment_utils.py official repository ran MIT (permissive) · 69abe1b5b8d47711 · report
get_rounds_to_evaluate AlignmentResearch/scaling-llm-robustness-paper/robust_llm/experiment_utils.py official repository ran MIT (permissive) · cbdb4b91ddba8d13 · report
assert_dicts_equal AlignmentResearch/scaling-llm-robustness-paper/robust_llm/debug_utils.py official repository unverified MIT (permissive) · 34acb4359ddfd45a · report

Tasks

Adversarial RobustnessLanguage ModelingLanguage Modellingmodel

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