Algorithm Search⌘K

Problemadvanced

Optimal experimental design

Also called D-optimal design, A-optimal design, optimal design of experiments.

Choose design points that optimize a criterion of the information matrix, such as its determinant for D-optimality or the trace of its inverse for A-optimality.

Optimal experimental design is the problem of choosing where to take observations so that a model fitted to them is as precise as possible. For a linear model y=f(x)⊤θ+εy = f(x)^\top\theta + \varepsilon, the precision of the ordinary least squares estimate depends only on the chosen settings, through the information matrix ∑if(xi)f(xi)⊤\sum_i f(x_i)f(x_i)^\top, and not on the responses. So the design can be optimized before any data exist. Each scalar summary of the information matrix gives a criterion: the determinant gives D-optimal designs, the trace of the inverse gives A-optimal designs, and the largest prediction variance gives G-optimal designs. The Kiefer-Wolfowitz equivalence theorem characterizes the solutions, and the Fedorov exchange algorithm finds good designs with a fixed number of runs.

In plain words

Before you run an experiment, you decide which settings to try and how often. Some choices teach you much more than others. To fit a straight line, runs at the two ends of the range pin down the slope far better than runs bunched in the middle. The problem asks for the best choice, given a model and a measure of what "precise" means. For linear models, precision depends only on where you measure, not on what you see, so the whole plan can be fixed in advance. Several measures of precision exist. One makes the region of plausible coefficient values small, one makes the average uncertainty small, and one makes the worst prediction good. They often agree, but not always.

Definition

Input.

  • A design region X\mathcal X: a compact set, or a finite list of nn candidate settings.
  • Regression functions f:X→Rpf : \mathcal X \to \mathbb R^p for the model y=f(x)⊤θ+εy = f(x)^\top\theta + \varepsilon, with uncorrelated errors of mean 0 and variance σ2\sigma^2. For a nonlinear model or a generalized linear model, f(x)f(x) is the gradient of the mean at a guessed parameter θ0\theta_0, and the information matrix is the Fisher information matrix at θ0\theta_0 (a locally optimal design).
  • A number of runs NN (exact designs), or none (approximate designs).
  • A criterion Φ\Phi.

Output. An exact design is a list of NN points of X\mathcal X, repeats allowed. An approximate design ξ\xi is a finite set of points xix_i with weights wi>0w_i > 0 that sum to 1; it is turned into runs by rounding NwiNw_i. The moment matrix is

M(ξ)=∑iwif(xi)f(xi)⊤,M(\xi) = \sum_i w_if(x_i)f(x_i)^\top,

and the least squares estimate from NN runs has covariance σ2M(ξ)−1/N\sigma^2M(\xi)^{-1}/N. For an exact design, M=X⊤X/NM = X^\top X/N with XX the N×pN \times p matrix of rows f(xi)⊤f(x_i)^\top.

Criteria. With d(x,ξ)=f(x)⊤M(ξ)−1f(x)d(x, \xi) = f(x)^\top M(\xi)^{-1}f(x), the standardized variance of the predicted mean at xx:

criterion optimize meaning
D maximize log⁡det⁡M\log\det M smallest volume of the confidence ellipsoid of θ\theta
A minimize tr⁡M−1\operatorname{tr}M^{-1} smallest mean variance of the pp coefficients
E maximize λmin⁡(M)\lambda_{\min}(M) smallest worst variance of c⊤θ^c^\top\hat\theta over unit vectors cc
c minimize c⊤M−1cc^\top M^{-1}c smallest variance of one linear combination c⊤θ^c^\top\hat\theta
G minimize max⁡x∈Xd(x,ξ)\max_{x \in \mathcal X}d(x, \xi) smallest worst prediction variance over the region
I (or V) minimize ∫d(x,ξ) μ(dx)\int d(x, \xi)\,\mu(dx) smallest mean prediction variance over a measure μ\mu

