Papers › Curriculum Learning for Safety Alignment

Curriculum Learning for Safety Alignment

25 May 2026arXiv:2605.26315added by Syntology

Sandeep Kumar, Virginia Smith, Chhavi Yadav

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Direct Preference Optimisation (DPO) is widely used for safety alignment in large language models. However, prior work shows it is brittle and exhibits poor out-of-distribution (OOD) generalisation. In this paper, we investigate whether Curriculum Learning can improve the robustness of DPO-based safety alignment. We propose Staged-Competence, a curriculum-based framework that organises preference data by difficulty, employs competence-based sampling, and progressively updates the reference model during training. Averaged across three model families, Staged-Competence reduces OOD harmful response rates by 16% and jailbreak attack success rates by 20%, while preserving general capabilities with near-zero over-refusal. We further show that Staged-Competence (1) matches baseline safety with only 75% of the training data and (2) yields better separation between safe and unsafe responses. Staged-Competence is agnostic to the policy optimisation loss and can extend to other DPO variants and alignment domains. Our code and data are available at https://github.com/Sandeep5500/curriculum-learning-for-safety.

PaperPDFCode 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="2605.26315")

Code

Syntology Ran 10 of 19 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Sandeep5500/curriculum-learning-for-safety found in paper text by Syntology report

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

19 samples harvested; 10 ran; 0 honoured the contract we drafted; 9 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.

10ran
9unverified

Licence: 19 of the 19 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 Sandeep5500/curriculum-learning-for-safety. “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.

build_prefill_prompts Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_prefill.py found in paper text by Syntology ran no licence file found · pointer only · 45789c901dd4ce02 · report
extract_loss_curve_stitched Sandeep5500/curriculum-learning-for-safety/src/eval/plot_training_loss.py found in paper text by Syntology ran no licence file found · pointer only · 2c4656fcd9b823f3 · report
format_alpaca_prompt Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_harmless.py found in paper text by Syntology ran no licence file found · pointer only · d6ec0bfb9cfb1384 · report
get_benchmark_loader Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_safety.py found in paper text by Syntology ran no licence file found · pointer only · 7f6753c7709c7444 · report
load_alpaca Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_harmless.py found in paper text by Syntology ran no licence file found · pointer only · 271d630e735cf259 · report
load_curri_dpo_trainer_states Sandeep5500/curriculum-learning-for-safety/src/eval/plot_training_loss.py found in paper text by Syntology ran no licence file found · pointer only · 4cd6b92eb2e89956 · report
load_jsonl Sandeep5500/curriculum-learning-for-safety/src/phase1/create_curriculum.py found in paper text by Syntology ran no licence file found · pointer only · 12db38ad37394041 · report
load_pairs Sandeep5500/curriculum-learning-for-safety/src/interpretability/probe_safety.py found in paper text by Syntology ran no licence file found · pointer only · 720e3446a250db15 · report
make_gpt_classifier Sandeep5500/curriculum-learning-for-safety/src/eval/judge_safety_gpt.py found in paper text by Syntology ran no licence file found · pointer only · 73ed615e55c37367 · report
score_file Sandeep5500/curriculum-learning-for-safety/src/eval/judge_safety_gpt.py found in paper text by Syntology ran no licence file found · pointer only · 9cdf8248df8a1707 · report
extract_activations Sandeep5500/curriculum-learning-for-safety/src/interpretability/probe_safety.py found in paper text by Syntology unverified no licence file found · pointer only · 093465f26ea25603 · report
generate_continuations Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_prefill.py found in paper text by Syntology unverified no licence file found · pointer only · 208879c2c344db03 · report
generate_responses Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_safety.py found in paper text by Syntology unverified no licence file found · pointer only · 06c4469609d4a987 · report
generate_responses Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_harmless.py found in paper text by Syntology unverified no licence file found · pointer only · 88b85dc93019c4bb · report
generate_responses Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_jailbreak.py found in paper text by Syntology unverified no licence file found · pointer only · fb47c61237e83037 · report
load_hellaswag Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_quality.py found in paper text by Syntology unverified no licence file found · pointer only · 8a705943c32837e2 · report
load_mmlu Sandeep5500/curriculum-learning-for-safety/src/eval/evaluate_quality.py found in paper text by Syntology unverified no licence file found · pointer only · 6e6dbec92e02f2b3 · report
load_model Sandeep5500/curriculum-learning-for-safety/src/interpretability/probe_safety.py found in paper text by Syntology unverified no licence file found · pointer only · 28a23205d560ec6c · report
load_trainer_state Sandeep5500/curriculum-learning-for-safety/src/eval/plot_training_loss.py found in paper text by Syntology unverified no licence file found · pointer only · d2bebfaca70f72f4 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.26315, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

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