Scaling Laws Under the Data Wall: Token Efficiency, Data Strategy, and Optimizer Innovation

    This article examines how scaling laws should be applied once high-quality training data becomes a constraint. It covers the preconditions for reliable scaling, when to prioritize scale over algorithm changes, how to define and measure token efficiency, the principles and limits of Muon-like optimizers, and engineering checklists for agent generalization. The goal is to help teams evaluate efficiency gains through consistent, same-budget comparisons rather than isolated benchmark scores.

    In large-model R&D, route selection often determines the upper bound that can be reached. The Scaling Law is an empirical regularity that has been repeatedly validated over the past few years: when model parameters, training data, and compute grow in proportion, validation-set cross-entropy loss usually declines according to a power law. Kaplan et al. (2020) first systematically described this relationship. Hoffmann et al. (2022), in the Chinchilla work, further pointed out that parameter count and training token count need to scale together; otherwise compute may be wasted on large models that are undertrained. This article discusses three questions: what preconditions make scaling routes applicable, which metrics should be watched after the data wall appears, and how much optimizer innovation can improve data efficiency.

    1. Preconditions for Scaling Laws

    Empirical regularities do not hold unconditionally. Scaling laws usually behave stably under the following preconditions:

    1. The data distribution matches the evaluation target. When training data quality is poor or duplication is severe, loss reduction does not necessarily translate into downstream capability gains.
    2. The training process is stable. When the learning rate, batch size, and initialization are unreasonable, curves may saturate early or diverge.
    3. Evaluation coverage is sufficiently broad. Looking at only a single benchmark makes it easy to mistake data leakage or distribution shift for a regularity.

    Therefore, before deciding whether a route can continue to be scaled, teams should first confirm these preconditions and then decide on investment. For extrapolation beyond the tested scale, conclusions should retain uncertainty.

    2. Scaling First: When to Scale and When to Change Algorithms

    A common problem in R&D teams is premature optimization. A practical way to judge is this: if an improvement only appears in small-scale experiments and quickly disappears as parameter count increases, it is likely fitting a local distribution. In contrast, improvements that scale stably with size—such as more efficient parallel training, communication topology optimization, and data pipeline throughput—are usually worth prioritizing.

    Specific resource allocation can be checked in the following order:

    • First confirm whether current compute utilization is sufficient, including memory usage, communication waits, and data loading bottlenecks.
    • Then compare validation curves across different scales to see whether the improvement remains stable with scale.
    • Only then consider new algorithms, and require them to demonstrate gains in larger-scale experiments.

    A rule of thumb is: if existing scaling methods can solve the problem, use them first. The value of a new algorithm is often reflected in whether it can scale better with size.

    3. The Data Wall: Definition and Token Efficiency

    The data wall refers to the growth rate of usable high-quality training text being clearly slower than the growth in model data demand. The high-quality portion of public web text is limited in total volume, while the training-data demand of large models continues to rise quickly. This means that simply adding compute may not secure proportional data support.

    Token efficiency can be measured with the following definition: the ratio of the number of training tokens required by a baseline method to the number required by a new method when reaching the same target metric (for example, a certain validation-set loss or a set of evaluation scores).

    E = N_baseline / N_new

    Here, N represents the number of training tokens required to reach the target metric. E greater than 1 means the new method uses less data. When calculating, model size, learning-rate schedule, and evaluation set must be fixed; otherwise the ratio is not comparable.

    When data is limited, three types of strategies can be tried first:

    1. Data mixture. Adjust the sampling ratios of data from different sources by domain and difficulty, and use small models for proxy experiments to determine the ratios.
    2. Curriculum learning. Use easier or cleaner data in the early stage of training, then gradually add hard samples later, and observe whether convergence speed improves.
    3. Deduplication and quality stratification. Perform sentence-level and document-level deduplication, score samples with a quality model, sample high-scoring data multiple times, and reduce the weight of low-scoring data.

    The gains from these strategies need to be verified through same-budget comparisons. Reporting only final scores without the number of tokens used makes it impossible to determine whether efficiency has truly improved.

    4. Optimizers: Principles and Boundaries of Muon-Like Methods

    AdamW is one of the most commonly used optimizers today. It maintains first-order momentum and second-moment estimates for each parameter. It is stable, but each parameter requires two additional states, which brings significant memory and communication overhead in large-scale training.

    Muon-like methods take a different approach. They mainly act on two-dimensional weight matrices in hidden layers: first, they approximately orthogonalize the momentum matrix formed by accumulated gradients, usually through Newton-Schulz iterations, and then use the resulting update direction to modify parameters. Orthogonalization makes update magnitudes more balanced across directions, which may improve learning efficiency per token. The pseudocode below shows only the logical structure and omits distributed implementation and hyperparameter details:

    1. for step in range(num_steps):
    2. grads = compute_gradients(model, batch)
    3. for p in hidden_matrix_params: # Apply only to 2D hidden-layer weights
    4. buf = momentum * buf[p] + grads[p] # Accumulate momentum
    5. update = newton_schulz_orthogonalize(buf) # Approximate orthogonalization
    6. p -= lr * update
    7. for p in other_params: # Keep AdamW for embeddings, normalization layers, and output head
    8. adamw_step(p, grads[p])

    When using such methods, note the following:

    • Scope. Embedding layers, normalization parameters, and the output head usually still use AdamW; mixed use requires separate tuning.
    • Extra computation. Iterative orthogonalization introduces matrix operations, and the actual gain must subtract this wall-clock time.
    • Hyperparameter transfer. Learning rate and weight decay cannot be directly copied from AdamW settings and need to be searched again.
    • Comparison method. Results should be reported separately under the same number of training tokens and the same wall-clock time, with variance across multiple random seeds.
    • Scale dependence. Gains on small models or short training do not necessarily hold in large-scale training.

    Therefore, optimizer selection should be based on measured results under the target budget, not on the popularity of a method alone.

    5. Agent Generalization: From Task Decomposition to Failure Recovery

    Generalization of large models refers not only to memorizing knowledge, but also to decomposing goals, calling tools, and revising plans in unseen task combinations. Training this type of capability depends on high-quality task data, reliable tool interfaces, and reproducible evaluation environments.

    From an engineering perspective, a checklist can be used to organize training and evaluation:

    Stage Questions to verify
    Task decomposition Are subtasks complete and reasonably ordered? Is there a clear completion criterion?
    Tool calls Is the parameter format correct? Can errors be identified and retried after an error return?
    State tracking Are intermediate results correctly saved and referenced in long workflows?
    Failure recovery After an error, can the system roll back to the last stable state instead of starting over?
    Evaluation Does it include unseen task combinations? Is the distribution of failure reasons recorded?

    Reinforcement learning and multi-agent alignment training usually require a large number of parallel environment instances. Containerized services and high-performance networking can improve experiment throughput, but they only improve engineering efficiency and do not directly determine generalization capability. Whether generalization improves still depends on whether the data mixture and evaluation design are reasonable.

    6. Risks and Boundaries

    The following situations require particular caution:

    • If data-efficiency metrics look only at the training set or a single benchmark, gains are easily overestimated.
    • If deduplication and quality filtering are too aggressive, long-tail knowledge may be removed, harming performance in some domains.
    • If the order in curriculum learning relies on manual experience, it may fail when the data source changes.
    • If optimizer comparisons ignore tuning budgets, conclusions will favor the side that has been carefully tuned.

    Conclusion

    Scaling laws remain an important reference for planning compute and data investment, but their applicability depends on specific preconditions, and room should be retained for uncertainty when extrapolating. After the data wall appears, token efficiency becomes a more direct metric than simply adding compute, and it needs to be reported with a unified definition. Optimizer innovation and data strategies can both improve efficiency, but their gains must be confirmed through same-budget experiments.