UCSB-NLP-Chang / SemanticSmoothLinks
Implementation of paper 'Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing'
☆20Updated last year
Alternatives and similar repositories for SemanticSmooth
Users that are interested in SemanticSmooth are comparing it to the libraries listed below
Sorting:
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆97Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆163Updated last year
- ☆105Updated last year
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆59Updated 10 months ago
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆147Updated 4 months ago
- ☆40Updated 5 months ago
- ☆57Updated 2 years ago
- ☆182Updated last year
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆89Updated last year
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆83Updated 5 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆142Updated last year
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆96Updated 7 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆52Updated 10 months ago
- ☆39Updated 10 months ago
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆80Updated last year
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆46Updated last month
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆64Updated 7 months ago
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆85Updated 4 months ago
- Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks☆30Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆100Updated 6 months ago
- ☆63Updated 6 months ago
- ☆101Updated 7 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆89Updated 11 months ago
- A toolkit to assess data privacy in LLMs (under development)☆62Updated 8 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆66Updated last month
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆57Updated last year
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆58Updated last year
- A survey on harmful fine-tuning attack for large language model☆205Updated this week
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆30Updated 9 months ago
- LLM Unlearning☆174Updated last year