Skip to content

Enhancing prompt injection attacks against large language models by poisoning the alignment processEnhancing Prompt Injection Attacks to LLMs via Poisoning Alignment

arXiv· arXiv:2410.14827· ACM Workshop on Artificial Intelligence and Security· Zedian Shao, Hongbin Liu, Jaden Mu, Neil Zhenqiang Gong·Indexed by this site · 27 days ago· Originally publishedAttacks
AI summary

The researchers propose PoisonedAlign, which makes the trained LLM more vulnerable to multiple prompt injection attacks by adding poisoned samples to the alignment dataset. Experiments on five LLMs and two alignment datasets show that even poisoning only a small amount of alignment data increases the model's vulnerability to multiple prompt injection attacks; at the same time, the model's performance on standard capability benchmarks remains basically unchanged, making this kind of manipulation difficult to detect through general automated evaluations. The implementation code has been released at https://github.com/Sadcardation/PoisonedAlign。

Read originalACM Workshop on Artificial Intelligence and Security