CVXSADes: a stochastic algorithm for constructing optimal exact regression designs with single or multiple objectives
May 5, 2024
ABSTRACT
We propose an algorithm to construct optimal exact designs (EDs). Most of the work in the optimal regression design literature focuses on the approximate design (AD) paradigm due to its desired properties, including the optimality verification conditions derived by Kiefer, (1959, 1974). ADs may have unbalanced weights, and practitioners may have difficulty implementing them with a designated run size . Some EDs are constructed using rounding methods to get an integer number of runs at each support point of an AD, but this approach may not yield optimal results. To construct EDs, one may need to perform new combinatorial constructions for each , and there is no unified approach to construct them. Therefore, we develop a systematic way to construct EDs for any given . Our method can transform ADs into EDs while retaining high statistical efficiency in two steps. The first step involves constructing an AD by utilizing the convex nature of many design criteria. The second step employs a simulated annealing algorithm to search for the ED stochastically. Through several applications, we demonstrate the utility of our method for various design problems. Additionally, we show that the design efficiency approaches unity as the number of design points increases.
Keywords: design of experiment, optimal approximate design, exact design, multiple-objective design, maximin design, stochastic optimization, annealing algorithm, CVX solver
MSC 2020: 62K05, 62K20.
1 Introduction
Consider a general regression model,
(1) |
where is the -th observation of a response variable at design point , is a design space, is the unknown regression parameter vector, response function can be a linear or nonlinear function of , and the errors are assumed to be uncorrelated with mean zero and finite variance . Let be an estimator of , such as the least squares estimator. Various optimal designs are defined by minimizing over the design points , where function can be determinant, trace, or other scalar functions. The resulting designs are called optimal exact designs (OEDs), which depend on the response function , the design space , the estimator , the scalar function , and the number of points . As for searching for the OEDs, coordinate exchange and simulated annealing (SA) algorithms have been developed and used; see Meyer and Nachtsheim, (1988, 1995), Wilmut and Zhou, (2011), Smucker et al., (2012), Rempel and Zhou, (2014) and Palhazi Cuervo et al., (2016), for a small sample of recent contributions to this problem. It is well known that it is difficult to construct OEDs, even for relatively simple problems; see Section 1.7 in Berger and Wong, (2009) for more details. Note that other than the model and the parameter values, the exact designs also depend on the number of the run size , and the practitioner needs to recalculate the design for each , which makes it challenging to construct in practice.
To avoid calculating a huge number (near-infinite) of different exact designs for each given , Kiefer, (1959, 1974) proposed and developed the general equivalence theory for optimal approximate designs (OADs). With the approximate design, one does not need to recalculate the design for each . Instead, it calculates the proportion of how many resources should be allocated at different support points. The equivalence theorem is useful for constructing OADs analytically and numerically. After obtaining OADs, we may use rounding to convert them to exact designs. This method is usually suggested in research papers; e.g. Pukelsheim and Rieder, (1992) and its follow-up works. Before explaining the details of the conversion, we first give a short review of OADs. Let be a discrete distribution (design) with support points in , say, , and their corresponding weights are denoted by, , respectively. Note that is not fixed and can be any positive integer. Denote the set of all discrete distributions on as . The information matrix of a design for model (1) is given by
(2) |
where vector , and is the true value of . The covariance matrix of , , is proportional to . An OAD is defined as the minimizer of over all possible designs for a given function . If depends on , then the OAD is called a locally OAD or simply OAD in this paper. Notice that, for linear response functions, does not depend on . In practice, we do not know , and replace in (2) by an estimate, which may be available from pilot studies or the domain knowledge.
Since it is easier to construct OADs than OEDs, OADs have been obtained for various models, design spaces, and optimality criteria. Often numerical methods are used for finding OADs, and the methods include, for example, multiplicative algorithm (Zhang and Mukerjee, , 2013; Bose and Mukerjee, , 2015), cocktail algorithm (Yu, , 2011), genetic algorithm (Broudiscou et al., , 1996; Hamada et al., , 2001), semi-definite programming method (Papp, , 2012; Duarte and Wong, , 2015; Ye et al., , 2017), semi-infinite programming tools in Duarte and Wong, (2014) and Duarte et al., (2015), particle swarm method (Chen et al., , 2015), convex optimization method via CVX toolbox (Grant and Boyd, , 2020) in Gao and Zhou, (2017), a general method in Yang et al., (2013), and an efficient method in Duan et al., (2022). Mandal et al., (2015) provides a comprehensive review of the algorithmic approaches utilized in most of the methods mentioned above. Recently, Wong and Zhou, (2019, 2023) gave detailed discussions and comments on several algorithms, and they also developed effective numerical algorithms for finding OADs with multiple objective functions.
As the advantages of OADs are mentioned, tremendous efforts have been put into them, but how to effectively construct design points efficiently from those OADs is still uncertain. Suppose is an OAD with support points in , say , and their weights are , respectively. It is clear that does not depend on . However, it may not be easy to implement with runs in practice, as , , are usually not integers. A general suggestion is to round each to the nearest positive integer subject to the total number of design points being (Wong and Zhou, , 2019). In some situations, how best to round may not be clear. For instance, if an approximate design has weights as , from a design in Haines et al., (2018, Example 4.2), then it is not clear how to choose design points from the approximate design. Are there good strategies for selecting design points from OADs?
In addition, the debate surrounding this rounding method has persisted for a while. In a review paper by John and Draper, (1975), the author stated, “the rounding-off procedure may eliminate points with small measure, thereby changing the nature of the design.” López-Fidalgo, (2023) recalls in his recent book, stating that the controversy regarding exact design is discussed in Section 1.4.4, where he mentions that the rounding approach from approximate design to exact design is highly controversial, with some, including Box, dissenting. Particularly, on page 7, López-Fidalgo, (2023) states, “Box has never accepted the use of the approximate designs introduced by Kiefer, (1959),” and on page 11, he further remarks, “This idea came from Kiefer, (1974) and it used to be a controversial topic that George Box and others never have liked.” In particular, when the number of available runs subject to the available resources is small, it is unclear which support points to keep from the approximate design or whether to keep any of them at all. Mukerjee and Huda, (2016) also raised issues related to rounding for fractional factorial designs. They studied procedures for finding highly efficient exact designs from approximate design, however their procedure can only be applied for designs with a finite number of points.
In this paper, we propose a stochastic algorithm to construct OEDs to address these issues and systematically construct exact designs. Our proposed method utilizes a meta-heuristic algorithm, which does not rely on restrictive assumptions and does not require computing the gradient of the loss (objective) function in optimal design problems, which may be difficult to obtain in complicated design problems. Our algorithm first constructs an OAD and uses it as a starting point to search for exact designs. Additionally, OADs are used to compute the design efficiency of OEDs. Various optimality criteria are studied, including single-objective and multiple-objective criteria. To summarize, this paper makes three important contributions to optimal design of experiments as follows.
-
(i) Fast and gradient-free algorithm: Our first contribution is the development of a general algorithm for finding highly efficient OEDs via a CVX solver and an SA algorithm. Highly efficient OEDs can be found easily from the algorithm. In particular, our method does not require the derivative/gradient and Hessian matrix of the objective function of the design problems.
-
(ii) Importance of finding both exact and approximate designs: Our second contribution is to use our algorithm for finding both the OAD and OED. We show the importance of searching for both OAD and OED together. If we just use a SA algorithm to search for exact designs, we do not know if the resulting designs are optimal or efficient. Computing both OED and OAD allows us to compute the design efficiency of an OED. If we just search for OADs and use a rounding method to obtain OEDs, then the resulting designs may not be efficient, or we do not know how to do the rounding. We can find highly efficient exact designs by computing an OAD and then searching for an exact design. The efficiency is computed by using the OAD.
-
(iii) Exact design on complex setup: Our third contribution is to construct highly efficient exact designs in complicated settings. The conventional methods to compute the exact designs in the literature mainly centre around the low dimensional (small ) problems and one objective function; for instance, Duarte et al., (2020) only considers the settings in at most three dimensions and only one objective function. There is a need to fill the gap between constructing the exact design in more complex settings, including design in high-dimension, and for more than one objective function. Our method is demonstrated to be able to find exact designs in higher dimensions, seven-dimensional space, and exact designs with multiple competing objectives. We present four applications with various optimality criteria and design spaces, including multiple-objective criteria and high-dimensional design spaces.
The rest of the paper is organized as follows. In Section 2, we review the optimal design criteria with single and multiple objectives, related equivalence theory for OADs, and convex optimal design problems on discrete design spaces. In Section 3, we develop an effective algorithm to find OADs and OEDs for single and multiple objectives. We also give several properties about the OADs and OEDs and many remarks on the properties of the proposed algorithm. Section 4 presents several applications and their OEDs, which are difficult to find by conventional methods. Finally, we close the paper with the concluding remarks in Section 5. All proofs and derivations are in the Appendix. The implementation is available on the author’s GitHub page https://github.com/chikuang/CVXSADes.
2 Optimality criteria with single or multiple objectives
Various optimality criteria have been proposed and studied in the literature; see, for example, Fedorov, (1972), Pukelsheim, (1993), Berger and Wong, (2009), and Dean et al., (2015). Here we recall several criteria to illustrate optimal design problems and equivalence theory, and present convex optimization problems on discrete design spaces.
2.1 Optimal design problems
A-, c-, D-, I-, and E-optimality criteria are commonly used to construct optimal designs with a single objective function. The optimal design problems for finding OADs can be written as
(3) |
where is defined in (2), and is a scalar function. For example, is the determinant function for D-optimality, and trace for A-optimality. We denote trace and determinant functions as and , respectively. Let be the solution to problem (3), which depends on , and is called an OAD.
The equivalence theory states the necessary and sufficient condition that an OAD satisfies. A general form for the condition is
(4) |
where function depends on the optimality criterion and is the negative of the directional derivative of . The equality in (4) holds at the support points of . For a D-optimal design ,
If with a constant matrix (; ), which includes A-, c-, and I-optimality criteria, then
For a generalized linear model (GLM), the maximum likelihood estimator is often used to estimate parameter . The information matrix of design is different from that in (2) and can be written as
(5) |
where and depend on the link and predictor functions of the GLM. In function , we replace by , and several examples are given in Section 4.
2.2 Optimal design problems on discrete design spaces
The necessary and sufficient condition in (4) enables us to find analytical and numerical solutions of for various models, including polynomial, second-order, and nonlinear models. However, it is still challenging to find for complicated models or design spaces. Wong and Zhou, (2019) discussed and investigated OADs on discrete design spaces. They used the fact that optimal design problems are convex optimization problems for commonly used optimality criteria, and applied CVX solver for finding OADs. Here we recall some details of the optimal design problems on discrete design spaces.
Let be a discrete design space with points, where are user selected points. One possible choice is to use equally spaced grid points in . Denote any distribution on by
where the weights satisfy for and , and a point is a support point of if the corresponding weight . Let be the set of all distributions on . The information matrix of design become , which can be computed from (2) or (5), replacing by and replacing by . It is important to notice that in , are fixed points, but are unknown weights. In addition, is linear in weights . Let weight vector . Then is a convex function of for commonly used optimality criteria; see Boyd and Vandenberghe, (2004), and Wong and Zhou, (2019). An OAD on , denoted by , is a solution to the following optimization problem,
or
(8) |
Problem (8) is a constraint convex optimization problem if is a convex function of . It can be solved by CVX solver, and detailed procedures of using CVX for finding are given in Wong and Zhou, (2019).
2.3 Multiple-objective optimal designs
For multiple-objective optimal designs, there are mainly three optimality criteria, which are often used. They are compound, multiple efficiency constraint, and maximin efficiency criteria (Wong and Zhou, , 2023). Since compound and multiple efficiency constraint criteria need extra information to form the design problems, we only focus on maximin efficiency criterion to discuss OEDs. Let be objective functions. For instance, , which are defined as different scalar functions of the same information matrix of a model. They can also be defined as the same scalar function of information matrices of several models. Suppose there are three competing models for an experiment, which leads to three different information matrices, say, , , and , where , and are the true parameters for the three models, respectively. We may then define , , and . Alternatively, we can use different scalar functions of those information matrices.
A maximin efficiency design is defined below. First, we minimize each over to obtain an OAD , . Second, we define design efficiency for a design and a given criterion as
(9) |
For the objective functions, there are efficiencies for a design , which can be written as
Third, we find a solution to the maximin problem given as
and the solution is called a maximin efficiency design. The maximin problem is hard to solve. However, this problem can be transformed into a convex optimization problem on a discrete design space , which can be solved easily via CVX solver. On , in the maximin problem we replace and by and , respectively, and use to compute the efficiencies. Wong and Zhou, (2023) developed an effective algorithm for finding maximin optimal designs with various kinds of objective functions. Gao et al., (2024) also derived the necessary and sufficient conditions for multiple-objective optimal designs on .
3 Algorithms for OEDs
In this section, we develop an algorithm to construct OEDs which depends on . Let be the OED for an optimality criterion , and its support points are denoted by with corresponding weights . In contrast to , these are not fixed/user specified. The weights must satisfy (i) is a positive integer for each , (ii) . Define to be the set of all exact designs on with size . It is clear that . Since and the OAD is a solution to (3), it is obvious that
which implies that . A design is said to be highly efficient if is close to . In practice we may use to define highly efficient design .
For D-optimality, we may minimize or to find D-optimal designs, but the D-efficiency is given by
where is a D-optimal design. For other optimality criteria, the design efficiency is usually given by (9).
Notice that may not always be available. In those cases, the OAD on , can be used to compute a modified design efficiency as
Since it is possible that . Nevertheless, we can still say that is highly efficient when . Additional comments are given in Section 3.2.
We will introduce our proposal for an effective algorithm to find highly efficient for small and in Section 3.1. Then we discuss and explore various properties of the algorithm and in Section 3.2.
3.1 Algorithms
We develop a general algorithm for finding an approximate design for a given design problem, and then construct an exact design with high efficiency. In Algorithm 1, we first compute the OAD, via CVX, and then is obtained through a SA with a starting design generated from . To describe the algorithm clearly, we use a general design problem below to explain the detailed steps in the algorithm. The objective function is , where is a design on design space .
Remark 1.
Wong and Zhou, (2019, 2023) have provided details for finding OADs via CVX with both single and multiple-objective OADs on . CVX solver can solve problem (8) easily with as large as 10,000. From our numerical results, does not have to be very large to obtain a highly efficient OAD . Often we can choose . In Application 1 in Section 4, a highly efficient OAD is obtained with , and additional comments are provided there.
Remark 2.
To get an initial design , we need to get the rounded integers . When it is not clear how to round for some applications, we can just take floor or ceiling of such that . Since is just a starting point in the annealing algorithm, the rounding effect is not crucial for the substantial task. As usual, running the annealing algorithm several times is helpful to find an exact design with a high design efficiency value.
Remark 3.
SA algorithm has been used to find optimal designs in the literature, where there are several parameters in the algorithm that need to be adjusted for each optimization problem. For instance, Wilmut and Zhou, (2011) discussed some strategies for adjusting those parameters. Here, it is helpful to use a plot of loss function values versus (iteration) for checking the annealing parameters, for each fixed . Figure 1 (from Application 2 in Section 4) shows a plot from the annealing algorithm when the parameters are set appropriately. At the beginning of the search fluctuates, and eventually as increases decreases and converges to a limit.
Remark 4.
If an OAD on is available, skip Step 1 and replace by it in Step 2.1.
Remark 5.
Since a SA algorithm is used in Step 2.3, it does not guarantee to find the best exact design. However, we can set a required efficiency value, say , and run the algorithm times to search for a highly efficient exact design.
Remark 6.
Algorithm 1 also works for the maximin optimal design by setting
3.2 Properties of optimal designs
Figure 2 shows the relationship among the three sets of distributions, where is the set of exact designs with run size on . It is obvious that the optimal designs, , , and for any criterion on and , respectively, satisfy
for any and . Theorem 1 below shows some asymptotic results of and under some mild conditions.
Theorem 1.
Consider a regression model and a design space . Let be the OED for a given , be the OAD on , and be the OAD design on . Assume all entries of are continuous functions of and is a bounded region, where for model (1), or for a GLM. In addition, is formed by the Cartesian product of the equally spaced points for each design variable. We have the following results:
-
(i)
.
-
(ii)
.
The detailed proof is given in the Appendix. The asymptotic results indicate that and can be highly efficient for large and . However, in practice we are often interested in exact designs with small , and Algorithm 1 is very helpful for finding those exact designs.
From Theorem 1, . However, may not be an increasing function of . For example, if an OAD has 4 support points with equal weights, , then it is easy to construct OEDs for being multiples of 4 and those OEDs have . However, when is not a multiple of 4, it is clear that .
When the design space is discrete, we take . Then we have . In this situation, efficiency measures . In general, for any and , design efficiency measures satisfy
by their definitions in Sections 2.3 and 3. For instance, if and , then . Since may be larger than 1, can be larger than for some models and in particular for small . may not be an increasing function of , but from Theorem 1.
Algorithm 1 works well and is effective to find highly efficient for small or moderate . The number of distinct support points in may not be the same as that in or . When is very large, the SA algorithm in Algorithm 1 can be slow. This is true for any SA algorithms. In this situation, we can use a rounding method to construct OEDs, as illustrated in the proof of Theorem 1 in the Appendix, and we can replace by when is not available. In that case the number of distinct support points in are the same as that in or .
4 Applications
We apply our proposed algorithm, CVXSADes, to construct OEDs for various models and various values of . Representative results are given and discussed in four applications below. Application 1 is for a D-optimality criterion for a logistic model with two design variables, where it is not clear how to round from OADs. In addition, we discuss the choice of and the efficiency of OADs on as varies. Application 2 is about constructing optimal group testing designs over a discrete design space . The OAD from Algorithm 1 is more appropriate than the optimal designs in a paper. Application 3 concerns high-dimensional designs, where the design space comprises seven design variables. The high-dimensionality presents a challenge in finding OADs and OEDs. Algorithm 1 provides an alternative method to find optimal designs and gives better approximate designs than those in a couple of examples in Xu et al., (2019). Application 4 shows results for maximin optimal designs in which multiple objectives compete against each other. In each of the applications, we demonstrate the usefulness and effectiveness of our proposed algorithm.
Application 1.
(Two-variable logit model) Consider a two-variable binary logistic regression model with interaction, as discussed in Haines et al., (2018), where it was used to study the effectiveness of different combinations of the concentration of two insecticides. The model is given as
where is the probability of success, i.e., , is a binary response variable, and are two design variables, such as the doses of two drugs. D-OEDs were studied and derived analytically in Haines et al., (2018) for various parameter values and design spaces. For this GLM, the information matrix of design in (5) becomes
(10) |
where .
Since the D-optimality is used as a loss function ,
corresponding OADs and OEDs are denoted as
D-OADs and D-OEDs.
Using Algorithm 1 we compute D-OADs
on and construct D-OEDs for various
values of and . Then we compare with
in Haines et al., (2018) and comment on the D-OEDs.
We have worked on several cases of
and design spaces. Here we give representative results for two cases:
(i) and as in
Haines et al., (2018, Example 4.2(b)),
(ii) and as in
Haines et al., (2018, Section 5).
For case (i), D-OADs and D-OEDs are plotted in Figure 3. In the approximate design in Figure 3(a), includes grid points in , which is formed by Cartesian product of 51 equally spaced points in [0,1] in each dimension. Note that and have 5 support points that are almost the same, but has one extra support point with a very small weight (0.0033). The weights of are displayed there, and the weights of are slightly different and not shown in the plot for clear presentation. In addition, the loss function values of the two designs are almost the same, with . Three D-OEDs with and 20 are plotted in Figure 3(b), (c) and (d), respectively, with efficiency and . This indicates that these D-OEDs are highly efficient. The support points of each D-OED are clustered around 5 points.
For case (ii), D-OADs and D-OEDs are plotted in Figure 4. There are three D-OADs in Haines et al., (2018, Section 5), which have 4, 5, and 6 support points, respectively. The one with 6 support points has the smallest value of , and we use it for the efficiency calculation of and . Several values of are used to compute and . Representative results are given in Table 1, which indicate that increases as increases, seems to be fluctuated a bit, and but both and have a high efficiency with the in the latter being as small as . The interpretation of having a constant is that the annealing algorithm can effectively find highly efficient exact designs starting from different . This implies that the choice of does not affect the OED much, and in practice, we can choose a moderate . In Figure 4 (a) and (b), and are plotted. For clear presentation, the plots only display the weights in , which can also have 5 and 6 support points with different values of . The locations of the support points in are similar to those in . In Figure 4(c) and (d), D-OEDs are plotted. Design V and VI are the same, but the annealing algorithm used different starting designs. In Haines et al., (2018, Section 5), it is not clear how to get D-OEDs from with any given value of . Algorithm 1 provides an effective way to construct D-OEDs for any . The exact design in Figure 4(d) has for .
0.9716 | 0.9822 | |
0.9901 | 0.9513 | |
0.9961 | 0.9793 | |
0.9985 | 0.9794 | |
0.9984 | 0.9822 |
Application 2.
(Group testing design for disease prevalence) Group testing is employed to study rare diseases when testing individuals for a trait is costly (Hughes-Oliver and Swallow, , 1994; Hughes-Oliver and Rosenberger, , 2000). Instead of taking samples from each individual and testing them individually, it is more cost-efficient to conduct group testing, wherein samples from individuals are pooled as a group and tested together as a unit. In Huang et al., (2017), optimal group testing designs are studied, where optimal group sizes are selected for group testing experiments. Since the design space only includes integer values, finding OADs on discrete design spaces via CVX is extremely useful. We demonstrate this for D- and c-optimality criteria in Huang et al., (2017), and present OADs and OEDs for various values of . In addition, we find and comment on interesting features in OEDs.
To present the optimality criteria clearly, we rewrite the information matrix from Huang et al., (2017) as follows,
(11) |
where , with , and
See the details of the group testing model and information matrix in Huang et al., (2017). We consider D-optimality and c-optimality with vector . We minimize to obtain c-optimal designs. Representative results are given in Table 2 for and . From Huang et al., (2017), they found that the D-OAD has three support points: 1, 16.79, 61, which are similar to those of in Table 2. However, one of their support points is not an integer, which is not the design space. Thus, is more appropriate for this experiment. Since only includes integers, we modify the annealing algorithm by adding 1 or to the selected design point to obtain a new design point in . As usual, we make sure that all new points are in . The D-OEDs for various values of from Algorithm 1 are the same as those by rounding to integers, and they are highly efficient.
For c-optimal designs, in Table 2 is also more appropriate for this experiment, since the c-optimal design in Huang et al., (2017) also includes a non-integer support point (15.68). It is interesting to notice that the c-OEDs do not have the sample support points as in , and the design efficiencies are very high. One of the support points in is with a large weight 0.6279, but some of the exact designs include a support point or and do not include as a support point. See the results for , and . Figure 1 gives a plot of loss function value versus iteration number in the annealing algorithm for finding c-OED with where the y-axis is in log scale. Note that it is easy to find OADs and OEDs using Algorithm 1 for any value, any integer design space, and any optimality criterion.
D-optimality | support points | weights/observations | ||
---|---|---|---|---|
approximate | 1, 17, 61 | 1/3, 1/3, 1/3 | 0.1448 | 1.0000 |
1, 17, 61 | Per(4,3,3) | 0.1462 | 0.9906 | |
1, 17, 61 | Per(4,4,3) | 0.1461 | 0.9912 | |
1, 17, 61 | 4, 4, 4 | 0.1448 | 1.0000 | |
1, 17, 61 | Per(5,4,4) | 0.1457 | 0.9944 | |
1, 17, 61 | Per(5,5,4) | 0.1456 | 0.9946 | |
c-optimality | support points | weights/observations | ||
approximate | 1, 16, 61 | 0.1310, 0.6279, 0.2411 | 0.0354 | 1.0000 |
1, 17, 61 | 1, 6, 3 | 0.0361 | 0.9799 | |
1, 17, 61 | 1, 7, 3 | 0.0361 | 0.9808 | |
1, 15, 16, 61 | 2, 4, 3, 3 | 0.0358 | 0.9891 | |
1, 15, 16, 61 | 2, 7, 1, 3 | 0.0355 | 0.9968 | |
1, 15, 61 | 2, 9, 3 | 0.0355 | 0.9970 |
Application 3.
(Seven-dimensional design space) In real-world applications, experiments often involve many design variables, and efficient designs can help save resources and prevent wasted time. Consider a logistic model with seven design variables and its information matrix is similar to that in (10) with . Xu et al., (2019) proposed an innovative algorithm using differential evolution for finding D-OADs with several design variables, and used this model as an example. When the design space , the D-OAD in Xu et al., (2019, Table 4) with
has 48 support points. The corresponding weights for the 48 support points are, 0.0230, 0.0160, 0.0255, …, 0.0269. However, it is challenging to implement the D-OAD in practice. For instance, given a run size, let us say , how we construct the exact design remains unclear. We cannot have all the 48 support points in the exact design. In addition, it is not easy to round as for many of the support points in the D-OAD.
Algorithm 1 can be used construct D-OADs and D-OEDs for various design spaces and . Representative results are given in Tables 3 and 4. For each design variable, we take 4 equally spaced points on , i.e., , and construct by including the Cartesian product of the equally spaced points for the 7 variables, which gives . Table 3 presents the D-OAD via CVX. It is clear that has 29 support points, which is much less than 48, the number of support points in Xu et al., (2019). In addition, has a loss function value , which is smaller than , the loss function value of the approximate design in Xu et al., (2019). Thus, CVX solver finds a better D-OAD with a smaller loss function and a smaller number of support points. Table 4 gives an exact design with , which has 22 support points. Some of the support points are not at the corners of the hyper-cube , since the annealing algorithm allows us to make small changes of design points in . This has a loss function value , which yields an efficiency .
Support point | weight | |||||||
---|---|---|---|---|---|---|---|---|
1 | -1 | -1 | -1 | -1 | -1 | 1 | 1 | 0.0627 |
2 | -1 | -1 | -1 | 1 | -1 | 1 | -1 | 0.0732 |
3 | -1 | -1 | -1 | 1 | 1 | -1 | 1 | 0.0487 |
4 | -1 | -1 | 1 | -1 | 1 | -1 | -1 | 0.0499 |
5 | -1 | -1 | 1 | -1 | 1 | 1 | -1 | 0.0460 |
6 | -1 | 1 | -1 | -1 | -1 | -1 | -1 | 0.0088 |
7 | -1 | 1 | -1 | -1 | 1 | -1 | -1 | 0.0561 |
8 | -1 | 1 | -1 | 1 | -1 | 1 | 1 | 0.0212 |
9 | -1 | 1 | -1 | 1 | 1 | -1 | -1 | 0.0226 |
10 | -1 | 1 | 1 | -1 | -1 | -1 | 1 | 0.0840 |
11 | -1 | 1 | 1 | 1 | -1 | 1 | -1 | 0.0306 |
12 | -1 | 1 | 1 | 1 | 1 | -1 | 1 | 0.0023 |
13 | -1 | 1 | 1 | 1 | 1 | 1 | 1 | 0.0730 |
14 | 1 | -1 | -1 | -1 | -1 | -1 | 1 | 0.0135 |
15 | 1 | -1 | -1 | 1 | -1 | -1 | 1 | 0.0217 |
16 | 1 | -1 | -1 | 1 | 1 | -1 | 1 | 0.0415 |
17 | 1 | -1 | 1 | -1 | -1 | -1 | 1 | 0.0409 |
18 | 1 | -1 | 1 | -1 | -1 | 1 | -1 | 0.0375 |
19 | 1 | -1 | 1 | -1 | 1 | -1 | -1 | 0.0073 |
20 | 1 | -1 | 1 | 1 | -1 | 1 | 1 | 0.0255 |
21 | 1 | -1 | 1 | 1 | 1 | -1 | -1 | 0.0489 |
22 | 1 | -1 | 1 | 1 | 1 | 1 | -1 | 0.0100 |
23 | 1 | 1 | -1 | -1 | -1 | -1 | -1 | 0.0491 |
24 | 1 | 1 | -1 | 1 | -1 | -1 | -1 | 0.0404 |
25 | 1 | 1 | 1 | -1 | -1 | -1 | 1 | 0.0042 |
26 | 1 | 1 | 1 | 1 | -1 | -1 | 1 | 0.0058 |
27 | 1 | 1 | 1 | 1 | -1 | 1 | -1 | 0.0420 |
28 | 1 | 1 | 1 | 1 | -1 | 1 | 1 | 0.0033 |
29 | 1 | 1 | 1 | 1 | 1 | -1 | 1 | 0.0295 |
Support point | ||||||||
---|---|---|---|---|---|---|---|---|
1 | -1 | -1 | -1 | -1 | -1 | 1 | 1 | 1 |
2 | -1 | -1 | -1 | 1 | -1 | 1 | -1 | 2 |
3 | -1 | -1 | -1 | 1 | -1 | 1 | -0.9999 | 1 |
4 | -1 | -1 | -1 | 1 | 1 | -1 | 1 | 2 |
5 | -1 | -1 | 1 | -1 | 1 | -1 | -1 | 2 |
6 | -1 | -1 | 1 | -1 | 1 | 1 | -1 | 2 |
7 | -1 | 1 | -1 | -1 | -1 | -1 | -1 | 1 |
8 | -1 | 1 | -1 | -1 | 1 | -1 | -1 | 2 |
9 | -1 | 1 | -1 | 1 | -1 | 1 | 1 | 1 |
10 | -1 | 1 | -1 | 1 | 1 | -1 | -1 | 1 |
11 | -1 | 1 | 1 | -1 | -1 | -1 | 1 | 3 |
12 | -1 | 1 | 1 | 1 | -1 | 1 | -1 | 1 |
13 | -1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 |
14 | -0.9996 | 1 | 1 | 1 | 1 | -1 | 1 | 1 |
15 | -0.9995 | -1 | -1 | -1 | -1 | 0.9995 | 1 | 2 |
16 | 1 | -1 | -1 | 1 | 1 | -1 | 1 | 1 |
17 | 1 | -1 | 1 | -1 | -1 | -1 | 1 | 1 |
18 | 1 | -1 | 1 | -1 | -1 | 1 | -1 | 1 |
19 | 1 | -1 | 1 | 1 | 1 | -1 | -1 | 1 |
20 | 1 | 0.9998 | -1 | -1 | -1 | -1 | -1 | 1 |
21 | 1 | 1 | -1 | 1 | -1 | -1 | -1 | 1 |
22 | 1 | 1 | 1 | 1 | -1 | 1 | -0.9978 | 1 |
Application 4.
(Maximin design for competing criteria in dose finding study) In the dose-finding study, the aim is to find a model that characterizes the dose-response relationship effectively (Dette et al., , 2008). However, a complex decision-making process is required due to its complexity and other external considerations, such as efficacy and ethics tradeoffs. Often, more than one response model is necessary, and determining how to maximize the efficiency of the design for a model becomes a practical question. Here, we consider maximin optimality criteria for multiple objectives and construct maximin exact designs. We use one application with four response models in Wong and Zhou, (2023), which is also studied in Bretz et al., (2010). There are one linear response model, two Emax models with different true parameter values, and one logistic model. Let , , be the information matrices for the four models, respectively, where is the true parameter for model , the same as in Wong and Zhou, (2023).
We define maximin optimal designs in the same way as in Section 2.3. If for , we call it as maximin A-optimal design (maximin A-OAD/A-OED). If for , we call it as maximin D-optimal design (maximin D-OAD/D-OED).
Wong and Zhou, (2023) discussed an algorithm to compute maximin OADs on , and the main idea is to transform the maximin problem into a convex optimization problem and use CVX to find solutions. Applying the algorithm in Wong and Zhou, (2023), we can easily obtain maximin A- and D-OADs via CVX in Step 1 of Algorithm 1. Then we can compute maximin A- and D-OEDs for various values of . Representative results are plotted in Figures 5 and 6, where , , and , 20, and 30 are used. In Figure 5, the distribution functions of maximin A-OADs and maximin A-OEDs are plotted. From Figure 5(d), the maximin A-OAD and maximin A-OED with are very similar. The maximin A-OAD has , and the maximin A-OEDs have , and for , and , respectively.
In Figure 6, the distribution functions of maximin D-OAD and D-OED are plotted. The maximin D-OED has 5 support points, while the exact ones have more than 5 support points. The maximin D-OAD has , and the maximin D-OEDs have , and for , 20 and 30, respectively. From our numerical results, of the maximin D-OED or A-OED increases as increases.
The gap between the distribution functions of the approximate and exact designs reflects the differences between their weights and slightly different support points. For an exact design with runs, the weights have to be multiples of . There are usually more support points in exact designs than those in approximate designs. Table 5 presents a maximin A-OED with . There are 11 support points. Algorithm 1 is flexible to find highly efficient maximin OEDs with various values of .
support point | 0 | 23.07 | 28.47 | 36.48 | 45.77 | 80.95 | 83.54 | 91.30 | 173.32 | 217.51 | 500 |
---|---|---|---|---|---|---|---|---|---|---|---|
8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 3 |
5 Conclusion
Constructing an OED is challenging, as it involves solving an integer programming problem, which is NP-complete. The conventional methods for obtaining the exact design either involve deriving analytical solutions for low-dimensional problems or rounding approximate designs. However, closed-form solutions usually do not exist for designs involving more than two variables, and rounding may not yield exact designs with high efficiency. We have developed a general algorithm to search for OAEs and highly efficient OEDs. This algorithm is applicable to any criterion with a convex loss function, any design spaces, and any sample sizes , although it is particularly useful when is small or moderate. For very large , a rounding method still performs well in obtaining highly efficient OEDs. Notably, our algorithm also computes the OADs concurrently with OEDs. While there are other numerical algorithms for finding exact designs, they do not compute approximate designs, so it is difficult to access the efficiency of the resulting exact designs; some numerical methods are provided in Section 1. By computing the OADs, we can assess the efficiency of the OEDs relative to the OADs through the modified design efficiency measure. Our method offers a new and alternative approach to finding highly efficient exact designs.
We have provided four applications to demonstrate the effectiveness of our algorithm, which include single and multiple-objective optimality criteria, discrete and high-dimensional design spaces, linear, nonlinear and GLMs. Our proposed algorithm can find highly efficient exact designs for small quickly, which is very useful for practical applications. Full implementation of the proposed algorithm is available online for practitioners to use in other real-world applications.
Appendix: Proofs and derivations
Proof of Theorem 1: Write the information matrices of design in (2) and (5) using a general form as
(12) |
where in (2), or in (5). Suppose the OAD has support points with corresponding weights, , respectively.
For part (i), we want to show that .
For each , compute for . For large such that for all , we construct an exact design as follows. The support points of are the same as those of . We choose integer to be either the floor or the ceiling of and satisfy . Since for all , it is clear that and for all . Define the weights of exact design to be for support points , respectively.
Let for . Then . Note that . Evaluate the information matrix of the exact design using (12),
where . Since all entries of are continuous functions of , is a bounded region, is a fixed number, and , all entries of are bounded. Thus, (a zero matrix), as . This implies that as , which leads to for commonly used optimality criterion.
Notice that is an OED with points. It is clear that for any
From above analysis, as . Therefore, we must have as , which gives .
For part (ii), we want to show that .
For each , we construct an approximate design with support points, which are selected as follows. By the construction of , we can find a sequence of points, , , such that , for all . Then we choose , , as the support points of , and their weights are (from ), respectively. The information matrix of the approximate design using (12) is,
since all entries of are continuous functions of . Similar to the proof of part (i), it is clear that as . Since is a design on and is an OAD on , it follows that
Thus, as , which implies that .
Acknowledgements
This research was partially supported by Discovery Grants from the Natural Sciences and Engineering Research Council of Canada. The first author is partially supported by the CANSSI Distinguished Postdoctoral Fellowship from the Canadian Statistical Sciences Institute.
Declarations
The authors have no conflicts of interest to declare.
References
- Berger and Wong, (2009) Berger, M. P. and Wong, W.-K. (2009). An Introduction to Optimal Designs for Social and Biomedical Research. Wiley, New York.
- Bose and Mukerjee, (2015) Bose, M. and Mukerjee, R. (2015). Optimal design measures under asymmetric errors, with application to binary design points. Journal of Statistical Planning and Inference, 159:28–36.
- Boyd and Vandenberghe, (2004) Boyd, S. P. and Vandenberghe, L. (2004). Convex Optimization. Cambridge University Press, New York.
- Bretz et al., (2010) Bretz, F., Dette, H., and Pinheiro, J. C. (2010). Practical considerations for optimal designs in clinical dose finding studies. Statistics in Medicine, 29:731–742.
- Broudiscou et al., (1996) Broudiscou, A., Leardi, R., and Phan-Tan-Luu, R. (1996). Genetic algorithm as a tool for selection of D-optimal design. Chemometrics and Intelligent Laboratory Systems, 35:105–116.
- Chen et al., (2015) Chen, R.-B., Chang, S.-P., Wang, W., Tung, H.-C., and Wong, W. K. (2015). Minimax optimal designs via particle swarm optimization methods. Statistics and Computing, 25:975–988.
- Dean et al., (2015) Dean, A. M., Morris, M., Stufken, J., and Bingham, D. (2015). Handbook of Design and Analysis of Experiments. CRC Press, Boca Raton.
- Dette et al., (2008) Dette, H., Bretz, F., Pepelyshev, A., and Pinheiro, J. (2008). Optimal designs for dose-finding studies. Journal of the American Statistical Association, 103:1225–1237.
- Duan et al., (2022) Duan, J., Gao, W., Ma, Y., and Ng, H. K. T. (2022). Efficient computational algorithms for approximate optimal designs. Journal of Statistical Computation and Simulation, 92:764–793.
- Duarte et al., (2020) Duarte, B. P., Granjo, J. F., and Wong, W. K. (2020). Optimal exact designs of experiments via mixed integer nonlinear programming. Statistics and Computing, 30:93–112.
- Duarte and Wong, (2014) Duarte, B. P. and Wong, W. K. (2014). A semi-infinite programming based algorithm for finding minimax optimal designs for nonlinear models. Statistics and Computing, 24:1063–1080.
- Duarte and Wong, (2015) Duarte, B. P. and Wong, W. K. (2015). Finding bayesian optimal designs for nonlinear models: a semidefinite programming-based approach. International Statistical Review, 83:239–262.
- Duarte et al., (2015) Duarte, B. P., Wong, W. K., and Atkinson, A. C. (2015). A semi-infinite programming based algorithm for determining T-optimum designs for model discrimination. Journal of Multivariate Analysis, 135:11–24.
- Fedorov, (1972) Fedorov, V. V. (1972). Theory of Optimal Experiments. Academic Press, New York.
- Gao et al., (2024) Gao, L. L., Ye, J. J., Zeng, S., and Zhou, J. (2024+). Necessary and sufficient conditions for multiple objective optimal regression designs. Statistica Sinica, to appear.
- Gao and Zhou, (2017) Gao, L. L. and Zhou, J. (2017). D-optimal designs based on the second-order least squares estimator. Statistical Papers, 58:77–94.
- Grant and Boyd, (2020) Grant, M. C. and Boyd, S. P. (2020). The CVX users’ guide, release 2.2. https://cvxr.com/cvx/doc/CVX.pdf. Online; accessed 02 April 2024.
- Haines et al., (2018) Haines, L. M., Kabera, G. M., and Ndlovu, P. (2018). D-optimal designs for the two-variable binary logistic regression model with interaction. Journal of Statistical Planning and Inference, 193:136–150.
- Hamada et al., (2001) Hamada, M., Martz, H., Reese, C., and Wilson, A. (2001). Finding near-optimal bayesian experimental designs via genetic algorithms. The American Statistician, 55:175–181.
- Huang et al., (2017) Huang, S.-H., Huang, M.-N. L., Shedden, K., and Wong, W. K. (2017). Optimal group testing designs for estimating prevalence with uncertain testing errors. Journal of the Royal Statistical Society, Series B, 79:1547–1563.
- Hughes-Oliver and Rosenberger, (2000) Hughes-Oliver, J. M. and Rosenberger, W. F. (2000). Efficient estimation of the prevalence of multiple rare traits. Biometrika, 87:315–327.
- Hughes-Oliver and Swallow, (1994) Hughes-Oliver, J. M. and Swallow, W. H. (1994). A two-stage adaptive group-testing procedure for estimating small proportions. Journal of the American Statistical Association, 89:982–993.
- John and Draper, (1975) John, R. S. and Draper, N. R. (1975). D-optimality for regression designs: a review. Technometrics, 17:15–23.
- Kiefer, (1959) Kiefer, J. (1959). Optimum experimental designs. Journal of the Royal Statistical Society, Series B, 21:272–304.
- Kiefer, (1974) Kiefer, J. (1974). General equivalence theory for optimum designs (approximate theory). The Annals of Statistics, 2:849–879.
- López-Fidalgo, (2023) López-Fidalgo, J. (2023). Optimal Experimental Design: A Concise Introduction for Researchers. Springer, New York.
- Mandal et al., (2015) Mandal, A., Wong, W. K., and Yu, Y. (2015). Algorithmic searches for optimal designs. In Angela Dean, Max Morris, J. S. and Bingham, D., editors, Handbook of Design and Analysis of Experiments, chapter 21, pages 755–783. CRC Press, Roca Raton.
- Meyer and Nachtsheim, (1988) Meyer, R. K. and Nachtsheim, C. J. (1988). Constructing exact d-optimal experimental designs by simulated annealing. American Journal of Mathematical and Management Sciences, 8:329–359.
- Meyer and Nachtsheim, (1995) Meyer, R. K. and Nachtsheim, C. J. (1995). The coordinate-exchange algorithm for constructing exact optimal experimental designs. Technometrics, 37:60–69.
- Mukerjee and Huda, (2016) Mukerjee, R. and Huda, S. (2016). Approximate theory-aided robust efficient factorial fractions under baseline parametrization. Annals of the Institute of Statistical Mathematics, 68:787–803.
- Palhazi Cuervo et al., (2016) Palhazi Cuervo, D., Goos, P., and Sörensen, K. (2016). Optimal design of large-scale screening experiments: a critical look at the coordinate-exchange algorithm. Statistics and Computing, 26:15–28.
- Papp, (2012) Papp, D. (2012). Optimal designs for rational function regression. Journal of the American Statistical Association, 107:400–411.
- Pukelsheim, (1993) Pukelsheim, F. (1993). Optimal Design of Experiments. Wiley, New York.
- Pukelsheim and Rieder, (1992) Pukelsheim, F. and Rieder, S. (1992). Efficient rounding of approximate designs. Biometrika, 79:763–770.
- Rempel and Zhou, (2014) Rempel, M. F. and Zhou, J. (2014). On exact k-optimal designs minimizing the condition number. Communications in Statistics-Theory and Methods, 43:1114–1131.
- Smucker et al., (2012) Smucker, B. J., del Castillo, E., and Rosenberger, J. L. (2012). Model-robust two-level designs using coordinate exchange algorithms and a maximin criterion. Technometrics, 54:367–375.
- Wilmut and Zhou, (2011) Wilmut, M. and Zhou, J. (2011). D-optimal minimax design criterion for two-level fractional factorial designs. Journal of Statistical Planning and Inference, 141:576–587.
- Wong and Zhou, (2019) Wong, W. K. and Zhou, J. (2019). CVX-based algorithms for constructing various optimal regression designs. Canadian Journal of Statistics, 47:374–391.
- Wong and Zhou, (2023) Wong, W. K. and Zhou, J. (2023). Using CVX to construct optimal designs for biomedical studies with multiple objectives. Journal of Computational and Graphical Statistics, 32:744–753.
- Xu et al., (2019) Xu, W., Wong, W. K., Tan, K. C., and Xu, J.-X. (2019). Finding high-dimensional D-optimal designs for logistic models via differential evolution. IEEE Access, 7:7133–7146.
- Yang et al., (2013) Yang, M., Biedermann, S., and Tang, E. (2013). On optimal designs for nonlinear models: a general and efficient algorithm. Journal of the American Statistical Association, 108:1411–1420.
- Ye et al., (2017) Ye, J. J., Zhou, J., and Zhou, W. (2017). Computing A-optimal and E-optimal designs for regression models via semidefinite programming. Communications in Statistics-Simulation and Computation, 46:2011–2024.
- Yu, (2011) Yu, Y. (2011). D-optimal designs via a cocktail algorithm. Statistics and Computing, 21:475–481.
- Zhang and Mukerjee, (2013) Zhang, R. and Mukerjee, R. (2013). Highly efficient factorial designs for cdna microarray experiments: use of approximate theory together with a step-up step-down procedure. Statistical Applications in Genetics and Molecular Biology, 12:489–503.