arXiv:2610.10311cs.LGOct 2026

Manuscript Offprint

arXiv:2610.10311

Fault-tolerant foundation models

Trevor McCourt, Ila R. Fiete, Isaac L. Chuang

Trevor McCourt, 1,∗^{1,*} Ila R. Fiete, 2^{2} and Isaac L. Chuang 1,3^{1,3}

1^{1}Department of Electrical Engineering and Computer Science, MIT

2^{2}Department of Brain and Cognitive Sciences, McGovern Institute, MIT

3^{3}Department of Physics, MIT

(Dated: October 8, 2026)

Emerging computer hardware often trades reliability for energy efficiency; here we show that large-language models (LLMs) can be trained to tolerate this unreliability, and that rather than degrading, their error resilience actually increases as they grow. Modified neural scaling laws inferred from 40,000 GPU-hours of training runs on simulated faulty digital hardware quantify this trend and suggest that models learn to compute within “good” error-correcting codes, whose relative overhead remains finite no matter how large the model gets. This finding leads us to conjecture that appropriately trained LLMs may be formally fault-tolerant; if true, running AI inference on low energy, faulty hardware may be a path to substantial energy savings over the status quo.

Today’s AI systems demand perfectly reliable hardware, and that reliability costs energy. The chips that run commercial AI models [1, 2] suppress variability between individual logic gates by operating at high voltage [3]; the energy required to toggle a logic gate’s state scales with voltage squared. This energy–reliability tradeoff is generic to any physical computing device and central to the thermodynamics of computation [4].

Fortunately, biology shows that this reliance on pristine components (and its energy penalty) is not fundamental: the brain, built from heterogeneous, noisy neurons [5, 6], leverages fault-tolerant circuit architectures to perform complex reasoning and control with orders of magnitude less energy than any existing artificial neural network. Grid cells, for example, compute within an error-correcting code: position is represented redundantly across modules of different spatial periods, so noise in any one module is inconsistent with the rest and can be corrected [7]. Downstream, the grid–hippocampal loop feeds back corrections that cancel slowly accumulating error [8–10].

AI could be far more energy efficient if run on faulty hardware: analog [11–13], low-voltage digital [14–17], spiking neuromorphic [18, 19], photonic [20, 21], and probabilistic [22–24] processors all trade absolute reliability for drastic gains in energy efficiency.

However, energy-efficient emerging hardware cannot yet be leveraged for AI at scale because commercial models are fragile: the advanced capabilities [25] of large language models (LLMs) often do not survive even quantization (rounding weights to fewer bits) [26–28]. Quantization, which perturbs every weight in a deterministic and bounded way, is far gentler than what real low-energy, fault-prone hardware presents (random errors of potentially arbitrary magnitude).

With energy a main bottleneck on AI deployment, developing models that can tolerate hardware errors is

Figure

FIG. 1. The emergence of fault tolerance in AI models as they grow. Each curve shows how much useful capacity a language model retains when trained and run on hardware that introduces errors into arithmetic operations with probability pp (darker, more faults). Such a fault-hardened model with NN weights performs as well as a conventional model with η\eta weights run on clean hardware, so the useful capacity η/N\eta/N is the fraction of the model doing useful work rather than correcting errors (Eq. 1; unlimited training data). Capacity first falls with size, then recovers beyond a critical size N∗N^*, driven by a term in the scaling law that fault-free models lack (Eq. 4). This is reminiscent of “good” error-correcting codes, whose overhead stays a fixed fraction at any scale, and we conjecture by analogy that η/N\eta/N approaches a nonzero constant whenever pp lies below a threshold (Eq. 3). Solid curves and shaded bands show measured scaling-law fits and their bootstrap interquartile ranges; dashed curves show possible extrapolations, which depend on how much faults raise the best performance a model can ever attain (Eqs. 9 and 10).

among the most important unsolved problems in AI. Computing reliably with unreliable components goes back to von Neumann [29], but was largely set aside once digital hardware became essentially error-free. Energy-constrained AI has revived it: by taking cues from the

brain’s grid code, Zlokapa et al. [30] recently proved that neural networks can be constructed to compute any function reliably in the presence of errors (although not necessarily efficiently).

