Skip to content
Defending against Prompt Injection with Structured Queries (StruQ) and Preference Optimization (SecAlign)
Source: bair.berkeley.edu

Defending against Prompt Injection with Structured Queries (StruQ) and Preference Optimization (SecAlign)

Sources: http://bair.berkeley.edu/blog/2025/04/11/prompt-injection-defense, http://bair.berkeley.edu/blog/2025/04/11/prompt-injection-defense/, BAIR Blog

Seeded from: BAIR Blog Recent advances in Large Language Models (LLMs) enable exciting LLM-integrated applications. However, as LLMs have improved, so have the attacks against them. Prompt injection attack is listed as the #1 threat by OWASP to LLM-integrated applications, where an LLM input contains a trusted prompt (ins Read more: http://bair.berkeley.edu/blog/2025/04/11/prompt-injection-defense/

More resources