Small Language Models (SLMs) are increasingly deployed on edge devices and local hardware. While modern architectures boast theoretical context windows of up to 128K tokens, real-world resource constraints often force users to operate under significantly smaller context loads. More importantly, standard long-context benchmarks heavily rely on retrieval-oriented tasks (such as Needle-in-a-Haystack or single-fact QA).
However, a fundamental research question remains: Does a model’s ability to retrieve a single isolated fact mean it can preserve and reconstruct an entire context of accumulated information?
To investigate this gap, I developed and evaluated SRRM (Simple Retrieval-Reconstruction Memory), a lightweight and reproducible benchmark designed to measure long-context information retention in SLMs from two complementary angles.
SRRM jointly evaluates models across progressively increasing context loads (from 10 to 100 factual statements):
-
Targeted Retrieval (Sequential Retrieval Test): Tests the model’s ability to recall specific, isolated facts through explicit direct questions.
-
Global Information Reconstruction (Summary Reconstruction Test): Prompts the model to reproduce all previously presented information in a single structured list without individual cues.
To link these two capabilities, SRRM introduces the Memory Preservation Ratio (MPR):
This metric quantifies how much of the successfully retrieved information actually survives when the model is asked to perform holistic context reconstruction.
Key Findings from Evaluating Qwen2.5 (0.5B, 1.5B, and 3B)
Using a standardized synthetic dataset interweaving four semantic categories (hair color, family relations, activities, and WiFi passwords), we evaluated three parameter sizes of the Qwen2.5 family via Ollama under identical hardware and context limits (4096 tokens).
1. Retrieval Accuracy vs. Reconstruction Degradation
Across all models, global reconstruction performance (Critical Information Recall / CIR) degraded significantly faster than targeted retrieval accuracy as context size grew.
-
For instance, at 100 facts, Qwen2.5-1.5B maintained a 75.0% retrieval accuracy, but its reconstruction recall dropped to 29.0%.
-
This confirms that targeted retrieval alone drastically overestimates a model’s true long-context memory preservation.
2. Non-Linear Scaling Behavior
Surprisingly, increasing model parameter size did not translate to better long-context memory retention:
-
Qwen2.5-1.5B emerged as the top performer across all benchmark indicators, achieving an average retrieval accuracy of 86.7%, a reconstruction score of 45.7%, and an MPR of 0.53.
-
Qwen2.5-3B performed noticeably worse, recording 72.2% retrieval accuracy, a low 18.5% reconstruction recall, and an MPR of just 0.26.
-
The smaller Qwen2.5-0.5B achieved an intermediate MPR of 0.46.
This suggests that context retention efficiency and internal compression behavior in SLMs are heavily influenced by architecture/optimization dynamics beyond pure parameter count.
| Model | Mean Ret. | Mean CIR | MPR | Interpretation |
|---|---|---|---|---|
| Qwen2.5-0.5B | 65,1% | 29,7% | 0,46 | Moderate |
| Qwen2.5-1.5B | 86,7% | 45,7% | 0,53 | High |
| Qwen2.5-3B | 72,2% | 18,5% | 0,26 | Low |
Why This Matters for SLM Deployment
In real-world multi-turn applications, such as personal AI assistants, local agentic workflows, and document summarization, models aren’t just asked isolated queries; they need to synthesize and maintain holistic awareness of prior conversation history.
Evaluating models solely with retrieval accuracy hides critical failure modes during long-form generation. Benchmarks like SRRM help surface these complementary memory behaviors.
Paper & Code Access
-
Paper Title & Link: SRRM: A Retrieval-Reconstruction Benchmark for Evaluating Long-Context Memory in Small Language Models
-
Medium Article Link : Smaller Model, Better Memory: Why Qwen2.5-1.5B Outperforms 3B (And Our 4 Hypotheses)
-
Author: Christopher Alberto Hamonangan
I’d love to hear the community’s feedback, thoughts on long-context compression mechanisms, or ideas on extending SRRM to multimodal or larger models!



