DeepSeek V3 to V3.2: The Evolution of Sparse Attention and Reasoning Training
This article traces the technical evolution from DeepSeek V3 to V3.2, covering the model timeline, MLA and MoE architectures, RLVR and GRPO-based reasoning training, hybrid thinking modes, and DeepSeek Sparse Attention. It also explains the positioning of V3.2-Speciale and DeepSeekMath-V2, and provides practical considerations for model selection, deployment, latency, cost, and evaluation.
Introduction
The DeepSeek model family has evolved rapidly. V3, released in December 2024, initially attracted limited attention. The subsequent release of the R1 reasoning model led the community to reassess the series. By December 2025, DeepSeek V3.2 and V3.2-Speciale had been made public. V3.2 reached performance levels close to leading closed-source models on several public benchmarks, while V3.2-Speciale was optimized specifically for reasoning tasks.
This article reviews the major changes in chronological order. It distinguishes between information supported by official releases or technical reports and details that readers should verify independently. Specific release dates should be checked against the official repository and technical reports. Dates that have not been individually verified against the original announcements are marked as requiring verification.
1. Version Timeline
| Version | Release Period | Major Changes |
|---|---|---|
| V3 | December 2024 | MoE architecture, approximately 671 billion total parameters, with about 37 billion parameters activated per token |
| R1 | January 2025 | Reasoning training based on V3, with extensive use of reinforcement learning |
| R1-0528 | May 2025 | Updated version with improved reasoning capabilities |
| V3.1 | August 2025 | A single model supporting both thinking and non-thinking modes |
| V3.2-Exp | Late September 2025, pending verification | Experimental introduction of sparse attention |
| V3.2 | December 2025 | Finalized sparse attention design and updated reinforcement learning pipeline |
The release months in this table are intended to show the sequence of development. For precise dates, consult the official announcements or model repository records directly.
2. Hybrid Reasoning and Dedicated Reasoning Models
A hybrid reasoning model supports two operating modes within the same set of weights. In one mode, it returns an answer directly, reducing latency and per-request cost. In the other, it first generates a longer reasoning process before producing the final answer, making it more suitable for tasks such as mathematical proofs and code debugging. Users typically switch between these modes through a chat template or request parameter.
Dedicated reasoning models focus primarily on reasoning performance. R1 and V3.2-Speciale belong to this category. They can perform strongly on mathematics, programming, and logic problems, but they are not necessarily the best choice for open-ended conversation, writing, or tool-calling tasks.
The trade-offs between the two approaches mainly involve the following factors:
- Task type: Question answering, summarization, and customer support usually do not require extended reasoning, so hybrid models can reduce cost. Mathematical proofs and complex algorithmic problems often require longer reasoning chains, making dedicated reasoning models more targeted.
- Latency budget: Thinking modes generate many intermediate tokens and can significantly increase response time. Real-time applications should limit when these modes are used.
- Cost structure: When billing is based on token usage, tokens generated during the reasoning process may also count toward the bill. Total cost should be estimated using representative workloads.
- Functional requirements: If an application depends on tool calling or multi-step agent workflows, verify that the target version supports the required capabilities.
3. Core Architecture: MLA and MoE
3.1 The Problem Addressed by MLA
During inference, a model needs to store the keys and values of previously processed tokens as the KV cache. As the context grows, this cache often becomes the main source of GPU memory consumption during long-context inference.
Multi-head Latent Attention (MLA) compresses keys and values into lower-dimensional latent vectors. Instead of caching the full representations, the system stores the compressed results and reconstructs them when needed. This allows the same amount of memory to support longer contexts or larger batches. The trade-off is additional computation during reconstruction and a more complex implementation than standard attention.
3.2 Benefits and Limitations of MoE
A Mixture-of-Experts (MoE) model divides the feed-forward network into multiple experts. A router selects only a small number of experts for each token. V3 has approximately 671 billion total parameters, while about 37 billion parameters are activated for each token. As a result, its per-token computation is much lower than that of a dense model with a similar total parameter count.
MoE also has clear limitations. The parameters of all experts still need to be loaded into GPU memory or distributed across multiple cards. The deployment requirements therefore do not decrease proportionally with the number of active parameters. In addition, routing must remain balanced. Otherwise, some experts may become overloaded while others remain underused, reducing throughput and potentially affecting quality.
4. R1 and Reinforcement Learning with Verifiable Rewards
4.1 The Basic Idea Behind RLVR
Reinforcement Learning with Verifiable Rewards (RLVR) uses rule-based verifiers to assign rewards. For mathematics, the final answer can be checked against a reference result. For programming tasks, generated code can be executed against test cases. For structured-output tasks, a program can verify whether the required format has been followed.
Compared with reward models that depend on human preference annotations, this approach reduces annotation costs and lowers the risk of a policy exploiting weaknesses in a learned reward model.
RLVR has a limited scope. It can be directly applied only when an answer can be evaluated programmatically. Open-ended writing and subjective evaluation still require other reward signals.
4.2 The Role of GRPO
According to the R1 technical report, training used Group Relative Policy Optimization (GRPO). For a given problem, the model samples a group of answers. The advantage of each answer is calculated using the group’s average reward as the baseline. This avoids the need to train a critic model with a scale comparable to that of the policy model, reducing training resource requirements.
The effectiveness of GRPO depends on factors such as the number of samples, reward design, and hyperparameter selection. When reproducing the approach on a specific task, these settings must be evaluated separately.
4.3 R1-0528
R1-0528 is an updated version of R1. Public descriptions indicate improvements on reasoning benchmarks related to mathematics and programming. However, the exact size of these improvements depends on the evaluation setup, including the task set, number of samples, and decoding parameters. Results from different configurations should not be compared directly.
5. V3.1: Thinking and Non-Thinking Modes
The main changes in V3.1 involved post-training and usage patterns. The same set of weights can either answer directly or generate a reasoning process before responding. The mode is switched through the chat template rather than by separating experts into two groups and invoking them through different routing layers.
This design simplifies deployment. A single service can handle both simple questions and complex reasoning requests, with the caller selecting the mode for each request. However, thinking mode generates significantly more tokens, so cost and timeout settings should be evaluated before deployment.
6. V3.2-Exp: DeepSeek Sparse Attention
In standard attention, each token computes relevance against all preceding tokens, causing the computational cost to grow quadratically with sequence length. When the input contains documents spanning tens of thousands of words or a large codebase, attention computation can become the primary bottleneck.
DeepSeek Sparse Attention (DSA) uses a two-stage process:
- A lightweight lightning indexer scores historical tokens at relatively low cost.
- The main attention mechanism computes attention only over a small subset of the highest-scoring tokens.
DSA is built on top of MLA. Together, the two techniques reduce computation and memory requirements for long-context inference.
Several issues should be considered when using DSA:
- Benefits vary with sequence length: For shorter sequences, the overhead of the indexer may offset the computational savings. The advantages are more apparent in long-context scenarios.
- Selection errors are possible: If important information is not selected, output quality may suffer. Recall should be tested on the application’s own long-context workloads.
- Measured savings depend on the environment: Hardware, inference frameworks, and implementation details can all affect the actual reduction. Results from a technical report should not be applied directly to a different environment without validation.
7. V3.2: Sparse Attention and Training Updates
V3.2 incorporates DSA into the production design and also updates the post-training reinforcement learning process. Public materials indicate that the training data includes more content related to reasoning and tool use. The goal is to improve reasoning performance while preserving general-purpose capabilities.
V3.2-Speciale is a reasoning-focused version. Public descriptions emphasize longer reasoning processes and stronger performance in mathematics and programming. Its positioning should be considered carefully: it is designed for reasoning ability and should not automatically be assumed to cover all general-purpose use cases.
DeepSeekMath-V2 is a project focused on mathematical proving. Public materials describe a process in which a verifier model scores the proof step by step, after which a generator revises the proof based on the verification results. This generation-and-verification structure allows the model to identify and correct errors in its own derivations.
The method is primarily intended for mathematical problems that can be evaluated formally. Applying it to other domains requires a suitable verification mechanism to be designed for each domain.
8. Questions to Check When Selecting a Model
Before adopting a model from this series, consider the following questions:
- Can the task’s answers be verified programmatically? If so, reasoning models trained with RLVR may provide greater value.
- What is the typical context length? For long-context applications, test DSA’s retrieval performance and latency carefully.
- What is the latency limit? Thinking mode can substantially increase response time, so an appropriate activation policy is required.
- How will the model be deployed? Self-hosting requires evaluating GPU memory, multi-GPU communication, and inference framework support. API-based deployment requires attention to billing rules and version stability.
- What are the licensing and compliance requirements? Open weights do not automatically mean unrestricted commercial use. Review the model’s license terms.
- Has the model been tested on representative internal data? Public benchmark scores are useful references, but the final decision should be based on real business samples.
9. Conclusion
The evolution from V3 to V3.2 can be summarized through three main themes.
First, MLA and MoE continue to help control memory usage and computational cost. Second, RLVR and GRPO make reasoning training more dependent on verifiable signals, while thinking modes allow the same model to balance speed and depth. Third, DSA addresses the cost of attention in long-context scenarios and represents one of the clearest architectural changes in this stage of development.
The gap between open-weight and closed-source models has narrowed on some public benchmarks, but benchmark results are strongly influenced by evaluation settings. Model selection should therefore be based on the application’s tasks, hardware environment, and cost data. Before production deployment, the chosen approach should be validated with representative real-world samples.
