
LLMON: An LLM-Native Markup Language, Now Integrated in Granite 4.1 3B and 8B
IBM has introduced LLMON (LLM Object Notation), an LLM-native markup language designed to explicitly communicate structure and semantics to causal large language models. Released on Hugging Face, two experimental preview models derived from the Granite 4.1 base models—granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview—have been trained to consume and generate LLMON-marked text. LLMON wraps semantically coherent components and data schemas in reserved special-token delimiters with meaningful tags and unique IDs. This explicit instruction-and-data separation addresses model brittleness and significantly mitigates indirect prompt injection risks, dropping attack success rates to near zero compared to conventional instruction-tuned models.
Key Takeaways
- Introduction of LLMON (LLM Object Notation), an LLM-native markup language for communicating explicit structure and semantics.
- Release of two experimental preview models derived from Granite 4.1 base models: granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview.
- Accompanying GitHub repository featuring a developer toolkit, workflow examples, and templates.
- Significant reduction in indirect prompt injection success rates due to explicit instruction and data separation.
In-Depth Analysis
Addressing Context Brittleness with Explicit Structure
Large language models rely heavily on their context windows, which accumulate diverse components over long trajectories such as system prompts, past conversation turns, tool responses, user data, and reasoning chains. Much of this structure is either implicit or encoded in formats like JSON that were not originally designed for LLMs to digest. This lack of explicit structure often causes smaller models to behave brittly and fail unexpectedly. LLMON addresses this limitation by wrapping semantically coherent components in meaningful tags with reserved special-token delimiters, enabling unambiguous data schemas and nesting for causal LLMs.
Function-Analogous Binding and Security Improvements
LLMON utilizes unique IDs to point to specific instructions residing anywhere within the context, binding them directly to corresponding data payloads in a manner analogous to function calls and argument passing in programming languages. Furthermore, this explicit separation between instructions and untrusted data ensures that indirect prompt injections hidden within user data are largely ignored by LLMON-enabled models, driving attack success rates down to nearly zero compared to standard instruction-tuned counterparts.
Industry Impact
The release of LLMON-preview models for Granite 4.1 3B and 8B highlights an important shift toward native structural interfaces for small language models. By tackling foundational context ambiguity and security vulnerabilities like prompt injections at the language model interface level, developers gain robust tools for building safer, more reliable AI agents and application workflows.
Frequently Asked Questions
Question: What is LLMON?
Answer: LLMON (LLM Object Notation, pronounced "lemon") is an LLM-native markup language developed to explicitly communicate structure, semantics, and data schemas to language models using reserved special-token delimiters and unique IDs.
Question: Which models have been released with LLMON support?
Answer: Two experimental preview models derived from Granite 4.1 base models have been released: granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview.
Question: How does LLMON improve security against prompt injections?
Answer: LLMON enforces an explicit separation between instructions and untrusted user data, allowing models to largely ignore indirect prompt injections hidden within payloads and reducing attack success rates to nearly zero.

