The Evolution of Large Language Models: From Architecture Efficiency to Reasoning Intelligence

    This article maps the technical evolution of large language models along two main threads: architecture efficiency and reasoning capability. It covers general-purpose base models and long-term training practices, sparse Mixture-of-Experts (MoE) designs with fine-grained expert splitting and shared experts, domain-specific code and math models, the critic-free GRPO algorithm, multimodal alignment, and million-token context handling. Developers and technical decision-makers will find reusable design patterns and a practical selection checklist for capacity planning, domain data investment, post-training, long context, and evaluation.

    1. Introduction: Two Threads Behind a High-Density Technical Report Series

    Over the past two years, a domestic research team has published technical reports at an unusually high frequency, spanning general language models, code intelligence, mathematical reasoning, multimodal understanding, formal proof, and document understanding. Abstracted from these works, two threads run through all of them:

    1. Architecture efficiency — under limited compute and memory budgets, how to make every parameter and every token generate more value.
    2. Reasoning capability — how to make models reliably produce correct results on tasks that require multi-step derivation, such as math and code.

    For developers and enterprise technology decision-makers, the value of this thread is not memorizing a particular model name, but understanding a set of reusable design paradigms. The sections below reconstruct the technical map in the order of base models → sparse architectures → domain specialization → reinforcement learning → multimodal → long context.

    2. Starting Point: General Base Models and a “Long-Termism” Training Philosophy

    The series began with a batch of general language models ranging from 7B to 67B parameters, pretrained on roughly 2 trillion tokens. The most transferable aspect is not the parameter count but the training philosophy: emphasizing the long-term payoff of data processing and training strategy rather than chasing short-term fluctuations in benchmark scores.

    The engineering implication is direct: the gains from data cleaning, deduplication, mixing ratios, and curriculum scheduling accumulate across stages, while frequently re-tuning the recipe based on a single leaderboard often causes capabilities to trade off against each other. In practice, training stages can be organized with pseudocode like this:

    1. for stage in curriculum:
    2. data = pipeline.mix(stage.domain_ratio, dedup=True, quality_filter=True)
    3. model = train(model, data, lr=stage.lr, tokens=stage.tokens)
    4. evaluate(model, suite=["general", "code", "math"]) # cross-validate on multiple metrics

    Evaluation should cover multiple dimensions such as general ability, code, and math, avoiding single-point optimization. This stage also validated a key judgment: an open-source base model with a reasonable budget can approach the level of contemporaneous closed-source models on most tasks.

    3. Sparsification: Mixture of Experts and Two Key Modifications

    The core idea of Mixture of Experts (MoE) is “decoupling parameter capacity from computation”: the total parameter count is large, but each token activates only a small subset. The pain point of early MoE was the small number of experts and coarse routing granularity, which led to insufficient expert specialization and uneven load.

    Two modifications improved this substantially:

    1. Fine-grained expert splitting — splitting a few large experts into more smaller ones, improving combinatorial flexibility and specialization under the same activation budget.
    2. Shared expert mechanism — introducing a small number of experts that are always activated for all tokens to carry general knowledge, letting routed experts focus on differentiated patterns.

    The result: with 145B total parameters and only about 28.5% of parameters activated per token, the model can rival a 67B dense model of the same generation. Engineering-wise, load balancing and communication overhead need attention; an auxiliary loss can constrain the routing distribution:

    1. # Illustrative: load balancing auxiliary loss
    2. load = tokens_per_expert.float() / tokens_total
    3. aux_loss = num_experts * (load * router_prob).sum()
    4. loss = task_loss + alpha * aux_loss

    This architecture became the technical foundation for all subsequent sparse models, and it explains why “activated parameters” are a more meaningful metric than “total parameters” for capacity planning.

    4. Domain Specialization: Vertical Breakthroughs in Code and Math

    After the general base, the team trained a code-oriented model series from scratch (1.3B to 33B), pretrained on about 2 trillion tokens of code corpus covering 87 programming languages, surpassing contemporaneous closed-source solutions on benchmarks such as HumanEval. The takeaway: the scale and language coverage of domain corpora often determine vertical-scenario performance more than marginal gains in general capability.

    For math, the team contributed a highly cited algorithmic innovation — Group Relative Policy Optimization (GRPO). Traditional Proximal Policy Optimization (PPO) requires maintaining both a policy model and a value model, which is costly in memory and engineering complexity. GRPO samples a group of outputs for the same prompt and estimates the advantage from relative scores within the group, removing the critic model:

    1. Sample G responses {o_1..o_G} for prompt q
    2. r_i = reward(o_i)
    3. A_i = (r_i - mean(r)) / std(r) # group-relative advantage

    This approach significantly lowers the resource barrier for post-training and has become one of the core training methods for subsequent reasoning models.

    5. Multimodal and Long Context: From Seeing to Reading Everything

    For multimodal, the first vision-language model in the series focused not on “being able to look at images” but on data mixing and alignment strategy: the combination of interleaved image-text corpora, high-resolution tiling, and instruction tuning determines fine-grained recognition and document understanding.

    Long context is another battleground. The key to million-token context is not simply enlarging the window, but the coordination of three things: positional encoding extrapolation, attention computation optimization, and retrieval and compression strategies. Engineering can be layered:

    • The near layer retains exact original fragments for citation and verification.
    • The middle layer produces structured summaries and entity tables.
    • The far layer uses vector retrieval to recall on demand, controlling memory and latency.

    For cloud deployment, general capabilities can be combined — object storage (raw documents), message queues (decoupling parsing tasks), container platforms (elastic inference), and logging plus monitoring and alerting (observability for long-running tasks) — to form a stable pipeline.

    6. Summary: A Selection Checklist for Technical Teams

    1. For capacity planning, look at activated parameters and memory bandwidth, not just total parameters.
    2. For vertical scenarios, invest first in domain corpora and evaluation sets.
    3. For post-training, prefer critic-free algorithms to reduce cost.
    4. For long context, adopt layered memory plus on-demand retrieval.
    5. Back the whole pipeline with multi-metric cross-evaluation and observability, avoiding single-leaderboard-driven decisions.