code space of paper "Safety Layers in Aligned Large Language Models: The Key to LLM Security" (ICLR 2025)
☆27Apr 26, 2025Updated last year
Alternatives and similar repositories for Safety-Layers
Users that are interested in Safety-Layers are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- This is the official code for the paper "Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning" (NeurIPS2024)☆30Sep 10, 2024Updated 2 years ago
- [EMNLP 2025] Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment☆17Jul 22, 2025Updated last year
- [NeurIPS 2025] Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation.☆14Jul 28, 2026Updated 3 months ago
- Code for “SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation(ICLR 2025)”☆30Oct 23, 2025Updated last year
- ☆24Dec 8, 2024Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- DSN jailbreak Attack & Evaluation Ensemble☆19Feb 7, 2026Updated 9 months ago
- Code for SafeMERGE (ACL 2026).☆15Oct 2, 2026Updated last month
- This is the unofficial re-implementation of "Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-t…☆13Jul 14, 2025Updated last year
- (ICLR '26) Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study☆13Oct 4, 2025Updated last year
- ☆47Jan 15, 2025Updated last year
- An implementation of SEAL: Safety-Enhanced Aligned LLM fine-tuning via bilevel data selection.☆24Feb 20, 2025Updated last year
- Code for our ICLR'25 paper: Moral Alignment for LLM Agents☆13Apr 10, 2025Updated last year
- NeurIPS'24 - LLM Safety Landscape☆41Oct 21, 2025Updated last year
- Accepted by ICLR 2026☆10Jun 9, 2026Updated 5 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆91Mar 30, 2025Updated last year
- Our research proposes a novel MoGU framework that improves LLMs' safety while preserving their usability.☆18Jan 14, 2025Updated last year
- ☆15Jan 30, 2026Updated 9 months ago
- [EMNLP 2025] Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking☆12Aug 22, 2025Updated last year
- ☆50Oct 1, 2024Updated 2 years ago
- ☆20Dec 23, 2025Updated 11 months ago
- Data and code for the paper: Finding Safety Neurons in Large Language Models☆31Jan 29, 2026Updated 9 months ago
- Code and dataset for the paper: "Can Editing LLMs Inject Harm?" [AAAI'26]☆21Dec 26, 2025Updated 10 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆24Jul 26, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- [AAAI-2026]MAJIC: Markovian Adaptive Jailbreaking. An automated black-box attack framework against LLMs that iteratively selects and fuse…☆20Jul 25, 2026Updated 3 months ago
- This is the official code for the paper "Virus: Harmful Fine-tuning Attack for Large Language Models Bypassing Guardrail Moderation"☆56Feb 2, 2025Updated last year
- ☆30Mar 11, 2026Updated 8 months ago
- Code for the paper "Jailbreak Large Vision-Language Models Through Multi-Modal Linkage"☆36Dec 6, 2024Updated last year
- A survey on harmful fine-tuning attack for large language model (ACM CSUR)☆258Sep 6, 2026Updated 2 months ago
- offical implementation of MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming☆18Jun 2, 2025Updated last year
- [EMNLP 2025] AutoSteer: Automating Steering for Safe Multimodal Large Language Models☆16Aug 21, 2025Updated last year
- ☆11Sep 24, 2026Updated 2 months ago
- Official codebase for "STAIR: Improving Safety Alignment with Introspective Reasoning"☆92Feb 26, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Multi-dimensional analysis of orthogonal safety directions in LLM alignment☆23Jun 12, 2026Updated 5 months ago
- [CVPR'26] SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy Optimization☆23Feb 19, 2026Updated 9 months ago
- Improved techniques for optimization-based jailbreaking on large language models (ICLR2025)☆148Apr 7, 2025Updated last year
- 利用mitmproxy抓取日本漫画app漫画图片☆11Jul 12, 2021Updated 5 years ago
- Code for paper: "PromptCARE: Prompt Copyright Protection by Watermark Injection and Verification", IEEE S&P 2024.☆35Aug 10, 2024Updated 2 years ago
- All code and data necessary to replicate experiments in the paper BAGM: A Backdoor Attack for Manipulating Text-to-Image Generative Model…☆13Sep 16, 2024Updated 2 years ago
- ☆62Jun 5, 2024Updated 2 years ago
Are these results useful?