D-optimality does not depend on the scale of the coordinates of ff: a linear change f↦Tff \mapsto Tf with TT nonsingular multiplies det⁡M\det M by (det⁡T)2(\det T)^2 for every design. A, E and c depend on the parametrization.

Variants

  • Approximate versus exact. Over approximate designs, the set of moment matrices is convex and D, A, E, c and I are concave criteria (after a sign change where needed), so the problem is a convex optimization problem with a global optimum that can be checked. With NN runs it becomes a combinatorial problem.
  • Finite candidate list. With nn candidates, the approximate problem has nn weights on the simplex. Many algorithms and the proofs of their convergence use this case.
  • Constraints. Fixed blocks, hard-to-change factors (split-plot designs), costs per run, forbidden regions and mixture constraints (the factors sum to 1) change X\mathcal X or add terms to MM.
  • Nonlinear and Bayesian designs. Locally optimal designs depend on the guess θ0\theta_0. Bayesian designs average a criterion over a prior for θ\theta, and sequential designs update the guess after each batch.
  • Partial interest. DsD_s-optimality maximizes the determinant of the information for ss of the parameters; model discrimination designs maximize the power to tell two models apart.
  • Robust designs. Designs that keep a good efficiency for several candidate models, or that guard against an omitted higher-order term, are the subject of model-robust design.

Examples

  • Straight line on [−1,1][-1, 1]. Weight 1/21/2 at −1-1 and at 11 is D-, A-, E- and G-optimal: M=IM = I and d(x)=1+x2≤2=pd(x) = 1 + x^2 \le 2 = p.
  • Quadratic on [−1,1][-1, 1]. The D-optimal design puts weight 1/31/3 at −1-1, 00 and 11, with det⁡M=4/27\det M = 4/27 and tr⁡M−1=9\operatorname{tr}M^{-1} = 9. The A-optimal design puts weights 1/41/4, 1/21/2, 1/41/4 at the same points, with tr⁡M−1=8\operatorname{tr}M^{-1} = 8 and det⁡M=1/8\det M = 1/8. Both are proved optimal by the equivalence theorem: for D, d(x)=3−92x2(1−x2)≤3d(x) = 3 - \frac92x^2(1 - x^2) \le 3; for A, f(x)⊤M−2f(x)=8−20x2(1−x2)≤8=tr⁡M−1f(x)^\top M^{-2}f(x) = 8 - 20x^2(1 - x^2) \le 8 = \operatorname{tr}M^{-1}. So the two criteria give different designs from the same support points.
  • First-order model on the cube. For f(x)=(1,x1,…,xk)f(x) = (1, x_1, \dots, x_k) on [−1,1]k[-1, 1]^k, the full two-level factorial design has M=IM = I and d(x)=1+∑jxj2≤k+1=pd(x) = 1 + \sum_jx_j^2 \le k + 1 = p, so it is D-optimal. A regular fractional factorial design of resolution at least III, a Plackett-Burman design or a two-level orthogonal array of strength 2 also has M=IM = I for this model and is D-optimal with far fewer runs.
  • Exact second-order design in two factors. The model f(x)=(1,x1,x2,x1x2,x12,x22)f(x) = (1, x_1, x_2, x_1x_2, x_1^2, x_2^2) with N=6N = 6 runs on the 3×33 \times 3 grid {−1,0,1}2\{-1, 0, 1\}^2: an exhaustive search over all 3003 multisets of 6 grid points gives the largest det⁡X⊤X=256\det X^\top X = 256, reached for instance by the four corners, the center and the edge point (−1,0)(-1, 0).

Known algorithms

