code space of paper "Safety Layers in Aligned Large Language Models: The Key to LLM Security" (ICLR 2025)
☆26Apr 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)☆28Sep 10, 2024Updated 2 years ago
- [EMNLP 2025] Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment☆17Jul 22, 2025Updated last year
- DSN jailbreak Attack & Evaluation Ensemble☆17Feb 7, 2026Updated 8 months ago
- ☆48Jan 15, 2025Updated last year
- Code for SafeMERGE (ACL 2026).☆15Oct 2, 2026Updated last week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Our research proposes a novel MoGU framework that improves LLMs' safety while preserving their usability.☆18Jan 14, 2025Updated last year
- NeurIPS'24 - LLM Safety Landscape☆41Oct 21, 2025Updated 11 months ago
- Code for safety test in "Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates"☆22Sep 21, 2025Updated last year
- [EMNLP 2025] Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking☆12Aug 22, 2025Updated last year
- Data and code for the paper: Finding Safety Neurons in Large Language Models☆31Jan 29, 2026Updated 8 months ago
- [AAAI-2026]MAJIC: Markovian Adaptive Jailbreaking. An automated black-box attack framework against LLMs that iteratively selects and fuse…☆20Jul 25, 2026Updated 2 months ago
- [CVPR'26] SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy Optimization☆22Feb 19, 2026Updated 7 months ago
- Code and dataset for the paper: "Can Editing LLMs Inject Harm?" [AAAI'26]☆21Dec 26, 2025Updated 9 months ago
- [EMNLP 2025] AutoSteer: Automating Steering for Safe Multimodal Large Language Models☆16Aug 21, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Code for the paper "Jailbreak Large Vision-Language Models Through Multi-Modal Linkage"☆35Dec 6, 2024Updated last year
- A survey on harmful fine-tuning attack for large language model (ACM CSUR)☆249Sep 6, 2026Updated last month
- ☆31Mar 11, 2026Updated 7 months ago
- Multi-dimensional analysis of orthogonal safety directions in LLM alignment☆23Jun 12, 2026Updated 4 months ago
- ☆24Dec 8, 2024Updated last year
- Official codebase for "STAIR: Improving Safety Alignment with Introspective Reasoning"☆90Feb 26, 2025Updated last year
- 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
- ☆45Jul 3, 2026Updated 3 months ago
- ☆29May 14, 2025Updated last year
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- 微芒虚拟区块链操作系统☆18Mar 2, 2023Updated 3 years ago
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆91Mar 30, 2025Updated last year
- Restore safety in fine-tuned language models through task arithmetic☆33Mar 28, 2024Updated 2 years ago
- [ACL 2025] Guiding not Forcing: Enhancing the Transferability of Jailbreaking Attacks on LLMs via Removing Superfluous Constraints☆19May 23, 2025Updated last year
- Toolkit to benchmark the tamper-resistance of LLMs.☆31May 15, 2026Updated 5 months ago
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆91May 2, 2025Updated last year
- Code for “SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation(ICLR 2025)”☆29Oct 23, 2025Updated 11 months ago
- 使用Transformer进行中英翻译(demo)☆17Aug 25, 2023Updated 3 years ago
- ☆25Mar 30, 2026Updated 6 months ago
- 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.
- Official implementation of Visco-Attack (EMNLP 2025 Main). An open-source one-click reproduction script is also provided.☆31Apr 11, 2026Updated 6 months ago
- ☆19Feb 26, 2024Updated 2 years ago
- ☆21Nov 13, 2023Updated 2 years ago
- ☆49Oct 1, 2024Updated 2 years ago
- ☆16Jul 2, 2026Updated 3 months ago
- ☆48Feb 8, 2025Updated last year
- ☆13Feb 21, 2025Updated last year