Response Surface Methodology with Desirability Function Optimization

Simulation
Introduced by
George Box and Kenneth Wilson
Year
1951
Type
Optimization methodology
Family
Design of experiments

What does it do?

Response Surface Methodology (RSM) is a collection of statistical and mathematical techniques for modeling and optimizing processes with several input factors and several output responses.

The desirability function approach, introduced by Harrington (1965) and modified by Derringer and Suich (1980), extends RSM to multi-response problems by converting each response onto a common 0-to-1 scale and combining these into one index. It is used when a process must balance competing outputs, such as performance against cost.

The intuition behind the method

Consider tuning a cake recipe with several ingredients, judged on several outcomes: you want good flavor, good moisture, and low density. You run a set of designed experiments that vary the ingredients, fit a model for each outcome, and then search for the ingredient combination that best satisfies all the goals together. The desirability function does the combining: each outcome is converted to a score from 0 (unacceptable) to 1 (ideal), and the scores are merged into one overall index that the search maximizes. Derringer and Suich (1980) applied this idea to a tire-tread rubber compound, where several properties had to be balanced at once.

History

Box and Wilson (1951) introduced response surface methodology as a sequential experimental strategy for finding optimum operating conditions. Harrington (1965) proposed the desirability function to address the problem of optimizing several responses at once. Derringer and Suich (1980) modified Harrington's approach so that responses are transformed onto desirability scales and optimized with univariate techniques, illustrating the method on a tire-tread rubber compound.

When to use it

Choose RSM with desirability functions when the factors are continuous and can be set and reproduced in experiments, when several responses must be balanced against each other, and when each experimental run is costly enough to justify a designed plan over one-factor-at-a-time trials. The approach assumes that a low-order polynomial describes each response reasonably well within the region studied, so it suits smooth responses with moderate curvature near the optimum. Do not use it when the relationship is highly nonlinear or discontinuous across the region of interest, when the important factors are categorical, or when the factor settings cannot be controlled. Substantial measurement noise also weakens the fitted surfaces, so measurement error should be assessed before the design is run.

Limitations and considerations

  • The polynomial approximation is local: a second-order model describes curvature only within the region studied, and a response with a sharp ridge or threshold needs a higher-order model or a transformation.
  • The composite index is zero whenever any single response falls outside its acceptable range, so one failed response can hide the performance of the others, and the index alone does not show which response is limiting.
  • Desirability targets, limits, and shapes are chosen by the analyst; the optimum can move when these are changed, so its robustness should be tested.
  • The method is built for continuous factors; categorical factors such as material type require separate studies for each level or mixed-level designs.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Responses measured in different units are each placed on a common 0-to-1 desirability scale, so they can be optimized together without combining their raw values directly.
  • Once the desirabilities are defined, the composite index is a single function of the factors, so the optimization can be carried out with univariate techniques, as Derringer and Suich (1980) describe.
  • Designed experiments estimate factor interactions and curvature that a one-factor-at-a-time study cannot detect, and the fitted models show how each response changes across the region studied.
  • Targets, limits, and shapes can be set separately for maximized, minimized, and target-valued responses, so each response's preference reflects its own goal.
  • The fitted models can be inspected directly, so the analyst can see which factors drive the trade-offs rather than receiving only a recommended setting.

Applications

  • Rubber and polymer compound development, where several properties must be balanced at once, as in the tire-tread example of Derringer and Suich (1980).
  • Machining studies, such as turning and electrical discharge machining, where cutting parameters are tuned to balance material removal rate, surface roughness and other responses.
  • Chemical process tuning, where operating conditions such as temperature and catalyst concentration are varied to meet several output targets at once.

How it works

How it works

1

Choose a designed experiment (for example a factorial, central composite, or Box-Behnken design) that varies the key process factors, such as temperature, pressure, or concentration, over a defined region, and measure every response of interest in each run.

2

Check the collected responses for data-entry errors, missing runs, and outliers before modeling. Decide and document how missing or anomalous values will be handled, because they affect every model fitted in the next step.

3

Fit a regression model for each response, usually a second-order polynomial with linear terms, squared terms, and interaction terms in the factors. The fitted models show which factors and interactions drive each response.

4

