Skip to content

Instructional Segment Embedding: improving large language model safety with instruction hierarchyInstructional Segment Embedding: Improving LLM Safety with Instruction Hierarchy

arXiv· arXiv:2410.09102· ICLR 2025· Tong Wu, Shujian Zhang, Kaiqiang Song, Silei Xu, Sanqiang Zhao, Ravi Agrawal, Sathish Reddy Indurthi, Chong Xiang, Prateek Mittal, Wenxuan Zhou·Indexed by this site · 24 days ago· Originally publishedDefenses
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%.

Read originalICLR 2025