A retrieved document can contain instructions that compete with the task your assistant was actually given. Separating those inputs in the prompt may help a model distinguish them, but the separation still has to be tested and enforced elsewhere.
On November 12, IBM released experimental Granite 4.1 3B and 8B LLMON preview models. LLMON marks instructions, data and other prompt components as addressable blocks; an execution block identifies the instruction and the data it applies to. The models are trained to interpret that structure. IBM reports lower attack success on its indirect prompt-injection tests compared with conventional instruction-tuned models, but those tests primarily use static attacks.
For a retrieval workflow, try a bounded comparison using fictional documents: include ordinary passages alongside documents containing harmless instructions to change the answer. Run the same tasks against your current setup and the preview with its documented template. Measure both useful task accuracy and how often the inserted instruction changes the result; inspect failures and include multi-turn cases. This is a proposed experiment, not a measured deployment.
IBM calls these models experimental previews, not ready for production, and says the separation is learned behavior rather than an enforced guarantee. Adaptive attacks, integration behavior, hardware needs and performance on your own documents remain to be tested. Keep authorization outside the model, restrict tool access, and independently review consequential actions. A prompt format cannot replace those controls.
Sources: https://huggingface.co/blog/ibm-granite/llmon-an-llm-native-markup-language-now-in-granite • https://huggingface.co/ibm-granite/granite-4.1-8b-llmon-preview • https://arxiv.org/abs/2610.38120