Format Sensitivity Index: Token-Controlled Prompt Wrapper Robustness and Schema Compliance in LLM Benchmarking
This paper introduces the Format Sensitivity Index (FSI) and Parseability Sensitivity Index (PSI) to demonstrate that minor formatting differences in prompt wrappers cause significant, model-dependent score variations and compliance failures, arguing that benchmarking accuracy without accounting for this variance is statistically fragile.
Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a judge at a talent show, but instead of listening to the singers, you are only allowed to read their lyrics. Now, imagine that some singers are told to write their lyrics on a plain piece of paper, while others are forced to write them inside a fancy, rigid JSON box, and others still must wrap their words in a specific "BEGIN/END" sandwich.
You'd expect the singer's talent to stay the same, right? The song shouldn't change just because the paper changed. But according to this study by Deep Pankajbhai Mehta from Adobe, that's exactly what happens with AI models. The "paper" (the prompt wrapper) matters so much that it can flip the entire leaderboard, making a genius look like a novice and a novice look like a genius.
The Great Format Shake-Up
The researchers ran a massive experiment, generating 140,000 answers from four different AI models (ranging from 7 billion to 72 billion "brain cells") across seven different question-answering tasks. They tested five different "wrapper" styles:
- Plain: Just the answer.
- JSON: Strict computer code format.
- Structured: Key-value pairs.
- Structured with Delimiters: Key-value pairs with special tags like
<BEGIN ANSWER>. - Deliberate: A scratchpad for thinking, followed by the answer.
The result? The models were incredibly sensitive to these formatting rules. For some models, changing the wrapper caused their accuracy to swing wildly. One model, Phi-4, was a total drama queen: its accuracy jumped by a massive 0.763 (a huge range) just by changing the wrapper. In contrast, the giant Qwen-2.5-72B was a chill rockstar, barely moving at all with a swing of only 0.024.
The "Can You Read This?" Problem
Why did the scores change so much? The paper suggests it wasn't because the AI suddenly got smarter or dumber at the actual questions. It was mostly a compliance problem.
Think of it like a vending machine that only accepts coins. If you try to feed it a dollar bill (even if it's a valid dollar), the machine rejects it. In the study, when the AI tried to follow a strict JSON rule but accidentally added a markdown code fence (like a little ``` symbol), the machine (the answer extractor) couldn't read it. The answer was marked as "unparseable," which counted as a wrong answer.
The data shows a strong link: when the AI failed to be "parseable" (machine-readable), its accuracy often crashed to near zero. For the Phi-4 model using the strict JSON wrapper, it produced outputs beginning with a markdown code fence in 85.3% of generations, yielding a parseability of just 2.8% and an accuracy of 0.7%. The researchers found that "parseability" was a huge predictor of success, explaining about 82% of the leftover differences in scores after accounting for the model and task.
What This Means for the Future
The paper argues that reporting a single accuracy number for an AI is like reporting a single temperature without saying if it's in Fahrenheit or Celsius—it's misleading. If a wrapper choice can change a score by 0.76, that single number is "statistically fragile."
The authors suggest that when we test AI, we shouldn't just pick one wrapper and hope for the best. Instead, we should:
- Report the range of scores across different wrappers (like a "sensitivity index").
- Check if the answers are actually parseable.
- Be careful about using strict formatting in real-world apps unless the AI is forced to follow the rules by its decoder (the part that generates the text), not just by the prompt.
The Bottom Line
This study doesn't say AI is broken; it says our measuring tape is wobbly. The "Format Sensitivity Index" (FSI) and "Parseability Sensitivity Index" (PSI) are new tools to measure how much a model's score depends on the wrapper. The findings suggest that for some models, the wrapper choice is more important than the model's actual smarts. Until we fix this, the "best" AI on a leaderboard might just be the one that happened to like the specific formatting style of the person who built the test.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.