IBM has introduced LLMON (LLM Object Notation), a new markup language designed to help large language models better understand the structure of their context. The technology is now available in two experimental preview models, granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview, which are derived from IBM’s Granite 4.1 base checkpoints.

What Happened

LLMON is an XML-like markup language that uses reserved special tokens to explicitly define structure and semantics for LLMs. Unlike JSON, which was designed for parsers, LLMON ensures that structural delimiters are distinct from content tokens, allowing the model to unambiguously identify instructions, data, and requirements. The system binds specific instructions to specific data payloads using unique IDs, similar to how functions are called in programming languages. This release includes a GitHub repository with a toolkit for converting existing JSON structures into LLMON without loss, as well as examples for integrating the notation into workflows using the Mellea framework.

Why It Matters

The primary advantage of LLMON is its resistance to indirect prompt injection attacks. By strictly separating instructions from data, the models are trained to treat data payloads as material to read rather than commands to follow. According to IBM, benchmarks show that attack success rates for LLMON models drop to nearly zero, avoiding 47% more attacks than the best frontier model tested and 95% more than the best open-source model in the OPI benchmark. Crucially, these safety gains do not compromise general capability; the preview models perform on par with standard Granite 4.1 Instruct models across standard benchmark categories. This approach addresses a major vulnerability in smaller models, which often fail unexpectedly when context structures are implicit or when malicious instructions are hidden in retrieved documents or user data.

The Bottom Line

LLMON represents a structural shift in how LLMs process context, moving from implicit formatting to explicit, token-based tagging. While currently an experimental preview not intended for production, the technology offers a promising path for developers seeking robust prompt injection defense without sacrificing model performance. The release includes visualization tools and notebooks for custom vocabulary adaptation, allowing teams to fine-tune the model’s understanding of domain-specific structures.