The most pressing question concerning fault-tolerant neural network utility is whether models can be efficiently adapted to be insensitive to hardware errors at any size. AI models tend to get larger and more complicated over time, so it is critical to develop techniques that imbue deep learning systems with fault tolerance that improves (or at least does not worsen) as models grow. Encouragingly, some fault tolerance has been built into particular billion-weight models [31, 32], but only at a single scale: we do not know whether that behavior is part of a persistent trend or sits at the edge of a cliff beyond which errors consume models.

Coding theory suggests that the scaling behavior of fault-tolerance in AI systems ought to be sharply defined. Nature protects information in two ways. The crude way is repetition: keep many copies of a value, as a cell does with duplicated genes, or as simple codes in the brain's sensory periphery do by spreading information over large populations. The powerful way is a distributed, "good" code [33–35] such as what is used in the brain's grid cells, in which the redundancy needed stays a fixed fraction of the whole no matter how large it grows [7]. If models can learn good codes, a finite fraction of the model performs useful computation at any scale; if they can only manage repetition, that fraction shrinks to zero as models grow. It is not obvious a priori that good codes can be built into transformer models by design or learned by training.

Here we take a critical first step toward running large language models on energy-efficient, unreliable hardware: we show that, unlike conventionally trained models, LLMs trained with the same faults they will later encounter at inference become increasingly error-resilient as they scale (Fig. 1). These results are consistent with models adopting “good” codes rather than simple repetition-based schemes; fault tolerance may therefore persist beyond the scales accessible to our experiments.

The trends in Fig. 1 arise because fault-hardened models (trained with the same faults they will meet in use) obey slightly different neural scaling laws than conventionally trained, fault-blind ones. Neural scaling laws [36–38] are the allometry of AI: just as metabolic rate follows a power law in body mass, a model's prediction error falls as a power law in its number of weights and in its amount of training data. As we detail below, the scaling law of fault-hardened models gains an extra term that lets them improve faster than fault-blind ones at large scale.

We measure computational capacity by η\eta, the size of a fault-blind model (trained and evaluated without faults) that is required to match the performance of a given fault-hardened model (trained and evaluated with faults),

L(0,η,D)=L(p,N,D)(1)L\left(0,\eta,D\right)=L\left(p,N,D\right) \tag{1}

where L(p,N,D)L(p, N, D) is the loss (prediction error on held-out text) of a model with N parameters whose components fault at rate p, trained on D tokens (word fragments).

The relative capacity η/N\eta/N is the neural network analog of a code's rate: the fraction of the fault-hardened model's parameters doing useful work rather than absorbing errors. The curves in Fig. 1 fit performance data from the thousands of fault-hardened models we trained, indicating η/N\eta/N in the converged limit ( D→∞D \to \infty). The shape of these curves is derived from our newly identified scaling laws,

ln⁡ηN=−c0(p)−c1(p)n+c2(p)n2−A(p,N)n=ln⁡NN0, N∗=N0exp⁡(c1(p)2c2(p))(2)\begin{aligned}\ln\frac{\eta}{N}&=-c_{0}\left(p\right)-c_{1}\left(p\right)n+c_{2}\left(p\right)n^{2}-\mathcal{A}(p,N)\\n&=\ln\frac{N}{N_{0}},\ N^{*}=N_{0}\exp\left(\frac{c_{1}\left(p\right)}{2c_{2}\left(p\right)}\right)\end{aligned} \tag{2}

where N0N_0 is an arbitrary size scale and the ckc_k are simple functions of our scaling law coefficients (Eqs. 4 and 11). ln⁡η/N\ln \eta/N is a parabola in log model size with its minimum at N∗N^*; the quadratic term is what allows capacity to recover. A\mathcal{A} is an asymptotic term that controls behavior beyond our experimental range and is indistinguishable from 0 within it.

If models were learning to protect themselves from errors using repetition like schemes, we would expect η/N\eta/N to decrease smoothly to 0 with NN; the fact that it instead increases past some critical size N∗N^* strongly suggests that models are learning “good” codes comparable to the brain’s grid code. If this is true, for sufficiently weak errors, η/N\eta/N should asymptotically approach a fixed threshold. We return to this limiting behavior later in the manuscript.

