Semantic Density Does Not Predict Agent-Memory Collapse
Gupta et al. in Agents
Does semantic density warn before agent accuracy drops?
Semantic Density Does Not Predict Agent-Memory Collapse
How the warning test was built
- 1
Corpus and scope
The corpus spans 13 methods, six settings, and five benchmark families; stores include trajectories, rules, workflows and strategies.
- 2
Paired checkpoints
Checkpoints pair stores with unchanged-agent accuracy on fixed held-out tasks; 805 snapshots span 154 build series.
- 3
Store indicators
Analysis tracks 14 structural statistics plus item/token counts; only 82 series had matched structure and accuracy traces.
- 4
Forecast target
Models exclude current and past accuracy, predicting a fall below the matched no-memory baseline within 1, 2 or 5 future checkpoints.
What counts as an early lead?
Positive means the statistic turns first. Primary analysis uses the PELT-detected accuracy turn; secondary analysis instead uses the checkpoint after the first observed accuracy maximum.
- Δs
- Positive means the statistic turns first
- Nacc
- Accuracy-reference checkpoint
- Ns
- First turn in its registered direction
Local crowding shifts early; store size does too
Primary PELT found no registered statistic passing BH q<.05. Mean pairwise cosine similarity ρ had zero median lead (n=7; BH q=.588); nearest-neighbour distance's median lead was +50 stream steps (n=18; BH q=.105).
Post-peak median leads: nearest-neighbour distance fell 50 stream steps before the reference (n=51; BH q=2.0×10⁻⁵); 99th-percentile pairwise similarity rose 75 stream steps earlier (n=25; BH q=.0082); mean ρ lead was 0 (n=16).
Post-peak is a reference, not a detected decline; item/token median leads were +50 stream steps (n=49 and 54).
Warning models did not transfer reliably
- 1
Strict method holdout
On identical h=2, method-held-out folds, pooled logistic AUROC was .650 for geometry and .663 for log item count; all-feature histogram boosting scored .531 (permutation p=.545).
- 2
Frozen PropWorld forecasts
Across 80 size-limited states with no observed catastrophic decline, the frozen models made 273/480 false-alarm decisions (56.9%).
- 3
Missed zero-success checkpoints
At 12 checkpoints with context-limit rejections and zero recorded success, they detected only 13/72 decisions (18%), pooled across two models and three horizons.
The whole-store run crossed its input limit
In the gpt-5.4-mini whole-store run, injected tokens at the last nonzero and first zero-success checkpoints bracketed the input limit; 2,400 context-overflow rejections were scored as failures.
- 258,952
- Injected block at last nonzero checkpoint
- 272,000
- Verified gpt-5.4-mini input limit
- 291,064
- Injected block at first zero-success checkpoint
Where these findings stop
Sparse primary timing
Only 82/154 series had matched traces; any primary statistic had at most 18 paired series, so the null result does not prove all structural effects absent.
Secondary concentration
AppWorld and WebShop provide 45/51 nearest-neighbour pairs; 11/19 BH survivors also pass BY, and some distribution-free intervals include zero.
Single-seed capacity test
PropWorld used one seed and one task ordering; its accumulating adapter bypassed ReasoningBank's top-k retrieval, so it tests whole-store prompting, not that retrieval method.
Why it matters
- Global mean similarity gave no reliable early warning in the registered analysis.
- Track injected-token growth in whole-store prompts; tested size-limited PropWorld policies showed no catastrophic decline at observed checkpoints.
- Whether local crowding predicts degradation when prompt capacity is controlled remains open.
8 slides, 2 min
5 days ago