AIToday
Large Language ModelsHugging Face BlogPublished: Nov 13, 2026, 06:00 JST

IBM's granite-4.1-3b-LLMON-preview tags prompt parts to block injections

Send on LINE
IBM's granite-4.1-3b-LLMON-preview tags prompt parts to block injections

3 Key Points

  1. What happened

    IBM released granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview, experimental models trained to consume and generate LLMON, a markup language that uses reserved special tokens to mark instructions, data, and requirements as separate addressable blocks.

  2. Why it matters

    Because each instruction is bound only to the exact data it applies to, hidden injected commands in user data are mostly ignored — a structural separation, not an added guardrail — while general capability stays on par with Granite 4.1 Instruct models.

WHO IT HITSDevelopers and security teams building LLM applications that process untrusted text — such as RAG pipelines pulling in retrieved documents or tool responses — can swap in the LLMON previews for Granite 4.1 3B or 8B and, per the release, see comparable general performance with much stronger resistance to indirect prompt injection, without a conversion pipeline.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The release addresses a structural weakness IBM identifies in how LLMs receive context: system prompts, conversation turns, retrieved documents, tool responses, and output constraints all arrive flattened into one stream, leaving the model to infer which part is the task and which is merely material. JSON, IBM argues, was built for parsers rather than causal models, since a quotation mark inside a document and one closing a field are the same token. LLMON instead marks each span with reserved special-token delimiters, states nesting locally, and uses unique block IDs so an instruction can point to data anywhere in the context — the way a function call names its arguments. The two preview models start from Granite 4.1 base checkpoints rather than the released instruct models, so the behavior is learned during post-training. IBM re-serialized an instruction-tuning corpus into LLMON and augmented it with decoy instructions and data blocks deliberately left unbound, so the model learns to follow only the dependencies named in the execution block. A final DPO stage on a thousand on-policy preference pairs built from the model's own responses to injection attempts follows five GRPO stages. IBM notes the resulting privilege rule — instructions reached through an execution block are authoritative, while anything reached as input is material to read — is a learned behavior, not an enforced guarantee. LLMON also enriches rather than replaces chat templates, and tag vocabularies can be customized and tuned with a LoRA, as IBM demonstrates on the ScienceWorld benchmark.

FAQ
Do I need to convert my existing JSON pipelines to use LLMON?
No pipeline conversion is required to try the preview models. IBM also provides lossless JSON-to-LLMON converters for teams that want to go deeper and preserve typed structure.
How does LLMON differ from JSON?
JSON was designed for parsers, not causal language models: structural delimiters like quotation marks are ordinary tokens that can also appear in normal text. LLMON uses reserved special tokens for structure, so structure and content occupy separate parts of the vocabulary.
Are the LLMON models safe for production use now?
No. IBM describes them as an experimental preview, ready for exploration and evaluation but not for production.
Hugging Face BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleFour Amazon Bedrock settings that swing inference costs