Convert each response into an individual desirability between 0 and 1. For a response to be maximized, the desirability rises from 0 at a lower limit to 1 at a target; for a response to be minimized, the scale is reversed; for a target-valued response, the desirability peaks at the target and falls to 0 at the limits. The shape of each scale is set by a weight. The individual values are then combined into a composite index, usually as their geometric mean, so a single zero desirability makes the composite zero.

5

Before trusting the optimum, check that each fitted model is adequate: test for lack of fit, examine the residuals, and compare predictions with new observations. Then search the factor space numerically or with contour plots for the settings that maximize the composite index, and check how sensitive the optimum is to the chosen limits and weights. A composite value near 1 means that every response is close to its target. A value near 0 means that at least one response lies outside its acceptable range, so the individual desirabilities should be inspected to identify the limiting response. Finally, run confirmation experiments at the proposed settings, because the optimum predicted from the fitted models is an estimate that must be checked against new measurements.

Common pitfalls

  • Overfitting: adding many polynomial terms to a small design fits experimental noise, so term selection should be guided by residual checks and the number of runs available.
  • Skipping residual diagnostics: residual plots for each response are needed to check the variance and outliers that the regression assumes are well behaved.
  • Poorly specified desirability: limits set too wide, or targets set without an engineering basis, produce an optimum that scores well on the index but is impractical. The optimum can also shift when the weights change, so its sensitivity to limits, targets and weights should be tested.
  • Extrapolation: predictions for settings outside the experimental region are not supported by data and should not be reported as optima.
  • Treating the predicted optimum as final: the optimum from the fitted models should be confirmed with replicated runs at the proposed settings. Predicted and observed responses should be compared, and a large gap means the model should be revised before the optimum is used.

Frequently asked questions

What is the difference between Response Surface Methodology and simple linear regression?

Linear regression assumes a linear relationship between factors and responses, giving a simple model but often an inadequate fit near optima where curvature is significant. RSM typically uses second-order polynomial models that capture curvature and factor interactions, providing more accurate predictions in the region of interest and enabling reliable optimization.

How do I choose a design for RSM experiments?

Common designs include central composite designs (CCDs), which balance efficiency and model quality for second-order models, and Box-Behnken designs, which avoid runs at the extreme corners of the factor space. Use a CCD if you need to explore a wide range; use a Box-Behnken design if you want to avoid extreme conditions. The choice depends on the number of factors, the available budget, and the region of interest.

How many experiments do I need to fit a second-order response surface?

For k factors, a full second-order model has (k+1)(k+2)/2 coefficients. A central composite design uses 2^k factorial runs (assuming a full factorial core), 2k axial runs, and one or more centre runs; with a single centre run the total is 2^k + 2k + 1. Because the total depends on how many centre runs are included, compute the count for the specific design you choose. Replicated centre runs give an estimate of pure error, and how many to include is a decision that depends on budget and the precision required.

Can I use RSM with categorical factors (e.g., material type)?

RSM is designed for continuous factors. For categorical factors, stratify your experiments: run a separate RSM study for each category level, or use mixed-level designs that combine continuous and categorical factors. Alternatively, use coded dummy variables to include categories in the model, though interpretation becomes more complex.

How do I define the desirability function for my responses?

For each response, state its goal: maximize, minimize, or hit a target. For a maximized response, set a lower limit (desirability 0) and a target (desirability 1); for a minimized response, set an upper limit and a target; for a target-valued response, set lower and upper limits with the target between them. The weight controls how steeply desirability changes between the limit and the target. Confirm the targets and limits with stakeholders, and run a sensitivity analysis to see how much the optimum changes when they are adjusted.

Related methods

Sources

  1. Box, G. E. P., & Wilson, K. B. (1951). On the experimental attainment of optimum conditions. Journal of the Royal Statistical Society, 13(1), 1-45.

    Open DOI reference
  2. Harrington, E. C. (1965). The desirability function. Journal of Quality Technology, 4(6), 494-509.

    Open publication reference
  3. Derringer, G., & Suich, R. (1980). Simultaneous optimization of several response variables. Journal of Quality Technology, 12(4), 214-219.

    Open DOI reference
  4. Myers, R. H., Montgomery, D. C., & Anderson-Cook, C. M. (2016). Response Surface Methodology: Process and Product Optimization Using Designed Experiments (3rd ed.). Wiley.

    Open publication reference
  5. Harrington, E. C. The desirability function. Industrial Quality Control 1965, 21, 494-498, p. 17