AI
Researchers Introduce LLMON, a Markup Language to Help LLMs Parse Structure and Meaning
A new markup language designed specifically for large language models aims to clarify instructions and data in prompts, reducing confusion and improving safety.
Large language models typically accept and produce simple text strings, but the information sent to these systems often contains richer layers of structure and meaning that plain text alone cannot express. A research team has proposed a solution: LLMON (LLM Object Notation), a markup language built from the ground up to encode semantic information in ways that LLMs can reliably understand.
The Problem with Unstructured Prompts#
Most prompts to modern LLMs mingle two distinct elements—operational instructions and actual data—without clear delineation. A request like "Summarize this paper into a paragraph" followed by the paper itself presents both the directive and the source material in an undifferentiated text stream. This ambiguity can cause models to misinterpret what they're being asked to do and creates security gaps, most notably enabling prompt injection attacks, where malicious input is disguised within data to manipulate model behavior.
LLMON's Design and Purpose#
The LLMON markup language provides a way to tag and organize textual content so that its role and structure are explicit. By annotating which portions of a prompt serve as instructions, which as data, and which as metadata, the framework lets LLMs process information more accurately. The approach mirrors how programming languages use type systems—enabling validation, optimization, and safety checks at multiple stages of development and execution.
Potential Applications#
According to the research, LLMON's structured metadata can improve LLM performance and security across three key areas:
- Training: Models can learn to recognize and respect semantic boundaries built into training data
- Prompting: Users can craft clearer, more explicit requests that reduce ambiguity
- Inference implementation: System developers can apply rules and safeguards based on annotated content types
Evidence and Next Steps#
The team has published preliminary empirical results demonstrating value in both training and inference contexts. Beyond immediate technical gains, they outline broader research opportunities enabled by bringing structural awareness to the LLM interface itself, opening the door to more robust and interpretable model interactions.

