Improved Large Language Model Jailbreak Detection via Pretrained Embeddings
Erick Galinkin, Martin Sablotny · 2024
Read Improved Large Language Model Jailbreak Detection via Pretrained Embeddings by Erick Galinkin, Martin Sablotny (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-01547.txt.
Description
Erick Galinkin and Martin Sablotny propose in 2024 a better way to catch jailbreak prompts aimed at large language models. Such prompts try to trick a model into giving answers that break safety, privacy, or content rules. Blocking the prompt early can stop the harmful reply before it starts.
Their method turns each prompt into a numerical embedding using models pre-trained for search-like tasks. Classic machine learning classifiers then judge whether the embedding looks like a jailbreak attempt. The authors report that this pairing beats every public method from open source security tools for language models. The work sits in a growing line of defenses that owners of these models add on top of training-time safeguards. It treats prompt detection as a sorting task rather than a reading task, which keeps the check fast and simple.
Catalog record
| CREATOR | Erick Galinkin, Martin Sablotny |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-01547