使用 LLMON 对大语言模型进行后训练
摘要
IBM Research 推出了 LLMON(LLM 对象表示法),这是一种将可执行指令与被动数据分离的后训练方法。在微调 Granite-4.1 模型时,该方法将提示注入攻击的成功率从 53–100% 降至 0.02–5.6%,同时保留了模型的通用能力。
arXiv:2610.38120v1 Announce Type: new
Abstract: Large Language Models (LLMs) treat all context tokens uniformly, lacking explicit separation between executable instructions and passive data. This leads to prompt injection vulnerabilities, ambiguous instruction binding, and unreliable execution control. We present a post-training methodology using LLMON (LLM Object Notation), a framework that enables separating instructions from data and requires explicit identifier-based execution. We construct a large-scale structured training corpus of 4.6B tokens spanning general, RAG (Retrieval-Augmented Generation), and tool-calling data, augmented with distractor-infused variants in which competing instructions and irrelevant data segments are present in context but not referenced. Post-training two Granite-4.1 base models (3B and 8B) through supervised fine-tuning followed by reinforcement learning, we show that LLMON-structured supervision reduces attack success rates on indirect prompt-injection benchmarks from 53-100% to 0.02-5.6% while preserving general capabilities. We further introduce attention-based interpretability metrics that diagnose failure modes at individual transformer layers for structured inputs, revealing how our approach reshapes internal attention patterns. Our results demonstrate that explicit execution semantics can be taught through standard post-training without architectural modification.
查看缓存全文
缓存时间: 2026/10/31 09:14
# Post-Training Large Language Models with LLMON
Source: [https://arxiv.org/html/2610.38120](https://arxiv.org/html/2610.38120)
Michael HindAffiliation:IBM Research, Yorktown Heights, NY, USAChad DeLucaAffiliation:IBM Research, San Jose, CA, USANathan FultonAffiliation:IBM Research, Cambridge, MA, USAShubhi AsthanaAffiliation:IBM Research, San Jose, CA, USAFarhan AhmedAffiliation:IBM Research, San Jose, CA, USAAnisa HalimiAffiliation:IBM Research, Dublin, Irelandbasel@ibm\.com,\{hindm, delucac\}@us\.ibm\.com,nathan@ibm\.com,sasthan@us\.ibm\.com,\{farhan\.ahmed, anisa\.halimi\}@ibm\.com,\{yzhu, mmartino\}@us\.ibm\.com,david\.d\.cox@ibm\.com,dgutfre@us\.ibm\.comYada ZhuAffiliation:IBM Research, Yorktown Heights, NY, USAMauro MartinoAffiliation:IBM Research, Cambridge, MA, USADavid CoxAffiliation:IBM Research, Cambridge, MA, USADan GutfreundAffiliation:IBM Research, Cambridge, MA, USA
###### Abstract
Large Language Models \(LLMs\) treat all context tokens uniformly, lacking explicit separation between executable instructions and passive data\. This leads to prompt injection vulnerabilities, ambiguous instruction binding, and unreliable execution control\. We present a post\-training methodology using LLMON \(LLM Object Notation\), a framework that enables separating instructions from data and requires explicit identifier\-based execution\. We construct a large\-scale structured training corpus of 4\.6B tokens spanning general, RAG \(Retrieval\-Augmented Generation\), and tool\-calling data, augmented with distractor\-infused variants in which competing instructions and irrelevant data segments are present in context but not referenced\. Post\-training two Granite\-4\.1 base models \(3B and 8B\) through supervised fine\-tuning followed by reinforcement learning, we show that LLMON\-structured supervision reduces attack success rates on indirect prompt\-injection benchmarks from 53\-100% to 0\.02\-5\.6% while preserving general capabilities\. We further introduce attention\-based interpretability metrics that diagnose failure modes at individual transformer layers for structured inputs, revealing how our approach reshapes internal attention patterns\. Our results demonstrate that explicit execution semantics can be taught through standard post\-training without architectural modification\.
## 1Introduction
Large Language Models \(LLMs\) process all tokens in a context window through the same attention mechanism, without any built\-in distinction between executable instructions, passive data, and auxiliary context\([Vaswani et al\., 2017](https://arxiv.org/html/2610.38120#bib.bib5);[Kaddour et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib20)\)\. This architectural uniformity means that any token can equally influence model behavior, whether it originates from a user instruction, a retrieved document, or an injected adversarial payload\. The practical consequences are well\-documented: prompt injection attacks that hijack model execution\([Greshake et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib7);[Perez and Ribeiro, 2022](https://arxiv.org/html/2610.38120#bib.bib21)\), ambiguous referential binding when multiple instructions coexist in context \(e\.g\., “execute the second task”\), and degraded reliability in compositional scenarios involving retrieval\-augmented generation \(RAG\) and tool calling\([Yao et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib22);[Schick et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib23)\)\. These failure modes stem from a single root cause: the model has no mechanism to distinguish executable instructions from passive data at the token level\. Current instruction\-tuning approaches\([Ouyang et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib2);[Wei et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib4)\)train models to follow instructions implicitly, based on position, formatting conventions \(e\.g\., “chat templates”\), and statistical patterns, thus lack the mechanism to distinguish which instruction to execute when multiple candidates exist in a given prompt\.
In this paper, we present a structured post\-training methodology built on LLMON\([Hind et al\., 2026](https://arxiv.org/html/2610.38120#bib.bib19);[LLMON Team, 2026](https://arxiv.org/html/2610.38120#bib.bib27)\)\(LLM Object Notation\), a hierarchical tagging framework that introduces explicit instruction\-data separation and identifier\-based execution binding into the LLM interface\. Under LLMON, each instruction and data segment is wrapped in typed, uniquely identified blocks, and execution occurs only through explicit execution calls that reference specific instruction and data identifiers\. This design steers the model toward a clear semantic principle where only explicitly invoked instructions are executed\. Our contributions are:
1. 1\.We describe a scalable data pipeline that transforms instruction\-tuning corpora \(general, RAG, and tool\-calling\) into LLMON\-structured training data, including distractor\-augmented variants with up to three competing instructions and irrelevant data segments\.
2. 2\.We conduct a post\-training evaluation on two base models \(Granite\-4\.1\-3B\-BaseandGranite\-4\.1\-8B\-Base\) under full fine\-tuning with 4\.6B tokens, followed by reinforcement learning\.
3. 3\.We introduce attention\-based interpretability metrics: Instruction Focus Ratio \(IFR\), Data Attention Score \(DAS\), and Leakage \(LEAK\), to provide mechanistic insight into how structured training reshapes model attention\.
## 2Related Work
##### Instruction tuning and alignment\.
Instruction tuning\([Wei et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib4);[Ouyang et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib2)\)and preference\-based alignment\([Rafailov et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib3);[Christiano et al\., 2017](https://arxiv.org/html/2610.38120#bib.bib6)\)have become the standard post\-training pipeline for modern LLMs\. These methods train models to follow natural\-language instructions but rely on implicit positional cues and chat templates\([Hugging Face, 2025](https://arxiv.org/html/2610.38120#bib.bib14)\)\-based formatting conventions, rather than explicit structural semantics\. When multiple instructions appear in context, models lack a principled mechanism for disambiguation\. Our work is complementary: LLMON\-structured supervision can be applied on top of any instruction\-tuning corpus to add explicit execution binding behavior\.
##### Prompt injection and adversarial robustness\.
Prompt injection exploits the absence of privilege separation between instructions and data\([Greshake et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib7);[Perez and Ribeiro, 2022](https://arxiv.org/html/2610.38120#bib.bib21)\)\. Spotlighting\([Hines et al\., 2024](https://arxiv.org/html/2610.38120#bib.bib28)\)marks untrusted spans with in\-band text delimiters at the prompt level, while StruQ\([Chen et al\., 2025a](https://arxiv.org/html/2610.38120#bib.bib29)\)and SecAlign\([Chen et al\., 2025b](https://arxiv.org/html/2610.38120#bib.bib30)\)make the boundary a*training*objective, fine\-tuning on structured prompts and preference pairs in which injected instructions are present but must not be followed\. We differ in two respects\. First, the boundary is carried by reserved single tokens from a disjoint region of the vocabulary rather than by in\-band delimiters or role names, so it cannot be formed by subword composition of ordinary content\. Second, privilege attaches to an explicit binding rather than to a role: every span is individually addressable and authority follows from which pointer references it, so several same\-role instructions can coexist with only one bound for execution\.
##### Tool use and function calling\.
Modern LLM systems integrate external tools through structured generation\([Schick et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib23);[Patil et al\., 2024](https://arxiv.org/html/2610.38120#bib.bib24);[Yao et al\., 2022](https://arxiv.org/html/2610.38120#bib.bib22)\)\. These approaches define tool schemas and train models to emit structured calls, but the instruction\-data boundary within the prompt remains implicit\. LLMON’s execution semantics are orthogonal and compatible with tool\-calling pipelines: tool definitions, retrieved documents, and user instructions each occupy typed segments with distinct identifiers\.
##### Structured generation and constrained decoding\.
Constrained decoding approaches\([Willard and Louf, 2023](https://arxiv.org/html/2610.38120#bib.bib25);[Zheng et al\., 2024](https://arxiv.org/html/2610.38120#bib.bib26);[Beurer\-Kellner et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib16)\)enforce output structure at inference time through grammar\-based token masking\. Prompting frameworks\([Khattab et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib18);[Liu et al\., 2026](https://arxiv.org/html/2610.38120#bib.bib17);[POML, 2025](https://arxiv.org/html/2610.38120#bib.bib1)\)and programming\-language abstractions\([Dantanarayana et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib15)\)orchestrate LLM calls, and markup\-based prompt languages impose document structure on the prompt, but none of these modifies the model’s internal representation of instruction\-data boundaries\. Unlike these inference\-time or application\-layer approaches, LLMON operates at the*training data*level, teaching models to internalize structural distinctions through supervised learning\.
## 3Using LLMON \(LLM Object Notation\)
This section describes how we leverage LLMON\([Hind et al\., 2026](https://arxiv.org/html/2610.38120#bib.bib19)\)to construct structured post\-training data that teaches models explicit execution control\. LLMON is a hierarchical tagging framework that introduces instruction\-data separation and identifier\-based execution binding at the token level, operating within standard autoregressive language modeling without architectural modification\. We briefly summarize the notation relevant to our training methodology, then describe the data construction pipeline\.
### 3\.1Notation Overview
LLMON defines six special delimiter tokens \(“<\|open\|\>”, “<\|close\|\>”, “<\|open\_end\|\>”, “<\|self\_close\|\>”, “<\|:\|\>”, “<\|\.\|\>”\) that form a typed tagging system\. The key structural elements relevant to training are:
##### Typed segments\.
All content is wrapped in identified and tagged blocks\.*Instructions*carry role qualifiers \(“instr<\|:\|\>ID”\),*data*segments hold passive content \(“data<\|:\|\>ID”\),*requirements*hold output constraints \(“req<\|:\|\>ID”\), and*documents*use nested paths \(“doc<\|\.\|\>title”, “doc<\|\.\|\>text”\)\.*Tool definitions*are flattened so that every leaf of the JSON schema becomes its own addressable sub\-field \(“tool<\|\.\|\>name”, “tool<\|\.\|\>parameters<\|\.\|\>arg<\|\.\|\>type”\), and a tool result returns as a “data” block like any other input\. A*system*block \(“system<\|:\|\>ID”\) carries authoritative policy and persists across turns\.
##### Execution binding\.
An execution block explicitly references which instruction to execute, which data to use as input, and where the output should be placed via identifier references as shown in Figure[1](https://arxiv.org/html/2610.38120#S3.F1)\. This design enforces a clear semantic paradigm where multiple instructions can coexist in context without interference, as execution requires referencing a specific identifier regardless of position\.
##### The privilege invariant\.
Execution binding yields the invariant our training targets: content reached through “exec<\|\.\|\>instruction” or “exec<\|\.\|\>system” is*authoritative*, whereas everything reached through “exec<\|\.\|\>input” \(data, documents, tool schemas, and tool results\) is material to be read, not a command to be followed, however it is phrased\. Blocks that no pointer references are rendered into the context but bound to nothing\. Privilege is therefore a property of the binding rather than of a block’s position or role name, and the delimiters that express it are reserved tokens occupying a disjoint region of the vocabulary, so the structure cannot be formed by subword composition of ordinary content\.
[⬇](data:text/plain;base64,QFxjb2xvcmJveHtwaW5rfXs8fG9wZW58Pn1AZXhlY0BcY29sb3Jib3h7cGlua317PHw6fD59QEVYRUNfSURAXGNvbG9yYm94e3Bpbmt9ezx8Y2xvc2V8Pn1ACiAgQFxjb2xvcmJveHtwaW5rfXs8fG9wZW58Pn1AZXhlY0BcY29sb3Jib3h7cGlua317PHwufD59QGluc3RydWN0aW9uQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QAogICAgaW5zdHJAXGNvbG9yYm94e3Bpbmt9ezx8Onw+fUBJTlNUUl9JRAogIEBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1ACiAgQFxjb2xvcmJveHtwaW5rfXs8fG9wZW58Pn1AZXhlY0BcY29sb3Jib3h7cGlua317PHwufD59QGlucHV0QFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QAogICAgZGF0YUBcY29sb3Jib3h7cGlua317PHw6fD59QERBVEFfSUQKICBAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QAogIEBcY29sb3Jib3h7cGlua317PHxvcGVufD59QGV4ZWNAXGNvbG9yYm94e3Bpbmt9ezx8Lnw+fUBvdXRwdXRAXGNvbG9yYm94e3Bpbmt9ezx8Y2xvc2V8Pn1ACiAgICBhc3Npc3RhbnRAXGNvbG9yYm94e3Bpbmt9ezx8Onw+fUBPVVRfSUQKICBAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QApAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QA==)<\|open\|\>exec<\|:\|\>EXEC\_ID<\|close\|\><\|open\|\>exec<\|\.\|\>instruction<\|close\|\>instr<\|:\|\>INSTR\_ID<\|open\_end\|\><\|open\|\>exec<\|\.\|\>input<\|close\|\>data<\|:\|\>DATA\_ID<\|open\_end\|\><\|open\|\>exec<\|\.\|\>output<\|close\|\>assistant<\|:\|\>OUT\_ID<\|open\_end\|\><\|open\_end\|\>
Figure 1:Example of an execution block in LLMON syntax\. All special tokens are highlighted in light\-pink\.
### 3\.2Data Construction Pipeline
We develop an automated pipeline that transforms diverse instruction\-tuning data into LLMON\-structured training examples\. The pipeline handles three distinct data modalities:
##### General instruction data\.
Single\-turn and multi\-turn conversations are serialized with per\-turn instruction blocks, “exec” bindings, and assistant data blocks\. Each turn receives unique identifiers, and multi\-turn examples chain consecutive “exec” cycles\.
##### RAG and document\-grounded data\.
Retrieved documents are serialized as typed “doc” segments with nested “doc<\|\.\|\>title” and “doc<\|\.\|\>text” sub\-fields\. The “exec” block’s input field references both the user’s data and the relevant document identifiers, teaching the model to ground its response in explicitly referenced context\.
##### Tool\-calling data\.
Tool definitions are serialized using flattened path\-based notation \(e\.g\., “tool<\|\.\|\>function<\|\.\|\>name”, “tool<\|\.\|\>function<\|\.\|\>description”\)\. Tool invocations produce a first “exec” cycle \(user instruction→\\rightarrowassistant tool call\), followed by a tool\-result data block and a second “exec” cycle \(tool result→\\rightarrowfinal assistant response\)\.
### 3\.3Distractor Augmentation
The central innovation in our training data is*distractor augmentation*: systematically injecting competing instructions and irrelevant data into the context while keeping the “exec” block pointed at only the target\. This directly trains the model to resolve referential bindings under interference\.
For each base example we generate variants withd∈\{1,2,3\}d\\in\\\{1,2,3\\\}distractor instructions \(sampled from the instruction pool, excluding the target\) andm∈\{0,1,2,3\}m\\in\\\{0,1,2,3\\\}irrelevant data segments \(sampled from other examples\)\. The distractor instructions and data occupy their own identified blocks in the context, but the “exec” block references*only*the original target instruction and data, and the target output is identical across all variants of an example\. Variants are sampled per base example, yielding 8 categories parameterized by whether target data is present and by the distractor and irrelevant\-data counts\. A model that keys on the “exec” block is unaffected by the decoys; one that keys on surface cues such as position or imperative phrasing is penalized by the loss\.
We illustrate one such example with a multi\-instruction and multi\-data distractors execution in Appendix[A\.1](https://arxiv.org/html/2610.38120#A1.SS1)\.
## 4Experiments
### 4\.1Training Data
Following the pipeline of Section[3\.2](https://arxiv.org/html/2610.38120#S3.SS2), we assemble the LLMON\-structured corpus from the sources below, totaling 4\.4M examples and 4\.6B tokens\.
- •General SFT data: 3\.25M single\-turn \(2\.79B tokens\) and 59k multi\-turn \(120M tokens\) examples drawn from the Granite\-4\.1 post\-training SFT corpora\.
- •RAG data: 27k single\-turn \(45\.5M tokens\) and 8k multi\-turn \(17\.8M tokens\) retrieval\-augmented examples from the same corpora\.
- •Tool\-calling data: 451k single\-turn \(707M tokens\) and 251k multi\-turn \(562M tokens\) function\-calling examples from the same corpora\.
- •Alpaca: 52k clean examples\([Taori et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib9)\)\(17\.2M tokens\) plus 103k distractor\-augmented variants \(39\.4M tokens\)\.
- •Dolly: 15k clean examples\([Conover et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib8)\)\(3\.3M tokens\) plus 30k distractor\-augmented variants \(16\.3M tokens\)\.
- •Prompt\-injection data: 130k examples \(211M tokens\) in which an adversarial instruction is planted inside a payload the model is meant to read rather than execute, spanning general \(40k\), RAG \(11k\), and tool\-calling \(80k\) modalities\.
The general, RAG, and tool\-calling examples teach the structural format across single\-turn instruction following, multi\-turn conversation, document\-grounded QA, and tool invocation, and account for 93\.6% of all tokens, which is what keeps capability close to the conventionally\-tuned baseline\. The Alpaca and Dolly expansions supply the distractor\-augmented variants of Section[3\.3](https://arxiv.org/html/2610.38120#S3.SS3), expanding 67k base examples into 133k variants\. The prompt\-injection examples are the training\-time counterpart of the evaluation in Section[4\.3\.2](https://arxiv.org/html/2610.38120#S4.SS3.SSS2): the injected instruction is rendered as a block that no execution pointer references, and the target output is the one that ignores it\.
For the reinforcement\-learning stages we use two further sources: approximately 169k prompts across five sequential policy\-optimization stages spanning multi\-domain reasoning, RLHF, knowledge calibration, and two mathematics boosters; and approximately 1k on\-policy preference pairs for the final preference\-optimization stage, constructed from each model’s own responses at agentic decision points where a tool result carries an injected instruction\.
### 4\.2Models and Training
We post\-train two base models from the same family and generation at different scales:Granite\-4\.1\-3B\-BaseandGranite\-4\.1\-8B\-Base\([IBM Granite Team, 2026](https://arxiv.org/html/2610.38120#bib.bib53);[Granite Team, 2024](https://arxiv.org/html/2610.38120#bib.bib13)\)\. Both are base \(pre\-trained\) checkpoints without prior instruction tuning, so the LLMON behavior is learned during post\-training rather than layered on top of an existing chat format\.
##### Supervised fine\-tuning\.
We first install the six LLMON delimiters in the tokenizer as reserved single tokens by remapping unused vocabulary slots, which avoids growing the vocabulary or resizing the embedding matrix\. We then run full fine\-tuning, updating all parameters on the LLMON\-serialized corpus: three epochs over 4\.4M examples and 4\.6B tokens at a sequence length of 4096 tokens, sharded across 8×\\timesH100 GPUs with FSDP\. We report the final\-epoch checkpoint\.
##### Reinforcement learning\.
Starting from the supervised checkpoint, we run five sequential Group Relative Policy Optimization \(GRPO\) stages against a reward model over the≈\\approx169k prompts described above, which optimize end behavior directly rather than the token\-level target\. A final Direct Preference Optimization\([Rafailov et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib3)\)\(DPO\) stage then trains on the≈\\approx1k on\-policy injection preference pairs \(β=0\.1\\beta=0\.1, one epoch, learning rate5×10−75\\times 10^\{\-7\}, effective batch size 32\)\. This stage is placed last so that the general\-capability stages, which carry no injection objective, cannot erode the boundary behavior installed earlier\. Unless noted otherwise, results reported as “LLMON” refer to this final SFT→\\rightarrowGRPO→\\rightarrowDPO checkpoint\.
### 4\.3Evaluation
#### 4\.3\.1Standard Benchmarks
To verify that LLMON post\-training preserves general capabilities, we evaluate across seven categories, reporting the unweighted mean over the benchmarks in each:General\(MMLU\([Hendrycks et al\., 2021](https://arxiv.org/html/2610.38120#bib.bib10)\), MMLU\-Pro[Wang et al\. \(2024\)](https://arxiv.org/html/2610.38120#bib.bib33), BBH[Suzgun et al\. \(2023\)](https://arxiv.org/html/2610.38120#bib.bib34), AGI\-Eval[Zhong et al\. \(2024\)](https://arxiv.org/html/2610.38120#bib.bib35), GPQA[Rein et al\. \(2023\)](https://arxiv.org/html/2610.38120#bib.bib36)\);Alignment\(IFEval\([Zhou et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib12)\)\);Math\(GSM8K\([Cobbe et al\., 2021](https://arxiv.org/html/2610.38120#bib.bib11)\), GSM\-Symbolic[Mirzadeh et al\. \(2025\)](https://arxiv.org/html/2610.38120#bib.bib37), Minerva Math[Lewkowycz et al\. \(2022\)](https://arxiv.org/html/2610.38120#bib.bib38), DeepMind Math[Saxton et al\. \(2019\)](https://arxiv.org/html/2610.38120#bib.bib39)\);Code\(HumanEval[Chen et al\. \(2021\)](https://arxiv.org/html/2610.38120#bib.bib40), HumanEval\+[Liu et al\. \(2023\)](https://arxiv.org/html/2610.38120#bib.bib41), MBPP[Austin et al\. \(2021\)](https://arxiv.org/html/2610.38120#bib.bib42), MBPP\+[Liu et al\. \(2024a\)](https://arxiv.org/html/2610.38120#bib.bib43), MultiPL\-E[Cassano et al\. \(2023\)](https://arxiv.org/html/2610.38120#bib.bib44), CRUXEval\-O[Gu et al\. \(2024\)](https://arxiv.org/html/2610.38120#bib.bib45)\);Tool\-Calling\(BFCL v3[Patil et al\. \(2025\)](https://arxiv.org/html/2610.38120#bib.bib46)\);Multilingual\(Global\-MMLU[Singh et al\. \(2025\)](https://arxiv.org/html/2610.38120#bib.bib47), MGSM[Shi et al\. \(2022\)](https://arxiv.org/html/2610.38120#bib.bib48), INCLUDE[Romanou et al\. \(2025\)](https://arxiv.org/html/2610.38120#bib.bib49)\); andSafety\(6\-task safety aggregate metric from Tulu3[Zhao et al\. \(2026\)](https://arxiv.org/html/2610.38120#bib.bib52), AttaQ[Kour et al\. \(2023\)](https://arxiv.org/html/2610.38120#bib.bib50), SALAD\-Bench[Li et al\. \(2024\)](https://arxiv.org/html/2610.38120#bib.bib51)\)\. Each LLMON model is compared against the instruct counterpart at the same scale, trained on the matched chat\-template corpus of Section[4\.1](https://arxiv.org/html/2610.38120#S4.SS1)\.
#### 4\.3\.2Indirect Prompt\-Injection Benchmarks
Indirect prompt injection is the failure mode the privilege invariant is designed to prevent: a malicious instruction is planted in a data payload, such as a retrieved document or a tool response, rather than supplied by the user\. We evaluate on two published benchmarks that place the injection on different surfaces\.OPI[Liu et al\. \(2024b\)](https://arxiv.org/html/2610.38120#bib.bib31)injects into the data of classic NLP tasks and defines the five\-attack taxonomy used throughout this evaluation \(naive, escape, ignore, fake\-completion, and combine\), together with the attack\-success metric\.ASB[Zhang et al\. \(2025\)](https://arxiv.org/html/2610.38120#bib.bib32)moves the attack into an agent’s tool observations, which is the surface that matters for tool\-using deployments; we report its observation\-injection arm\.
We report attack success rate \(ASR\), the fraction of adversarial prompts in which the injected instruction is followed; lower is better\. For the LLMON models the injected payload arrives inside a “data” block reached through “exec<\|\.\|\>input”, so following it would require acting on a span the model was trained to read rather than execute; the instruct baselines receive the same payloads under conventional chat formatting\.
#### 4\.3\.3Adversarial Red\-Teaming
The two benchmarks above measure known, published attacks\. Separately from them, and going beyond what a fixed benchmark can surface, our security team red\-teamed both models with ARES\([Nedoshivina et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib56)\), a robustness\-evaluation harness that expands 808 seed prompts from five datasets \(Purple\([Bhatt et al\., 2023](https://arxiv.org/html/2610.38120#bib.bib60)\), Gandalf\([Pfister et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib59)\), and TensorTrust\([Toyer et al\., 2024](https://arxiv.org/html/2610.38120#bib.bib58)\)for direct attacks; Alpaca and a safety\-policy set for indirect ones\) into approximately 15k attack prompts by mutating each seed through eight attack strategies organized by attacker sophistication, from basic \(asking directly\) through intermediate \(append, ignore, escape\-separation, completion\-real, append\-and\-prepend\) to advanced\. The advanced arm is a multi\-turn variant of Crescendo\([Russinovich et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib57)\), in which an attacker model generates each next turn and a judge decides whether the adversarial objective was met; we use DeepSeek\-V3\.2\([DeepSeek\-AI et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib54)\)as the attacker,GPT\-OSS\([OpenAI et al\., 2025](https://arxiv.org/html/2610.38120#bib.bib55)\)\(120B\) as the judge, and a budget of 20 turns\. Results are reported as*robustness*\(1−ASR1\-\\text\{ASR\}\), so that higher is better, which is the convention of the harness; note that this is the opposite direction to Table[2](https://arxiv.org/html/2610.38120#S5.T2)\.
#### 4\.3\.4Attention\-Based Interpretability Metrics
Beyond output\-level evaluation, we introduce three per\-layer attention metrics designed to provide mechanistic insight into model behavior\. These metrics quantify how attention from the final generated token is distributed across target and distractor spans\. LetA\(S\)A\(S\)denote the total attention mass assigned to a span setSS\. We defineℐt\\mathcal\{I\}\_\{t\}andℐd\\mathcal\{I\}\_\{d\}as the target and distractor instruction spans, respectively, and𝒟t\\mathcal\{D\}\_\{t\}and𝒟d\\mathcal\{D\}\_\{d\}as the corresponding target and distractor data spans\.
TheInstruction Focus Ratio\(IFR\) measures the proportion of attention allocated to the target instruction relative to all instruction spans:
IFR=A\(ℐt\)A\(ℐt\)\+A\(ℐd\)\\text\{IFR\}=\\frac\{A\(\\mathcal\{I\}\_\{t\}\)\}\{A\(\\mathcal\{I\}\_\{t\}\)\+A\(\\mathcal\{I\}\_\{d\}\)\}\(1\)
Similarly, theData Attention Score\(DAS\) quantifies the proportion of attention assigned to the target data relative to all data spans:
DAS=A\(𝒟t\)A\(𝒟t\)\+A\(𝒟d\)\\text\{DAS\}=\\frac\{A\(\\mathcal\{D\}\_\{t\}\)\}\{A\(\\mathcal\{D\}\_\{t\}\)\+A\(\\mathcal\{D\}\_\{d\}\)\}\(2\)
Finally,Leakage\(LEAK\) is the share of all span attention that reaches distractor content, across both instruction and data spans\. Writing𝒮\\mathcal\{S\}for every labeled span in the prompt \(the target and distractor instructions and data, together with the structural spans: the execution block, the delimiters, and the remaining prompt\), LEAK is
LEAK=A\(ℐd\)\+A\(𝒟d\)A\(𝒮\)\\text\{LEAK\}=\\frac\{A\(\\mathcal\{I\}\_\{d\}\)\+A\(\\mathcal\{D\}\_\{d\}\)\}\{A\(\\mathcal\{S\}\)\}\(3\)
These metrics are computed per layer across all attention heads \(averaged over attention heads within each KV group for grouped\-query\-attention models\)\. This enables layer\-wise failure diagnosis: higher IFR and DAS values indicate stronger focus on task\-relevant content, whereas larger LEAK values suggest increased attention allocated to irrelevant or competing information\.
## 5Results and Discussion
### 5\.1General Capabilities
Table[1](https://arxiv.org/html/2610.38120#S5.T1)compares LLMON\-structured post\-training against theInstructchat\-template baselines at both scales under matched full fine\-tuning\. The objective here is parity rather than improvement: LLMON training is meant to install an execution\-binding behavior, not to make the model better at mathematics or code\. Averaged over the six capability categories, the 3B model is unchanged \(66\.7 both ways\) and the 8B model loses 1\.4 points \(74\.2 to 72\.8\), with mathematics at 8B the largest single regression \(84\.1 to 79\.6\)\. LLMON improves on Code and Multilingual at 3B\. Safety improves at both scales, by 8\.8 points at 3B and 6\.2 at 8B, which is where the structural supervision is expected to show\.
Table 1:LLMON\-structured post\-training vs\.Instructchat\-template baselines under matched full fine\-tuning\. Each column is the unweighted mean over the benchmarks of that category \(Section[4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1)\)\. Capability is broadly preserved \(the six\-category capability mean is unchanged at 3B and 1\.4 points lower at 8B\) while Safety improves at both scales\. Best per model/category inbold\.
### 5\.2Indirect Prompt Injection
Table[2](https://arxiv.org/html/2610.38120#S5.T2)reports attack success rate on the two injection benchmarks of Section[4\.3\.2](https://arxiv.org/html/2610.38120#S4.SS3.SSS2)\. On text\-level injection \(OPI\) the attack essentially stops working: ASR falls from 100\.0 to 0\.1 at 3B and from 96\.3 to 0\.02 at 8B\. On agentic injection \(ASB\), where the payload arrives in a tool observation rather than in task data, ASR falls from 99\.2 to 5\.6 at 3B and from 52\.8 to 3\.1 at 8B\. These are reductions of roughly17×17\\timeson agentic injection and three orders of magnitude on text\-level injection, and they hold at both scales despite the 8BInstructbaseline already being markedly more robust on ASB than the 3B one\. The mechanism is structural rather than a learned refusal: the injected instruction occupies a “data” block that no execution pointer references, so acting on it would require the model to execute a span it was trained to read\. Section[5\.4](https://arxiv.org/html/2610.38120#S5.SS4)examines what this looks like inside the network\.
Table 2:LLMON\-structured post\-training vs\.Instructchat\-template baselines, measured byattack success rate \(ASR, %\)on two published indirect prompt\-injection benchmarks: OPI \(text\-level injection\) and ASB \(agentic tool\-observation injection\)\.Lower is better: ASR is the fraction of adversarial prompts that succeed, so a smaller value means a more robust model\. Best \(lowest ASR\) per model/benchmark inbold\.
### 5\.3Adversarial Red\-Teaming
Independently of the published benchmarks of Section[5\.2](https://arxiv.org/html/2610.38120#S5.SS2), Table[3](https://arxiv.org/html/2610.38120#S5.T3)reports the ARES red\-teaming campaign of Section[4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3), which uses its own seed datasets and attack strategies and separates results by where the adversarial instruction enters\. Scores are robustness \(1−ASR1\-\\text\{ASR\}\), so higher is better\.
On*indirect*attacks the gain is large and is what the design predicts: robustness rises from 2\.8% to 84\.6% at 3B and from 0\.7% to 79\.8% at 8B, because the payload lands in a span that no execution block designates as an operable instruction\.*Direct*and*multi\-turn*attacks also improve, roughly doubling at both scales, but remain far weaker in absolute terms \(32\-37%\)\. That asymmetry is expected rather than disappointing\. When the adversarial instruction*is*the user’s own instruction there is no instruction\-data boundary left to enforce, and an attacker who steers a conversation across twenty turns is not smuggling an instruction past the binding but building towards a request the model accepts on its own terms\. The privilege invariant is therefore a defense against untrusted*input*, and should be composed with defenses of a different kind rather than relied upon alone\.
Table 3:Adversarial red\-teaming with ARES, reported asrobustness \(1−ASR1\-\\text\{ASR\}, %\),higher is better, the opposite direction to Table[2](https://arxiv.org/html/2610.38120#S5.T2)\. Indirect attacks use StruQ\-style payloads planted in input, averaged over in\-distribution and out\-of\-distribution splits \(ID: 90\.3/83\.6, OOD: 79\.0/75\.9 for 3B/8B\); direct attacks place the adversarial instruction in the user turn; multi\-turn is a Crescendo variant with a 20\-turn budget\. Best per model/column inbold\.
### 5\.4Attention Interpretability Analysis
Both the injection reductions and the capability picture are consistent across the two scales tested, so the remainder of this section drills into*how*that robustness arises\. Using the per\-layer attention metrics defined in Section[4\.3\.4](https://arxiv.org/html/2610.38120#S4.SS3.SSS4), we analyze theGranite\-4\.1\-3Bpair \(the LLMON\-trained model and itsInstructcounterpart\) on distractor prompts in which several instructions, and in most cases several data segments, coexist while the “exec” block binds only one pair\. We first report the per\-layer behavior on a representative example to expose the mechanism, then aggregate over all examples to verify that the trends are not driven by ordering\.
##### Where the binding lives\.
Both models are measured at the same layers, and the separation is largest in the late\-middle of the stack rather than at the output\. Table[4](https://arxiv.org/html/2610.38120#S5.T4)reports the mean of each metric over the distractor examples at five representative layers\. The LLMON\-trained model holds a mean IFR of 86\-87% at layers 25 and 28 against 26\-38% for theInstructmodel, with mean leakage of 6\-9% against 35\-45%\. At the final layer both models collapse towards chance \(IFR 28\.0% vs 17\.2%\), which is why we report the span distribution at layer 31 rather than at layer 39: the execution binding is a mid\-to\-late\-stack computation, and reading it off the last layer alone would understate it for both models\.
Table 4:Attention metrics \(%\) averaged over the distractor examples, at five representative layers, forGranite\-4\.1\-3BLLMON\-trained vs\.Instruct\. The LLMON model holds higher instruction focus and lower leakage at every layer measured; the gap is widest at layers 25\-34 and narrows at the output\.
##### Layer\-wise Instruction Focus Ratio\.
Figure[2](https://arxiv.org/html/2610.38120#S5.F2)shows the IFR computed at each transformer layer for both models on a representative distractor example, in which three instructions \(“summarize”, “count the words”, “translate”\) and two data segments coexist and the “exec” block binds only the word\-counting instruction\. The two models are indistinguishable through the first twenty layers, both fluctuating around 25\-45%\. They separate sharply from layer 22: the LLMON\-trained model rises into a 55\-89% band across layers 25\-38, peaking at 89% at layer 28, whereas theInstructmodel peaks at 62% and spends most of that range below 45%\. The implication is that the binding is not a surface property of the prompt but a computation the network performs, and that LLMON training installs it in a specific region of the stack rather than shifting attention uniformly\.
Figure 2:Instruction Focus Ratio \(IFR\) per transformer layer for the LLMON\-trainedGranite\-4\.1\-3B\(teal\) vs\. itsInstructcounterpart \(pink\) on a distractor example\. The two are indistinguishable through layer 20 and separate sharply from layer 22, with the LLMON model sustaining 55\-89% across layers 25\-38\. Both fall at the final layer\.
##### Layer\-wise Distractor Leakage\.
Figure[3](https://arxiv.org/html/2610.38120#S5.F3)presents the complementary LEAK metric across layers\. Both models leak heavily in the first six layers, peaking above 50%, which is consistent with early layers aggregating context indiscriminately\. From layer 7 the LLMON\-trained model drops to a 5\-25% band and settles below 15% after layer 25, while theInstructmodel stays in the 20\-50% range throughout and rises again in the last ten layers\. Distractor suppression is therefore not a property of the input encoding \(where the two models behave alike\) but something acquired in the same region of the stack where instruction focus is established\.
Figure 3:Distractor leakage \(LEAK\) per transformer layer\. Both models leak heavily in the first six layers; from layer 7 the LLMON\-trained model \(teal\) settles into a 5\-25% band while theInstructmodel \(pink\) remains between 20% and 50% and rises again in the late layers\.
##### Attention span distribution\.
Figure[4](https://arxiv.org/html/2610.38120#S5.F4)presents the per\-span attention distribution and the three metrics at layer 31 for both models\. The LLMON\-trained model splits its span attention between the target instruction \(I\-T, 23\.4%\) and the target data it is bound to \(D\-T, 23\.0%\), with 35\.6% on the prompt and execution structure and only 5\.6% on the largest distractor instruction: IFR = 71\.4%, DAS = 72\.6%, LEAK = 9\.9%\. TheInstructmodel inverts this\. Its single largest recipient is a distractor instruction \(I\-D1, 47\.5%\), with a second distractor taking 21\.8% and the target instruction only 14\.5%; target data attention is negligible\. Its metrics record the failure directly: IFR = 17\.3%, DAS = 22\.1%, LEAK = 49\.9%\. The two models receive identical token sequences, so the difference is entirely in what the network does with them\.
Figure 4:Attention metrics and per\-span attention distribution at layer 31 for the LLMON\-trainedGranite\-4\.1\-3B\(left\) vs\. itsInstructcounterpart \(right\)\. The LLMON model divides its attention between the bound target instruction \(I\-T\) and target data \(D\-T\); theInstructmodel’s largest single recipient is a distractor instruction \(I\-D1, 47\.5%\)\.
##### Layer\-wise Data Attention Score\.
Figure[5](https://arxiv.org/html/2610.38120#S5.F5)completes the picture with DAS\. It follows the same shape as IFR: the two models track each other through the first twenty layers, then the LLMON\-trained model rises into a 46\-94% band across layers 23\-38 while theInstructmodel stays between 14% and 56%\. All three metrics therefore separate in the same region of the stack, which is what one expects if a single mechanism of resolving the execution binding is responsible for all three\.
Figure 5:Data Attention Score \(DAS\) per transformer layer for the LLMON\-trainedGranite\-4\.1\-3B\(teal\) vs\. itsInstructcounterpart \(pink\)\. DAS separates in the same region of the stack as IFR and LEAK, rising into a 46\-94% band across layers 23\-38 for the LLMON model\.
##### Token\-level attention flow\.
Figure[6](https://arxiv.org/html/2610.38120#S5.F6)traces how attention is allocated during generation, showing the correlation between each generated token and the KV\-cache spans for the LLMON\-trained model at layer 31\. The target data span \(D\-T\) activates precisely while the model is quoting the sentence it was asked to count, and falls away once it moves on to report the count; the target instruction span \(I\-T\) carries weight at the opening tokens and again as the answer is formed\. The distractor spans \(I\-D1, I\-D2, D\-D1\) stay near zero throughout decoding\. This token\-resolved view complements the per\-layer metrics: the model does not merely arrive at the right binding by the end of the forward pass, it holds it step by step as it produces the answer\.
Figure 6:Attention correlation weights between each generated token \(columns, in decoding order\) and the KV\-cache spans \(rows\) for the LLMON\-trainedGranite\-4\.1\-3Bat layer 31\. Brighter cells indicate stronger attention\. The target data span \(D\-T\) activates while the model quotes the sentence it was asked to count, and the distractor spans \(I\-D1, I\-D2, D\-D1\) remain near zero throughout decoding\.
## 6Conclusion
We presented a structured post\-training methodology that uses LLMON’s explicit instruction\-data separation and identifier\-based execution binding to improve controlled execution in LLMs\. Our evaluation on twoGranite\-4\.1base models demonstrates that: \(i\) LLMON\-structured supervision reduces attack success rates on indirect prompt\-injection benchmarks from 53\-100% to 0\.02\-5\.6%, without catastrophic degradation on standard capability measures; \(ii\) the effect holds at both 3B and 8B scale, and extends to adversarial red\-teaming on indirect attacks, though direct and multi\-turn attacks remain substantially harder; and \(iii\) attention\-based interpretability metrics \(IFR, DAS, LEAK\) provide actionable per\-layer failure diagnosis, revealing how structural training reshapes internal attention patterns\. These findings suggest that explicit execution structure can be reliably taught to LLMs through standard post\-training, offering a training\-time complement to inference\-time safety mechanisms\.
## Limitations
We discuss several important limitations of this work\. First, our evaluation covers two model scales \(3B and 8B\) within a single model family and generation\. While LLMON’s structural supervision is architecture\-agnostic, it remains to be validated whether the same magnitude of improvement transfers to other pre\-training corpora and architectures, and to larger scales where models may already exhibit stronger implicit instruction\-following\. Second, LLMON’s delimiter tokens increase context length by approximately 7\-15% depending on the example complexity\. We do not systematically quantify the impact on inference latency and throughput, though sequence packing at training time largely amortizes this cost\. Third, the privilege invariant addresses*indirect*injection, where the adversarial instruction arrives as input\. It offers far less protection when the adversarial instruction*is*the user’s instruction, since there is then no instruction\-data boundary to enforce: red\-teaming robustness reaches only 33\-37% on direct attacks and 28\-37% on multi\-turn attacks, against 80\-85% on indirect ones, and it is a learned behavior rather than an enforced guarantee: it substantially reduces, but does not eliminate, the chance that an instruction embedded in data is followed, and should be one layer of a defense rather than the only one\. Fourth, while our capability evaluation includes multilingual benchmarks, the LLMON training corpus itself is predominantly English, and we have not characterized how tag overhead behaves on morphologically rich languages or on tasks with very long documents\. Finally, our IFR/DAS/LEAK metrics provide correlation between attention patterns and output quality, but we do not establish a causal mechanism\. Attention weights are an imperfect proxy for information flow in transformers, and the relationship between attention\-level metrics and generation\-level performance may not be monotonic\.
## References
- Austinet al\.\(2021\)J\. Austin, A\. Odena, M\. Nye, M\. Bosma, H\. Michalewski, D\. Dohan, E\. Jiang, C\. Cai, M\. Terry, Q\. Le,et al\.Program synthesis with large language models\.arXiv preprint arXiv:2108\.07732\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Beurer\-Kellneret al\.\(2023\)L\. Beurer\-Kellner, M\. Fischer, and M\. VechevPrompting is programming: a query language for large language models\.Proc\. ACM Program\. Lang\.7\(PLDI\)\.External Links:[Link](https://doi.org/10.1145/3591300),[Document](https://dx.doi.org/10.1145/3591300)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Bhattet al\.\(2023\)M\. Bhatt, S\. Chennabasappa, C\. Nikolaidis, S\. Wan, I\. Evtimov, D\. Gabi, D\. Song, F\. Ahmad, C\. Aschermann, L\. Fontana,et al\.Purple llama cyberseceval: a secure coding benchmark for language models\.arXiv preprint arXiv:2312\.04724\.Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- Cassanoet al\.\(2023\)F\. Cassano, J\. Gouwar, D\. Nguyen, S\. Nguyen, L\. Phipps\-Costin, D\. Pinckney, M\. Yee, Y\. Zi, C\. J\. Anderson, M\. Q\. Feldman,et al\.Multipl\-e: a scalable and polyglot approach to benchmarking neural code generation\.IEEE Transactions on Software Engineering49\(7\),pp\. 3675–3691\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Chenet al\.\(2021\)M\. Chen, J\. Tworek, H\. Jun, Q\. Yuan, H\. P\. D\. O\. Pinto, J\. Kaplan, H\. Edwards, Y\. Burda, N\. Joseph, G\. Brockman,et al\.Evaluating large language models trained on code\.arXiv preprint arXiv:2107\.03374\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Chenet al\.\(2025a\)S\. Chen, J\. Piet, C\. Sitawarin, and D\. Wagner\{\\\{struq\}\\\}: Defending against prompt injection with structured queries\.In34th USENIX Security Symposium \(USENIX Security 25\),pp\. 2383–2400\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px2.p1.1)\.
- Chenet al\.\(2025b\)S\. Chen, A\. Zharmagambetov, S\. Mahloujifar, K\. Chaudhuri, D\. Wagner, and C\. GuoSecalign: defending against prompt injection with preference optimization\.InProceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security,pp\. 2833–2847\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px2.p1.1)\.
- Christianoet al\.\(2017\)P\. F\. Christiano, J\. Leike, T\. B\. Brown, M\. Martic, S\. Legg, and D\. AmodeiDeep reinforcement learning from human preferences\.InAdvances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4\-9, 2017, Long Beach, CA, USA,External Links:[Link](https://proceedings.neurips.cc/paper/2017/hash/d5e2c0adad503c91f91df240d0cd4e49-Abstract.html)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px1.p1.1)\.
- Cobbeet al\.\(2021\)K\. Cobbe, V\. Kosaraju, M\. Bavarian, M\. Chen, H\. Jun, L\. Kaiser, M\. Plappert, J\. Tworek, J\. Hilton, R\. Nakano, C\. Hesse, and J\. SchulmanTraining verifiers to solve math word problems\.External Links:2110\.14168,[Link](https://arxiv.org/abs/2110.14168)Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Conoveret al\.\(2023\)M\. Conover, M\. Hayes, A\. Mathur, J\. Xie, J\. Wan, S\. Shah, A\. Ghodsi, P\. Wendell, M\. Zaharia, and R\. XinFree dolly: introducing the world’s first truly open instruction\-tuned llm\.Cited by:[5th item](https://arxiv.org/html/2610.38120#S4.I1.i5.p1.1)\.
- Dantanarayanaet al\.\(2025\)J\. L\. Dantanarayana, Y\. Kang, K\. Sivasothynathan, C\. Clarke, B\. Li, S\. Kashmira, K\. Flautner, L\. Tang, and J\. MarsMTP: a meaning\-typed language abstraction for ai\-integrated programming\.Proc\. ACM Program\. Lang\.9\(OOPSLA2\)\.External Links:[Link](https://doi.org/10.1145/3763092),[Document](https://dx.doi.org/10.1145/3763092)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- DeepSeek\-AIet al\.\(2025\)DeepSeek\-AI, A\. Liu, B\. Feng, B\. Xue, B\. Wang, B\. Wu, C\. Lu, C\. Zhao, C\. Deng, C\. Zhang,et al\.DeepSeek\-v3 technical report\.External Links:2412\.19437,[Link](https://arxiv.org/abs/2412.19437)Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- Granite Team \(2024\)I\. Granite TeamGranite 3\.0 language models\.URL:[https://github\.com/ibm\-granite/granite\-3\.0\-language\-models](https://github.com/ibm-granite/granite-3.0-language-models)\.Cited by:[§4\.2](https://arxiv.org/html/2610.38120#S4.SS2.p1.1)\.
- Greshakeet al\.\(2023\)K\. Greshake, S\. Abdelnabi, S\. Mishra, C\. Endres, T\. Holz, and M\. FritzMore than you’ve asked for: a comprehensive analysis of novel prompt injection threats to application\-integrated large language models\.CoRRabs/2302\.12173\.External Links:[Document](https://dx.doi.org/10.48550/ARXIV.2302.12173),[Link](https://doi.org/10.48550/arXiv.2302.12173)Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px2.p1.1)\.
- Guet al\.\(2024\)A\. Gu, B\. Rozière, H\. Leather, A\. Solar\-Lezama, G\. Synnaeve, and S\. I\. WangCruxeval: a benchmark for code reasoning, understanding and execution\.arXiv preprint arXiv:2401\.03065\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Hendryckset al\.\(2021\)D\. Hendrycks, C\. Burns, S\. Kadavath, A\. Arora, S\. Basart, E\. Tang, D\. Song, and J\. SteinhardtMeasuring mathematical problem solving with the math dataset\.External Links:2103\.03874,[Link](https://arxiv.org/abs/2103.03874)Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Hindet al\.\(2026\)M\. Hind, B\. Shbita, B\. Wu, F\. Ahmed, C\. DeLuca, N\. Fulton, D\. Cox, and D\. GutfreundLLMON: an LLM\-native markup language to leverage structure and semantics at the llm interface\.arXiv preprint arXiv:2603\.22519\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p2.1),[§3](https://arxiv.org/html/2610.38120#S3.p1.1)\.
- Hineset al\.\(2024\)K\. Hines, G\. Lopez, M\. Hall, F\. Zarfati, Y\. Zunger, and E\. KicimanDefending against indirect prompt injection attacks with spotlighting\.arXiv preprint arXiv:2403\.14720\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px2.p1.1)\.
- Hugging Face \(2025\)Hugging FaceTemplates for chat models\.Note:[https://huggingface\.co/docs/transformers/en/chat\_templating](https://huggingface.co/docs/transformers/en/chat_templating)Accessed: 2026\-03\-17Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px1.p1.1)\.
- IBM Granite Team \(2026\)IBM Granite TeamGranite 4\.1 LLMs: how they’re built\.Note:Hugging Face BlogPublished April 29, 2026External Links:[Link](https://huggingface.co/blog/ibm-granite/granite-4-1)Cited by:[§4\.2](https://arxiv.org/html/2610.38120#S4.SS2.p1.1)\.
- Kaddouret al\.\(2023\)J\. Kaddour, J\. Harris, M\. Mozes, H\. Bradley, R\. Raileanu, and R\. McHardyChallenges and applications of large language models\.arXiv preprint arXiv:2307\.10169\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1)\.
- Khattabet al\.\(2023\)O\. Khattab, A\. Singhvi, P\. Maheshwari, Z\. Zhang, K\. Santhanam, S\. Vardhamanan, S\. Haq, A\. Sharma, T\. T\. Joshi, H\. Moazam, H\. Miller, M\. Zaharia, and C\. PottsDSPy: compiling declarative language model calls into self\-improving pipelines\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Kouret al\.\(2023\)G\. Kour, M\. Zalmanovici, N\. Zwerdling, E\. Goldbraich, O\. Fandina, A\. A\. Tavor, O\. Raz, and E\. FarchiUnveiling safety vulnerabilities of large language models\.InProceedings of the Third Workshop on Natural Language Generation, Evaluation, and Metrics \(GEM\),pp\. 111–127\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Lewkowyczet al\.\(2022\)A\. Lewkowycz, A\. Andreassen, D\. Dohan, E\. Dyer, H\. Michalewski, V\. Ramasesh, A\. Slone, C\. Anil, I\. Schlag, T\. Gutman\-Solo,et al\.Solving quantitative reasoning problems with language models\.Advances in neural information processing systems35,pp\. 3843–3857\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Liet al\.\(2024\)L\. Li, B\. Dong, R\. Wang, X\. Hu, W\. Zuo, D\. Lin, Y\. Qiao, and J\. ShaoSalad\-bench: a hierarchical and comprehensive safety benchmark for large language models\.InFindings of the Association for Computational Linguistics: ACL 2024,pp\. 3923–3954\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Liuet al\.\(2023\)J\. Liu, C\. S\. Xia, Y\. Wang, and L\. ZhangIs your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation\.Advances in neural information processing systems36,pp\. 21558–21572\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Liuet al\.\(2024a\)J\. Liu, S\. Xie, J\. Wang, Y\. Wei, Y\. Ding, and L\. ZhangEvaluating language models for efficient code generation\.arXiv preprint arXiv:2408\.06450\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Liuet al\.\(2026\)X\. Liu, J\. Wang, X\. Yuan, J\. Sun, G\. Dong, P\. Di, W\. Wang, and D\. WangPrompting frameworks for large language models: a survey\.ACM Comput\. Surv\.\.External Links:ISSN 0360\-0300,[Link](https://doi.org/10.1145/3789253),[Document](https://dx.doi.org/10.1145/3789253)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Liuet al\.\(2024b\)Y\. Liu, Y\. Jia, R\. Geng, J\. Jia, and N\. Z\. GongFormalizing and benchmarking prompt injection attacks and defenses\.In33rd USENIX Security Symposium \(USENIX Security 24\),pp\. 1831–1847\.Cited by:[§4\.3\.2](https://arxiv.org/html/2610.38120#S4.SS3.SSS2.p1.1)\.
- LLMON Team \(2026\)I\. LLMON TeamLLMON\.URL:[https://github\.com/generative\-computing/llmon](https://github.com/generative-computing/llmon)\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p2.1)\.
- Mirzadehet al\.\(2025\)I\. Mirzadeh, K\. Alizadeh\-Vahid, H\. Shahrokhi, O\. Tuzel, S\. Bengio, and M\. FarajtabarGsm\-symbolic: understanding the limitations of mathematical reasoning in large language models\.InInternational Conference on Learning Representations,Vol\.2025,pp\. 94743–94765\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Nedoshivinaet al\.\(2025\)ARES: ai robustness evaluation systemIBM Research\.External Links:[Link](https://github.com/IBM/ares)Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- OpenAIet al\.\(2025\)OpenAI, :, S\. Agarwal, L\. Ahmad, J\. Ai, S\. Altman, A\. Applebaum, E\. Arbus, R\. K\. Arora, Y\. Bai, B\. Baker, H\. Bao, B\. Barak,et al\.Gpt\-oss\-120b & gpt\-oss\-20b model card\.External Links:2508\.10925,[Link](https://arxiv.org/abs/2508.10925)Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- Ouyanget al\.\(2022\)L\. Ouyang, J\. Wu, X\. Jiang, D\. Almeida, C\. L\. Wainwright, P\. Mishkin, C\. Zhang, S\. Agarwal, K\. Slama, A\. Ray, J\. Schulman, J\. Hilton, F\. Kelton, L\. Miller, M\. Simens, A\. Askell, P\. Welinder, P\. F\. Christiano, J\. Leike, and R\. LoweTraining language models to follow instructions with human feedback\.InAdvances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 \- December 9, 2022,External Links:[Link](http://papers.nips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px1.p1.1)\.
- Patilet al\.\(2025\)S\. G\. Patil, H\. Mao, F\. Yan, C\. C\. Ji, V\. Suresh, I\. Stoica, and J\. E\. GonzalezThe berkeley function calling leaderboard \(bfcl\): from tool use to agentic evaluation of large language models\.InForty\-second International Conference on Machine Learning,Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Patilet al\.\(2024\)S\. G\. Patil, T\. Zhang, X\. Wang, and J\. E\. GonzalezGorilla: large language model connected with massive apis\.Advances in Neural Information Processing Systems37,pp\. 126544–126565\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px3.p1.1)\.
- Perez and Ribeiro \(2022\)F\. Perez and I\. RibeiroIgnore previous prompt: attack techniques for language models\.arXiv preprint arXiv:2211\.09527\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px2.p1.1)\.
- Pfisteret al\.\(2025\)N\. Pfister, V\. Volhejn, M\. Knott, S\. Arias, J\. Bazińska, M\. Bichurin, A\. Commike, J\. Darling, P\. Dienes, M\. Fiedler,et al\.Gandalf the red: adaptive security for llms\.arXiv preprint arXiv:2501\.07927\.Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- POML \(2025\)Note:Accessed: 2026\-03\-17External Links:[Link](https://github.com/microsoft/poml)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Rafailovet al\.\(2023\)R\. Rafailov, A\. Sharma, E\. Mitchell, C\. D\. Manning, S\. Ermon, and C\. FinnDirect preference optimization: your language model is secretly a reward model\.InAdvances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 \- 16, 2023,External Links:[Link](http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html)Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px1.p1.1),[§4\.2](https://arxiv.org/html/2610.38120#S4.SS2.SSS0.Px2.p1.1)\.
- Reinet al\.\(2023\)D\. Rein, B\. L\. Hou, A\. C\. Stickland, J\. Petty, R\. Y\. Pang, J\. Dirani, J\. Michael, and S\. R\. BowmanGpqa: a graduate\-level google\-proof q&a benchmark\.arXiv preprint arXiv:2311\.12022\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Romanouet al\.\(2025\)A\. Romanou, N\. Foroutan, A\. Sotnikova, S\. H\. Nelaturu, S\. Singh, R\. Maheshwary, M\. Altomare, Z\. Chen, M\. Haggag, A\. Amayuelas,et al\.Include: evaluating multilingual language understanding with regional knowledge\.InInternational Conference on Learning Representations,Vol\.2025,pp\. 83291–83322\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Russinovichet al\.\(2025\)M\. Russinovich, A\. Salem, and R\. EldanGreat, now write an article about that: the crescendo\{\\\{multi\-turn\}\\\}\{\\\{llm\}\\\}jailbreak attack\.In34th USENIX Security Symposium \(USENIX Security 25\),pp\. 2421–2440\.Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- Saxtonet al\.\(2019\)D\. Saxton, E\. Grefenstette, F\. Hill, and P\. KohliAnalysing mathematical reasoning abilities of neural models\.arXiv preprint arXiv:1904\.01557\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Schicket al\.\(2023\)T\. Schick, J\. Dwivedi\-Yu, R\. Dessì, R\. Raileanu, M\. Lomeli, E\. Hambro, L\. Zettlemoyer, N\. Cancedda, and T\. ScialomToolformer: language models can teach themselves to use tools\.Advances in neural information processing systems36,pp\. 68539–68551\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px3.p1.1)\.
- Shiet al\.\(2022\)F\. Shi, M\. Suzgun, M\. Freitag, X\. Wang, S\. Srivats, S\. Vosoughi, H\. W\. Chung, Y\. Tay, S\. Ruder, D\. Zhou,et al\.Language models are multilingual chain\-of\-thought reasoners\.arXiv preprint arXiv:2210\.03057\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Singhet al\.\(2025\)S\. Singh, A\. Romanou, C\. Fourrier, D\. I\. Adelani, J\. G\. Ngui, D\. Vila\-Suero, P\. Limkonchotiwat, K\. Marchisio, W\. Q\. Leong, Y\. Susanto,et al\.Global mmlu: understanding and addressing cultural and linguistic biases in multilingual evaluation\.InProceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 18761–18799\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Suzgunet al\.\(2023\)M\. Suzgun, N\. Scales, N\. Schärli, S\. Gehrmann, Y\. Tay, H\. W\. Chung, A\. Chowdhery, Q\. Le, E\. H\. Chi, D\. Zhou,et al\.Challenging big\-bench tasks and whether chain\-of\-thought can solve them\.InFindings of the Association for Computational Linguistics: ACL 2023,pp\. 13003–13051\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Taoriet al\.\(2023\)R\. Taori, I\. Gulrajani, T\. Zhang, Y\. Dubois, X\. Li, C\. Guestrin, P\. Liang, and T\. B\. HashimotoStanford alpaca: an instruction\-following llama model\.Stanford, CA, USA\.Cited by:[4th item](https://arxiv.org/html/2610.38120#S4.I1.i4.p1.1)\.
- Toyeret al\.\(2024\)S\. Toyer, O\. Watkins, E\. Mendes, J\. Svegliato, L\. Bailey, T\. Wang, I\. Ong, K\. Elmaaroufi, P\. Abbeel, A\. Ritter,et al\.Tensor trust: interpretable prompt injection attacks from an online game\.InInternational Conference on Learning Representations,Vol\.2024,pp\. 18714–18746\.Cited by:[§4\.3\.3](https://arxiv.org/html/2610.38120#S4.SS3.SSS3.p1.1)\.
- Vaswaniet al\.\(2017\)A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, L\. Kaiser, and I\. PolosukhinAttention is all you need\.InAdvances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4\-9, 2017, Long Beach, CA, USA,External Links:[Link](https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html)Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1)\.
- Wanget al\.\(2024\)Y\. Wang, X\. Ma, G\. Zhang, Y\. Ni, A\. Chandra, S\. Guo, W\. Ren, A\. Arulraj, X\. He, Z\. Jiang,et al\.Mmlu\-pro: a more robust and challenging multi\-task language understanding benchmark\.Advances in Neural Information Processing Systems37,pp\. 95266–95290\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Weiet al\.\(2022\)J\. Wei, M\. Bosma, V\. Y\. Zhao, K\. Guu, A\. W\. Yu, B\. Lester, N\. Du, A\. M\. Dai, and Q\. V\. LeFinetuned language models are zero\-shot learners\.InThe Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25\-29, 2022,External Links:[Link](https://openreview.net/forum?id=gEZrGCozdqR)Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px1.p1.1)\.
- Willard and Louf \(2023\)B\. T\. Willard and R\. LoufEfficient guided generation for large language models\.arXiv preprint arXiv:2307\.09702\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Yaoet al\.\(2022\)S\. Yao, J\. Zhao, D\. Yu, N\. Du, I\. Shafran, K\. Narasimhan, and Y\. CaoReact: synergizing reasoning and acting in language models\.arXiv preprint arXiv:2210\.03629\.Cited by:[§1](https://arxiv.org/html/2610.38120#S1.p1.1),[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px3.p1.1)\.
- Zhanget al\.\(2025\)H\. Zhang, J\. Huang, K\. Mei, Y\. Yao, Z\. Wang, C\. Zhan, H\. Wang, and Y\. ZhangAgent security bench \(asb\): formalizing and benchmarking attacks and defenses in llm\-based agents\.InInternational Conference on Learning Representations,Vol\.2025,pp\. 35331–35366\.Cited by:[§4\.3\.2](https://arxiv.org/html/2610.38120#S4.SS3.SSS2.p1.1)\.
- Zhaoet al\.\(2026\)Z\. Zhao, L\. Jiang, Y\. Choi, and C\. XiaoSafety mid\-training: internalizing LLM safety as a foundational capability\.arXiv preprint arXiv:2610\.26809\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Zhenget al\.\(2024\)L\. Zheng, L\. Yin, Z\. Xie, C\. Sun, J\. Huang, C\. H\. Yu, S\. Cao, C\. Kozyrakis, I\. Stoica, J\. E\. Gonzalez,et al\.Sglang: efficient execution of structured language model programs\.Advances in neural information processing systems37,pp\. 62557–62583\.Cited by:[§2](https://arxiv.org/html/2610.38120#S2.SS0.SSS0.Px4.p1.1)\.
- Zhonget al\.\(2024\)W\. Zhong, R\. Cui, Y\. Guo, Y\. Liang, S\. Lu, Y\. Wang, A\. Saied, W\. Chen, and N\. DuanAgieval: a human\-centric benchmark for evaluating foundation models, 2023\.URL https://arxiv\. org/abs/2304\.06364\.Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
- Zhouet al\.\(2023\)J\. Zhou, T\. Lu, S\. Mishra, S\. Brahma, S\. Basu, Y\. Luan, D\. Zhou, and L\. HouInstruction\-following evaluation for large language models\.External Links:2311\.07911,[Link](https://arxiv.org/abs/2311.07911)Cited by:[§4\.3\.1](https://arxiv.org/html/2610.38120#S4.SS3.SSS1.p1.1)\.
## Appendix ALLMON Examples
### A\.1Multi\-instruction and Multi\-data Distractors
Figure[7](https://arxiv.org/html/2610.38120#A1.F7)illustrates a distractor example: three instructions and two data segments coexist, but the “exec” block unambiguously binds only one instruction\-data pair\. The model must learn to attend selectively to the referenced segments and ignore all others\.
[⬇](data:text/plain;base64,QFxjb2xvcmJveHtwaW5rfXs8fG9wZW58Pn1AQFxjb2xvcmJveHtsaW1lfXtpbnN0cjx8Onw+w6rDrX1AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QApTdW1tYXJpemUgdGhlIHRleHQgaW4gb25lIHNob3J0IHNlbnRlbmNlCkBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1ACkBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7bGlnaHR5ZWxsb3d9e2RhdGE8fDp8PsKhwr99QEBcY29sb3Jib3h7cGlua317PHxjbG9zZXw+fUAKVGhlIHNtYXJ0IHJhYmJpdCBlc2NhcGVkIHRoZSBmaWVsZApAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QApAXGNvbG9yYm94e3Bpbmt9ezx8b3Blbnw+fUBAXGNvbG9yYm94e3llbGxvd317ZGF0YTx8Onw+w4TDrn1AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QApUaGUgcXVpY2sgYnJvd24gZm94IGp1bXBzIG92ZXIgdGhlIGxhenkgZG9nCkBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1ACkBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7Z3JlZW59e2luc3RyPHw6fD7DrcOkfUBAXGNvbG9yYm94e3Bpbmt9ezx8Y2xvc2V8Pn1ACkNvdW50IHRoZSBudW1iZXIgb2Ygd29yZHMgaW4gdGhlIGdpdmVuIHNlbnRlbmNlCkBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1ACkBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7bGltZX17aW5zdHI8fDp8PsOaw6p9QEBcY29sb3Jib3h7cGlua317PHxjbG9zZXw+fUAKVHJhbnNsYXRlIHRoZSB0ZXh0IGludG8gRnJlbmNoCkBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1ACgpAXGNvbG9yYm94e3Bpbmt9ezx8b3Blbnw+fUBAXGNvbG9yYm94e29yYW5nZX17ZXhlYzx8Onw+w6HDgn1AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QAogIEBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7b3JhbmdlfXtleGVjPHwufD5pbnN0cnVjdGlvbn1AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QEBcY29sb3Jib3h7Z3JlZW59e2luc3RyPHw6fD7DrcOkfUBAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QAogIEBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7b3JhbmdlfXtleGVjPHwufD5pbnB1dH1AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QEBcY29sb3Jib3h7eWVsbG93fXtkYXRhPHw6fD7DhMOufUBAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QAogIEBcY29sb3Jib3h7cGlua317PHxvcGVufD59QEBcY29sb3Jib3h7b3JhbmdlfXtleGVjPHwufD5vdXRwdXR9QEBcY29sb3Jib3h7cGlua317PHxjbG9zZXw+fUBAXGNvbG9yYm94e2xpZ2h0Ymx1ZX17YXNzaXN0YW50PHw6fD7DsMOjfUBAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QApAXGNvbG9yYm94e3Bpbmt9ezx8b3BlblxfZW5kfD59QAoKQFxjb2xvcmJveHtwaW5rfXs8fG9wZW58Pn1AQFxjb2xvcmJveHtsaWdodGJsdWV9e2Fzc2lzdGFudDx8Onw+w7DDo31AQFxjb2xvcmJveHtwaW5rfXs8fGNsb3NlfD59QApUaGUgc2VudGVuY2UgIlRoZSBxdWljayBicm93biBmb3gganVtcHMgb3ZlciB0aGUgbGF6eSBkb2ciIGNvbnNpc3RzIG9mIDkgd29yZHMuCkBcY29sb3Jib3h7cGlua317PHxvcGVuXF9lbmR8Pn1AQFxjb2xvcmJveHtsaWdodGdyYXl9ezx8ZW5kXF9vZlxfdGV4dHw+fUA=)<\|open\|\>instr<\|:\|\>êí<\|close\|\>Summarizethetextinoneshortsentence<\|open\_end\|\><\|open\|\>data<\|:\|\>¡¿<\|close\|\>Thesmartrabbitescapedthefield<\|open\_end\|\><\|open\|\>data<\|:\|\>Äî<\|close\|\>Thequickbrownfoxjumpsoverthelazydog<\|open\_end\|\><\|open\|\>instr<\|:\|\>íä<\|close\|\>Countthenumberofwordsinthegivensentence<\|open\_end\|\><\|open\|\>instr<\|:\|\>Úê<\|close\|\>TranslatethetextintoFrench<\|open\_end\|\><\|open\|\>exec<\|:\|\>áÂ<\|close\|\><\|open\|\>exec<\|\.\|\>instruction<\|close\|\>instr<\|:\|\>íä<\|open\_end\|\><\|open\|\>exec<\|\.\|\>input<\|close\|\>data<\|:\|\>Äî<\|open\_end\|\><\|open\|\>exec<\|\.\|\>output<\|close\|\>assistant<\|:\|\>ðã<\|open\_end\|\><\|open\_end\|\><\|open\|\>assistant<\|:\|\>ðã<\|close\|\>Thesentence"Thequickbrownfoxjumpsoverthelazydog"consistsof9words\.<\|open\_end\|\><\|end\_of\_text\|\>
Figure 7:Multi\-instruction distractor example\. Three instructions and two data segments coexist; the bound target instruction and data are shown in green and yellow, the distractors in lime and light\-yellow\. The exec block \(orange\) references only “instr<\|:\|\>íä” with input “data<\|:\|\>Äî”\. The model must execute only the word\-counting instruction, ignoring the summarization and translation distractors\. Other special tokens are highlighted in light\-pink\.相似文章
Granite 4.1 LLMs:技术架构解析
本文详细介绍了 IBM Granite 4.1 大语言模型的技术架构与训练流程,涵盖预训练、SFT(监督微调)及 RL(强化学习)阶段。文章指出,该 8B 稠密模型在性能上超越了更大的 MoE(混合专家)模型,并提及模型以 Apache 2.0 许可证开源发布。
IBM新款Granite 4.2模型乘势而上,引领本地大语言模型热潮
IBM发布了Granite 4.2,这是一系列开放权重大语言模型,提供高达300亿参数的版本,配备128,000个token的上下文窗口,并采用代理强化学习以增强能力。
释放大型语言模型的潜力:实现实时、企业级部署的蓝图
这篇arXiv论文提出了一种统一的LLMOps架构,用于实时、企业级LLM部署,集成了数据摄入、持续学习、RAG和反馈循环。它引入了AIPO、STAR+FAR和SAGE等组件,以解决受监管行业中知识过时、幻觉和延迟-成本权衡的问题。
降低LLM延迟
用于降低大语言模型延迟、提高推理速度的技术和方法。
@songhan_mit: 探索简化 OPD 以高效进行 LLM 后训练:
本文介绍了一种简化 OPD 以实现大语言模型高效后训练的方法。