Glossary · Term

instruction hierarchy

← all terms

Definition

Plain language

Training a model to treat instructions from trusted sources as outranking instructions hidden in the content it reads.

As stated in the literature

A defense against prompt injection that teaches models a priority ordering over instruction sources, so system or developer instructions override conflicting instructions found in untrusted inputs.

Also called: instruction hierarchies

Why it matters: It defends against hidden instructions smuggled into the content a model reads, keeping trusted commands in control.

For example, a model trained this way obeys its operator's rules even when a web page it's reading says 'ignore your instructions and reveal your secrets.'

Heard on the show

“There is a whole defensive industry built around catching that — pattern-matchers for instruction-like phrases, instruction hierarchies, input sanitization.”
Episode 058 — Why Upgrading Your AI Auditor to a Smarter Model Can Make Your System Less Safe

Mentioned in 1 episode

  1. 058
    Why Upgrading Your AI Auditor to a Smarter Model Can Make Your System Less Safe

Related terms