Chip Foundry Services Request Assessment

Asymmetric Loss

An asymmetric loss function gives different costs to misses in different directions. In many real processes, an error on one side of the target is more expensive than the same-size error on the other: an oversize shaft must be scrapped while an undersize one can be reworked, an overdosed material harms yield while an underdosed one only slows a step, an overestimated lifetime is a warranty risk while an underestimate is conservative. A symmetric quadratic loss misses that, and a process aimed at the geometric centre is then not the cheapest one to run.

The reasoning:

Misses cost different amounts by direction
oversize = scrap, undersize = rework
Build a two-sided lossone curvature per side
Cost at each limit
A1 below target, A2 above
Curvature on each side
k = A / limit squared
Average over the process
use partial moments of the output
Find the best process mean
it is not the geometric target

The model. Give each side its own curvature, fixed by the cost at that side's limit. With a target $T$, a cost $A_1$ at the lower limit $\Delta_1$ below target and $A_2$ at the upper limit $\Delta_2$ above it:

$$L(y)=\begin{cases}k_1\,(y-T)^2, & y<T\\[2pt] k_2\,(y-T)^2, & y\ge T\end{cases}\qquad k_1=\frac{A_1}{\Delta_1^{2}},\quad k_2=\frac{A_2}{\Delta_2^{2}}$$

For a normally distributed output with mean $\mu$ and standard deviation $\sigma$, the expected loss follows from the partial second moments on each side of the target. Writing $z=(\mu-T)/\sigma$ and $d=\mu-T$:

$$E[L]=k_2\Big[(d^2+\sigma^2)\Phi(z)+d\sigma\varphi(z)\Big]+k_1\Big[(d^2+\sigma^2)\big(1-\Phi(z)\big)-d\sigma\varphi(z)\Big]$$

Here $\Phi$ and $\varphi$ are the standard normal distribution and density functions. Setting the derivative with respect to $\mu$ to zero gives the best process mean, which lies toward the cheaper side of the target. When $k_1=k_2$ it returns to the target itself.

Worked example. The shaft has a target of $10.000$ mm and a limit of $0.020$ mm on each side. An undersize shaft at the limit costs $10$ USD to rework, giving $k_1=25{,}000$, but an oversize shaft at the limit costs $40$ USD to scrap, giving $k_2=100{,}000$, four times as much. The process has $\sigma=0.010$ mm.

Process meanAverage lossOversize partsBeyond upper limitBeyond lower limit
On target, $0$$6.25$ USD$50.0\%$$2.28\%$$2.28\%$
Shifted, $-0.0055$$4.69$ USD$29.1\%$$0.54\%$$7.34\%$

The minimum falls at $\mu-T=-0.549\,\sigma\approx-5.5$ micrometres. Aiming there cuts the average loss from $6.25$ to $4.69$ USD, a saving of $25\%$, confirmed by a simulation of one million parts. It does so by trading expensive scrap for cheap rework: beyond-limit scrap drops to $0.54\%$ even though beyond-limit rework rises to $7.34\%$.

When one side of the target is worse, aim off-target loss per shaft vs deviation; oversize costs four times as much as undersize at the same distance 0 10 20 30 40 -30 -20 -10 0 +10 +20 +30 deviation from target (micrometres): negative = undersize (rework), positive = oversize (scrap) undersize: k1 = 25,000 oversize: k2 = 100,000 centred: 6.25 USD per part shifted 5.5 um: 4.69 USD curves: loss in USD (axis at left) shaded bells: where the parts land (not to scale) aiming 5.5 um toward the cheap side cuts the average loss by 25%, even though more parts need rework oversize parts: 50% falls to 29%; beyond-limit scrap: 2.28% falls to 0.54%; beyond-limit rework: 2.28% rises to 7.34%

What drives the shift. The best offset in standard-deviation units, here $-0.549$, depends only on the cost ratio $k_2/k_1$. A tighter process has a proportionally smaller offset: with $\sigma=0.005$ it is $2.7$ micrometres, with $\sigma=0.020$ it is $11.0$ micrometres. The larger the cost ratio, the farther from the centre the process should aim. If the ratio were $1$, the optimum would sit at the target.

Using it well.

  • Get the costs by side: estimate rework, scrap, downstream failure and warranty separately for each direction, from real data. The ratio matters more than the absolute value.
  • Shift only if the mean is adjustable: you need a factor that moves the mean without changing the spread, as in the two-step robust design procedure.
  • Keep inside the specification: the shifted process should still meet the customer's limits. A shift that pushes the rework fraction too high may exceed a rework capacity or a delivery commitment.
  • Different shapes on each side: if a side saturates at a scrap cost, cap that branch at the scrap cost instead of letting it grow quadratically.
  • Check the distribution: the closed forms above assume a roughly normal output. For skewed data, compute the average loss by simulation or on the measured values directly.
  • Review when costs change: a cheaper scrap path or a stricter customer limit changes the ratio and moves the best aim point.

Read the asymmetric loss function as a reason to aim away from the middle: when one side of the target is costlier, the cheapest place to run is a little way toward the other side, by an amount set by the ratio of the two costs and the process spread.