The Date You Didn't Set: The System-Prompt Date as a Hidden Variable in LLM Evaluation
- Source
- arxiv.org
- Author
- Noureldin Zahran, Mohammed E. Fouda, Khaled N. Khasawneh
- Date

Context
Many open models ship a chat template, the code that turns a conversation into the text the model actually reads, and those templates often write today's date into a hidden system preamble at the moment of each request. Noureldin Zahran, Mohammed Fouda and Khaled Khasawneh of George Mason University and Compumacy AI Solutions show that this date alone changes benchmark results (arXiv). An evaluation run with identical prompts, decoding and settings sends the model a different prompt each day, and the answers change with it.
The authors tested six open models, including Meta's Llama-3.2-3B and Llama-3.1-8B, Mistral-Small-24B and OpenAI's gpt-oss-20B, on samples of MMLU, GSM8K, IFEval and HumanEval with greedy decoding. Rerunning at the same date reproduced every answer byte for byte, so any difference between two dates is caused by the date. Between two plausible dates from 2024 to 2026, a median 6.6% of test items switched between correct and incorrect, up to 23.7% in one cell. Moving the date by a single day flipped 4.3%, about as much as changing the batch size from 32 to 8. Headline scores hide most of this because the flips largely cancel: the accuracy change had a median of only 2.3 points. Even so, the unluckiest pair of plausible dates moved a score by a median 6.2 points, and gpt-oss on IFEval ranged from 49.0% to 72.9% depending on the date. The answer text itself differed on 38% to 81% of answer pairs, so any study that compares or quotes generations inherits an even larger dependence than accuracy shows.
To find the worst case, the authors searched across dates of any year for ones that shift each model's output most. Only the two Llama models lost accuracy significantly, up to 36.5 points for Llama-3.1-8B on MMLU, at damaging dates such as 1342, 1941 or 3846, all far from the December 2023 their template prints just above the date. The losses are mostly refusals rather than lost knowledge: the model often refuses while pointing out that the date contradicts its stated cutoff. None of the 2024 to 2026 dates the authors scored caused a statistically significant accuracy loss for any model, though they scored a shortlist rather than every date in that window. Beyond accuracy, a different plausible date changed which answer an judge preferred, and between 15% and 32% of 786 jailbreaks that had succeeded against Llama-3.2-3B at one date failed at another, so a reported attack success rate depends on a setting that is rarely recorded.
None of the eleven widely used evaluation tools and leaderboards the authors audited pins the date by default, and none of 16 accepted papers that ran a date-inserting model reported which date it used. The fix is cheap: set the date through the template's own where one exists, such as Llama's date_string, or override the system prompt, then log it with the seed and decoding settings. The study covers open models up to 24B parameters on English benchmarks, and the authors do not claim the date is more disruptive than other preamble fields. It adds a separate source of drift to the -zero nondeterminism that Thinking Machines examined: under a template that reads the clock, the date changes from one day to the next even when every setting the evaluator chose stays the same.
- Rerunning an unchanged evaluation one day later flipped about as many items as changing the batch size, because the auto-filled system-prompt date was the only input that moved.
- Switching between two plausible dates also changed LLM-judge verdicts, so judge-scored benchmarks inherit the same hidden variable.
- None of the eleven evaluation stacks the authors audited pins the date; with the date and the rest of the setup fixed, reruns reproduced byte-for-byte.
- The worst-case dates were found with a grammar-constrained variant of Greedy Coordinate Gradient searching dates of any year, not by sampling a few calendar values.
- knowledge cutoff — The date after which a model saw no training data — everything later has to reach it through search, tools, or the context window.
- Large language model — A model trained on large amounts of data to process and generate language.
- agent hook — A script the harness runs automatically at a fixed point in an agent's loop — before a tool call, after an edit, on session start.
- Sampling controls — Parameters that shape how deterministic or varied model generation becomes.
articleLatent Undertow: How Ordinary Typos Break ProbesElad David, Max Fomin, Amit LeVi
articleLanguage Models Make New Research Sound OldGuy Zyskind
articleDo Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code GenerationAlex Deaconu, Anubhav Gupta, Manaal Basha, Nicholas Haydu, Gema Rodr\'iguez-P\'erez