method designs guarantee
vertex direction (Wynn 1970, Fedorov 1972) approximate D converges to the optimum; same update as Khachiyan's algorithm
multiplicative weights (Silvey, Titterington and Torsney 1978) approximate D, A, c criterion increases at every step and converges (Yu 2010)
semidefinite and determinant maximization programs approximate D, A, E polynomial time by interior point methods (Vandenberghe, Boyd and Wu 1998)
Fedorov exchange exact D determinant increases at every exchange; stops at a local optimum
modified Fedorov, DETMAX, coordinate exchange exact D and others heuristics; local optima only, restarted from random designs
rounding of the approximate optimum exact efficiency close to 1 when NN is large compared with the support size

Vertex direction. Find x+=arg⁡max⁡xd(x,ξ)x^+ = \arg\max_xd(x, \xi) and move weight toward it: ξ←(1−α)ξ+αδx+\xi \leftarrow (1 - \alpha)\xi + \alpha\delta_{x^+}. The best step is α=(d+−p)/(p(d+−1))\alpha = (d^+ - p)/(p(d^+ - 1)) with d+=d(x+,ξ)d^+ = d(x^+, \xi). The value max⁡xd(x,ξ)\max_xd(x, \xi) is a stopping rule with a guarantee: the D-efficiency (det⁡M(ξ)/det⁡M∗)1/p(\det M(\xi)/\det M^*)^{1/p} is at least p/max⁡xd(x,ξ)p/\max_xd(x, \xi).

Multiplicative algorithm. On nn candidates, wi←wi d(xi,ξ)/pw_i \leftarrow w_i\,d(x_i, \xi)/p for all ii at once. The weights stay positive and sum to 1, by Lemma 1 on the equivalence theorem page. On the 9 points −1,−34,…,1-1, -\frac34, \dots, 1 for the quadratic model, from equal weights (det⁡M=0.0557\det M = 0.0557, max⁡d=5.95\max d = 5.95), the determinant after 10 updates is 0.1409, after 50 updates 0.14792 with max⁡d=3.004\max d = 3.004, and after 200 updates it equals 4/27≈0.1481484/27 \approx 0.148148 to 8 digits, with the weight on −1-1, 00, 11.

Exact designs. The exchange methods start from a random nonsingular design and move one point, or one coordinate of one point, while the criterion improves. They are fast and give no guarantee; the usual practice is many random starts and a report of the D-efficiency against the approximate optimum, which bounds the exact optimum from above.

Bounds

  • Optimal value of the approximate problem. At a D-optimal design max⁡xd(x,ξ∗)=p\max_xd(x, \xi^*) = p, and d(xi,ξ∗)=pd(x_i, \xi^*) = p at the support points. Some D-optimal design has between pp and p(p+1)/2p(p+1)/2 support points, and the optimal moment matrix is unique (proofs on the equivalence theorem page).
  • Exact against approximate. Any exact design with NN runs is an approximate design with weights k/Nk/N, so det⁡X⊤X≤Npdet⁡M∗\det X^\top X \le N^p\det M^*. In the two-factor example on the 3×33 \times 3 grid, the approximate optimum puts weight about 0.1458 on each corner, 0.0802 on each edge midpoint and 0.0962 on the center, with det⁡M∗≈0.011427\det M^* \approx 0.011427. The best exact designs for N=6,7,8,9N = 6, 7, 8, 9 have det⁡X⊤X=256,960,2304,5184\det X^\top X = 256, 960, 2304, 5184, so their D-efficiencies (det⁡X⊤X/(Npdet⁡M∗))1/p(\det X^\top X/(N^p\det M^*))^{1/p} are 0.885, 0.945, 0.957 and 0.974: the gap shrinks as NN grows.
  • Hardness. Welch (1982) proved that exact D-optimal design is NP-hard. The closely related problem of choosing kk vectors of largest volume is NP-hard and has no polynomial approximation scheme (Çivril and Magdon-Ismail 2009). So exact algorithms such as branch and bound are exponential in the worst case, and the exchange methods are heuristics.

