Reproduce “SafeEvo: Deciphering the Safety Alignment Mechanism and Evolution in Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Miao Yu, Hao Huang, Lu Yuan, Yunpeng Li, Kun Wang, Zuming Jiang
SafeEvo identifies sparse refusal circuits in pretrained language models and tracks their changes during alignment. It then uses a pre-alignment circuit to restrict where low-rank safety updates act, without changing the training objective. In experiments, SCA lowers HarmBench attack-success rate versus width-matched random updates; on Llama-3-8B, the rates are 5.48% and 20.28%, respectively, across four seeds. This is benchmark-specific evidence.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.