paper-with-me

Papers

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

2026-06-17 · Jinhan Li, Kexian Tang, Yihan Xu, Zhuorui Ye, Kaifeng Lyu arxiv

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. We argue that pretraining-stage alignment should go beyond making the data safe: LLMs may compose seemingly benign knowledge and capabilities into unsafe behaviors. To this end, we propose Safety Reflection Pretraining, a pretraining-stage alignment method which regularly inserts short safety reflections into pretraining corpora to integrate self-monitoring directly into language modeling, establishing a foundational capability that is subsequently reinforced by compatible post-training. Our 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. Complementary to our real-world experiments, we also introduce a fully controlled synthetic environment, MedSafetyWorld, with a clear definition of safety and a reasoning structure under which models can easily generalize unsafe behaviors from safe data. Ablations in MedSafetyWorld further demonstrate a clear advantage of Safety Reflection Pretraining in preventing models from acting on unsafe behaviors generalized from safe data, compared with data filtering and rewriting. Taken 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.

📄 PDF Abstract BibTeX arXiv:2606.19168

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Guardrails in Logit Space: Safety Token Regularization for LLM Alignment

2026-04-19 · Thong Bach, Truyen Tran arxiv

Fine-tuning well-aligned large language models (LLMs) on new domains often degrades their safety alignment, even when using benign datasets. Existing safety alignment techniques primarily focus on pretraining, leaving fi…

parameter-efficient fine-tuningReinforcement Learning

BSO: Safety Alignment Is Density Ratio Matching

2026-05-12 · Tien-Phat Nguyen, Truong Nguyen, Thin Nguyen, Duy Minh Ho Nguyen 외 arxiv

Aligning language models for both helpfulness and safety typically requires complex pipelines-separate reward and cost models, online reinforcement learning, and primal-dual updates. Recent direct preference optimization…

Reinforcement Learning

Path Drift in Large Reasoning Models:How First-Person Commitments Override Safety

2025-10-11 · Yuyi Huang, Runzhe Zhan, Lidia S. Chao, Ailin Tao 외 arxiv

As large language models (LLMs) are increasingly deployed for complex reasoning tasks, Long Chain-of-Thought (Long-CoT) prompting has emerged as a key paradigm for structured inference. Despite early-stage safeguards ena…

Green-VLA: Staged Vision-Language-Action Model for Generalist Robots

2026-01-31 · I. Apanasevich, M. Artemyev, R. Babakyan, P. Fedotova 외 arxiv

We introduce Green-VLA, a staged Vision-Language-Action (VLA) framework for real-world deployment on the Green humanoid robot while maintaining generalization across diverse embodiments. Green-VLA follows a five stage cu…

Out-of-Distribution Detection

Mean Teacher DETR with Masked Feature Alignment: A Robust Domain Adaptive Detection Transformer Framework

2023-10-24 · Weixi Weng, Chun Yuan

Unsupervised domain adaptation object detection (UDAOD) research on Detection Transformer(DETR) mainly focuses on feature alignment and existing methods can be divided into two kinds, each of which has its unresolved iss…

Domain Adaptationobject-detectionObject DetectionStyle Transfer+2