Did You Forget What I Asked? Prospective Memory Failures in Large Language Models
Abstract
Large language models often fail to satisfy formatting instructions when they must simultaneously perform demanding tasks. We study this behaviour through a prospective memory inspired lens from cognitive psychology, using a controlled paradigm that combines verifiable formatting constraints with benchmark tasks of increasing complexity. Across three model families and over 8,000 prompts, compliance drops by 2-21% under concurrent task load. Vulnerability is highly type-dependent: terminal constraints (requiring action at the response boundary) degrade most, with drops up to 50%, while avoidance constraints remain comparatively robust. A salience-enhanced format (explicit instruction framing plus a trailing reminder) recovers much of the lost compliance, restoring performance to 90-100% in many settings. Interference is bidirectional: formatting constraints can also reduce task accuracy, with one model's GSM8K accuracy dropping from 93% to 27%. In additional stacking experiments, joint compliance declines sharply as constraints accumulate. All results use deterministic programmatic checkers without an LLM-as-judge component on publicly available datasets.
Figures & tables
| Natural Embedding | With Reminder | |||||
|---|---|---|---|---|---|---|
| Condition | o4-mini | DeepSeek | Llama | o4-mini | DeepSeek | Llama |
| Baseline | 86.1 | 89.3 | 88.9 | – | ||
| + TriviaQA | 82.2 -3.9 | 83.0 -6.3 | 87.8 -1.1 | 93.3 | 92.2 | 92.2 |
| + MMLU | 82.0 -4.1 | 77.4 -11.8 | 86.2 -2.7 | 94.8 | 92.2 | 93.3 |
| + GSM8K | 83.6 -2.5 | 78.5 -10.7 | 81.9 -7.0 | 94.8 | 91.5 | 90.0 |
| + 3 GSM8K | 71.1 -15.0 | 84.4 -4.8 | 84.4 -4.4 | 95.6 | 100.0 | 100.0 |
| Instruction Type | o4 | DS | Llama |
|---|---|---|---|
| Most vulnerable (baseline +GSM8K, %): | |||
| end_checker | 17 | 50 | 17 |
| json_format | +6 | 17 | 50 |
| number_bullet_lists | 12 | 44 | 11 |
| english_capital | 17 | 17 | 22 |
| Most robust: | |||
| Condition | o4-mini | DeepSeek | Llama |
|---|---|---|---|
| Task-only baseline (no formatting constraint): | |||
| TriviaQA | 88.8 | 92.2 | 91.1 |
| MMLU | 82.2 | 77.8 | 81.1 |
| GSM8K (single) | 93.3 | 87.8 | 94.4 |
| With formatting constraint (reminder): | |||
| + TriviaQA | 88.9 | 91.5 | 90.7 |
| o4-mini | DeepSeek | Llama | |||||||
|---|---|---|---|---|---|---|---|---|---|
| N | =0 | =1 | =3 | =0 | =1 | =3 | =0 | =1 | =3 |
| 1 | 100.0 | 100.0 | 97.1 | 100.0 | 95.0 | 85.0 | 100.0 | 100.0 | 100.0 |
| 2 | 94.9 | 97.5 | 85.0 | 85.0 | 70.0 | 70.0 | 100.0 | 100.0 | 85.0 |
| 3 | 97.4 | 82.5 | 61.9 | 100.0 | 80.0 | 70.0 | 95.0 | 100.0 | 85.0 |
| 5 | 55.0 | 55.0 | 32.5 | 65.0 | 55.0 | 65.0 | 95.0 | 80.0 | 75.0 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Type | Count? |
| Case | english_capital | No |
| english_lowercase | No | |
| Keyword | existence | No |
| forbidden_words | No | |
| Terminal | postscript | No |
| end_checker | No |
| Model | Provider | Type | Params |
|---|---|---|---|
| o4-mini | Azure OpenAI | Reasoning | N/A |
| DeepSeek-V3.1 | Azure AI | Open-weight | N/A |
| Llama-3.3-70B | Azure AI | Instruct | 70B |
| Dataset | Split | Pool | Sampled | Load |
|---|---|---|---|---|
| IFEval | train | 541 | 90 | – |
| TriviaQA | validation | 11,313 | 90/run | Low |
| MMLU | test | 14,042 | 90/run | Medium |
| GSM8K | test | 1,319 | 270/run | High |
| CNN/DM | test | – | 45/run | Long |
| Model | Condition | Compliance [95% CI] | Cohen’s | ||
|---|---|---|---|---|---|
| o4-mini | Baseline | 86.1 [82.0, 90.3] | – | – | – |
| + TriviaQA | 82.2 [77.4, 86.7] | 3.9 | 0.11 | .063 | |
| + MMLU | 82.0 [77.2, 86.5] | 4.1 | 0.11 | .052 | |
| + GSM8K | 83.6 [79.2, 88.1] | 2.5 | 0.07 | .265 | |
| + 3 GSM8K | 71.1 [61.1, 80.0] | 15.0 | 0.37 | .002 ** | |
| + 5 GSM8K | 66.7 [53.7, 79.6] | 19.5 | 0.47 | .070 |
| Condition | Task | Input | Output |
|---|---|---|---|
| Baseline (C0) | – | 72 | 538 |
| Reminder-enhanced | |||
| + TriviaQA | Factual | 97 | 248 |
| + MMLU | 4-choice | 166 | 308 |
| + GSM8K 1 | Arithmetic | 138 | 317 |
| + GSM8K 3 | 3 Arith. | 279 | 644 |
| Type | Description |
|---|---|
| english_capital | Entire response in capital letters |
| existence | Include specified keywords |
| forbidden_words | Avoid specified keywords |
| postscript | End with a postscript (P.S.) |
| title | Include a title in angular brackets |
| no_comma | Avoid all commas |
| o4-mini | DeepSeek | Llama | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| =0 | =3 | =0 | =3 | =0 | =3 | |||||||
| off | on | off | on | off | on | off | on | off | on | off | on | |
| 1 | 100 | 100 | 94 | 100 | 100 | 100 | 80 | 90 | 100 | 100 | 100 | 100 |
| 2 | 95 | 95 | 95 | 75 | 80 | 90 | 80 | 60 | 100 | 100 | 90 | 80 |
| 3 | 100 | 95 | 50 | 74 | 100 | 100 | 80 | 60 | 90 | 100 | 80 | 90 |
| 5 | 50 | 60 | 25 | 40 | 60 | 70 | 50 | 80 | 100 | 90 | 70 | 80 |
| Model | =off | =on | |
|---|---|---|---|
| o4-mini | 77.0 | 82.8 | +5.8 |
| DeepSeek | 77.5 | 79.2 | +1.7 |
| Llama | 91.7 | 94.2 | +2.5 |
| Constraint Type | o4-mini | DeepSeek | Llama |
|---|---|---|---|
| num_highlighted_sections | 76.6 | 71.4 | 96.4 |
| number_bullet_lists | 81.9 | 75.0 | 97.2 |
| quotation | 77.2 | 91.7 | 100.0 |
| number_placeholders | 82.2 | 88.4 | 100.0 |
| number_words | 88.3 | 87.0 | 95.9 |
| existence | 76.7 | 95.6 | 100.0 |
| Tension Pair | o4-mini | DS | Llama |
|---|---|---|---|
| no_comma + bullet_lists | 17.5 | +21.7 | 6.7 |
| postscript + quotation | +5.9 | +23.3 | +1.7 |
| english_cap + existence | 1.9 | +16.7 | 0.0 |
| num_words + bullet_lists | 21.6 | 16.7 | 15.0 |
| Mechanism | Description | |
|---|---|---|
| Domain shift | 55 | Constraint held for IFEval subtask, dropped at task transition |
| Structural abandon | 51 | Formatting maintained for first subtask, replaced for second |
| Terminal omission | 44 | Required ending produced mid-response; generation continues |
| Spatial compartm. | 19 | Global constraint applied only to one output section |
| Content/length | 18 | Required elements or length constraints not met |
Instruction Following
Instruction following studies how AI systems interpret and reliably carry out user goals, constraints, formats, and priorities.
See all 134 papers