Zero Labs
Industry News / AI

Smaller Model, Better Memory: Why Qwen2.5-1.5B Outperforms 3B (And Our 4 Hypotheses)

Source · Towards AI By Christopher Alberto Hamonangan

From the publisher’s feed, collected in the ZeroLabs newsroom.

Christopher Alberto HamonanganThis article is based on our recent research paper, ‘SRRM: A Retrieval-Reconstruction Benchmark for Evaluating Long-Context Memory in Small Language Models’, published on Academia.edu. You can read the full paper by clicking on the paper title.When testing long-context memory retention in Small Language Models (SLMs), we discovered a striking scaling anomaly. The Qwen2.5–1.5B model consistently outperformed its larger counterpart, Qwen2.5–3B, in both targeted retrieval accuracy and global summary reconstruction. Below is how our open-source benchmark, SRRM, uncovered this phenomenon, along with our 4 hypotheses explaining why it happens.The Critical Flaw in How We Test LLM MemoryLarge Language Models (LLMs) and Small Language Models (SLMs) now regularly advertise context windows reaching 128K tokens or more. As SLMs are increasingly deployed on consumer-grade hardware , laptops, smartphones, and edge devices , users often assume that larger parameter counts naturally translate to superior long-context information retention.However, traditional evaluations predominantly rely on Targeted Retrieval tasks, such as Needle-in-a-Haystack or single-fact question answering. While these tests measure whether a model can pinpoint an isolated piece of data when explicitly prompted, they fail to reveal a deeper truth: Can the model actually preserve and reconstruct the entire collection of stored knowledge?To address this gap, we introduced Simple Retrieval–Reconstruction Memory (SRRM), a lightweight, fully reproducible, and open-source benchmark designed to evaluate long-context memory from two complementary perspectives:Sequential Retrieval Test (SRT): Evaluates targeted recall by asking explicit, isolated questions about previously presented statements (e.g., “What is John’s WiFi password?”).Summary Reconstruction Test (SRT/Summary): Evaluates global information preservation by prompting the model to reconstruct all previously mentioned facts line-by-line without any item-specific cues.Memory Preservation Ratio (MPR): A benchmark-level metric defined as MPR = Mean CIR / Mean Retrieval, quantifying what proportion of successfully retrieved facts are retained during full context reconstruction.Comparison of Existing Long-Context BenchmarksThe Anomaly — 1.5B Beats 3B Across Every Single MetricWe evaluated three members of the Qwen2.5 model family (0.5B, 1.5B, and 3B parameters) across progressively increasing context loads containing 10, 25, 50, 75, and 100 factual statements under identical experimental conditions and hardware configurations.Overall organization of the proposed SRRM benchmarkTo test memory retention across diverse knowledge types rather than a single attribute, the synthetic dataset incorporates 4 distinct semantic categories:Hair Color: Simple attribute-based facts tied to a single entity (e.g., “James’s hair color is black.”).Family Relationship: Relational facts linking two entities (e.g., “Sarah’s younger sister is Emily.”).Activity: Event-based facts describing actions or locations visited (e.g., “Mary went to Tokyo.” / “Kevin ate pizza.”).WiFi Password: Arbitrary symbolic alphanumeric strings with minimal semantic context, making them significantly harder to memorize (e.g., “John’s WiFi password is OceanBlue92.”).This figure illustrates the organization process performed after the synthetic JSON datasets have been generated. The four semantic categories are first loaded independently before being merged through a deterministic Round-Robin interleaving strategy, ensuring that information from different categories is distributed uniformly throughout the benchmark sequence. During this organization process, each information item is assigned a sequence identifier and a category identifier, producing a standardized benchmark dataset that can subsequently be partitioned into different context sizes for evaluation.To prevent category bias or local clustering during evaluation, statements from all four categories were interleaved evenly using a deterministic Round-Robin strategy before being inserted into multi-turn dialogue histories.Conventional scaling laws dictate that the 3B parameter model should dominate all memory tasks. The empirical results, however, revealed the exact oppositeOverall comparison between mean retrieval accuracy and mean CIR (Reconstruction) scoreKey Observations:The Retrieval Superiority: Qwen2.5–1.5B achieved a 86.7% mean retrieval accuracy, comfortably outperforming Qwen2.5–3B (72.2%) and Qwen2.5–0.5B (65.1%).The Reconstruction Collapse: When tasked with global summary reconstruction, Qwen2.5–3B’s Critical Information Recall (CIR) collapsed to just 18.5%. In contrast, Qwen2.5–1.5B retained 45.7%.The Preservation Gap: Qwen2.5–3B exhibited a massive 74.3% relative gap between retrieval and reconstruction, yielding an MPR of 0.26. Meanwhile, Qwen2.5–1.5B preserved over half of its retrieved knowledge, achieving an MPR of 0.53.Demonstrates that all evaluated models achieved substantially higher retrieval performance than reconstruction performance.Why Did the Smaller Model Win? Our 4 HypothesesBecause all models were evaluated using identical prompts, dataset ordering, context scaling, and inference configurations, this non-linear scaling behavior cannot be attributed to measurement noise or prompt engineering artifacts. It reflects an intrinsic property of the evaluated models.We formulate four primary hypotheses to explain this phenomenon:1. Context Utilization Efficiency (H1)The 1.5B architecture may possess a more balanced attention mechanism for mid-to-long context loads, allowing relevant factual tokens to remain highly accessible across layers during both retrieval and generation.2. Memory Representation Strategy (H2)The internal representations used to store context may differ fundamentally across model scales. The 1.5B model might maintain discrete factual representation vectors, whereas larger models shift toward denser contextual abstractions.3. Information Over-Compression (H3 — The Leading Hypothesis)The larger 3B model may perform aggressive information compression when processing multi-turn dialogue contexts. While this compression is sufficient to answer targeted single-item prompts (retrieval), it destroys the fine-grained factual boundaries needed to extract and list every individual statement during unprompted reconstruction.4. Scaling-Related Internal Mechanisms (H4)Long-context memory preservation does not scale monotonically with parameter count alone. Optimization dynamics, pre-training data mixtures, or layer-specific attention head allocations may create sweet spots in specific model variants.Practical Implications for AI Engineers & Open CallOur findings offer critical takeaways for developers building real-world LLM applications:Single-Fact Retrieval Metrics Are Deceptive: High accuracy on retrieval benchmarks does not imply that an LLM can maintain coherent context in multi-turn assistant dialogues or long-document summarization.Qwen2.5–1.5B is the Local Deployment Sweet Spot: For edge computing, local RAG pipelines, and persistent conversational agents, upgrading from 1.5B to 3B does not guarantee better memory. In fact, it may significantly degrade performanceOpen Question to the AI CommunityHave you observed similar scaling anomalies when testing long context or memory retention in other model families like Llama, Mistral, or Gemma?* Paper Status: Please note that the preprint is currently on hold on arXiv and HAL pending author identity/institutional verification as a high school independent researcher. Formal peer-review will be conducted shortly. You can access the full paper on Academia.edu.Appendix: Experimental Setup & Hardware EnvironmentInference settings and experimental configuration shared by all evaluated models and Hardware specifications used for all benchmark experimentsNote: All models (0.5B, 1.5B, and 3B) received identical prompt templates, dialogue context sequences, and inference configurations to isolate model scale as the sole independent variable.Smaller Model, Better Memory: Why Qwen2.5-1.5B Outperforms 3B (And Our 4 Hypotheses) was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.