I use this page to record observations about instruction-hierarchy protections and prompt injection in summarization. These examples connect to prompt injection and agent security, layered agent defenses, and prompt injection fundamentals.
On 2024-07-19, I sarcastically expressed disappointment that GPT-4o mini's “instruction hierarchy” protection against subverting the system prompt through prompt injection had apparently failed: “Aah well, so much for GPT-4o mini's "instruction hierarchy" protection against subverting the system prompt though prompt injection”.
On 2024-07-29, I noted that it was affecting their on-device summarization feature, as described in the new Apple Foundation Language Models paper.
I said Apple attempted to avoid the summarization prompt-injection issue with an extra synthetic dataset.
I expected that will work well enough to protect against accidental attacks in documents being summarized but wouldn't be strong enough to prevent an adversarial attack from getting through.
I shared the full Apple Foundation Language Models paper at https://t.co/KrusGYv3ef.
Related: agent security research, prompt injection in smart devices, ai agent security examples