Every developer who has swapped an LLM in a production pipeline knows the feeling. The prompt that produced clean structured output yesterday returns malformed fragments today. You blame the model. You blame the temperature setting. You almost never blame the format of the wrapper.

A July 2026 arXiv paper proposes a way to measure that blind spot. "Format Sensitivity Index: Token-Controlled Prompt Wrapper Robustness and Schema Compliance in LLM Benchmarking," posted to the CS.AI repository on July 14, 2026, under submission number 2607.09665, introduces a metric that quantifies how much a model's benchmark performance shifts when you change the formatting around the same task.
The core claim is that benchmark scores swing widely enough across format conditions to invalidate leaderboard rankings that ignore format sensitivity.
The paper's framing is pointed. Current LLM benchmarks report a single score per model per task, assuming a fixed prompt format. But models are sensitive to the tokens that wrap a prompt, the schema that constrains the output, and the delimiters that separate instructions from data. Change those tokens and the score moves. The Format Sensitivity Index, or FSI, measures how far and how often.
This matters because benchmarks drive model selection, procurement decisions, and investor narratives. If a leaderboard position depends on whether the evaluator used XML tags or JSON braces, the leaderboard is measuring format compliance as much as intelligence.
What does the Format Sensitivity Index actually measure?
The paper defines the Format Sensitivity Index as a composite metric capturing two dimensions: how robust a model's outputs are to changes in the prompt wrapper tokens, and how consistently the model complies with a specified output schema across those changes.
The first dimension, wrapper robustness, works like this. Take a benchmark task. Wrap it in format A. Measure the score. Wrap the same task in format B. Measure again. Repeat for several formats. The variance in scores across formats is the raw material for the FSI.
The "token-controlled" qualifier in the paper's title is the key methodological move. Rather than changing the natural language of the prompt, the approach holds the task description constant and varies only the structural tokens: angle brackets, curly braces, hash marks, delimiter strings. This isolates format sensitivity from content sensitivity. You are not testing whether the model understands a different question. You are testing whether the model responds differently to the same question when it is packaged differently.
The second dimension, schema compliance, measures whether the model's output conforms to the requested format on each attempt. If you ask for JSON with specific fields, does the model return valid JSON? Does it include all required fields? Does it nest them correctly? The paper treats schema compliance as a measurable rate, not a binary outcome.
A model that returns valid JSON 95 percent of the time under one wrapper but only 60 percent under another has a format sensitivity problem. A model that returns valid JSON at 90 percent regardless of wrapper has a low FSI. The second model is the one you want in production.
The paper's contribution is not the observation that models are format sensitive. Practitioners have known this since the first time they tried to get a frontier model to return consistent structured output. The contribution is proposing a standardized metric that makes the problem measurable, comparable across models, and reportable alongside benchmark scores.
The broader research community has been circling this problem. Work on LLM reasoning and search space geometry has shown that model behavior is shaped by token-level distributional properties in ways that are invisible at the prompt level. Format sensitivity is the evaluation-side manifestation of the same phenomenon: the model's output distribution shifts with the token distribution of the wrapper.
Why does format sensitivity matter for what you are building?
The stakes are concrete. If you are choosing between two models for a production system, and your evaluation only tests one prompt format, you are making a procurement decision with incomplete information.
Consider the scenario that plays out in engineering teams every week. Your team runs a benchmark. Model A scores 82 on your internal evaluation suite. Model B scores 78. You pick Model A. You deploy it. Three weeks later, you refactor your prompt templates to use XML instead of JSON, or you switch from a system prompt to a user prompt, or you add a few-shot example that changes the token distribution. Model A's production accuracy drops to 71. Model B, which you rejected, happens to be format-robust and would have held at 76 across the same change.
You made the wrong call because your benchmark did not measure format sensitivity. The FSI exists to prevent that.
The problem extends beyond model selection. It affects several areas:
-
Procurement decisions. When a team evaluates a model API for a contract, the benchmark scores in the vendor's marketing materials are generated with a specific prompt format. Your format will be different. If the model has a high FSI, the gap between the marketed score and your production score could be substantial.
-
Agent reliability. Agent frameworks compose prompts dynamically. The same model might receive a task wrapped in a tool-call schema, a chain-of-thought scaffold, or a plain instruction, depending on the runtime path. A model with high format sensitivity will produce inconsistent agent behavior that is difficult to debug because the variable is invisible in standard logs.
-
Evaluation pipelines. If your evaluation harness uses a different prompt format than your production system, your eval scores are measuring a parallel universe where the format happens to be the eval format. This is a common and expensive mistake, and it becomes invisible until production metrics diverge from eval metrics.
The broader problem of benchmark saturation compounds this. When models cluster within a few points of each other on a benchmark, format sensitivity can be larger than the gap between models. The leaderboard stops measuring model quality and starts measuring format luck.
What should you do about format sensitivity today?
The paper proposes a metric. The practical work is yours. A rigorous approach has four steps.
First, audit your evaluation suite across formats. Run your existing benchmarks with at least three wrapper conditions: your production format, a plain-text variant, and a structured variant using a different schema notation. If the scores diverge by more than a few percentage points, you have a format sensitivity problem that your current eval pipeline is hiding.
Second, report the score range, not just the mean. When you compare models, compare the spread across format conditions alongside the average. A model with a mean of 80 and a range of 72 to 85 is a different engineering proposition from a model with a mean of 80 and a range of 78 to 82. The first model is a bet on your format staying constant. The second is a bet on the model.
Third, build format robustness into your prompt engineering process. This means:
- Testing prompt changes against multiple format conditions before merging.
- Treating wrapper tokens as a variable in your eval, not a constant.
- Documenting the format conditions under which your benchmark scores were obtained.
- Watching for format drift when you update models, including minor version bumps that vendors rarely flag.
Fourth, push your model vendors for FSI data. If you are spending significant budget on an API contract, ask the vendor to provide benchmark scores across at least three format conditions. If they cannot or will not, that is information. A vendor that reports only single-format scores is either unaware of format sensitivity or hoping you will not ask.
The cost of ignoring format sensitivity is not abstract. It is the gap between your eval scores and your production metrics. It is the bug report that says the model stopped working after a prompt template refactor. It is the procurement decision that looked right on paper and wrong in production.
The leaderboard problem nobody measured
The Format Sensitivity Index exposes a structural flaw in how the AI industry evaluates models. Leaderboards rank models by a single score per task. That score assumes a format. Change the format and the ranking shifts. The leaderboard is not measuring model quality in general. It is measuring model quality under one specific format condition, presented as if it were a universal property.
A benchmark that does not report format sensitivity has an uncontrolled variable. The FSI gives that variable a name and a number. The arXiv paper, posted July 14, 2026, makes the case in formal terms. The practical case is already being made every day in production systems where model behavior shifts after a prompt refactor and nobody on the team can explain why.
For now, treat any benchmark score that does not specify its format conditions as a partial measurement. Your model's production performance will be determined by the format you actually use, not the format the benchmark happened to use. The FSI is a tool for closing that gap. The question is whether evaluation pipelines and model vendors will adopt it before the next round of procurement decisions gets made on incomplete data.
Sources
- arxiv.org , Format Sensitivity Index: Token-Controlled Prompt Wrapper Robustness and Schema Compliance in LLM Benchmarking, CS.AI, July 14, 2026
