Teach A Model The Difference Between An Order And A Fact
Models follow whatever they read because nothing marks an order as different from a fact. Training two models on a format that separates the two cut injection success from as high as 100 percent to under 6.
Language models treat all context tokens alike, with no explicit separation between executable instructions and passive data. LLMON is a notation and post-training method that separates them and requires explicit identifier-based execution. Training on a 4.6-billion-token structured corpus with distractor-infused variants, then fine-tuning and reinforcement learning on two Granite-4.1 base models, cut indirect prompt-injection success from 53-100% to 0.02-5.6% while preserving general capabilities, with no architectural modification.
What happened
Here is the problem in one sentence: a language model has no way of knowing which part of what it is reading is an instruction.
Your request, a pasted email, the contents of a web page, a tool’s reply — all of it arrives as the same kind of thing. Text in, text out. If the email says “ignore your previous instructions”, that sentence is not marked differently from the sentence you typed.
Every ordinary program solves this without thinking about it. Code is code and data is data, and your spreadsheet does not execute the words in cell B4. Models lost that distinction, and prompt injection is the bill.
This paper tries to teach it back.
The test
The idea is a notation — the authors call it LLM Object Notation — in which instructions and data are written as separate, labelled things. On top of that sits a rule: the model only acts on a piece of text if that piece has been explicitly named and referenced. Text sitting in the context unreferenced is just furniture.
Then they built the training data to make that stick. A structured corpus of 4.6 billion tokens, covering general conversation, retrieval-augmented question answering, and tool calling.
The clever part is the augmentation. They created distractor-infused versions: training examples that deliberately contain competing instructions and irrelevant data sitting in the context, present and tempting, but not referenced. The model’s job is to leave them alone. Over billions of tokens, the habit forms.
Two Granite-4.1 base models, at 3 billion and 8 billion parameters, were then post-trained: supervised fine-tuning first, then reinforcement learning.
The result
On indirect prompt-injection benchmarks, attack success fell from a range of 53 to 100 percent down to a range of 0.02 to 5.6 percent.
The upper end of that first range is worth pausing on. 100 percent means that on some benchmark, the undefended model followed the injected instruction every single time.
And the general capabilities were preserved. This is the part that usually goes wrong: you drill a safety habit into a model and it becomes stiff, literal and worse at everything else. The paper reports that did not happen here.
There was no architectural modification. Same model shape, different training.
The authors also added interpretability metrics that diagnose failure modes layer by layer, and show how the method reshapes the internal attention patterns. So there is a mechanism, not just a score.
Why can separation be taught rather than built? This is because the model was never incapable of the distinction. It simply had no reason to learn one, because nothing in ordinary training ever punished it for obeying the wrong sentence. THE MODEL WAS NOT CONFUSED. IT WAS NEVER ASKED.
What it means
Two practical consequences.
First, this is cheap compared with the alternative. No new architecture, no second model running alongside, no filter on every call. The cost is paid once, in training, and then the model simply behaves better.
Second, and more awkwardly: it means the vulnerability was a choice. Not a deliberate one, but the result of nobody training for it. That reframes the whole security conversation around models, from “this is an inherent limitation” to “this is unfinished work”.
Therefore the question to put to a model vendor is no longer whether they have a filter. It is whether instruction-data separation was part of their post-training at all.
Business ideas from this paper
1. Separation testing for self-hosted models. Companies running open models have no idea whether theirs distinguishes instruction from data. The test is cheap and the answer is actionable. Buyer: firms self-hosting models for internal tools. First test: run the check on one customer’s deployed model and report the success rate.
2. Structured-format conversion for existing pipelines. The method needs inputs written with instructions and data separated, and most pipelines concatenate everything into one blob. Sell the rewrite. Buyer: teams with in-house retrieval or tool-calling systems. First test: convert one pipeline’s prompt assembly and measure injection success before and after.
3. Post-training as a service for small open models. Not everyone can run reinforcement learning, but plenty of firms would pay for a hardened version of a small model they already use. Buyer: companies with a 3B or 8B model in production and a compliance requirement. First test: harden one model for one customer and hand back both the model and the benchmark numbers.
How sure can you be?
Promising, with one significant gap.
The strengths: a large and purpose-built training corpus, the distractor augmentation is a genuinely good idea, capability was checked rather than assumed, two model sizes were tested, and the interpretability analysis offers a mechanism rather than only an outcome.
The gap: the paper reports results on indirect prompt-injection benchmarks, which are fixed attack sets. It does not report an adaptive attack designed against LLMON specifically, and that is the test that matters most for a defence. Separation trained against known attack shapes may be weaker against new ones.
Other limits: a preprint with no peer review. Both models come from one family, at modest sizes, so transfer to large frontier models is unproven. And the training recipe is not something a small team can simply repeat.
Do this today
Take any prompt you use at work that pastes in outside text — an email, a document, a search result. Look at where your instruction ends and the pasted material begins. If a reader could not tell, neither can the model.
Source: Post-Training Large Language Models with LLMON, October 2026. arXiv:2610.38120 · arxiv.org (preprint · not yet peer reviewed).
Just Out Tech explains new research in plain language. This article was drafted with AI assistance and checked by a human against the original source.
- Language models treat all context tokens uniformly, with no explicit separation between executable instructions and passive data, which produces injection vulnerability and ambiguous instruction binding (arXiv:2610.38120).
- LLMON is a notation that separates instructions from data and requires explicit identifier-based execution, so a piece of text must be referenced before it is acted on.
- The training corpus was 4.6 billion tokens across general, retrieval-augmented and tool-calling data, augmented with distractor-infused variants where competing instructions appear in context but are not referenced.
- Two Granite-4.1 base models at 3B and 8B were post-trained with supervised fine-tuning followed by reinforcement learning.
- Attack success on indirect prompt-injection benchmarks fell from 53-100% to 0.02-5.6% while general capabilities were preserved, with no architectural modification.
Post-training applied to two open base models of one family, with benchmark evaluation. No deployment reported.
Questions people ask
What does identifier-based execution mean?
The model only acts on a piece of text if that piece has been explicitly named and referenced, rather than acting on anything that sounds like an order.
What is a distractor-infused variant?
Training data that deliberately contains tempting instructions which are present but not referenced, so the model learns to leave them alone.
Does this need a new kind of model?
No. The paper reports no architectural modification. It is achieved through standard post-training.