Reasoned Safety Alignment: Ensuring jailbreak defense via Answer-Then-CheckReasoned Safety Alignment: Ensuring Jailbreak Defense via Answer-Then-Check
The paper proposes a safety alignment method named Answer-Then-Check, which has the model first answer directly in its thinking, then critically evaluate the safety of that answer, and then decide whether to provide it to the user, in order to enhance defenses against malicious prompts. To this end, the authors constructed the Reasoned Safety Alignment (ReSA) dataset containing 80K samples. The paper claims that this method reaches the Pareto frontier between stronger safety capability and a lower over-refusal rate, and that the fine-tuned model maintains general reasoning ability on MMLU, MATH500, and HumanEval; unlike post-hoc detection, which can only directly refuse sensitive harmful queries (such as self-harm), this method enables the model to perform safe completion. The authors' results also show that inference-time strategies alone are not sufficient and that safety training is still necessary, and that only 500 samples can achieve performance comparable to the full dataset. The dataset is publicly available on HuggingFace: https://huggingface.co/datasets/ByteDance-Seed/ReSA。