UCSB-NLP-Chang / SemanticSmoothLinks
Implementation of paper 'Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing'
☆19Updated last year
Alternatives and similar repositories for SemanticSmooth
Users that are interested in SemanticSmooth are comparing it to the libraries listed below
Sorting:
- ☆104Updated last year
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆96Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆159Updated last year
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆44Updated 3 weeks ago
- [ACL 2024] Code and data for "Machine Unlearning of Pre-trained Large Language Models"☆59Updated 10 months ago
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆82Updated 4 months ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆90Updated last year
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆144Updated 3 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆58Updated 9 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆141Updated last year
- A toolkit to assess data privacy in LLMs (under development)☆62Updated 7 months ago
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆79Updated last year
- ☆56Updated 2 years ago
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆86Updated last year
- LLM Unlearning☆172Updated last year
- Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks☆29Updated last year
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated 7 months ago
- ☆62Updated 5 months ago
- ☆37Updated 4 months ago
- ☆39Updated 9 months ago
- Code for watermarking language models☆80Updated 11 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆106Updated 5 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆54Updated 9 months ago
- ☆41Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆58Updated 5 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆57Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆56Updated last year
- ☆180Updated last year
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆95Updated 6 months ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆99Updated 5 months ago