Chip Foundry Services Request Assessment

Quadratic Loss

The quadratic loss function is the standard model of quality cost in robust design: the loss from a unit grows with the square of its deviation from target. It is the simplest smooth curve that has its minimum at the target, treats overshoot and undershoot alike, and punishes large misses far more than small ones. Because it is a squared error, it also connects quality engineering directly to statistics, since its average is the mean squared error.

The model and how it is used:

Deviation from target
y minus T, either direction
Quadratic loss L = k (y - T)^2symmetric, zero only at target
Small misses cost little
loss grows with the square
Large misses cost a lot
double the miss, four times the loss
Average over the process
variance part plus centring part
Fix centring first, then variation
centring is usually the cheaper improvement

The model. For a response $y$ with target $T$, the loss per unit is proportional to the squared deviation. Its constant is set from one known point, the cost $A_0$ at the specification limit $\Delta_0$:

$$L(y)=k\,(y-T)^2,\qquad k=\frac{A_0}{\Delta_0^{2}}$$

Averaging over a process whose output has mean $\mu$ and standard deviation $\sigma$ separates the loss into two additive pieces:

$$E[L]=k\,E\big[(y-T)^2\big]=k\left[\sigma^{2}+(\mu-T)^{2}\right]$$

The first piece measures spread; the second measures centring. They add, so reducing either lowers the total.

Why the square matters. The marginal cost of one more unit of deviation is the slope, $dL/dy=2k(y-T)$, which grows linearly with distance. For the shaft example, with $k=75{,}000$ USD per mm squared ($30$ USD at a limit of $0.020$ mm), one more micrometre costs about $0.75$ USD at $5$ um off target, $1.50$ USD at $10$ um and $2.85$ USD at $19$ um. Halving a deviation cuts its loss to a quarter, so the first improvements near the edges of the spec are worth far more than polishing a process that is already close.

Worked example. Three processes make the shaft, with deviations in millimetres from the $10.000$ mm target. P1 is centred with $\sigma=0.012$. P2 is tighter, $\sigma=0.006$, but its mean sits $0.008$ above target. P3 is centred with $\sigma=0.0067$.

ProcessVariance partCentring partExpected loss
P1$75{,}000(0.012)^2=10.80$$0$$10.80$ USD
P2$75{,}000(0.006)^2=2.70$$75{,}000(0.008)^2=4.80$$7.50$ USD
P3$75{,}000(0.0067)^2=3.37$$0$$3.37$ USD
Expected quadratic loss = variance part + centring part average loss per shaft, in USD; the centring part can be removed by adjusting the process mean 0 4 8 12 10.80 total 10.80 P1 centred, loose SD 12 um 2.70 4.80 total 7.50 P2 off-centre, tight SD 6 um, +8 um off 3.37 total 3.37 P3 centred, tight SD 6.7 um variance part: k times SD squared centring part: k times offset squared 64% of P2's loss is offset, so re-centring it (loss 2.70) beats P3's investment in a tighter spread (3.37)

P2 looks like a great process on spread alone, but $64\%$ of its loss, $4.80$ of $7.50$ USD, is pure offset. Re-centring it to the target, with no change in variation, would cut its loss to $2.70$ USD, better than P3. This matches the rule of thumb in robust design: fix the mean first, because moving a process mean is usually far cheaper than shrinking its variation. A simulation of $500{,}000$ parts agrees with both parts of the decomposition.

Interpreting the equivalent spread. The loss of P2 equals that of a perfectly centred process with $\sigma=\sqrt{0.006^2+0.008^2}=0.010$ mm. In other words, an off-centre process behaves as if it had a larger standard deviation, which also explains why a quality system that tracks only the standard deviation can miss a large part of the cost.

Where the quadratic model fits and where it does not.

  • Good near the target: any smooth loss with a minimum at the target looks like a parabola for small deviations, which is why it is the default.
  • Symmetric by assumption: the same cost for plus and minus deviation. If one side is worse, such as oversize shafts that cannot be reworked, an asymmetric loss function should be used.
  • Capped losses: when a unit is scrapped, the loss cannot grow without limit. Beyond the scrap point, use a loss that levels off at the scrap cost.
  • Getting $k$: estimate $A_0$ from scrap, rework, warranty and downstream costs. Because decisions depend on ratios of losses, a rough $k$ is often enough.
  • Link to other tools: the nominal-the-best signal-to-noise ratio is $-10\log_{10}$ of this quantity with $k$ removed, and tolerance design uses it to value each tightening step.
  • Do not forget the units: $k$ has units of cost per squared response unit, so quote the response units whenever you quote a loss.

Read the quadratic loss function as a bill that grows with the square of how far you miss: two equal parts, one for how widely the output scatters and one for how far its centre sits from target, with the second often the easier one to cut.