yuplin2333 / representation-space-jailbreakLinks
Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794)
☆23Updated last year
Alternatives and similar repositories for representation-space-jailbreak
Users that are interested in representation-space-jailbreak are comparing it to the libraries listed below
Sorting:
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆58Updated 3 months ago
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆73Updated 10 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆60Updated 4 months ago
- This repo is for the safety topic, including attacks, defenses and studies related to reasoning and RL☆58Updated 4 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆66Updated last year
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆30Updated 2 years ago
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆22Updated 8 months ago
- ☆68Updated 9 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆82Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆60Updated last year
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆166Updated 8 months ago
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆103Updated 7 months ago
- ☆23Updated 6 months ago
- ☆118Updated 11 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆173Updated last year
- Red Queen Dataset and data generation template☆25Updated 3 weeks ago
- [NeurIPS 2024] Fight Back Against Jailbreaking via Prompt Adversarial Tuning☆10Updated last year
- To Think or Not to Think: Exploring the Unthinking Vulnerability in Large Reasoning Models☆32Updated 7 months ago
- Code and dataset for the paper: "Can Editing LLMs Inject Harm?"☆21Updated 3 weeks ago
- This is the code repository for "Uncovering Safety Risks of Large Language Models through Concept Activation Vector"☆47Updated 3 months ago
- ☆37Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆45Updated last year
- ☆24Updated last year
- Comprehensive Assessment of Trustworthiness in Multimodal Foundation Models☆25Updated 10 months ago
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆84Updated 8 months ago
- This is the official code for the paper "Vaccine: Perturbation-aware Alignment for Large Language Models" (NeurIPS2024)☆49Updated last year
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆89Updated 9 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆35Updated 2 years ago