It may be surprising that language models could so readily discover good codes without external guidance; however, this is exactly what the principle of error-correction-enhanced evolvability [39] predicts: adaptive processes (such as learning or evolution) are drawn towards fault-tolerant solutions because fault tolerance allows for more configurations to be explored without risking catastrophic damage. This work is the largest-scale evidence to date for that principle.

Because fault-hardened models show signs of learning to operate within good codes, we conjecture that they may be formally fault-tolerant, retaining finite capacity in the limit of infinite N,

lim⁡N,D→∞ηN≥c,∀p<pth(3)\lim_{N,D\to\infty}\frac{\eta}{N}\geq c,\forall p<p_{th} \tag{3}

for pth>0p_{th} > 0 and 0<c≤10 < c \leq 1, where pthp_{th} is the fault-tolerance threshold (an analog of Eigen's error threshold for replicating genomes [40]) and c is the asymptotic capacity retained.

a

Figure

b

C

Hardware fault rate (p)

FIG. 2. Training under faults changes how language models scale. Fault-hardened transformers obey a scaling law (Eq. 4) with an extra coefficient compared to the standard form ( α2\alpha_{2}); each point fits all models trained at a fault rate p (Methods). a, Model-size coefficients. α1\alpha_{1}, the typical model-size coefficient, shrinks as p increases. α2\alpha_{2}, the curvature term absent from standard laws (pinned at zero for p = 0), grows with p and drives the recovery of capacity beyond N∗N^{*} in Fig. 1. b, Data coefficients. β1\beta_{1}, the rate at which loss falls with training data, decreases as p increases. c, Cost of robustness. Tokens D a fault-hardened model needs to match a fault-free model trained on δ\delta tokens (Eq. 6); gray shading marks extrapolation beyond our largest runs. Error bars, 95% confidence intervals; bands in c, interquartile ranges; both from 1,500 bootstrap resamples per p cohort.

Our experiments reached N≈109N \approx 10^{9}, which was not enough to resolve A at commercial scales: establishing whether fault-hardened models satisfy Eq. 3 would require experiments orders of magnitude more expensive, which our results strongly suggest are worth doing.

By contrast, fault-blind models are strikingly fragile: on imperfect hardware their scaling behavior is ill-defined and divergent. This is consistent with recent findings that conventional models depend on a handful of outsized “super weights” [26], single points of failure whose number grows the longer a model is trained [41].

The scaling behavior of fault-hardened transformers

Whether LLMs can tolerate faulty hardware at scale is, like an allometric law, a property of a whole population of models rather than of any single specimen: we established new scaling laws for fault-hardened models by training thousands of them with different N, D, and p on a slice of FineWeb, a corpus of web text [42].

Our experiments emulated faulty digital hardware that randomly drops blocks of weights out of matrix products. For every forward pass during training or inference, random blocks of k matrix elements within the attention and feed-forward operations of our Llama2-style models were zeroed with probability p [43]. We fixed k = 4 throughout and varied p to simulate more or less faulty hardware. Because the faults changed with every query, as synaptic failures change with every spike, fault-hardened models had to learn representations robust to a wide range of failure modes, which is distinct from and harder than calibrating a model to the fixed idiosyncrasies of a specific device [11, 44], the analog of adapting to a small local lesion. We describe the processor architecture behind this error model below.

Our critical finding was that, under this error model, fault-hardened transformers obey a modified form of the standard scaling law [38], with a new curvature coefficient α2\alpha_{2} that lets them close the performance gap to their fault-free counterparts as N grows,

L(p,N,D)=E(p)+LN+LDLN(p,N)=eα0(p)−α1(p)n−α2(p)n2LD(p,D)=eβ0(p)−β1(p)dn=ln⁡NN0,d=ln⁡DD0(4)\begin{aligned}L(p,N,D)&=E\left(p\right)+L_{N}+L_{D}\\L_{N}\left(p,N\right)&=e^{\alpha_{0}(p)-\alpha_{1}(p)n-\alpha_{2}(p)n^{2}}\\L_{D}\left(p,D\right)&=e^{\beta_{0}(p)-\beta_{1}(p)d}\\n&=\ln\frac{N}{N_{0}},d=\ln\frac{D}{D_{0}}\end{aligned} \tag{4}

Here E is the irreducible loss floor, αk\alpha_k the model-size coefficients, and βk\beta_k the data coefficients. N0N_0 and D0D_0 are arbitrary scales that render the log arguments dimensionless, both fixed at 4×1074 \times 10^7.

The restoration of model capacity with size displayed in Fig. 1 is driven by the increase of α2\alpha_{2} with pp (Fig. 2a), through the relations connecting the αk\alpha_{k} and ckc_{k} coefficients (Eq. 11, Methods).

The p-dependence of αk\alpha_{k} in Fig. 2a hints at two regimes of fault-hardened scaling, reminiscent of crossing a fault-tolerance threshold. At small p, decreases in α1\alpha_{1} are mirrored by increases in α2\alpha_{2}, whereas at large p, α2\alpha_{2} plateaus while α1\alpha_{1} continues to shrink. Fault-hardened models appear to learn to correct increasingly severe errors up to a point, before being overwhelmed, much as an induced stress response strengthens with the insult until the response itself is overwhelmed.

The asymptotic behavior of η/N\eta/N is controlled by A\mathcal{A}, which contributed negligibly at the scales accessible to our experiments: shifts in EE affect effective capacity only once they are of similar order to LNL_N, and LN/EL_N/E fell no lower than ∼0.5\sim 0.5 even for our largest models. We return to the limiting behavior in the final section.

The data coefficients in Fig. 2b reflect an additional fact about fault-hardened scaling: models get more expensive to train as p increases (Fig. 2c). Robustness in a

Figure

b

C

d

FIG. 3. Inference-time faults are fatal to models trained without them. a, The divergence of fault-blind model scaling under inference-time errors. Conventionally, we expect language model performance to increase monotonically with D. However, when peval>0p_{eval} > 0, fault-blind models do not always exhibit this crucial behavior: performance scaling with D weakens as pevalp_{eval} increases, and past a threshold, performance can actually decrease with D. Shaded regions indicate the standard error of the reported values, estimated from 8 independently trained models for each value of D. b, Error-induced heating of model logits. Part of the degradation caused to models by inference-time errors is heating of the output logits: fault-blind model predictions rise in temperature rapidly with pevalp_{eval}, more so at large D, while fault-hardened models resist the heating. c, Error-induced scrambling of model logits. Even after removing the temperature contribution, fault-blind models lose capacity rapidly as pevalp_{eval} rises above 0, faster at larger D; fault-hardened models maintain almost all capacity for peval<ptrainp_{eval} < p_{train}, independent of D. Bands in (b) and (c) indicate the IQR of the reported values, taken over the different trained models and contexts. d, Faulted predictions plotted against fault-free predictions, overlaid for many validation-set inputs. A temperature shift skews the logit blob: the ptrain=0p_{train} = 0 heating is obvious, along with substantial randomization, while the ptrain=pevalp_{train} = p_{eval} logits are barely displaced.

artificial neural networks, as in biology, is not free [45]. Let δ\delta be the effective training budget of a faulty model, satisfying,

LD(p,D)=LD(0,δ)(5)L_{D}(p,D)=L_{D}(0,\delta) \tag{5}

Under Eq. 4, D/δD/\delta takes the form,

ln⁡Dδ=β0(p)−β0(0)β1(0)+(1−β1(p)β1(0))d(6)\ln\frac{D}{\delta}=\frac{\beta_{0}\left(p\right)-\beta_{0}\left(0\right)}{\beta_{1}\left(0\right)}+\left(1-\frac{\beta_{1}\left(p\right)}{\beta_{1}\left(0\right)}\right)d \tag{6}

Since β1(p)\beta_{1}(p) decreases with p, the second term's coefficient is positive and increases with p.

Since our experiments were capped at N≈109N \approx 10^9, we did not achieve losses close to the irreducible floor and could not uniquely identify EE against the other fit parameters; we therefore fixed E≈1.5E \approx 1.5 in all fits (Methods), a choice with no qualitative impact on our results.

Indeed, while Eq. 4 is useful for smoothing and interpreting our experiments, it is not strictly necessary for our main conclusions: the trends in Fig. 1 are fit-independent and can be seen in the (appropriately processed) raw data; see Supplementary Information Sec. A.