Progressive Scaling: How Incremental Growth Lowers the Barrier to Building Your Own LLM

    This article explains how progressive scaling (referred to as PACE) reduces the risk and cost of in-house large model development under a fixed compute budget. It covers why deciding when to scale matters more than building at final size from day one, how sparse activation in a Mixture-of-Experts (MoE) target configuration decouples model capacity from per-token compute, and the four dimensions that must change together across growth steps: depth, width/expert count, data difficulty, and communication layout. It also gives an operational signal for triggering the next growth step and outlines the general infrastructure capabilities that support the workflow.

    1. The Starting Problem: With a 13.36T Token Budget, “When to Scale” Matters More Than “Build Big at Once”

    Given a fixed training compute budget, how large should the model be? This is the first question in building a large model in-house, and the one most often misjudged. The classic conclusion of Scaling Law is that under a compute constraint there is a relatively optimal ratio between parameter count and training tokens; as cumulative compute rises, the corresponding optimal model size grows with it.

    The conventional approach is to build the model at its final size from the very first step. Early on, the model mostly learns basic language regularities, so the marginal return from large capacity is limited. Later in training, however, the model size is locked in, and adding more tokens often buys only a smaller reduction in loss, while the compute cost of every step is still paid in full. The metric engineering teams should watch is not the absolute value of loss, but how much further the error can drop for the same additional GPU-hours. Only when the curve flattens does scaling become worth putting on the schedule.

    An intuitive analogy is buying shoes for a child: forcing a child to wear ill-fitting shoes is both uncomfortable and wasteful; waiting until the feet have grown before buying new ones means the earlier investment is not wasted. Progressive scaling (referred to as PACE in this article) turns the “when to change shoes” question into an executable scheduling problem.

    It is worth stressing that there is no universal answer for the exact step at which to scale. It depends on a series of engineering details: data mixture, parallelism strategy, hardware topology, and optimizer state management. It must be determined by fitting curves from small-scale proxy runs.

    2. The End State: Sparse Activation Decouples “Big” from “Expensive”

    Take a typical target configuration as an example: 42 layers, roughly 209B total parameters, about 14B activated parameters per token, an activation ratio of about 6.7%, using a Mixture-of-Experts (MoE) architecture. You can think of it as a large set of clearly divided compute modules: when a token arrives at the router, the router decides which modules are called to do the computation. The target configuration contains 288 routed experts, with 13 selected per token (an expert-side activation ratio of about 4.5%), plus 1 shared expert that handles general transformations.

    Two numbers here must be kept distinct. 209B describes the capacity of the full set of weights and determines memory and storage pressure. 14B describes the compute actually used to process a single token and determines throughput and latency. The value of sparse activation is precisely to decouple the two: capacity can grow on demand while per-token compute cost stays under control.

    A schematic structural description (pseudocode, expressing routing semantics only):

    1. # Each token is routed independently, top-k sparse activation
    2. logits = router(x) # [num_tokens, num_experts]
    3. topk_idx, topk_w = top_k_softmax(logits, k=13)
    4. y = shared_expert(x) # the shared expert always participates
    5. for e in unique(topk_idx):
    6. mask = (topk_idx == e)
    7. y[mask] += topk_w[mask] * expert_e(x[mask])

    Engineering must handle two side effects at the same time: load imbalance (some experts overheat) and routing jitter (routing is unstable early in training). Common practice is to add an auxiliary load-balancing loss, expert capacity limits and dropping policies, and to apply noise or temperature control to the routing logits.

    3. Four Growth Steps: Four Dimensions Must Move Together

    The key constraint of this kind of method is that every time you change the model structure, two other things must change with it: what data the model learns next, and how that data is moved across the accelerators. Putting all four on the same schedule is what makes a complete plan.

    1. Depth growth (adding layers). The first and last scaling steps add no total parameters at all; they only let each token use a few more experts. Adding layers first and experts later is a common ordering choice. Adding layers changes the length of serial dependencies and the size of activations, and has the most direct impact on how pipeline parallelism is partitioned.
    2. Width and expert-count growth (adding experts). New routed experts increase capacity but amplify routing imbalance and expert-parallel communication volume, so expert parallelism degree and capacity factor must be adjusted accordingly.
    3. Data difficulty scheduling. Early on, use high-frequency, highly regular, easy-to-learn corpora to build a solid foundation. Once the model starts to “struggle” on that distribution (loss reduction slows), introduce data with longer context, higher reasoning density, and greater difficulty. Data difficulty and model capacity must match; otherwise the gains from scaling are swallowed by a data bottleneck.
    4. Communication layout rearrangement. The parallelism strategy is not fixed after one setting: the combination of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism needs to be re-balanced as layer depth, expert count, and sequence length change, with the goal of overlapping compute and communication and reducing cross-node traffic.

    An operational signal for deciding “whether to scale” is to compare marginal returns within a fixed compute window:

    1. if Δloss / ΔFLOPs stays below a threshold across N consecutive evaluation points
    2. and validation-set difficulty tiers show the current tier is saturated
    3. then trigger the next structural growth, and switch the data tier and parallel layout at the same time

    4. Why This Workflow Lowers the Barrier to In-House Development

    First, it breaks the high-risk decision of “betting everything on the final size at once” into several smaller, rollback-able decisions, significantly reducing the cost of trial and error. Second, it puts compute into the stages with the highest marginal return, avoiding the inefficient late phase of “size locked, only tokens added.” Third, the coordination of structure, data, and communication turns scaling from a one-off change into a reproducible engineering process, so teams do not have to work out every curve from scratch.

    For implementation, it is recommended to pair the approach with three types of general-purpose infrastructure capabilities: object storage to hold massive corpora and checkpoints, a container platform to handle elastic training cluster orchestration, and logging services with monitoring and alerting to provide observability into the loss curve, expert load, and communication overhead. The capabilities Baidu AI Cloud offers in these general categories can serve as a reference model for teams building their own training platform.

    The conclusion is not radical: progressive scaling will not make in-house large model development zero-barrier. What it lowers is the decision barrier and the cost of trial and error. The real barriers remain data governance, parallel engineering, and evaluation systems. The value of this method is organizing that work into an executable, measurable schedule.