potentialpaper

Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:29 UTC · bf2f6c69890f ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "VQ9XKZRJIJ"
- }
- ],
- "title": "Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection",
- "authors": [],
- "abstract": "To achieve deeper safety alignment for large language models (LLMs), recent efforts have studied how to push safety interventions earlier into the pretraining stage, primarily by filtering unsafe data or rewriting it into safer forms.\nWe argue that pretraining-stage alignment should go beyond making the data safe: LLMs may generalize unsafe behaviors from seemingly benign pretraining data. To this end, we propose $\\textbf{Safety Reflection Pretraining}$,\na pretraining-stage alignment method which regularly inserts short safety reflections between sentences in pretraining corpora. This integrates self-monitoring directly into language modeling, establishing a foundational capability that is subsequently reinforced by compatible post-training.\nOur experiments with 1.7B models pretrained on FineWeb-Edu show that Safety Reflection Pretraining improves safety classification accuracy and substantially reduces the success rates of inference-stage and finetuning attacks.\nComplementary to our real-world experiments, we also introduce a fully controlled synthetic environment, $\\textbf{MedSafetyWorld}$, with a clear definition of safety and a reasoning structure under which we find that models can easily generalize unsafe behaviors from safe data.\nAblations in MedSafetyWorld further demonstrate a clear advantage of Safety Reflection Pretraining over data filtering and rewriting in preventing models from acting on unsafe behaviors.\nTaken together, our findings suggest that pretraining alignment should not only make the training data safe, but also shape the behaviors that models are likely to acquire from safe data.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "562a8397-e88b-4aeb-8466-472c03d53382"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection",
+ "authors": [],
+ "abstract": "To achieve deeper safety alignment for large language models (LLMs), recent efforts have studied how to push safety interventions earlier into the pretraining stage, primarily by filtering unsafe data or rewriting it into safer forms.\nWe argue that pretraining-stage alignment should go beyond making the data safe: LLMs may generalize unsafe behaviors from seemingly benign pretraining data. To this end, we propose $\\textbf{Safety Reflection Pretraining}$,\na pretraining-stage alignment method which regularly inserts short safety reflections between sentences in pretraining corpora. This integrates self-monitoring directly into language modeling, establishing a foundational capability that is subsequently reinforced by compatible post-training.\nOur experiments with 1.7B models pretrained on FineWeb-Edu show that Safety Reflection Pretraining improves safety classification accuracy and substantially reduces the success rates of inference-stage and finetuning attacks.\nComplementary to our real-world experiments, we also introduce a fully controlled synthetic environment, $\\textbf{MedSafetyWorld}$, with a clear definition of safety and a reasoning structure under which we find that models can easily generalize unsafe behaviors from safe data.\nAblations in MedSafetyWorld further demonstrate a clear advantage of Safety Reflection Pretraining over data filtering and rewriting in preventing models from acting on unsafe behaviors.\nTaken together, our findings suggest that pretraining alignment should not only make the training data safe, but also shape the behaviors that models are likely to acquire from safe data.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}