LLM Scaling in the Deep Water: How the Focus Shifted from Foundation Models to Inference

    This article examines why simply adding compute is no longer enough for large language models, and how frontier teams are moving toward a three-layer approach combining pretraining, reinforcement learning for reasoning, and agentic products. It breaks down the main technical levers for improving effective compute, closing the loop between training and product feedback, and pricing agent capabilities by value. It also outlines a layered architecture for developers, common pitfalls to avoid, and a practical path forward.

    1. Where the Problem Starts: Why More Compute Alone Is No Longer Enough

    Over the past few years, the growth in large model capabilities could be summarized by a single curve: more parameters, more training data, and more compute, traded for lower loss and higher benchmark scores. But once pretraining entered a regime of diminishing returns, teams began running into an awkward reality: training costs kept climbing, while usable capability in real business scenarios did not improve at the same rate.

    The reason is not mysterious. Pretraining is essentially fitting the distribution of the training corpus. It is good at “knowing” but not at “reasoning through.” Real tasks are often multi-step: read the requirements, break down the task, call tools, verify results, and retry on failure. These tasks require more computation at inference time, which the industry often calls inference-time scaling. As a result, the direction at the frontier is shifting from “single-point scale expansion” to a three-layer combination of “pretraining + reinforcement learning for reasoning + agentic products.”

    2. Breaking Down the Three Main Threads

    2.1 Improving Effective Compute by an Order of Magnitude: It Is Not Just About Adding GPUs

    “Improving effective FLOPs by at least an order of magnitude” is an engineering goal, not a procurement goal. Practical approaches usually fall into four categories:

    • Data side: improve corpus deduplication quality, mixing strategies, and curriculum-style ordering, so the same compute produces higher information density;
    • Architecture side: sparse expert structures and more reasonable attention variants, so compute is spent on effective parameters;
    • Training stability: better optimizer state management, loss spike suppression, and rollback mechanisms to reduce wasted training runs;
    • Post-training side: use verifiable rewards to reinforce reasoning chains, turning “can get it right” into “reliably gets it right.”

    A schematic training-evaluation loop can be expressed like this:

    1. for stage in ["pretrain", "sft", "rl_reasoning"]:
    2. ckpt = train(stage, data=curriculum[stage], budget=budget[stage])
    3. report = evaluate(ckpt, suites=["knowledge", "math", "code", "agentic"])
    4. if report.regression("agentic"):
    5. rollback(ckpt) # capability regressions must be rollback-able
    6. curriculum = update(stage, report) # feed evaluation results back into data mixing

    The key point is that evaluation is not the endpoint; it is an input to data mixing.

    2.2 Closing the Loop Between Training and Product: Letting “Taste” Enter the Model

    A second variable that is easy to overlook is whether product-side experience can flow back into training. The ceiling of model capability is often determined by the precision of task definition, and the precision of task definition comes from the failure modes exposed in real interactions.

    It is worth building three feedback channels:

    1. Explicit feedback: users’ direct ratings of results and their edit actions;
    2. Implicit feedback: conversation drop-off points, retry counts, and tool-call failure rates;
    3. Offline review: compress long conversations into “failure mode labels” that feed into the next round of data mixing.

    Engineering-wise, strict de-identification and compliance handling are required. Keep only structured labels and the minimum necessary context, and avoid bringing sensitive information into the training pipeline.

    2.3 Commercial Focus on Agents: Price by Value, Not by User Count

    When the capability shifts from “answering questions” to “delivering results,” the billing and operating logic changes too. A model centered on call volume or completed tasks is closer to real value than simply chasing registered users. Enterprise customers typically care about metrics such as task success rate, human takeover rate, end-to-end latency, and cost per task.

    A reusable cost estimation skeleton:

    1. cost per task = (input tokens + output tokens + tool calls) × unit price + infrastructure amortization
    2. effective gross margin = completed tasks × unit price − cost per task × task volume − rework cost

    3. How Developers Can Apply This: Layered Architecture and Selection Advice

    If you are not building a foundation model but an upper-layer application, you can follow the same layered thinking:

    • Model layer: leave general capabilities to mature foundation models, and make trade-offs through parameter size and context strategy;
    • Orchestration layer: task planning, tool routing, and state persistence determine the stability of complex tasks;
    • Data layer: object storage holds raw artifacts, message queues decouple long-running tasks, and logging services with monitoring and alerting handle observability;
    • Governance layer: permissions, auditing, quotas, and canary releases are hard requirements for enterprise adoption.

    On Baidu AI Cloud, the general-purpose capabilities above (object storage, message queues, container platform, logging service, monitoring and alerting) are typically offered as managed services, so developers can focus on orchestration and evaluation rather than infrastructure operations.

    4. Common Pitfalls and How to Avoid Them

    • Pitfall 1: treating inference-time scaling as “more sampling and voting.” The real gains come from verifiable rewards and process supervision, not from blindly increasing the number of samples.
    • Pitfall 2: ignoring capability regressions. A new version improves on aggregate leaderboards but degrades on long-horizon agentic tasks. This is a high-frequency problem, and dimension-specific gates must be established.
    • Pitfall 3: using user count as the sole north star. It pushes products toward low-value expansion and ultimately damages the unit economics.
    • Pitfall 4: evaluation set contamination. Avoid using questions that overlap with the training corpus, and maintain a long-term private, continuously updated adversarial set.

    5. Conclusion

    From foundation models to inference, and then to agentic products, competition among frontier models has shifted from single-point compute races to systems engineering across “data, training, product, and commercialization.” For most teams, the pragmatic path is to build the evaluation system first, make the feedback loop solid, and then choose the model and infrastructure combination based on business value.