Instructional Segment Embedding: improving large language model safety with instruction hierarchyInstructional Segment Embedding: Improving LLM Safety with Instruction Hierarchy
AI summary
The newly proposed Instructional Segment Embedding (ISE) embeds instruction priority information directly into the large language model architecture, enabling the model to distinguish and prioritize system messages, user prompts, and data. This approach compensates for the lack of instruction hierarchy at the architectural level, reducing the risk of low-priority user prompts overriding system safety protocols. On the Structured Query and Instruction Hierarchy benchmarks, average robust accuracy improves by up to 15.75% and 18.68%, respectively; instruction-following capability on AlpacaEval improves by up to 4.1%.