Reductions

  • Minimum volume enclosing ellipsoid. For a finite candidate set, the approximate D-optimal design problem is the Lagrange dual of finding the minimum volume enclosing ellipsoid centered at 0 of the points f(xi)f(x_i): at the optimum the ellipsoid is {z:z⊤M∗−1z≤p}\{z : z^\top M^{*-1}z \le p\}, every f(xi)f(x_i) lies in it because d(xi,ξ∗)≤pd(x_i, \xi^*) \le p, and the support points lie on its boundary. Algorithms for one problem solve the other.
  • Semidefinite programming. A-optimality is a semidefinite program in the weights, and E-optimality maximizes the smallest eigenvalue of a matrix linear in the weights. D-optimality is a determinant maximization problem.
  • Subset selection. With a finite candidate list and N=pN = p runs, the exact D-optimal design chooses pp of the nn rows with the largest ∣det⁡∣|\det|, a maximum volume submatrix problem.

Applications

Optimal designs are used where runs are expensive and the model is trusted: chemical and process experiments with constrained regions in response surface methodology, dose finding and pharmacokinetic sampling times with nonlinear models, choice experiments in marketing, sensor placement, computer experiments, and the choice of measurements in linear bandits, where the G-optimal design bounds the worst prediction error. When randomization of treatments to units is the main goal, a randomized experiment with a classical design is used instead.

References

  1. J. Kiefer, Optimum experimental designs, Journal of the Royal Statistical Society, Series B 21(2), 1959, pp. 272 to 304, The whole paper (approximate designs and the criteria named by letters)
  2. J. Kiefer and J. Wolfowitz, The equivalence of two extremum problems, Canadian Journal of Mathematics 12, 1960, pp. 363 to 366, The whole paper (D-optimality and G-optimality are equivalent)
  3. Henry P. Wynn, The sequential generation of D-optimum experimental designs, Annals of Mathematical Statistics 41(5), 1970, pp. 1655 to 1664, The whole paper (adding the point of largest variance converges to a D-optimal design)
  4. V. V. Fedorov, Theory of Optimal Experiments, translated and edited by W. J. Studden and E. M. Klimko, Academic Press, 1972, The whole book (continuous designs, the iterative procedure that adds the point of largest variance, and the exchange of points for exact designs; general locator)
  5. Yaming Yu, Monotonic convergence of a general algorithm for computing optimal designs, Annals of Statistics 38(3), 2010, pp. 1593 to 1606, The whole paper (the multiplicative algorithm of Silvey, Titterington and Torsney increases the criterion at every step and converges)
  6. Lieven Vandenberghe, Stephen Boyd and Shao-Po Wu, Determinant maximization with linear matrix inequality constraints, SIAM Journal on Matrix Analysis and Applications 19(2), 1998, pp. 499 to 533, The section on experiment design (D-, A- and E-optimal designs as determinant maximization and semidefinite programs)
  7. William J. Welch, Algorithmic complexity: three NP-hard problems in computational statistics, Journal of Statistical Computation and Simulation 15(1), 1982, pp. 17 to 25, The whole paper (exact D-optimal design is NP-hard)
  8. Ali Çivril and Malik Magdon-Ismail, On selecting a maximum volume sub-matrix of a matrix and related problems, Theoretical Computer Science 410(47-49), 2009, pp. 4801 to 4811, Theorem 4 (the maximum volume subset problem is NP-hard) and Theorem 6 (it has no polynomial approximation scheme)
  9. Friedrich Pukelsheim, Optimal Design of Experiments, SIAM Classics in Applied Mathematics 50, 2006 (reprint of the Wiley edition of 1993), Chapter 9 (D-, A-, E- and T-optimality) and Chapter 12 (efficient designs for finite sample sizes)
  10. A. C. Atkinson, A. N. Donev and R. D. Tobias, Optimum Experimental Designs, with SAS, Oxford University Press, 2007, Chapter 10 (criteria of optimality), Chapter 11 (D-optimum designs) and Chapter 12 (algorithms for the construction of exact D-optimum designs)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a known algorithm
  • a contract.yaml