Computational efficiencies under power limits

by Soumajyoti Sarkar

An ongoing sequence of thoughts on how to model the problem of growing AI models as data center fleets become larger and remain expensive. I’ll keep updating this post with more modeling directions, including test-time inference costs, a brain-inspired 20-watt power target, and why some architectures may be poorly suited to these constraints.

A larger AI model can store more knowledge, but using that capacity costs time and energy. The challenge is to make each unit of computation useful. Model design, memory, and communication between chips all affect how much learning a training budget can buy.

Sparse models bring this tradeoff into focus. A mixture-of-experts (MoE) model contains many neural networks called experts, but activates only a few for each token, a small unit of text. The model can gain capacity without running every parameter on every input. Its total parameter count, Ntot , can therefore be much larger than the count active for one token, Nactive .

That promise raises two questions. Which model designs make the best use of the hardware available today? And could a model eventually learn how to organize its own computation, including when to grow?

Fewer operations do not always mean cheaper training

Training efficiency is often described in floating-point operations, or FLOPs. Counting arithmetic is useful, but it leaves out the time spent moving data, waiting for other chips, or running work too small to use a processor efficiently.

Sparse models are especially sensitive to this gap. Activating fewer experts reduces arithmetic, yet sending tokens to those experts can increase communication. A model that looks cheaper on paper may therefore use a real cluster less efficiently.

In my paper Compute-Optimal Is Not Cluster-Optimal, my coauthors and I study this problem through MOSAIC, a framework that chooses model architecture and parallel execution together. It combines a model of learning performance with estimates of hardware utilization, communication, and memory use.

Within the study's calibrated range, the fitted learning curve favors increasingly sparse models when the budget counts only model FLOPs. Once cluster costs enter the calculation, a best sparsity level emerges. The result depends on the model family and hardware assumptions. It does not establish that ever greater sparsity is universally better.

A compact way to express this design problem is to optimize learning under a hardware budget. Let G be the computation graph, D the training data allocation, Π the parallel layout, and H the hardware. The weights are θ and the available budget is B .

Optimize what the cluster can deliver

minθ,G,D,ΠL(θ;G,D)subject toChw(G,D,Π;H)≤B.

The cost Chw includes the work needed to train on D using hardware H . This is a schematic objective for the broader design problem. MOSAIC gives a concrete instance by combining a fitted scaling law with a cluster performance model.

The practical lesson is that architecture changes what a training budget can achieve. Adding capacity helps only when the machine can put that capacity to work efficiently.

Designing the model and the machine together

The same problem can be approached from the hardware side. Given a model, which combination of processors, memory, and network connections will run it well?

In Scaling Intelligence, Tithi and colleagues use an analytical performance model to explore these choices. Their study shows how memory capacity, network topology, and the placement of parallel work affect training throughput. Sparse models make the network particularly relevant because tokens must travel between experts.

These are related but distinct design problems. MOSAIC asks how to choose a model for an available cluster. The hardware study explores how to design a cluster for a workload. In the notation above, the first fixes H and searches over G and Π . The second varies H for a given workload. Searching both at once is harder because every change on one side can alter the best choice on the other.

Power, energy, runtime, and GPU-hours also measure different things. A design that finishes sooner need not draw less power while running. Any claim about efficiency needs to specify which resource is constrained and measure the cost of the whole system.

Letting the model choose its computation

A conventional neural network learns weights inside a structure chosen by its designers. An MoE model goes further by learning which experts to use for each token. The available experts and their connections still come from a prescribed architecture.

Other approaches extend this choice to depth or repetition. Some inputs might pass through fewer layers. Others might receive additional rounds of computation. The broader possibility is a model that learns how to assemble useful computation from reusable parts.

Here, the computational substrate means the available parts, their connections, and the hardware that executes them. Learning the substrate would involve decisions such as how many modules to create and how to connect them. Choosing among existing experts is only one step toward that goal.

Hardware makes this difficult. The cost of a routing decision depends on what the rest of the batch is doing. Sending many tokens to one expert may create a bottleneck. Scattering them across devices may create communication overhead. A cheap path for one token can be expensive for the batch.

Let Gx=Gϕ(x) be the graph selected for token x by a learned policy ϕ . A per-token penalty such as L(x;θ,Gx)+λC(Gx) is tempting, where λ sets the cost tradeoff. It misses the interactions between tokens that determine batch-level cost.

One possible formulation constrains the expected cost over batches B .

minθ,ϕEB[1|B|∑x∈BL(x;θ,Gx)]subject toEB[Chw({Gx}x∈B,Π;H)]≤Bbatch.

Here Bbatch is an average budget per batch, measured in a chosen resource such as energy or time. An average constraint does not guarantee a latency limit for every batch. That would require a separate constraint on worst-case or tail behavior.

A learned computation policy would therefore need feedback about actual system costs. A fitted cost model could help, but optimizing against it may exploit its errors. Predictions would need checks against measured runtime or energy as the routing policy changes.

Structure can emerge within a fixed architecture

Two recent studies illustrate how useful organization can develop without allowing a model to redesign its entire structure.

