A quality loss function puts a cost on every unit of deviation from target. Traditional quality control treats a part as either good or bad: inside the specification limits it is perfect, outside it is scrap. Genichi Taguchi's view is that cost begins to accrue as soon as a characteristic moves away from its target. Parts at the edge of the spec fit together worse, wear faster, and fail sooner than parts at the centre, even though both pass inspection.
From a pass/fail view to a cost curve:
Anchoring the curve. To make the loss function usable, only two things are needed: the target $T$ and the cost $A_0$ incurred at a deviation of $\Delta_0$, usually the specification limit. The simplest smooth curve through those points is a parabola:
Consider a shaft with target diameter $10.000$ mm and a spec of $\pm0.020$ mm. If a shaft at the limit costs $30$ USD, through scrap or rework, then $k=30/0.020^2=75{,}000$ USD per mm squared.
Two parts that both pass. Part A is $0.001$ mm from the target and part B is $0.019$ mm from it. Both are inside the limits, so a pass/fail inspection scores them identically. The loss function does not:
Part B costs about $361$ times as much as part A, and it is almost as costly as an actual rejected part. The curve says what a micrometre of drift is worth, and so where improvement effort pays off.
From one part to a process. What matters in production is the average loss over the parts a process actually makes. Three processes make the same shaft:
| Process | Mean offset | Standard deviation | Out of spec | Average loss per part |
|---|---|---|---|---|
| P1: centred, loose | $0$ | $0.012$ | $9.56\%$ | $10.80$ USD |
| P2: off-centre, tight | $+0.008$ | $0.006$ | $2.28\%$ | $7.50$ USD |
| P3: centred, tight | $0$ | $0.0067$ | $0.28\%$ | $3.37$ USD |
The average loss is $k(\sigma^2+\text{offset}^2)$ and agrees with a simulation of $400{,}000$ parts per process. Two things stand out. First, the cost implied by scrapped parts alone, the out-of-spec rate times $30$ USD, is only $2.87$, $0.68$ and $0.09$ USD, a small part of the real loss. Second, the usual process capability index $C_p=\Delta_0/(3\sigma)$ ranks P2 as the most capable ($1.11$), but P2's loss is more than double P3's, because it ignores that P2 is not centred. A loss-based view captures both spread and centring in one cost number.
What the loss function is good for.
- Setting priorities: a $1$ micrometre improvement is worth more where the process is already far from target. Use the curve to rank improvement projects in dollars.
- Justifying robust design: reducing variation lowers loss even when the scrap rate is already near zero, so "we meet spec" is not the end of the discussion.
- Specifying tolerances: if the cost at the limit is known, the limit can be set where the loss equals the cost of the alternative action, such as rework.
- Choosing the shape: the parabola is a good first approximation near the target. Where loss behaves differently on each side, use an asymmetric loss function; where it saturates at a scrap cost, cap it there.
- Getting $A_0$: estimate it from real costs: scrap, rework, warranty returns and downstream yield loss. It need not be exact, because decisions depend on the ranking and ratios.
- Not a spec replacement: the loss function guides optimisation. Specification limits and customer requirements still define what is acceptable.
Read the quality loss function as a price tag on being off target: every micrometre of deviation costs something, the cost grows faster than the deviation, and an average over a process shows how much its variation and its centring are really costing.