Open-Source Large Model Technical Evolution: Architecture Efficiency and Reasoning Capabilities
This article maps the technical evolution of open-source large models along two main tracks: architecture efficiency and reasoning capability. It walks through the foundational stage of dense models and data engineering, the Mixture-of-Experts (MoE) approach with fine-grained expert segmentation and shared experts, domain-specific code and math models including GRPO, multimodal and document understanding, and the engineering constraints of million-token long context. Each stage is paired with practical implications for training cost, inference throughput, and production deployment.
1. Why We Need a Technical Evolution Mainline
Over the past two years, open-source large models have stopped being a pile of isolated model releases. Instead, they have been iterating along two mainlines. The first is architecture efficiency, which asks how to get stronger capability from the same compute. The second is reasoning capability, which asks how to make a model apply the knowledge it already has. Once you separate these two tracks, most technical reports can be placed into clear coordinates.
What engineering teams actually care about is not a leaderboard score, but three questions: whether training cost is predictable, whether inference throughput is acceptable, and whether capability transfers to business scenarios. So for each stage below, we cover both the technical highlights and the deployment implications.
2. Foundational Stage: Dense Models and Training Philosophy
The core task of the first stage was to validate whether a reasonable budget could approach the level of closed-source models. The typical approach was to train a family of dense models from 7B to 67B, complete pre-training at roughly two trillion tokens, and emphasize a “long-termism” data and training strategy. That means prioritizing foundational work with long payback cycles rather than over-tuning around short-term metrics.
The most reusable part of this stage is data-side engineering: deduplication, quality tiering, domain mixing ratios, and curriculum-style sampling. In practice, the gains from data mixing often outweigh structural tweaks of the same scale. The takeaway for deployment teams: make your data pipeline a versioned, reproducible asset first, then talk about model architecture innovation.
3. Mixture-of-Experts: Fine-Grained Segmentation and Shared Experts
The key tension in Mixture-of-Experts (MoE) is that total parameters can be very large while per-token compute must stay controlled. Two widely accepted directions are:
- Fine-grained expert segmentation: split a few large experts into many smaller ones, enlarging the routing combination space and increasing expert specialization.
- Shared expert mechanism: keep a subset of experts that are always active for every token to carry general knowledge, preventing common capabilities from being diluted by routing.
A typical configuration has roughly 145B total parameters while activating only about 28.5% of parameters per token, which can match a dense model of the same generation. Illustrative pseudocode:
# Minimal illustration of routing + shared expertsgate = softmax(topk_logits(x, k=2)) # pick k of the fine-grained small expertsy = sum(gate[i] * experts[idx[i]](x) for i in range(k))y = y + shared_experts(x) # general capability always participates
On the engineering side, pay close attention to load-balancing loss, routing jitter, and GPU memory fragmentation. In container platforms and auto-scaling environments, it is advisable to feed expert load metrics into monitoring and alerting so that individual experts do not become hotspots.
4. Domain Depth: Code and Math Specialization
Beyond general-purpose models, code and math are the two depth directions most easily validated by business use cases.
For code, the approach is to train domain-specific models from scratch ranging from 1.3B to 33B, pre-train on about two trillion tokens of code corpus covering dozens of programming languages, and invest in repository-level context and dependency modeling. The deployment point is that evaluation must stay close to real engineering: besides function-level pass rates, look at cross-file completion, refactoring, and unit test generation.
For math, the most influential contribution is Group Relative Policy Optimization (GRPO). It removes the critic model that traditional Proximal Policy Optimization (PPO) must maintain, and instead samples a group of outputs for the same prompt, computing advantages from the relative good-or-bad within the group. This significantly reduces GPU memory and engineering complexity. The idea can be abstracted as:
Sample G answers for the same prompt -> compute their rewards -> normalize within the group to get advantages -> update only the actor
This approach later became one of the mainstream paradigms for reasoning model training. It also explains why “number of samples, reward design, and difficulty filtering” became the core tuning surface in the reinforcement learning stage.
5. Multimodal and Document Understanding: From Seeing Images to Reading Layouts
The focus of the multimodal stage is not just “being able to see images,” but adaptive resolution, chart and formula parsing, and layout structure reconstruction. Document understanding further requires the model to handle tables, stamps, scan noise, and multi-column layouts. The engineering recommendation is to split visual encoding, layout analysis, and text decoding into independently evaluable modules with their own metrics, avoiding an end-to-end black box that makes problems hard to localize.
6. Reasoning and Ultra-Long Context: Engineering Constraints at Million-Token Scale
Long context is not finished just by enlarging the window. It simultaneously tests attention complexity, positional encoding extrapolation, and retrieval strategy. A workable combination is: sparse or low-rank attention to reduce overhead, retrieval augmentation to supplement detail memory, and tiered caching to control cost. When context reaches the million-token level, the cost structure shifts from “compute” to “storage and bandwidth.” At that point, you can use object storage to hold long documents, message queues to decouple tasks, and logging and monitoring/alerting services for full-chain tracing.
7. Deployment Checklist
- Build data and evaluation assets first, then choose the model architecture.
- When trading throughput with MoE, be sure to build observability for routing load at the same time.
- In the reinforcement learning stage, prioritize “critic-free” algorithms to lower the resource barrier.
- For long-context scenarios, design in three layers: attention + retrieval + caching.
- In a cloud environment with general capabilities such as container platforms, object storage, and monitoring/alerting, such as Baidu AI Cloud, do elastic scaling and cost accounting, which can significantly shorten the cycle from validation to launch.