Path-Constrained Mixture-of-Experts follows the sequence of experts selected across layers. Tokens concentrate into recurring paths that align with linguistic functions. The path can be written as P(x)=(e1,…,eL) , where el is the expert selected at layer l . Sharing router parameters across consecutive layers, Wl=Wl+1=⋯ , strengthens this organization.

The model still uses a fixed set of experts. Its contribution is a more structured way to choose paths through them. The observed organization suggests a design change, and the design change makes that organization more consistent.

EMO encourages tokens from the same document to select experts from a shared pool. This produces expert groups that can support narrower uses, such as code or mathematics, while the full model retains broader capabilities.

The distinction matters. EMO does not require human labels for those domains, but it does impose document boundaries as a grouping signal. Its modularity emerges with help from a deliberate training constraint.

Together, these studies suggest a research strategy. Train a model, inspect the structure it learns, and use that evidence to improve the next architecture. They offer steps toward more adaptable computation, while leaving open how a model could create and reorganize its own modules.

Growing a model as more compute becomes available

Routing chooses computation within a forward pass. Growth changes available capacity across training. I see them as two time scales of resource allocation, although the cited results do not yet establish a joint policy for both.

A related question appears when a training budget grows. A lab has already trained a model and now has more compute. Should it continue training the same model, enlarge it, or start a larger model from scratch?

Scaling laws usually help choose model size and training data for a given budget. A growth strategy must also account for the model's history. Two networks with the same architecture can have different prospects because their weights, training data, and optimizer states differ.

A growth policy needs to act on the full training state. For an optimizer that tracks first and second moments, a useful schematic state is

st=(θt,mt,vt,At,D≤t),st+1=T(st,at,ΔCt).

Here mt and vt are optimizer moments, At is the architecture, and D≤t records the data history. The action at might widen a layer, add experts, or restart a schedule. The transition T spends compute ΔCt to produce the next state.

The growth question

What policy should choose when and how a trained model grows as more compute becomes available?

minπL(sT)subject to∑tΔCt≤Ctotal,at=π(st,Cremaining).

Static scaling laws help select an endpoint. A developmental scaling law would describe a policy π for reaching successive endpoints while preserving useful learning.

Navigating Scaling Laws already explores models that change shape during training. Adaptive growth is therefore an established direction. The question I keep coming back to is how to connect growth across several dimensions with a reliable account of how much earlier training remains useful.

Related work motivates the question without settling it. Bridging Compute- and Data-Optimal Pretraining examines the diminishing value of repeated or derived data. Compute-Optimal LLMs Provably Generalize Better With Scale studies why larger models can have stronger generalization guarantees along a compute-optimal scaling trajectory.

Neither result establishes that enlarging an existing model will reproduce the benefits of training a larger model from scratch. That transfer has to be measured.

Measuring how much earlier training survives

A useful experiment would compare three choices under the same additional compute budget. Continue training the original model, grow it and resume training, or train the larger model from scratch. The comparison should track validation loss alongside actual training cost.

The larger model's learning curve provides a way to measure the value of inheritance. At a given loss, compare how much training the grown model required with how much the scratch model required. The difference estimates the head start supplied by the parent model.

Let the parent have seen D tokens, the child have N′ parameters, and continuation training use D′ new tokens. Compare the child's scratch curve Lscratch with its grown curve Lgrow , conditioned on the inherited state sparent .

Measure the inherited training credit

Lscratch(N′,D′+ΔDequiv)=Lgrow(N′,D′∣sparent),ρ(D′)=ΔDequiv(D′)D.

The equivalent-token credit ΔDequiv measures the head start at a matched loss. The normalized credit ρ(D′) can change during continuation. It is a measured comparison between learning curves, not an assumption that earlier training behaves exactly like extra tokens.

The comparison needs a scratch curve that reaches the target loss. A noisy or nonmonotonic curve may require fitting and uncertainty estimates before the equivalent token count can be read reliably.

For example, suppose a grown model reaches a target loss after one billion new tokens, while the same architecture trained from scratch needs three billion. The inherited state has supplied a head start equivalent to two billion tokens at that point. This is an illustration of the measurement, not an experimental result.

That credit may change during training. A large initial advantage could fade, or a poor transfer could slow learning. The definition does not restrict ρ to [0,1] . Harmful inheritance can give ρ<0 , while a sufficiently favorable initialization can give ρ>1 . Token savings must also be converted into compute or energy savings before they support an efficiency claim. A full comparison must account for the cost of training the parent.

Growth methods need separate evaluation. Widening an internal layer, adding depth, and adding experts change a model in different ways. The learning-rate schedule and treatment of optimizer state can also affect how well training resumes.

For a first experiment, I would start with small models and fresh data, then repeat the comparison at several parent sizes. A small experiment could reveal a useful head start. Establishing a scaling law would require showing how that advantage changes with model size and training history.

Let g=Nchild/Nparent denote the growth factor. Holding the growth method and optimizer transition fixed, the question is whether ρ follows a common curve across parent sizes at matched g , D/Nparent , and D′/D . These experiments remain proposed, not completed.

The longer-term ambition is a model that can adapt both its computation and its capacity as resources change. Reaching it requires learning how much useful work survives each change, and whether the hardware can deliver the expected savings.