GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuning
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
[2603.10243] GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuning Skip to main content Search Submit Donate Log in Computer Science > Computation and Language arXiv:2603.10243 (cs) [Submitted on 10 Mar 2026 ( v1 ), last revised 24 Aug 2026 (this version, v2)] Title: GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuning Authors: Zhouxiang Fang , Jiawei Zhou , Hanjie Chen View PDF HTML (experimental) Abstract: Recent studies show that the safety alignment of large language models (LLMs) can be easily compromised even by seemingly non-adversarial fine-tuning. To preserve safety alignment during fine-tuning, a widely used strategy is to jointly optimize safety and task objectives by mixing in the original alignment data, which is typically inaccessible even for open-weight LLMs. Inspired by generative replay in continual learning, we propose Generative Replay for Safety Alignment Preservation (GR-SAP), a unified framework that synthesizes domain-specific alignment data from LLMs and integrate them during downstream adaption to preserve safety alignment. Theoretical and empirical analyses demonstrate this synthetic data serves as a reliable proxy for the original alignment data. Experiments across various models and downstream tasks show that GR-SAP substantially mitigates fine-tuning-induced safety degradation while maintaining comparable downstream performance. Our code is available at this https URL . Subjects: Computation and Language (cs.CL) Cite as: arXiv:2603.10243 [cs.CL] (or arXiv:2603.10243v2 [cs.CL] for this version) https://doi.org/10.48550/arXiv.2603.10243 Focus to learn more arXiv-issued DOI via DataCite Submission history From: Zhouxiang Fang [ view email ] [v1] Tue, 10 Mar 2026 21:40:09 UTC (285 KB) [v2] Mon, 24 Aug 2026 19:19:21 UTC (275 KB) Full-text links: Access Paper: View PDF HTML (experimental) TeX Source view license Additional Features Audio Summary Current browse context: cs.CL < prev | next > new | recent | 2026-03 Change to browse by: cs References & Citations SciX Google Scholar Semantic Scholar export BibTeX citation Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer ( What is the Explorer? ) Connected Papers Toggle Connected Papers ( What is Connected Papers? ) Litmaps Toggle Litmaps ( What is Litmaps? ) scite.ai Toggle scite Smart Citations ( What are Smart Citations? ) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv ( What is alphaXiv? ) Links to Code Toggle CatalyzeX Code Finder for Papers ( What is CatalyzeX? ) DagsHub Toggle DagsHub ( What is DagsHub? ) GotitPub Toggle Gotit.pub ( What is GotitPub? ) Huggingface Toggle Hugging Face ( What is Huggingface? ) ScienceCast Toggle ScienceCast ( What is ScienceCast? ) Demos Demos Replicate Toggle Replicate ( What is Replicate? ) Spaces Toggle Hugging Face Spaces ( What is Spaces? ) Spaces Toggle TXYZ.AI ( What is TXYZ.AI? ) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower ( What are Influence Flowers? ) Core recommender toggle CORE Recommender ( What is CORE? ) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs . Which authors of this paper are endorsers? | Disable MathJax ( What is MathJax? ) We gratefully acknowledge support from our major funders , member institutions , and all contributors. About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Related documents
- GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuning#670518
- Neural replay is connected to latent cause inference and supports fast generalization#283929
- Echo: Learning-based Matching Decompilation using Trusted Back Translation#1012875
- Echo: Learning-based Matching Decompilation using Trusted Back Translation#965333
- ESSA: Evolutionary Strategies for Scalable Alignment#987451
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive