lapisrocks / rpo
Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"
☆48Updated 5 months ago
Alternatives and similar repositories for rpo:
Users that are interested in rpo are comparing it to the libraries listed below
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 3 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆31Updated 11 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆19Updated last year
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆21Updated 3 weeks ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆44Updated 3 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆53Updated this week
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆18Updated 5 months ago
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆83Updated 4 months ago
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆16Updated 8 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆32Updated 2 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆51Updated 2 months ago
- JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and further assess …☆44Updated 6 months ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆88Updated 7 months ago
- ☆66Updated 2 months ago
- This is the official code for the paper "Vaccine: Perturbation-aware Alignment for Large Language Models" (NeurIPS2024)☆32Updated 2 months ago
- ☆30Updated 5 months ago
- Code for Arxiv When Do Universal Image Jailbreaks Transfer Between Vision-Language Models?☆18Updated last month
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆39Updated 2 months ago
- Data for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder"☆18Updated last year
- SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors☆36Updated 6 months ago
- ☆51Updated last year
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆67Updated 10 months ago
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆22Updated 2 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆45Updated 8 months ago
- Weak-to-Strong Jailbreaking on Large Language Models☆73Updated 10 months ago
- Code to replicate the Representation Noising paper and tools for evaluating defences against harmful fine-tuning☆16Updated last month
- Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks☆22Updated 6 months ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆36Updated 6 months ago
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆63Updated 6 months ago
- ☆89Updated last year