This is the unofficial re-implementation of "Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuning Attack" (ICML2025)
☆13Jul 14, 2025Updated last year
Alternatives and similar repositories for Antidote
Users that are interested in Antidote are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- (ICLR '26) Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study☆13Oct 4, 2025Updated last year
- This is the official code for the paper "Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturba…☆43Mar 22, 2025Updated last year
- ☆20Jun 21, 2025Updated last year
- Code for the paper "AsFT: Anchoring Safety During LLM Fune-Tuning Within Narrow Safety Basin".☆39Jul 10, 2025Updated last year
- 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
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- 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
- Github repo for NeurIPS 2024 paper "Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Models"☆32Dec 21, 2025Updated 10 months ago
- This is the official code for the paper "Vaccine: Perturbation-aware Alignment for Large Language Models" (NeurIPS2024)☆54Jan 15, 2026Updated 10 months ago
- Code to replicate the Representation Noising paper and tools for evaluating defences against harmful fine-tuning☆25Dec 12, 2024Updated last year
- Inference-time alignment for harmlessness through cross-model guidance (ACL 2024). Code + MM-Harmful Bench.☆38Oct 2, 2024Updated 2 years ago
- An implementation of SEAL: Safety-Enhanced Aligned LLM fine-tuning via bilevel data selection.☆24Feb 20, 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
- The code appendix of "SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steering" (AAAI-2025, to be impro…☆12Apr 15, 2025Updated last year
- This is the official code for the paper "Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable".☆36Mar 11, 2025Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- A survey on harmful fine-tuning attack for large language model (ACM CSUR)☆256Sep 6, 2026Updated 2 months ago
- Official implementation of "EDITS: Enhancing Dataset Distillation with Implicit Textual Semantics" (Accepted by ICASSP 2026).☆12May 11, 2026Updated 6 months ago
- [EMNLP 2025] Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment☆17Jul 22, 2025Updated last year
- ☆11Jun 20, 2023Updated 3 years ago
- Code for “SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation(ICLR 2025)”☆30Oct 23, 2025Updated last year
- ☆24Jan 7, 2026Updated 10 months ago
- NeurIPS'24 - LLM Safety Landscape☆41Oct 21, 2025Updated last year
- ☆16Feb 26, 2025Updated last year
- The official code repo for "Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasets" in ICML 2025.☆59Feb 12, 2026Updated 9 months ago
- 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.
- ☆24Dec 8, 2024Updated last year
- ☆50Oct 1, 2024Updated 2 years ago
- Code for safety test in "Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates"☆22Sep 21, 2025Updated last year
- ALINE: Joint Amortization for Bayesian Inference and Active Data Acquisition (Huang et al., NeurIPS 2025)☆11Apr 25, 2026Updated 6 months ago
- ☆37Oct 10, 2024Updated 2 years ago
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆71Jun 9, 2025Updated last year
- An open-source, modular RPG Engine with AI integrations for Backdrop Build V4☆10May 19, 2024Updated 2 years ago
- Official Pytorch Implementation for "Learning to Learn from APIs: Black-Box Data-Free Meta-Learning" (ICML-2023)☆11May 31, 2023Updated 3 years ago
- Code for ACL 2024 long paper: Are AI-Generated Text Detectors Robust to Adversarial Perturbations?☆33Jul 12, 2024Updated 2 years ago
- 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.
- The official implementation of USENIX Security'23 paper "Meta-Sift" -- Ten minutes or less to find a 1000-size or larger clean subset on …☆20Apr 27, 2023Updated 3 years ago
- Restore safety in fine-tuned language models through task arithmetic☆33Mar 28, 2024Updated 2 years ago
- Code to reproduce the experiments of the ICLR24-paper: "Sparse Model Soups: A Recipe for Improved Pruning via Model Averaging"☆12Oct 14, 2025Updated last year
- code space of paper "Safety Layers in Aligned Large Language Models: The Key to LLM Security" (ICLR 2025)☆27Apr 26, 2025Updated last year
- LEMMA: An effective and explainable way to detect multimodal misinformation with LVLM and external knowledge augmentation, incorporating …☆24Jun 4, 2025Updated last year
- Official PyTorch implementation for Frequency Domain-based Dataset Distillation [NeurIPS 2023]☆31May 7, 2024Updated 2 years ago
- Backdoor Safety Tuning (NeurIPS 2023 & 2024 Spotlight)☆26Nov 18, 2024Updated 2 years ago
Are these results useful?