Running Time Analysis of the (1+1)-EA for Robust Linear Optimization
Chao Bian, Chao Qian, Ke Tang, Yang Yu

TL;DR
This paper analyzes the expected running time of the (1+1)-EA algorithm for solving robust linear optimization problems under uncertainty, providing conditions for polynomial-time solutions in different robust scenarios.
Contribution
It offers the first theoretical analysis of the (1+1)-EA's performance on robust linear optimization with cardinality constraints, focusing on deletion-robust and worst-case scenarios.
Findings
Derived tight bounds for robust parameters ensuring polynomial running time.
Identified conditions under which the (1+1)-EA efficiently solves robust linear problems.
Disclosed the potential of EAs for practical robust optimization applications.
Abstract
Evolutionary algorithms (EAs) have found many successful real-world applications, where the optimization problems are often subject to a wide range of uncertainties. To understand the practical behaviors of EAs theoretically, there are a series of efforts devoted to analyzing the running time of EAs for optimization under uncertainties. Existing studies mainly focus on noisy and dynamic optimization, while another common type of uncertain optimization, i.e., robust optimization, has been rarely touched. In this paper, we analyze the expected running time of the (1+1)-EA solving robust linear optimization problems (i.e., linear problems under robust scenarios) with a cardinality constraint . Two common robust scenarios, i.e., deletion-robust and worst-case, are considered. Particularly, we derive tight ranges of the robust parameter or budget allowing the (1+1)-EA to find an…
Click any figure to enlarge with its caption.
Figure 1| Problem | Polynomial upper bound | Super-polynomial lower bound | ||||
| Deletion-robust OneMax | [Thm.3.3] | |||||
| [Thm.3.5,3.9] | ||||||
| Deletion-robust BinVal | [Thm.3.7] | |||||
| Deletion-robust linear optimization | polynomial in | [Thm.3.10] | super- polynomial | [Thm.3.12] | ||
| and | ||||||
| Worst-case linear optimization | polynomial | [Thm.4.1] | super- polynomial | [Thm.4.3] | ||
| polynomial in | ||||||
| and | ||||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMetaheuristic Optimization Algorithms Research · Advanced Multi-Objective Optimization Algorithms · Evolutionary Algorithms and Applications
\newdefinition
rmkRemark
\cortext
[cor1] Chao Qian is the corresponding author.
Running Time Analysis of the (1+1)-EA for Robust Linear Optimization*
Chao Bian [email protected] State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210023, China
Chao Qian [email protected]
Ke Tang [email protected] Shenzhen Key Laboratory of Computational Intelligence, Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China
Yang Yu [email protected]
Abstract
Evolutionary algorithms (EAs) have found many successful real-world applications, where the optimization problems are often subject to a wide range of uncertainties. To understand the practical behaviors of EAs theoretically, there are a series of efforts devoted to analyzing the running time of EAs for optimization under uncertainties. Existing studies mainly focus on noisy and dynamic optimization, while another common type of uncertain optimization, i.e., robust optimization, has been rarely touched. In this paper, we analyze the expected running time of the (1+1)-EA solving robust linear optimization problems (i.e., linear problems under robust scenarios) with a cardinality constraint . Two common robust scenarios, i.e., deletion-robust and worst-case, are considered. Particularly, we derive tight ranges of the robust parameter or budget allowing the (1+1)-EA to find an optimal solution in polynomial running time, which disclose the potential of EAs for robust optimization.
1 Introduction
Evolutionary algorithms (EAs) back:96 are general-purpose heuristic optimization algorithms, and have been widely applied to solve real-world optimization problems liang-fcs20 , which are often subject to various uncertainties. Meanwhile, theoretical analysis, particularly running time analysis of EAs has achieved a lot of progress neumann2010bioinspired ; auger2011theory during the last two decades. Though most of the existing theoretical studies focus on exact optimization, uncertain optimization has attracted much attention recently giessen2014robustness ; qian2018noise ; shi-algo18-dynamic .
Generally, optimization under uncertainties can be classified into three categories jin2005evolutionary : noisy optimization, dynamic optimization, and robust optimization.111The category “fitness approximation” and the category “noise” in jin2005evolutionary are similar. Both of them introduce errors into fitness evaluation. The main difference is that the former introduces deterministic error whereas the latter introduces random error. Thus, we combined them together under the umbrella of “noise”. For noisy optimization, one cannot obtain an exact objective function value, but only a noisy one. The classic (1+1)-EA was first studied on the OneMax and LeadingOnes problems under various noise models giessen2014robustness ; qian2018noise ; droste2004analysis ; qian2018ppsn . The studies show that the (1+1)-EA is efficient, i.e., it can find an optimal solution in polynomial running time, only under low noise levels. Later studies mainly proved the robustness of different strategies against noise, including using populations giessen2014robustness ; dang2015efficient ; doerr2018gecco ; prugel2015run ; dirk2018gecco , sampling qian2018noise ; qian2016sampling and threshold selection qian2015noise . There is also a sequence of papers analyzing the running time of the compact genetic algorithm friedrich2015benefit and a simple ant colony optimization algorithm friedrich2015robustness ; sudholt2012simple ; doerr2012ants ; feldmann2013optimizing solving noisy problems, including OneMax as well as the combinatorial optimization problem single destination shortest paths.
For dynamic optimization, the objective function or the constraints of the problem to be solved may change over time, and thus, the optimal solutions may change over time. The goal of the optimizer is to track the optimal solutions continuously. Droste droste-cec02-dynamic-om first analyzed the dynamic OneMax problem, where the fitness of a solution is the number of bits matching a target bitstring. He proved that the expected running time of the (1+1)-EA is polynomial when the target bitstring changes one uniformly chosen bit with probability in each iteration, where is the problem size. Kötzing et al. kotzing-foga15-dynamic re-proved some results in droste-cec02-dynamic-om and investigated the extended dynamic OneMax problem. Shi et al. shi-algo18-dynamic considered the linear pseudo-Boolean functions under dynamic uniform constraints. Dynamic versions of some combinatorial optimization problems have also been studied, including shortest paths lissovoi-tcs15-aco-ssp , vertex cover pourhassan-gecco15-dynamic-vc ; pourhassan-ssci17-dynamic-vc , weighted vertex cover shi-gecco18-dynamic-vc and makespan scheduling neumann-ijcai15-dynamic-makespan .
For robust optimization, the design variables or the environmental parameters may change after obtaining desired solutions, which thus have to be robust against these changes. Previous studies of EAs on robust optimization are mainly empirical, e.g., deb2006introducing ; beyer2007robust ; fu2015robust ; zhou-scis19 . To the best of our knowledge, running time analysis has been rarely touched.
In fact, robust pseudo-Boolean optimization, also called robust subset selection, has been theoretically studied in the Machine Learning community. The subset selection problem is to select a subset of size at most from a total set of items for maximizing some given objective function. The problem can be formally described as
[TABLE]
where denotes the size of a set. The subset selection problem has many applications. For example, in the sparse regression problem tropp-tit04 , one needs to select a subset of observation variables to best approximate the predictor variable; in the influence maximization problem kempe2003maximizing , one needs to select a subset of users from a social network to maximize its influence spread; in the sensor placement problem krause-jmlr08-sensor , one needs to select a few places to install sensors such that the information gathered is maximized. For pseudo-Boolean optimization, a solution is a Boolean vector, which naturally characterizes a subset. That is, the -th item is selected if and only if . Meanwhile, the selection of at most items is actually the cardinality constraint for , i.e., , where denotes the number of 1-bits. In this paper, a vector and its corresponding subset will not be distinguished for notational convenience.
For robust pseudo-Boolean optimization, Krause et al. krause-jmlr08-rsos first considered the deletion-robust setting. In many applications, one requires robustness in the solution such that the objective value degrades as little as possible when some items in the solution are deleted. For example, in the problem of sensor placement for monitoring spatial phenomena, the goal is to select a few locations to install sensors to maximize the coverage; but some sensors may fail, and it is desired that the remaining sensors have good coverage orlin-ipco16-deletion . In the problem of influence maximization, the goal is to spread the word of a new product by targeting the most influential users; but some of the users from the targeted set might refuse to spread the word, and we still want to maximize the information spread by the remaining users bogunovic-icml17-delete . The deletion-robust pseudo-Boolean optimization problem with a cardinality constraint can be formally described as
[TABLE]
where is the cardinality constraint, and is the maximum number of 1-bits that can be deleted. Note that is the original objective function to be maximized, while the objective function changes to in the deletion-robust setting. Another common type of robust optimization, called worst-case optimization krause-jmlr08-rsos , is to find a solution which is robust against a number of possible objective functions. For example, in spatial monitoring of certain phenomena, sensors are often used to measure various parameters such as temperature and humidity at the same time, and observations for these parameters are modeled by different functions; the goal is to find a solution of placing sensors which can perform well on all objective functions, i.e., to optimize the worst of all objective functions anari-arxiv18-off-online . In the influence maximization problem, influence of a set of users is measured by a function , which has significant uncertainty due to different models and different parameters; the goal is to optimize a set of functions simultaneously, in which one function is assured to describe the influence process exactly (but which one is not told) he-kdd16-robust-inf . The worst-case pseudo-Boolean optimization problem with a cardinality constraint can be formally described as
[TABLE]
where are possible objective functions. Note that the goal to be optimized in the worst-case setting is .
Krause et al. krause-jmlr08-rsos considered the case where is monotone increasing and satisfies the submodular, i.e., diminishing returns, property, and proposed an algorithm SATURATE which can achieve a solution matching the optimal objective value but with cardinality slightly larger than . SATURATE can apply to both deletion-robust and worst-case scenarios (i.e., Eqs. (2) and (3)), but the running time for the deletion-robust scenario is exponential in . Thus, Orlin et al. orlin-ipco16-deletion proposed a polynomial-time algorithm achieving an approximation ratio of 0.387 for , and Bogunovic et al. bogunovic-icml17-delete further improved to while retaining the approximation guarantee. Bogunovic et al. bogunovic-aistats18-nonsub also considered the deletion-robust problem with non-submodular objective functions. For the worst-case scenario in Eq. (3), Anari et al. anari-arxiv18-off-online proposed a greedy-style algorithm with an -approximation ratio, where relates to the running time of the algorithm as well as the size of the generated solution. Udwani udwani-nips18-multi designed a fast and practical algorithm for the case . He and Kempe he-kdd16-robust-inf applied a modification of SATURATE krause-jmlr08-rsos to the robust influence maximization problem, and showed that an -approximation ratio can be achieved when enough extra seeds may be selected.
This paper aims at moving a step towards theoretically analyzing EAs for robust optimization. Particularly, we analyze the expected running time of the (1+1)-EA for robust linear optimization with a cardinality constraint . Both deletion-robust and worst-case settings are considered. That is, the objective functions in Eqs. (2) and (3) are linear functions, which have been widely used to examine theoretical properties of EAs shi-algo18-dynamic ; droste2002analysis ; friedrich2018analysis ; jansen-analyzing ; witt-cpc13 ; neumann-gecco19-improved . For deletion-robust linear optimization, we also consider two specific instances, i.e., deletion-robust OneMax and deletion-robust BinVal, where the objective functions in Eq. (2) are fixed to OneMax and BinVal, respectively. For each concerned robust optimization problem, we derive tight bounds on or allowing the (1+1)-EA to find an optimal solution in polynomial running time, which are summarized in Table 1.
From the results, we can find that the (1+1)-EA can efficiently solve the deletion-robust OneMax and deletion-robust BinVal problems when is not very large. For example, when , the expected running time for deletion-robust OneMax is , which is the same as the known bound of the (1+1)-EA solving the OneMax problem in exact environments droste2002analysis . Even for the general deletion-robust and worst-case linear optimization problems, the (1+1)-EA can be efficient when and , respectively. As the practical value of is often not too large (note that is also not too large because ), the results disclose the potential of EAs for robust optimization. We also note that the performance of the (1+1)-EA degrades as deletion-robust linear optimization is extended from specific cases, i.e., OneMax and BinVal, to general cases, suggesting that more complicated EAs may be desired to deal with real-world robust optimization.
The rest of this paper is organized as follows. Section 2 introduces some preliminaries. The running time analysis for deletion-robust and worst-case linear optimization is presented in Sections 3 and 4, respectively. Section 5 concludes the paper.
2 Preliminaries
In this section, we first introduce the considered problem and algorithm, i.e., robust linear optimization and the (1+1)-EA, respectively, and then present the analysis tools that we use throughout this paper.
2.1 Robust Linear Optimization
As discussed before, deletion-robust and worst-case linear optimization under a cardinality constraint, i.e., Eqs. (2) and (3) with linear objective functions, are considered in this paper. The linear problem with a cardinality constraint, as presented in Definition 2.1, aims to maximize the weighted sum of a bit string with the constraint that the number of 1-bits is no larger than . We assume the weights are all no smaller than 1 and . It is clear that , i.e., the string with leading 1-bits and trailing 0-bits, is an optimal solution. Note that this problem has been studied in friedrich2018analysis and its dynamic version has been studied in shi-algo18-dynamic .
Definition 2.1** (Linear Problem with A Cardinality Constraint).**
Given weights where , and a budget , to find a binary solution such that
[TABLE]
where denotes the -th bit of .
The deletion-robust linear optimization problem is presented in Definition 2.2. When the context is clear, let , which is actually the weighted sum of the solution generated by deleting the leftmost 1-bits of , as decreases with . Then the problem can be viewed as maximizing . Note that is still an optimal solution.
Definition 2.2** (Deletion-robust Linear Optimization).**
Given weights where , a budget and a parameter , to find a binary solution such that
[TABLE]
We also consider two specific instances of deletion-robust linear optimization, deletion-robust OneMax and deletion-robust BinVal presented in Definitions 2.3 and 2.4, respectively. That is, the objective functions are specified to be OneMax and BinVal, respectively, which are two extreme instances of linear functions. For OneMax, all weights have the same value 1; for BinVal, is larger than the sum of . It is clear that any solution with 1-bits is optimal for deletion-robust OneMax, and is the unique optimal solution for deletion-robust BinVal.
Definition 2.3** (Deletion-robust OneMax).**
Given a budget and a parameter , to find a binary solution such that
[TABLE]
Definition 2.4** (Deletion-robust BinVal).**
Given a budget and a parameter , to find a binary solution such that
[TABLE]
The worst-case linear optimization problem is presented in Definition 2.5. When the context is clear, let , which is the minimum at of given linear functions. Then the problem can be viewed as maximizing . For each linear function, the weights are only assumed to be no smaller than 1, and can be non-decreasing with . Note that denotes the -th weight of the -th linear function.
Definition 2.5** (Worst-case Linear Optimization).**
Given linear functions where , and a budget , to find a binary solution such that
[TABLE]
2.2 (1+1)-EA
In this paper, we consider the simple (1+1)-EA and assume that can be obtained when evaluating . Note that such setting was also employed in he-kdd16-robust-inf , where the greedy algorithm maximizing the minimum of given functions achieves good empirical performance.
The (1+1)-EA as described in Algorithm 1 maintains only one solution, and repeatedly improves the current solution by using bit-wise mutation in line 3 and selection in line 4. Note that is the fitness of a solution defined as
[TABLE]
That is, if violates the constraint, is the degree of constraint violation; otherwise, . Note that for the problems examined in this paper, the fitness of a feasible solution is always larger than that of an infeasible one. That is, the common strategy “superiority of feasible points” deb2000efficient for constrained optimization is employed. The running time of the (1+1)-EA is defined as the number of fitness evaluations needed to find an optimal solution for the first time.
2.3 Analysis Tools
The process of the (1+1)-EA solving any pseudo-Boolean function can be directly modeled as a Markov chain . We only need to take the solution space as the chain’s state space, i.e., , and take all optimal solutions as the chain’s target state space . Given a Markov chain and , we define its first hitting time (FHT) as . The mathematical expectation of , , is called the expected first hitting time (EFHT) starting from . If is drawn from a distribution , is called the EFHT of the Markov chain over the initial distribution . Thus, the expected running time of the (1+1)-EA starting from is equal to . Note that we consider the expected running time of the (1+1)-EA starting from a uniform initial distribution in this paper.
We will use the additive drift theorem (i.e., Theorem 2.6) as well as the multiplicative drift theorem (i.e., Theorem 2.7) to analyze the EFHT of Markov chains. To use them, a function has to be constructed to measure the distance of a state to the target state space . The distance function satisfies that and . Then, we need to examine the progress on the distance to in each step, i.e., . For additive drift analysis, an upper bound on the EFHT can be derived through dividing the initial distance by a lower bound on the progress. Multiplicative drift analysis is much easier to use when the progress is roughly proportional to the current distance to the optimum.
Theorem 2.6** (Additive Drift he2001drift ).**
Given a Markov chain and a distance function , if for any and any with , there exists such that
[TABLE]
then the EFHT satisfies
Theorem 2.7** (Multiplicative Drift doerr:etal:GECCO10 ).**
Given a Markov chain and a distance function , if for any and any with , there exists such that
[TABLE]
then the EFHT satisfies , where denotes the minimum among all possible positive values of .
3 Deletion-robust Linear Optimization
In this section, we analyze the expected running time of the (1+1)-EA for deletion-robust OneMax (i.e., Eq. (5)), deletion-robust BinVal (i.e., Eq. (6)) and general deletion-robust linear optimization (i.e., Eq. (4)), respectively. The ranges of for a polynomial upper bound and a super-polynomial lower bound are all derived.
3.1 Deletion-robust OneMax
For the (1+1)-EA solving deletion-robust OneMax (i.e., Eq. (5)), Theorems 3.3 and 3.5 show that the tight range of allowing polynomial running time is . The reason for the effectiveness of the (1+1)-EA when is not too large is as follows. For any solution , if , the optimization procedure is similar to that of the (1+1)-EA minimizing the OneMax function, and the number of 1-bits of the solution quickly decreases to at most ; if , the fitness is 0 and any offspring solution will be accepted, thus the (1+1)-EA performs like a random walk over , and the number of 1-bits of the solution can increase to in polynomial running time for or . Thus, the (1+1)-EA can efficiently find a solution with and then quickly find an optimal solution.
To examine the behavior of the (1+1)-EA performing a random walk, we present Lemma 3.1, which gives the expected running time for the (1+1)-EA on a plateau to reach a solution with a sufficient number of 1-bits. The proof of Lemma 3.1 is accomplished by applying Theorem 2.6, i.e., the additive drift theorem.
Lemma 3.1**.**
For any , , the (1+1)-EA which always accepts the offspring solution in each iteration, can find a solution with more than 1-bits in expected running time , i.e., polynomial. For , the expected running time is .
Proof 3.2**.**
We use Theorem 2.6 for the proof. Note that and . First, we consider . The distance function is constructed as
[TABLE]
*The design of the distance function is to make a positive drift for the concerned process. When , the expected change in the number of one bits is positive, and thus it is sufficient that the distance decreases linearly with . When , the expected change in the number of one bits is negative, and thus it is necessary to make the distance decrease exponentially with , such that the gain of flipping a single 0-bit is large enough. When , the target state space is reached, and thus the distance is 0. The coefficients in the distance function are constructed carefully to make a good tradeoff between the positive drift and the initial distance, and thus to make the derived upper bound on the running time as tight as possible.
As depends only on the number of 1-bits of a solution, we denote as the distance of any solution with 1-bits, i.e., with , . Then, we have for , for , and . Thus, decreases with for , increases with for , and if and only if .*
Next we examine . Assume that currently . Let denote the probability that a solution with 1-bits is generated from by mutation. Thus, we have
[TABLE]
*where the first inequality holds by for and , and the second inequality holds by the monotonicity of for .
If , we have*
[TABLE]
where the equality holds because denotes the expected number of increased 1-bits after mutation, which is the expected number of flipped 0-bits (i.e., ) minus the expected number of flipped 1-bits (i.e., ). If , we have
[TABLE]
Now we examine the lower bound for .
[TABLE]
where the third inequality is by . Thus,
[TABLE]
*where the second inequality is by .
Combining the above two cases, we have*
[TABLE]
Note that
[TABLE]
where the second inequality holds by : . Thus, by Theorem 2.6, the expected running time is , i.e., polynomial.
Then, we consider . The distance function is constructed as
[TABLE]
Next we examine . To derive an upper bound on the expected increase of , we pessimistically assume that the 0-bits of are not flipped. Note that the expected number of flipped 1-bits is at most , thus the expected increase of is at most . To derive a lower bound on the expected decrease of , we only need to consider that one 0-bit of is flipped, whose probability is . Then we have
[TABLE]
Note that . Thus, by Theorem 2.6, the expected running time is .
Next, we prove Theorem 3.3 by applying Lemma 3.1 and Theorem 2.7, i.e., the multiplicative drift theorem.
Theorem 3.3**.**
If , , then , the expected running time of the (1+1)-EA for deletion-robust OneMax is , i.e., polynomial. Furthermore, if , the expected running time is .
Proof 3.4**.**
We divide the optimization procedure into two phases: (1) starts after initialization and finishes upon finding a solution with ; (2) starts after (1) and finishes upon finding an optimal solution.
*For phase (1), we further consider two subphases.
(1a) A solution with is found. We pessimistically assume that the initial solution has more than 1-bits, i.e., . Then, the concerned procedure is the same as that of the (1+1)-EA minimizing an unconstrained OneMax function according to the definition of the fitness function (i.e., Eq. (8)); thus, the expected running time until the number of 1-bits decreases to at most is doerr:etal:GECCO10 . Note that after phase (1a), the (1+1)-EA will always maintain a solution with at most 1-bits.
(1b) Starts after phase (1a), and finishes upon finding a solution with . We pessimistically assume that after phase (1a), the solution has at most 1-bits. We first analyze the case of . Let . We denote a good jump and a successful jump as:*
- •
a solution with is generated from a solution with by bit-wise mutation,
- •
a solution with is generated from a solution with by bit-wise mutation,
*respectively. Because the fitness is the same for solutions with the number of 1-bits no larger than , the expected running time until the number of 1-bits increases to at least (i.e., a good jump happens) is by Lemma 3.1. For any with , the probability of a good jump is at most , because 0-bits need to be flipped; the probability of a successful jump is at least , because it is sufficient to flip exact 0-bits. Thus, the probability of a good jump being successful is at least , which implies that the expected number of good jumps needed to produce a successful jump is at most . Therefore, the expected running time until a successful jump happens is , which is actually the expected running time of phase (1b). For the case of , the expected running time is not greater than that for , because finding a solution with implies . Thus, the expected running time of phase (1b) is , which implies an upper bound of .
Combining phases (1a) and (1b), we can derive that the expected running time of phase (1) is .*
Consider phase (2). After phase (1), the (1+1)-EA will always maintain a solution with . We use Theorem 2.7 to analyze the expected running time until finding an optimal solution, which has 1-bits. The distance function is constructed as
[TABLE]
We examine . Note that will not increase, because never decreases. To decrease , i.e., to increase , it is sufficient that exactly one 0-bit of is flipped, whose probability is . Thus, we have
[TABLE]
By Theorem 2.7, the expected running time is at most .
Combining phases (1) and (2), the expected running time of the (1+1)-EA solving deletion-robust OneMax is , i.e., polynomial.
For the other case (i.e., ), the main difference is phase (1b), whose expected running time is instead of . Then we can derive that the expected running time of the (1+1)-EA for deletion-robust OneMax is .
Now, we present Theorem 3.5, which shows that the expected running time is super-polynomial when . The proof intuition is as follows. To find the optimum, the (1+1)-EA needs to perform a random walk on a plateau, consisting of all solutions with the number of 1-bits no larger than . When is large, the size of the plateau can be quite large, and the expected increase of 1-bits can be negative; thus, the (1+1)-EA is inefficient.
Theorem 3.5**.**
If , , then , the expected running time of the (1+1)-EA for deletion-robust OneMax is at least , i.e., super-polynomial.
Proof 3.6**.**
We consider the expected running time of finding a solution with . Let a Markov chain model the concerned evolutionary process. That is, corresponds to the solution after running iterations of the (1+1)-EA. Note that for any with , . Thus, the optimization procedure is analogous to a random walk, that is, the offspring solution will always be accepted. Note that for , each bit takes 1 or 0 with equal probability (i.e., 1/2), and any flipping of the bit will be accepted in the following iteration, thus for any , the distribution of each bit is the same as that of . Thus, . By Hoeffding’s inequality, we have
[TABLE]
By the union bound, the probability of finding a solution with more than 1-bits in iterations is at most
[TABLE]
Because the optimal solution must have at least 1-bits, the expected running time is at least , i.e., super-polynomial.
3.2 Deletion-robust BinVal
For the (1+1)-EA solving deletion-robust BinVal (i.e., Eq. (6)), Theorems 3.7 and 3.9 show that the tight range of allowing polynomial running time is . The reason for the effectiveness of the (1+1)-EA for or is similar to what has been found for deletion-robust OneMax, i.e., the (1+1)-EA can efficiently find a solution with and then quickly find the optimum.
Theorem 3.7**.**
If , , then , the expected running time of the (1+1)-EA for deletion-robust BinVal is , i.e., polynomial.
Proof 3.8**.**
Similar to the proof of Theorem 3.3, we divide the optimization process into two phases. The expected running time of phase (1), i.e., finding a solution with , is the same as that of deletion-robust OneMax, i.e., . We only need to analyze the expected running time of phase (2), i.e., finding an optimal solution after phase (1).
*For phase (2), we further consider two subphases: (2a) starts after phase (1), and finishes upon finding a solution with leading 1-bits; (2b) starts after phase (2a), and finishes upon finding the optimal solution .
For phase (2a), we use Theorem 2.7 and the distance function is constructed as*
[TABLE]
Intuitively, denotes the number of 0-bits of preceding the -th 1-bit. Note that and iff for , i.e., the leading bits are all 1s. Next we examine . Assume that currently . Note that every weight is strictly larger than the sum of all smaller weights, thus, will never increase. To derive a lower bound for the drift, we consider two cases: (i) ; (ii) . Note that there are exactly 0-bits in positions 1 to . For case (i), to decrease by at least 1, it is sufficient that only the leftmost 0-bit of is flipped, whose probability is . For case (ii), to decrease by at least 1, it is sufficient that one of the leftmost 0-bits and the rightmost 1-bit of are flipped, whose probability is . Combining these two cases, we have . By Theorem 2.7, the expected running time of phase (2a) is at most .
Suppose a solution is found after phase (2a), then the (1+1)-EA will always maintain a solution with leading 1-bits during phase (2b), because any flipping of the 1-bit in positions will cause the fitness to decrease. Thus, the leading 1-bits are fixed and the fitness depends only on the remaining 1-bits, and the optimization procedure of deletion-robust BinVal is the same as that of BinVal starting from . By Theorem 13 in friedrich2018analysis , the expected running time of the (1+1)-EA on BinVal under cardinality constraint is , thus the expected running time of phase (2b) is also .
Combing phases (1) and (2), the total expected running time is , i.e., polynomial.
Applying the proof procedure of Theorem 3.5, we have:
Theorem 3.9**.**
If , , then , the expected running time of the (1+1)-EA for deletion-robust BinVal is at least , i.e., super-polynomial.
3.3 General Cases
For the (1+1)-EA solving deletion-robust linear optimization (i.e., Eq. (4)), Theorems 3.10 and 3.12 show that the tight range of allowing polynomial running time is . The reason for the effectiveness of the (1+1)-EA when is as follows. First, the (1+1)-EA can quickly find a solution with . Then, we apply Theorem 2.7, i.e., the multiplicative drift theorem, and show that the expected decrease of the distance in each step is at least (i.e., ) times the current distance. Thus, the expected running time can be upper bounded. Note that denotes the minimum difference of two different weights and if all the weights are the same, () denotes the substring of .
Theorem 3.10**.**
If , then , , the expected running time of the (1+1)-EA for deletion-robust linear optimization is , i.e., polynomial in , and .
Proof 3.11**.**
Similar to the proof of Theorem 3.3, we consider two phases. First, we show that the expected running time of finding a feasible solution with (i.e., phase (1)) is . For any solution , if , the fitness of is by Eq. (8); if , the fitness of is 0 for deletion-robust OneMax and deletion-robust linear optimization. Thus, by the analysis of phase (1) in Theorem 3.3 and , the expected running time of phase (1) is .
Then, we use Theorem 2.7 to analyze the expected running time of phase (2). Let , i.e., each element in denotes the index of the -th () 1-bit of . Let , , then we have . The distance function is constructed as
[TABLE]
where
[TABLE]
Note that iff , i.e., is optimal. By line 4 of Algorithm 1, will not decrease, thus will never increase and we only need to consider the expected decrease of . Let denote the sets of indices of 1-bits in , respectively. Furthermore, let . First we consider , i.e., . We consider two cases.
(a) . Suppose is a solution generated from by flipping the first 0-bits of and the first 1-bits in , then we have , and . Note that , we have and , thus,
[TABLE]
*We further consider two subcases.
(a1) , i.e., and both reach the cardinality bound . Let denote a solution generated as follows:*
- (M1)
flip the 0-bits in , the -th 0-bit in (whose index is denoted as );
- (M2)
flip the first 1-bits in (whose indices are denoted as );
- (M3)
flip the last 1-bit in (whose index is denoted as ).
Then we have and
[TABLE]
Thus,
[TABLE]
where the last inequality holds because decreases with and . Note that , we have
[TABLE]
where the last inequality holds because and decreases with . Let denote the event that is generated from by bit-wise mutation, then we have because at most bits need to be flipped. Thus, we have
[TABLE]
(a2) . The analysis is similar to that of case (a1), the main difference is that to generate , (M3) is not needed, i.e., the last 1-bit in is not flipped. We have . Then becomes and Eq. (10) becomes
[TABLE]
Accordingly, Eq. (11) becomes
[TABLE]
and Eq. (12) still holds.
(b) . Note that , we have . The analysis is similar to that of case (a1), and the main difference is . Note that , (M2) and (M3) becomes “flip all the 1-bits in ”. Then, becomes 0 and Eq. (10) becomes
[TABLE]
and Eq. (11) becomes
[TABLE]
Thus, Eq. (12) still holds.
For the case , we consider directly instead of relying on , that is, is generated by mutation on instead of . We consider two cases.
*(c) . We further consider two subcases.
(c1) . Let denote a solution generated from by flipping the 0-bits in , the -th 0-bit in , the first 1-bits in and the last 1-bit in . Then we have*
[TABLE]
Then Eq. (10) becomes
[TABLE]
and Eq. (11) becomes
[TABLE]
*Thus, Eq. (12) still holds.
(c2) . The analysis is similar to the analysis above, but the last 1-bit in is not flipped. Then we have*
[TABLE]
Then Eq. (10) becomes
[TABLE]
and Eq. (11) becomes
[TABLE]
Thus, Eq. (12) still holds.
(d) . Let denote a solution generated from by flipping the 0-bits in , the -th 0-bit in , all the 1-bits in . Then we have
[TABLE]
Eq. (10) becomes
[TABLE]
and Eq. (11) becomes
[TABLE]
Thus, Eq. (12) still holds.
Next we examine , i.e., the minimum among all possible positive values of . If , we have . Otherwise, for any solution with , we have ; for any solution with , . Thus, we have . Note that , then by Theorem 2.7, the expected running time until finding an optimal solution is at most
[TABLE]
Combining the two phases, the total expected running time is at most , i.e., polynomial in , and .
Next, Theorem 3.12 shows that the expected running time is super-polynomial when . The proof is divided into two parts based on the value of . For , we set the weights to specific values, and the (1+1)-EA needs to traverse a large plateau to find the optimum, leading to super-polynomial expected running time. For , the reason why the (1+1)-EA is inefficient is the same as that observed in the analysis of deletion-robust OneMax and deletion-robust BinVal. That is, the (1+1)-EA has to traverse a large plateau consisting of solutions with size at most , where the drift is negative, i.e., the solution tends to move away from the target state.
Theorem 3.12**.**
If , then and such that the expected running time of the (1+1)-EA for deletion-robust linear optimization is super-polynomial.
Proof 3.13**.**
First, we consider . The problem is constructed as follows: , for , for . For any with , by Eq. (4); for any with , by Eq. (8). Let and , then and for any . Thus, is the optimal solution. Note that for any , its fitness only depends on the number of 1-bits, thus, the positions of the 1-bits are treated symmetrically and the first solution with 1-bits found by the (1+1)-EA is uniformly distributed in . Then, the (1+1)-EA will perform a random walk in because and for any , . Therefore, the solution is always uniformly distributed in . By the union bound, the probability of finding in iterations is at most . Thus, the expected running time is at least , which is super-polynomial for .
Next we consider , it is easy to see that . By the proof of Theorem 3.5, we can derive that the expected running time until finding a solution with more than 1-bits is super-polynomial. Note that an optimal solution must have 1-bits, thus, the expected running time is super-polynomial.
4 Worst-case Linear Optimization
In this section, we consider the (1+1)-EA for worst-case linear optimization (i.e., Eq. (7)). Theorem 4.1 shows that when or , the expected running time is polynomial. For , the Hamming distance between a feasible solution and an optimal solution is at most , i.e., , thus, the (1+1)-EA can quickly jump to the optima. For , if the size of a solution is exactly , then the Hamming distance between and an optimal solution is at most , i.e., ; if , then can be improved by flipping its 0-bits. Thus, the (1+1)-EA can also efficiently find the global optima. The proof is accomplished by applying Theorem 2.6, i.e., the additive drift theorem. Note that denotes the maximum weight of all linear functions.
Theorem 4.1**.**
*If , then , , the expected running time of the (1+1)-EA for worst-case linear optimization is , i.e., polynomial.
If , then , , the expected running time of the (1+1)-EA for worst-case linear optimization is , i.e., polynomial in and .*
Proof 4.2**.**
From the proof of Theorem 3.3, the expected running time of finding a feasible solution is at most . Then we consider the expected running time until an optimal solution is found. Note that the optimal solutions can be non-unique, and we only need to find one optimal solution . First we consider . For any feasible solution , we have
[TABLE]
where denotes the Hamming distance between and , and the last inequality holds because and are both feasible, i.e., . Thus, it requires to flip at most bits of to generate , whose probability is at least . This implies that the expected running time until finding an optimal solution is at most . Combining the two phases, the total expected running time is at most , i.e., polynomial.
Then we consider . We use Theorem 2.6 to derive the expected running time until finding an optimal solution. Let , i.e., is the maximum objective value of the problem. The distance function is constructed as
[TABLE]
*Thus, if and only if is an optimal solution, i.e., . Then, we examine for any with . will never increase and we only need to consider the expected decrease of .
If , to decrease , it is sufficient that exactly one 0-bit of is flipped, whose probability is . Note that , we have .
If , we consider that one optimal solution is generated from . Note that*
[TABLE]
*thus will be generated with probability at least in one iteration. As , we have .
Combining the two cases, we have . By Theorem 2.6, the expected running time until finding an optimal solution is at most*
[TABLE]
where . Thus, the total expected running time is at most , i.e., polynomial in and .
In the following theorem, we show that the expected running time is super-polynomial when . Moreover, if , the theorem gives a lower bound of , matching the general upper bound in Theorem 4.1. We prove Theorem 4.3 by constructing different objective functions for different values of , and the proof intuitions are also different. For , the (1+1)-EA can easily get stuck in local optima, and needs to flip bits simultaneously to escape from local optima, whose probability is at most . For , the reason why the (1+1)-EA is inefficient is similar to that for in Theorem 3.12, i.e., the (1+1)-EA needs to traverse a large plateau to find the optimum.
Theorem 4.3**.**
*If , then , such that the expected running time of the (1+1)-EA for worst-case linear optimization is at least .
If , then and such that the expected running time of the (1+1)-EA for worst-case linear optimization is at least , i.e., super-polynomial.*
Proof 4.4**.**
First, we consider , i.e., any feasible solution has exactly one 1-bit. The objective functions are constructed as follows: . Let , then ; for any , , thus is the optimal solution. For any , we have ; for any , we have . Thus, the positions of the 1-bits are treated symmetrically until finding a solution with , and with probability . Note that for , it needs to flip the 1-bit and the leftmost 0-bit to generate , whose probability is . Thus, the expected running time is at least .
Next we consider . The functions are constructed as
[TABLE]
*We will show that such a problem has one global optimal solution and a set of local optima . For , we have , and . Thus, . For any , we have , thus, . For any , we consider two cases:
(1) , it can be verified that because the weight of each element is at most .
(2) , let , then we have . We further consider two subcases.
(2a) . We have , and . Thus, .
(2b) . We have , and . Thus, .
Combining the two cases, we have*
[TABLE]
Next we examine the probability that the (1+1)-EA finds a solution . For the initial solution , it falls into the infeasible region with probability at least by the uniform initial distribution. The (1+1)-EA will minimize the number of 1-bits of a solution until finding a feasible solution . Note that in this procedure, the positions of the 1-bits are treated symmetrically. Next we bound the probability that . For any solution with , we have
[TABLE]
where denotes any solution with exactly 1-bits and denotes the probability that is generated from by bit-wise mutation. Meanwhile, we have
[TABLE]
where denotes any solution with less than 1-bits and the inequality holds because at least 1-bits needs to be flipped. Thus,
[TABLE]
where the second inequality holds by . Thus, conditional on the event that , we have
[TABLE]
Recall that the positions of the 1-bits are treated symmetrically under the condition that , we have ,
[TABLE]
where the last inequality is by . Thus, we have
[TABLE]
i.e., starting from an infeasible solution, the (1+1)-EA will find a solution in with probability at least . Note that the initial solution is infeasible with probability at least , the (1+1)-EA finds a solution in with probability at least . Once the (1+1)-EA finds a solution , it will stay in or jump to with probability . Thus, the expected running time is at least .
Finally, we examine . We consider and the functions are constructed as
[TABLE]
Let and . Then , and for any with or , there exists such that , which implies . Thus, is the optimal solution. For any , we have . Thus, the positions of the 1-bits are treated symmetrically and , for any . Similar to the proof of Theorem 3.12, the expected running time is at least , i.e., super-polynomial.
5 Conclusion and Discussion
In this paper, we analyze the running time of the (1+1)-EA for robust linear optimization with a cardinality constraint , including two common robust settings, i.e., deletion-robust and worst-case. Tight bounds on (i.e., the maximum number of 1-bits that can be deleted) or budget for the (1+1)-EA to solve each concerned problem in polynomial running time are derived, showing the potential of EAs for robust optimization. Note that this work is only a first step towards theoretically analyzing EAs for robust optimization. We consider relatively simple functions and assume that the objective can be obtained exactly. In practice, can be approximated by taking the minimum over a number of randomly sampled disturbances for the deletion-robust scenario, or randomly sampled objectives for the worst-case scenario. The number of called objective function evaluations will influence the approximation quality, and its relationship with the overall performance of algorithms deserves to be studied in the future. It is also interesting to study more complicated EAs on more general robust optimization problems, e.g., robust submodular optimization where the objective function is only required to satisfy the submodular property.
The deletion-robust optimization looks similar to the optimization under prior noise giessen2014robustness ; qian2018noise ; droste2004analysis , which flips some bits of a solution before fitness evaluation. When evaluating the fitness of a solution in these two types of optimization tasks, the solution is both disturbed and the objective function is affected. However, their goals are quite different. For robust optimization, the goal is to find a solution robust against disturbance, and thus, the disturbed objective is the true one of the optimization; but for noisy optimization, the goal is still to find an optimal solution with respect to the original objective function, rather than the noisy one.
The worst-case optimization can also be connected to multi-objective optimization, because they both need to consider several objectives simultaneously. For multi-objective optimization, we usually need to find a set of solutions (i.e., Pareto optimal solutions) to trade off different objectives. A single Pareto optimal solution may perform very well on some objectives but terribly on some other objectives, or just performs equally well on all objectives. Thus, the set of all Pareto optimal solutions takes into account different requirements from different users. For worst-case optimization, the trade-off is relatively simple, because we only need to consider the worst performance of all objectives. Thus, we can probably refer to multi-objective EAs to design efficient algorithms for worst-case optimization.
Acknowledgements
The authors want to thank the editor and anonymous reviewers for their helpful comments and suggestions. This work was supported by the National Science Foundation of China (61876077, 61672478) and Fundamental Research Funds for the Central Universities (14380004).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) T. Bäck, Evolutionary Algorithms in Theory and Practice: Evolution Strategies, Evolutionary Programming, Genetic Algorithms, Oxford University Press, Oxford, UK, 1996.
- 2(2) Y. Liang, H. Huang, Z. Cai, PSO-ACSC: a large-scale evolutionary algorithm for image matting, Frontiers of Computer Science 14 (6) (2020) 146321.
- 3(3) F. Neumann, C. Witt, Bioinspired Computation in Combinatorial Optimization: Algorithms and Their Computational Complexity, Springer-Verlag, Berlin, Germany, 2010.
- 4(4) A. Auger, B. Doerr, Theory of Randomized Search Heuristics: Foundations and Recent Developments, World Scientific, Singapore, 2011.
- 5(5) C. Gießen, T. Kötzing, Robustness of populations in stochastic environments, Algorithmica 75 (3) (2016) 462–489.
- 6(6) C. Qian, C. Bian, W. Jiang, K. Tang, Running time analysis of the (1+1)-EA for One Max and Leading Ones under bit-wise noise, Algorithmica 81 (2) (2019) 749–795.
- 7(7) F. Shi, M. Schirneck, T. Friedrich, T. Kötzing, F. Neumann, Reoptimization time analysis of evolutionary algorithms on linear functions under dynamic uniform constraints, Algorithmica 81 (2) (2019) 828–857.
- 8(8) Y. Jin, J. Branke, Evolutionary optimization in uncertain environments-a survey, IEEE Transactions on Evolutionary Computation 9 (3) (2005) 303–317.
