Enhanced Optimization With Composite Objectives and Novelty Pulsation

Information

  • Patent Application
  • 20200272908
  • Publication Number
    20200272908
  • Date Filed
    February 25, 2020
    4 years ago
  • Date Published
    August 27, 2020
    4 years ago
Abstract
The computer system and method herein uses a multi-objective driven evolutionary algorithm that is better able to find optimum solutions to a problem because it balances the use of objectives as composite functions, and relative novelty and diversity in evolutionary optimization. In particular, the system and method herein described herein presents an improved process which introduces novelty pulsation, i.e., a systematic method to alternate between novelty selection and local optimization.
Description
FIELD OF THE TECHNOLOGY

The technology disclosed relates generally to a computer system that implements improved evolutionary algorithms. More particularly, the computer system uses a multi-objective driven evolutionary algorithm that is better able to find optimum solutions to a problem because it balances the use of objectives as composite functions, and relative novelty and diversity in evolutionary optimization. In particular, the technology discussed herein presents an improved process which introduces novelty pulsation, i.e., a systematic method to alternate between novelty selection and local optimization.


BACKGROUND

In many environments, a large amount of data can be or has been collected which records experience over time within the environment. For example, a healthcare environment may record clinical data, diagnoses and treatment regimens for a large number of patients, as well as outcomes. A business environment may record customer information such as who they are and what they do, and their browsing and purchasing histories. A computer security environment may record a large number of software code examples that have been found to be malicious. Despite the large quantities of such data, or perhaps because of it, deriving useful knowledge from such data stores can be a daunting task.


The process of extracting patterns from such data sets is known as data mining. Many techniques have been applied to the problem, but the present discussion concerns a class of techniques known as genetic algorithms. Genetic algorithms have been applied to all of the above-mentioned environments (or domains), as well as numerous others known to those skilled in the art.


Evolutionary algorithms, which are supersets of Genetic Algorithms, are good at traversing chaotic search spaces. According to Koza, J. R., “Genetic Programming: On the Programming of Computers by Means of Natural Selection,” MIT Press (1992), incorporated by reference herein, an evolutionary algorithm can be used to evolve complete programs in declarative notation. The basic elements of an evolutionary algorithm are an environment, a model for a genotype (referred to herein as an “individual”), a fitness function, and a procreation function. An environment may be a model of any problem statement. An individual may be defined by a set of rules governing its behavior within the environment. A rule may be a list of conditions followed by an action to be performed in the environment. A fitness function may be defined by the degree to which an evolving rule set is successfully negotiating the environment. A fitness function is thus used for evaluating the fitness of each individual in the environment. A procreation function generates new individuals by mixing rules among the fittest parent individuals. In each generation, a new population of individuals is created.


A common difficulty of evolutionary algorithms is that they are increasingly faced with environments with multiple problem statements resulting in more than one search objective. For example, in a healthcare embodiment, an individual may have the objective of diagnosing an ailment accurately, and also the objective of a fast diagnosis. To support a multi-objective search, the data mining system may define a number of objectives so as to allow the evolution process to consider more than one objective. For example, in the healthcare embodiment described above with two objectives, the evolution process would search for individuals (solutions) that optimize each of the objectives. A large number of other objectives can be included depending on the target application. In the health care embodiment above, additional objectives, such as consistency, might be included in the multi-objective search space.


The presence of multiple objectives in a data mining environment, in principle, gives rise to a set of optimal solutions instead of a single optimal solution. Such optimal solutions are also known as Pareto-optimal solutions. In the absence of any further information, one of these Pareto-optimal solutions cannot be said to be better than the other.


One way to deal with the problem of multiple objectives is to define a composite function which is a linear combination of all the objectives, weighting each objective according to its perceived importance relative to the other objectives. This technique can work sometimes, but it does not take advantage of the fact that in many environments the objectives are not zero-sum alternatives. It may be possible to find solutions that optimize all objectives in light of each other, even though some objectives may not be satisfied to the same extent as they would if optimized individually.


Single-objective evolutionary algorithms suggest converting the multi-objective optimization problem to a single-objective optimization problem by emphasizing one particular Pareto-optimal solution at a time. When such a method is to be used for finding multiple solutions, it has to be applied many times, hopefully finding a different solution at each simulation run.


Multi-objective evolutionary algorithms (MOEAs) can be used to find solutions in environments with multiple problem statements and more than one search objective. A multi-objective evolutionary algorithm is able to find multiple Pareto-optimal solutions in one single simulation run. One such multi-objective evolutionary algorithm is the non-dominated sorting genetic algorithm (NSGA), described in more detail in an article by Deb, et al., titled “A Fast and Elitist Multiobjective Genetic Algorithm: NSGA II,” IEEE Transactions on Evolutionary Computation, Vol. 6, No. 2, pp. 182-197, April, 2002, incorporated herein by reference.


A summary introduction to MOEAs can be found in the article entitled “A Note on Evolutionary Algorithms and Its Applications,” by Bhargava in Adults Learning Mathematics: An International Journal, 8(1), 31-45 (2013), the contents of which is incorporated herein by reference and is understood to be known to those skilled in the relevant art. Bhargava also provides a non-exhaustive list of real-world applications for MOEAs, all of which could also benefit from the solutions described herein. Bhargava also stresses that developing MOEAs with properties of convergence as well as a spread of solutions is an imminent challenge.


While multi-objective evolutionary algorithms produce a diverse set of solutions, such diversity may not always be useful. Therefore, a multi-objective driven search is desired that focuses the search in more useful areas of the multi-objective search space. It is in this kind of environment that embodiments of the present invention reside. Focusing the search in more useful areas may result in loss of diversity. As described in U.S. patent application Ser. No. 16/268,463 in an exemplary method for preventing loss of diversity, a relative novelty measure and diversity measure are considered during the selection of optimal individuals in the useful areas of the multi-objective search space. This composite multi-objective novelty method produces a diverse group of individuals in selected areas of a multi-objective search space. This type of diversity enables the method to escape deception and find novel solutions. Novelty selection promotes behavioral diversity (i.e., exploration).


The present embodiments improve upon the composite multi-objective novelty method by introducing the concept of novelty pulsation (also reference herein as Composite Novelty Pulsation) wherein the novelty selection is turned on and off periodically, thereby allowing exploration and exploitation to leverage each other repeatedly. The introduction of Composite Novelty Pulsation produced state-of-the art solutions significantly faster in the tested domains than all prior methodologies. The ability to find optimal solutions more quickly is applicable to myriad of real-world computing applications and domains.


SUMMARY OF EMBODIMENTS

In a first embodiment, a computer-implemented method for finding a solution to a provided problem which optimizes a plurality of objectives and operating a controlled system using the found solution, includes: providing a computer system having a memory storing a candidate pool database identifying a pool of candidate individuals, each identifying a respective candidate solution to the provided problem; testing, by the computer system, individuals from the pool of candidate individuals against a portion of training data to develop a plurality of objective values for each of the tested individuals, each of the objective values estimating the individual's level of success with respect to a corresponding one of the objectives; selecting, by a predefined dominance filter of the computer system, a first subset of individuals from the candidate pool database, the dominance filter being dependent upon a plurality of composite functions of the objectives, each of the composite functions being dependent on at least one of the of objectives and at least one of the composite functions being dependent on more than one of the objectives; procreating, by the computer system, new individuals from a final subset of the individuals in the candidate pool database, the final subset being dependent upon the first subset; inserting the new individuals into the candidate pool database and repeating the steps of testing, selecting and procreating, wherein each iteration of the testing, selecting and procreation is a generation G; further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the individuals, selecting a second subset of individuals from the first subset of individuals, including selecting from the second subset a predetermined number of individuals having greater average behavioral novelty among the individuals in the first subset of individuals, than the average behavioral novelty of all others of the individuals from the first subset, the final subset of individuals being dependent upon the second subset of individuals; and operating a controlled system in dependence upon at least one of the individuals from the candidate pool database.


In a second embodiment, a computer-implemented method for finding one or more optimal solutions to a predetermined problem and operating a controlled system using the one or more found optimal solutions, wherein the one or more optimal solutions addresses a plurality of objectives, includes: testing by a first computer-implemented program each of a plurality of candidate solutions from a predetermined pool of candidate solutions against a portion of training data to develop objective values for the plurality of objectives for each of the tested candidate solutions, each of the plurality of objective values estimating the candidate solution's level of success with respect to a corresponding one of the plurality of objectives; selecting by a second computer-implemented program a first subset of candidate solutions from the candidate pool by application of a dominance filter, wherein a number of candidate solutions in the first subset is a predetermined number; procreating, by a third computer-implemented program, new candidate solutions from a final subset of the candidate solutions in the candidate pool, the final subset being dependent upon the first subset; inserting the new candidate solutions into the candidate pool and repeating the steps of testing, selecting and procreating, wherein each iteration of the testing, selecting and procreation is a generation G; further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the candidate solutions, selecting by a fourth computer-implemented program, a second subset of candidate solutions from the first subset of candidate solutions, based on a novelty comparison, the selecting of the second subset including: re-selecting the first subset of candidate solutions to include an expanded number of candidate solutions in accordance with a multiplier m times the predetermined number, wherein m is greater than 1; determining a novelty score for each of the candidate solutions in the expanded first subset; sorting the candidate solutions in the expanded first subset in descending order of novelty score; selecting a predetermined number of sorted candidate solutions to establish a result set, wherein a candidate solution from the expanded first subset with the highest novelty score is selected first; adding each non-selected, sorted candidate solution from the expanded first subset one at a time to the result set and selecting for removal from the result set a candidate solution having a lowest minimum novelty; and returning a final result set after each non-selected, sorted candidate solution has been iteratively added and compared; and operating a controlled system in dependence upon at least one of the candidate solutions from the candidate pool database.


In a third embodiment, a computer-implemented method for finding a solution to a provided problem in a predetermined domain which optimizes a plurality of objectives and operating a controlled system using the found solution, includes: testing, by a specially programmed system, a set of candidate solutions against a portion of training data for the predetermined domain to develop objective values for each of the tested candidate solutions, each of the objective values estimating the tested candidate solution's level of success with respect to a corresponding one of the objectives; selecting, by a dominance filter of the specially programmed system, a first subset of a predetermined number of candidate solutions from the set, wherein the dominance filter selects candidate solutions using comparisons between composite objective functions of each of the candidate solutions, the composite objective functions including one or more of the estimate objective values; procreating, by the specially programmed system, new candidate solutions from one of the first subset or from a final subset of candidate solutions, the final subset being dependent upon the first subset; inserting the new candidate solutions into the candidate pool and repeating the steps of testing, selecting and procreating, until a predetermined end point is achieved, wherein each iteration of the testing, selecting and procreation is a generation G; further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the candidate solutions, selecting a second subset of candidate solutions from the first subset of candidate solutions, based on a novelty comparison; and operating a controlled system in dependence upon at least one of the candidate solutions from the candidate pool database.





BRIEF SUMMARY OF FIGURES


FIG. 1 illustrates an exemplary Four-Input Sorting Network and its representation;



FIG. 2 shows an exemplary result of applying novelty scoring in accordance with the sorting network example;



FIG. 3 shows an example result of applying a minimal novelty selection equation in accordance with the sorting network example;



FIGS. 4a-4d contrast the difference between diversity created by a multi-objective method (FIG. 4a, 4c) and diversity created by novelty searching (FIG. 4b, 4d) in accordance with the sorting network example;



FIG. 5 shows a schematic of the Composite Novelty Pulsation process, wherein, in accordance with a particular example for P (here 5) generations in a row, the algorithm uses Composite Multi-Objective optimization and focuses on improving the objectives;



FIG. 6 illustrates a comparison between the Composite Novelty Pulsation process and the Composite Novelty Selection process (alone) time to convergence across different network sizes in accordance with the sorting network problem;



FIG. 7 illustrates the world record result for the sorting network domain problem resulting from implementation of the Composite Novelty Pulsation method described in the embodiments herein;



FIG. 8 exemplifies historical time-series data on stock prices which may be used as input to the embodiments described herein extract useful patterns to make optimal trading decisions;



FIG. 9 illustrates a generalization of the Composite Novelty Selection method as applied to the training domain example;



FIG. 10 illustrates a generalization of the Composite Novelty Pulsation methods as applied to the trading domain example;



FIG. 11 illustrates and exemplary training system which can be used to implement the functionality of the embodiments described herein;



FIG. 12 illustrates various modules that can be used to implement the functionality of the exemplary training system of FIG. 11; and



FIGS. 13a, 13b and 13c illustrate a method of operation of a competition module in accordance with the Composite Novelty Pulsation process of the present embodiments.f





DETAILED DESCRIPTION

Every search algorithm needs to both explore the search space and exploit the known good solutions in it. Exploration is the process of visiting entirely new regions of a search space, whilst exploitation is the process of visiting regions within the neighborhood of previously visited points. In order to be successful, a search algorithm needs to establish a productive synergy between exploration and exploitation.


A common problem in evolutionary search is that it gets stuck in local minima, i.e. in unproductive exploitation. A common solution is to kick-start the search process in such cases by temporarily increasing mutation rates. This solution can be utilized more systematically by making such kick-starts periodic, resulting in methods such as in delta coding and burst mutation.


The present application introduces an additional improvement to the composite multi-objective novelty method described in commonly assigned U.S. patent application Ser. No. 16/268,463 entitled ENHANCED OPTIMIZATION WITH COMPOSITE OBJECTIVES AND NOVELTY SELECTION (which is incorporated herein by reference in its entirety) by incorporating the kick-start concept into novelty selection with the introduction of the concept of novelty pulsation wherein the novelty selection is turned on and off periodically, i.e., a systematic method to alternate between novelty selection and local optimization, thereby allowing exploration and exploitation to leverage each other repeatedly. Parent selection is a crucial step in an evolutionary algorithm. In almost all such algorithms, whatever method is used for selection remains unchanged during the course of an evolutionary run. However, when a problem is deceptive or prone to overfitting, changing the selection method periodically may make the algorithm more robust. It can be used to alternate the search between exploration and exploitation, and thus find a proper balance between them.


By way of particular example, this concept of novelty pulsation is tested in two domains. First, in the highly deceptive problem of discovering minimal sorting networks, the present approach finds state-of-the-art solutions significantly faster than before. Such networks consist of comparators that map any set of numbers represented in their input lines to a sorted order in their output lines. These networks have to be correct, i.e. sort all possible cases of input. The goal is to discover networks that are as small as possible, i.e. have as few comparators organized in as few sequential layers as possible. While correctness is the primary objective, it is actually not that difficult to achieve because it is not deceptive. Minimality, on the other hand, is highly deceptive and makes the sorting network design an interesting benchmark problem. As described herein, the Composite Novelty Pulsation method has established a new world record for the 20-line sorting network with 91 comparators.


Next, in the real-world problem of stock trading, the goal is to evolve agents that decide whether to buy, hold, or sell particular stocks over time in order to maximize returns. Compared to the original Composite Novelty Selection method without pulsation, Composite Novelty Pulsation finds solutions that generalize significantly better to unseen data. Examples are discussed further herein.


In a preferred embodiment of the Composite Novelty Pulsation method as applied to the minimal sorting network and stock trading domains, novelty selection is switched on and off after a certain number of generations. As in delta-coding and burst mutation, once good solutions are found, they are used as a starting point for exploration. Once exploration has generated sufficient diversity, local optimization is performed to find the best possible versions of these diverse points. These two phases leverage each other, which results in faster convergence and more reliable solutions. A detailed description, with some relevant background, follows below.


Initially, the minimal sorting network problem is addressed using Composite Novelty Pulsation. By way of background, FIG. 1 illustrates an exemplary Four-Input Sorting Network and its representation. This network takes as its input four numbers, n1, n2, n3, n4, (also referred to as lines) and produces output where those number are sorted (small to large, top to bottom). Each comparator (connection between the lines) swaps the numbers on its two lines if they are not in order, otherwise it does nothing. This network has three layers (l1, l2, l3) and five comparators (c1, c2, c3, c4, c5), and is the minimal four-input sorting network. Minimal networks are generally not known for large input sizes. Their design space is deceptive which makes network minimization a challenging optimization problem.


A sorting network of n inputs (lines) is a fixed layout of comparison-exchange operations (comparators, c) that sorts all inputs of size n (see FIG. 1). Since the same layout can sort any input, it represents an oblivious or data-independent sorting algorithm, that is, the layout of comparisons does not depend on the input data. The resulting fixed communication pattern makes sorting networks desirable in parallel implementations of sorting, such as those in graphics processing units, multi-processor computers, and switching networks. Sorting networks are simple to implement in hardware and are useful as switching networks in multiprocessor computers. Beyond validity, the main goal in designing sorting networks is to minimize the number of layers, because it determines how many steps are required in a parallel implementation. A tertiary goal is to minimize the total number of comparators in the networks. Designing such minimal sorting networks is a challenging optimization problem that has been the subject of active research for nearly 70 years. Although the space of possible networks is infinite, it is relatively easy to test whether a particular network is correct: If it sorts all combinations of zeros and ones correctly, it will sort all inputs correctly.


Many of the recent advances in sorting network design are due to evolutionary methods. See, for example, the discussion in V. K. Valsalam, and R. Miikkulainen, USING SYMMETRY AND EVOLUTIONARY SEARCH TO MINIMIZE SORTING NETWORKS, Journal of Machine Learning Research, 14(February):303-331. However, the sorting network domain it is still a challenging problem, even for the most powerful evolutionary methods, because it is highly deceptive. Improving upon a current design may require temporarily growing the network or sorting fewer inputs correctly. Sorting networks are therefore a good domain for testing the power of evolutionary algorithms.


As exemplified in FIG. 1, in order to apply various evolutionary optimization techniques to the sorting network problem, a general structured representation was developed. Sorting networks of n line can be seen as a sequence of two-leg comparators where each leg is connected to a different input line and the first leg is connected to a higher line than the second: {(f1, s1), (f2, s2), (f3, s3), . . . , (fc, sc)}. The number of layers can be determined from such a sequence by grouping successive comparators together into a layer until the next comparator adds a second connection to one of the lines in the same layer. With this representation, mutation and crossover operators amount to adding and removing a comparator, swapping two comparators, and crossing over the comparator sequences of two parents at a single point. For the purposes of the examples herein, no domain-specific techniques were implemented, but one skilled in the art recognizes that such techniques are known in the art, e.g., designed prefix layers or utilizing symmetries.


When the optimization problem has a smooth and non-deceptive search space, evolutionary optimization of a single objective is usually convenient and effective. However, we are increasingly faced with problems of more than one objective and with a rugged and deceptive search space. The first approach often is to combine the objectives into a single composite calculation:










Composite


(


O
1

,

O
2

,





,

O
k


)


=




i
=
1

k




α
i



O
i

β
i








(
1
)







Where the constant hyper-parameters αi and βi determine the relative importance of each objective in the composition. The composite objective can be parameterized in two ways. First, by folding the objective space, and thereby causing a multitude of solutions to have the same value. Diversity is lost since solutions with different behavior are considered to be equal. Second, by creating a hierarchy in the objective space, and thereby causing some objectives to have more impact than many of the other objectives combined. The search will thus optimize the most important objectives first, which in deceptive domains might result in inefficient search or premature convergence to local optima.


In the sorting network problem, correctness is part of the definition of a sorting network; even if a network mishandles only one sample, it will not be useful. The number of layers can be considered the most important size objective because it determines the efficiency of a parallel implementation. Thus, in accordance with the single objective optimization process, the sorting network problem's hierarchical composite objective can therefore be defined as:





SingleFitness(m,l,c)=10000m+100l+c  (2)


Where m, l, and c are the number of mistakes (unsorted samples), number of layers, and number of comparators, respectively. In the examples described herein for the purposes of explaining Composite Novelty Pulsation, the solutions will be limited to less than one hundred layers and comparators, and therefore, the fitness will be completely hierarchical (i.e. there is no folding). But the sorting network domain is susceptible to deception, accordingly, we next turn to multi-objective optimization.


Multi-objective optimization methods construct a Pareto set of solutions, and therefore eliminate the issues with objective folding and hierarchy noted with respect to the single objective optimization. However, not all diversity in the Pareto space is useful. Candidates that optimize one objective only and ignore the others are less likely to lead to useful tradeoffs, and are less likely to escape deception. One potential solution is reference-point based multi-objective methods such as NSGA-III described in K. Deb, et al., AN EVOLUTIONARY MANY-OBJECTIVE OPTIMIZATION ALGORITHM USING REFERENCE-POINT-BASED NONDOMINATED SORTING APPROACH, PART I: SOLVING PROBLEMS WITH BOX CONSTRAINTS, IEEE Transactions on Evolutionary Computation, vol. 18, no. 4, 577-601 (2014) and K. Deb, et al., MULTI-OBJECTIVE OPTIMIZATION. IN DECISION SCIENCES: THEORY AND PRACTICE, 145-184 (2016), the contents of which are known to those skilled in the art and which are incorporated herein by reference in their entireties. These methods make it possible to harvest the tradeoffs between many objectives and can therefore be used to select for useful diversity as well, although they are not as clearly suited for escaping deception.


Another problem with purely multi-objective search is crowding. In crowding, objectives that are easier to explore end up with disproportionately dense representation on the Pareto front. NSGA II addresses this problem by using the concept of crowding distance, and NSGA III improves upon it using reference points. NSGA II is described in K. Deb, A. et al., A FAST AND ELITIST MULTIOBJECTIVE GENETIC ALGORITHM: NSGA-II, IEEE Trans. on Evolutionary Computation 6, 2 (2002), 182-197, which is known to those skilled in the art and the contents of which is incorporated herein by reference. These methods, while increasing diversity in the fitness space, do not necessarily result in diversity in the behavior space.


An alternative method is to use composite multi-objective axes to focus the search on the area with most useful tradeoffs. Since the axes are not orthogonal, solutions that optimize only one objective will not be on the Pareto front. The focus effect, i.e., the angle between the objectives, can be tuned by varying the coefficients of the composite. However, focusing the search in this manner has the inevitable side effect of reducing diversity. Therefore, it is important that the search method makes use of whatever diversity exists in the focused space. One way to achieve this goal is to incorporate a preference for novelty into selection.


With respect to the sorting network problem, like the single objective approach to optimization, in the multi-objective approach, the same dimensions, i.e. the number of mistakes, layers, and comparators m, l, c, are used as three separate objectives. In the exemplary embodiment herein, these objectives are optimized by the NSGA-II algorithm with selection percentage set to 10%. Indeed, this approach may discover solutions with just a single layer, or a single comparator since they qualify for the Pareto front. Therefore, diversity is increased compared to the single-objective method, but this diversity is not necessarily helpful.


In order to construct composite axes, each objective is augmented with sensitivity to the other objectives:





Composite1(m,l,c)=10000m+100l+c  (3)





Composite2(m,l)=α1m+α2l  (4)





Composite3(m,c)=α3m+α4c  (5)


The primary composite objective (Equation 3), which will replace the mistake axis, is the same hierarchical fitness used in the single-objective approach. It discourages evolution from constructing correct networks that are extremely large. The second objective (Equation 4), with α2=10; primarily encourages evolution to look for solutions with a small number of layers. A much smaller cost of mistakes, with α1=1, helps prevent useless single-layer networks from appearing in the Pareto front. Similarly, the third objective (Equation 5), with α3=1 and α4=10, applies the same principle to the number of comparators.


The values for α1, α2, α3 and α4 were found to work well in this application, but the approach was found not to be very sensitive to them. A broad range will work as long as they establish a primacy relationship between the objectives.


It might seem like we are adding several hyper-parameters which need to be tuned, but we can estimate them in each domain by picking values that push away trivial or useless solutions off the Pareto front.


Next, a novelty measure is employed to select which individuals to reproduce and which to discard. In this manner, it is integrated into the genetic algorithm itself, and its role is to make sure the focused space defined by the composite multiple objectives is searched thoroughly. In order to measure novelty of the solutions, it is first necessary to characterize their behavior. While such a characterization can be done in many ways, a concise and computationally efficient approach with respect to the sorting network domain, is to count how many swaps took place on each line in sorting all possible zero-one combinations during the validity check. Such a characterization is a vector that has the same size as the problem, making the distance calculations fast. It also represents the true behavior of the network. Even if two networks sort the same input cases correctly, they may do it in different ways, and the characterization is likely to capture that difference. Given this behavior characterization, novelty of a solution is measured by the sum of pairwise distances of its behavior vector and compared to those of all the other individuals in the selection pool:










NoveltyScore


(

x
i

)


=




j
=
1

n




d


(


b


(

x
i

)


,

b


(

x
j

)



)


.






(
6
)







wherein b(xi) is a function mapping any solution xi to its behavior bxi and exploration of the behavior space by a search algorithm is facilitated by a function giving the distance between two solutions as a function of their behavior. The behavior distance is d(b(xi), b(xj)), wherein xj is the jth nearest neighbor of xi in the behavior space.


The selection method also has a parameter called selection multiplier (e.g. set to 2 in these experiments), varying between one and the inverse of the elite fraction (e.g. 1/10, i.e. 10%) used in the NSGA-II multi-objective optimization method. The original selection percentage is multiplied by the selection multiplier to form a broader selection pool. That pool is sorted according to novelty, and the top fraction representing the original selection percentage is used for selection. This way, good solutions that are more novel are included in the pool. FIG. 2 shows an example result of applying Equation 6 in the present sorting network example.


One potential issue is that a cluster of solutions far from the rest may end up having high novelty scores while only one is good enough to keep. Therefore, after the top fraction is selected, the rest of the sorted solutions are added to the selection pool one by one, replacing the solution with the lowest minimum novelty, defined as










MinimumNovelty


(

x

i






)


=


min


1

j

n

;

j

i






d


(


b


(

x

i






)


,

b


(

x
j

)



)


.






(
7
)







This method facilitates tuning novelty selection continuously between two extremes. By setting selection multiplier to one, the method reduces to the original multi-objective method (i.e. only the elite fraction ends up in the final elitist pool), and setting it to the inverse of the elite fraction reduces it to pure novelty search (i.e. the whole population, sorted by novelty, is the selection pool). In practice, low and midrange values for the multiplier work well, including the value 2 used in these experiments. FIG. 3 shows an example result of applying Equation 7. The entire novelty-selection algorithm is summarized below:

    • 1. using a selection method (e.g. NSGA-II) pick selection multiplier, m, times the number (%) of elitist candidates usually selected in accordance with the selection method, i.e., parent selection rate
    • 2. sort them in descending order according to their NoveltyScore (Equation 6)
    • 3. move the usual number of elitist candidates from the top of the list to the result set
    • 4. for all remaining candidates in the sorted list:
      • a. add the candidate to result set
      • b. remove the candidate with the lowest MinimumNovelty (Equation 7)
      • c. (using a fitness measure as the tie breaker)
    • 5. return the resulting set as the elite set


      To visualize this process, FIGS. 4a-4d contrast the difference between diversity created by the multi-objective method (e.g. NSGA-II) (FIG. 4a, 4c) and diversity created by novelty searching (FIG. 4b, 4d). In the objective space (FIG. 4a, 4b), novelty looks more focused and less diverse, but in the behavior space (FIG. 4c, 4d) it is much more diverse. This type of diversity enables the method to escape deception and find novel solutions, such as the state of the art in sorting networks.


One skilled in the art appreciates that there are varied approaches proposed in the prior art which may be considered as alternatives for the novelty measure employed to select which individuals to reproduce and which to discard. Many of these approaches combine a fitness objective with a novelty objective in some way, for instance as a weighted sum, or as different objectives in a multi-objective search. Another approach is to keep the novelty and fitness searches separate, and make them interact through time. For instance, it is possible to first create a diverse pool of solutions using novelty search, presumably overcoming deception that way, and then find solutions through fitness-based search. A different approach is to run fitness-based search with a large number of objective functions that span the space of solutions, and use novelty search to encourage the search to utilize all those functions. And yet another approach is to run novelty search as the primary mechanism, and use fitness to select among the solutions. For instance, it is possible to add local competition through fitness to novelty search. Another version is to accept novel solutions only if they satisfy minimal performance criteria.


Parent selection is a crucial step in an evolutionary algorithm. In almost all such known evolutionary algorithms, whatever method is used for parent selection remains unchanged during the evolutionary run. However, when a problem is deceptive or prone to over-fitting, changing the selection method periodically may make the algorithm more robust. It can be used to alternate the search between exploration and exploitation, and thus find a proper balance between them.


In Composite Novelty Pulsation, novelty selection is switched on and off after a certain number of generations. As in delta-coding and burst mutation, once good solutions are found, they are used as a starting point for exploration. Once exploration has generated sufficient diversity, local optimization is performed to find the best possible versions of these diverse points. These two phases leverage each other, which results in faster convergence and more reliable solutions. Composite Novelty Pulsation adds a new hyper-parameter, P, denoting the number of generations before switching novelty selection on and off. Preliminary experiments showed that P=5 works well in both sorting network and stock trading domains; however, in principle, it is possible to tune this parameter to fit the domain. FIG. 5 shows a schematic of the Composite Novelty Pulsation process, wherein, in accordance with the present example, for P (here 5) generations in a row, the algorithm uses Composite Multi-Objective optimization and focuses on improving the objectives.


Referring back to FIGS. 2 and 3, in FIG. 2, in accordance with the Composite Novelty Pulsation process, for every P generations in a row, e.g., P=5 in this example, a Composite Multi-Objective optimization process focuses on improving the objectives which means selecting the solutions as indicated. And then every other P generations, a pulse of Novelty Selection shakes the pool and the solutions are selected as indicated in FIG. 3.


In a preferred embodiment, changing the novelty selection-multiplier needs two multiplier values (m1, m2) and the number P generations, wherein P is the new hyper-parameter called pulsation duration. This way, the evolution shifts between pure multi-objective (multiplier value of one) and pure novelty search (multiplier value of 1/elitist-percentage) every P generations. This embodiment is particularly effective when the pool population is quite small i.e., even under 100 genes. This process may be useful for evolving deep neural networks where a huge pool population is not an option due to the high cost of training/evaluation.


Accordingly, the modification to the composite multi-objective novelty is to add the integer parameter P, wherein during the evolution loop at each generation, we check if the current generation number is divisible by P. If NO, we consider the novelty-selection-multiplier to be m1 (m1=1 is the special case for simple composite multi-objective method with no novelty). And if YES, we consider novelty-selection-multiplier to be m2 (m2>1 will inject some novelty into the composite multi-objective method). A detailed description of the competition process is discussed with reference to FIGS. 13a-13c herein.


The Composite Novelty Pulsation process was tested on the sorting network domain problem in accordance with the experimental parameters in Table 1. Previous work in the sorting networks domain demonstrated that composite novelty can match the minimal known networks up to 18 input line with reasonable computational resources. The goal of the sorting network experiments with Composite Novelty Pulsation is to achieve the same (or better) result faster, i.e., with fewer computational resources. Accordingly, the experiments were standardized to a single machine, i.e. a multi-core desktop.












TABLE 1









Network Sizes (NS)
11 (i.e., 8, 9,




10, 11, 12, 13,




14, 15, 16, 17, 18)



Number of Runs
10 per NS




(220 total runs)



Parent Selection Rate
10%



Population Size: Composite Novelty Selection
1000



Population Size: Composite Novelty Pulsation
 100



Novelty Selection multiplier (m)
  2



Novelty Pulsation (P)
5:1 (P = 5)










The improvement in speed to solutions is evident in the comparison between the Composite Novelty Pulsation process and the Composite Novelty Selection process (alone) time to convergence as shown in FIG. 6. In FIG. 6, the average runtime needed to converge to the state of the art on networks with different sizes is significantly faster at all sizes using Composite Novelty Pulsation converges, demonstrating improved balance of exploration and exploitation. In fact, Composite Novelty Pulsation shows an order of magnitude faster convergence across the board. And all runs resulted in state-of-the-art sorting networks. Additionally, Composite Novelty Selection has convergence problems for pool size less than 1000 individuals, whereas Composite Novelty Pulsation convergence is comparatively more consistent if for pool sizes under 100 individuals.


Implementation of the Composite Novelty Pulsation method on the sorting network problem resulted in a world record. FIG. 7 shows the world recording breaking graph for a 20-line sorting network, which moved the previous record of 92 comparators down to 91. The record breaking implementation ran on a single machine with 16 CPU cores; a pool size of only 30 individuals over the course of a couple of months and over a million generations. Like the present experiments, Novelty Pulsation was 5:1 and the Novelty Selection multiplier was 2.


The Composite Novelty Pulsation process was also applied to a problem in the stock trading domain. Stock trading is a natural multi-objective domain where return and risk must be balanced. Candidate solutions, i.e. trading agents, can be represented in several ways. Rule-based strategies, sequence modeling with neural networks and LSTMs (Long Short-Term Memory), and symbolic regression using Genetic Programming or Grammatical Evolution are common approaches. Frequency of trade, fundamental versus technical indicators, choice of trading instruments, transaction costs, and vocabulary of order types are crucial design decisions in building such agents.


The goal is to extract patterns from historical time-series data on stock prices and utilize those patterns to make optimal trading decisions, i.e. whether to buy, hold, or sell particular stocks (FIG. 8). The main challenge is to trade in a manner that generalizes to previously unseen situations in live trading. Some general methods like training data interleaving can be used to increase generalization, but the effectiveness of these approaches might not be enough due to the low signal to noise ratio which is the main source of deception in this domain. The data is extremely noisy and prone to overfitting. Methods that discover more robust decisions (solutions) are needed. In the stock market domain experiment, generalization was compared as between the Composite Novelty Selection and Composite Novelty Pulsation processes by measuring the correlation between seen and unseen data. The experimental parameters in the trading domain experiment are in Table 2.












TABLE 2









Number of Runs
10 runs on 5 years




of historical data



Parent Selection Rate
10%



Population Size
500



Number of Generations
100



Novelty Selection multiplier (m)
 2



Novelty Pulsation (P)
5:1 (P = 5)











At the end of the ten runs, we pick 10 best individuals from each run (10×10=100 total), then we compared their performance on the 5 years of historical data (training data) to their performance on the consequent unseen year. (i.e. 2008-2012 was training data and the 2013 was withheld).



FIGS. 9 and 10 illustrate generalization of the Composite Novelty Selection and Composite Novelty Pulsation methods, respectively. In both figures, The fitness on seen data is on the x-axis and fitness on unseen data is on the y-axis. Candidates to the right of the vertical line are profitable on seen data, and candidates above the horizontal line are profitable on unseen data.


Points in FIG. 10 are noticeably closer to a diagonal line, which means that better training fitness resulted in better testing fitness, i.e. higher correlation and better generalization. Numerically, the seen-to-unseen correlation for the Composite Novelty Selection method is 0.69, while for Composite Novelty Pulsation, it is 0.86. The ratio of the number of profitable candidates on unseen data and training data is also better, suggesting that underfitting is unlikely. In practice, these differences are significant, translating to much improved profitability in live trading.


The stock trading experiment was designed to demonstrate that the Composite Novelty Pulsation approach makes a difference in real-world problems. The main challenge in trading is generalization to unseen data, and indeed in this respect, Composite Novelty Pulsation improved generalization significantly.


The methods described herein must be implemented on one or more processing systems. The types and scale of the available processing system components, including one or more processing units, servers, memory components, databases, and the like are known to those skilled in the art and trade-offs between power and efficiency in accordance with application of the disclosed methods are within the considerations one skilled in the art would weigh in selecting particular processing system components. Exemplary processing systems which may be considered for implementation of one or more disclosed processes are described in previously referenced U.S. patent application Ser. No. 16/268,463, which is incorporated herein by reference. The MOEAs as discussed and exemplified herein and applied to exemplary domains and problems are inextricably tied to computer processing and exist as specially programmed machines. The MOEAs described herein improve upon existing MOEAs by transforming inputs into superior optimal solutions with improved efficiency and results.


The following schematics and flow charts are general representations of the systems and methods described herein, but are in no way intended to be limiting.



FIG. 11 is an overall diagram of an embodiment of a data mining system incorporating features of the invention. The system is divided into three portions, a training system 110, a production system 112, and a controlled system 128. The training system 110 interacts with at least one database 114 containing training data, as well as with at least another database 116 containing the candidate individual pool. The training system 110 operates according to a plurality of composite functions 140, which indicate to the training system 110 how to measure the composite values of an individual. The plurality of composite functions 140 also defines the search space for individuals with respect to the multiple objectives 130 in the data mining environment. The training system 110 attempts to optimize for individuals that have the greatest dominance over other individuals in the defined search space. Whether a certain individual dominates over other is determined by a specified dominance filter 120.


The production system 112 operates according to a production individual population in another database 122. The production system 112 applies these individuals to production data 124, and produces outputs 126, which may be action signals or recommendations. In the stock trading domain, the production data 124 may be current, real-time or near-real-time stock trading data, and the outputs 126 of the production system 112 may be a suggested buy, hold, sell recommendations that one or more of the individuals in production individual population 122 outputs in response to the production data 124. The production individual population 122 is harvested from the training system 110 once or at intervals, depending on the embodiment.


The controlled system 128 is a system that is controlled automatically by the signals 126 from the production system. Depending on the application environment, the controlled system 128 may include mechanical systems such as engines, air-conditioners, refrigerators, electric motors, robots, milling equipment, construction equipment, or a manufacturing plant, or other computer systems, or an output display to inform a user of a recommendation (e.g., buy, hold sell in the stock trading domain) or diagnosis. One skilled in the art recognizes that the controlled system 128 may take virtually any form in accordance with the intended domain.


While the embodiment of FIG. 11 operates the training system separately from the production system, aspects of the invention also apply to so-called “online” learning systems in which the training system and the production system are one. That is, training is performed on actual production data, and the outputs of the candidate individuals are actually used to operate the controlled system 128, even though the candidate individuals may not yet have been fully vetted. Candidate individuals are evaluated on actual feedback from the use of their outputs by the controlled system 128. Such a system may never harvest individuals for use in production because they are already being used in production.


In one embodiment, the individuals in candidate pool 116 are stored and managed by conventional database management systems (DBMS), and are accessed using SQL statements. New individuals can be inserted into the candidate pool 116 using the SQL “insert” statement, and individuals being discarded can be deleted using the SQL “delete” statement. In another embodiment, the individuals in candidate pool 116 are stored in a linked list. In such an embodiment insertion of a new individual can be accomplished by writing its contents into an element in a free list, and then linking the element into the main linked list. Discarding of individuals involves unlinking them from the main linked list and re-linking them into the free list. Discarding causes an individual to be removed from competition, but in some embodiments, information about the individual may be recorded or logged for other purposes.


As used herein, an “individual” created by procreation is considered herein to constitute a different individual than its parents, even though it retains some of its parents' genetic material. Individuals may be assigned and identified in accordance with an identifier ID value. Individuals in the candidate individual pool 116 also include information identifying the individual's objective values individually or, in a composite objective embodiment, the composite values for each composite function defined for the multi-objective data mining environment. Some embodiments may also define a single overall fitness estimate for each individual, and that value, too, may be stored as part of the individual.


Individuals also include one or more “rules”, each of which contains one or more conditions and an output to be asserted if all the conditions in a given sample are true. During procreation, any of the conditions or any of the outputs may be altered, or even entire rules may be replaced. As used herein, a “result” of an individual is the combination of outputs produced by an individual in response to a single data sample (either during training or in production), and the “performance” of an individual with respect to an objective is a measure of how well the “result” satisfied that objective on that single sample.


A rule is a conjunctive list of conditions in association with an output. For example, if the individual's conditions are all specified as parameter/value (“P/V”) pairs and the rule specifying a particular value (or range of values) for the parameter is met, then the condition is true. Another embodiment can also include conditions which are themselves conditioned on other items (such as other conditions in the rule or in a different rule or the result of another entire one of the rules). Yet another embodiment can also include conditions or rules which are specified procedurally rather than as P/V pairs. Many other variations will be apparent to those skilled in the art.


The training data is arranged in the database 114 as a set of samples, each with parameters and their values, as well as sufficient information to determine a result that can be compared with an assertion made by an individual on the values in the sample. In one embodiment, the output is explicit, for example, a number set out explicitly in association with the sample. In such an embodiment, the objective values can be dependent upon the number of samples for which the individual's output matches the result of the sample. In another embodiment, the result may not be present in the test data itself, but rather derivable from the test data. In alternative to individuals being expressed in terms of rules, an individual might, for example, be expressed in terms of a vector of floating point numbers. Many other embodiments will be apparent to those skilled in the art. In general, as used herein, individuals merely identify a potential solution to the problem provided to the system for solving.



FIG. 12 illustrates various modules that can be used to implement the functionality of training system 110 (FIG. 11). Candidate individual pool 116 is also shown in the drawing. Solid lines indicate process flow, and broken lines indicate data flow. The modules can be implemented in hardware or software, and need not be divided up in precisely the same blocks as shown in FIG. 12. Some can also be implemented on different processors or computers or spread among a number of different processors or computers. In addition, it will be appreciated that some of the modules can be combined, operated in parallel or in a different sequence than that shown in FIG. 12 without affecting the functions achieved. Also as used herein, the term “module” can include “sub-modules,” which themselves can be considered herein to constitute modules. In particular, the individual testing module 412, competition module 414, and procreation module 416 are also considered herein to be sub-modules of an individual pool processor module 420. The blocks in FIG. 13 designated as modules can also be thought of as flowchart steps in a method.


Referring to FIG. 12, the candidate individual pool 116 is initialized by pool initialization module 410, which creates an initial set of candidate individuals in the individual pool 116. These individuals can be created randomly, or in some embodiments, a priori knowledge is used to seed the first generation. At the start, all individuals are initialized with objective values and composite values that are undefined.


Individual testing module 412 then proceeds to test the population in the individual pool 116 on the training data 114. Only a subset of the population in the individual pool 116 is tested at this point. As used herein, the term “subset,” unless otherwise qualified, includes both proper and improper subsets as well as the null set. Each individual in the subset undergoes a battery of tests or trials on the training data 114, each trial testing the individual on one sample 310. In one embodiment, each battery might consist of only a single trial. Preferably, however, a battery of tests is much larger, for example on the order of 1000 trials. Note there is no requirement that all individuals undergo the same number of trials. Note also that in an online learning embodiment, “testing” of an individual may involve using the individual to control the controlled system 128, and receiving any resulting feedback.


After the tests, the individual testing module 412 updates the objective values associated with each of the objectives and the composite values for each of the composite functions for the individuals tested. In an embodiment, each of the objective values may be an average of the results of all trials of the individual for the specific objective. In an embodiment, each of the composite values may be an average of the corresponding composite function values based on the results of all trials of the individual. In an embodiment, each of the composite values may be calculated as the corresponding composite function evaluated at the individual's average objective values.


Once the objective values and composite values are updated in the candidate individual pool for each tested individual, the competition module 414 performs competition among individuals and may discard some individuals, leaving an elitist pool of candidate individuals. More detail about the competition process is provided below. After the candidate individual pool 116 has been updated, a procreation module 416 selects from the elitist pool a random subset of individuals from which to evolve new individuals. Any conventional or future-developed technique can be used for procreation. In an embodiment, conditions, outputs, or rules from parent individuals are combined in various ways to form child individuals, and then, occasionally, they are mutated. The combination process, for example, may include crossover—i.e., exchanging conditions, outputs, or entire rules between parent individuals to form child individuals. New individuals created through procreation begin with objective values and composite values that are undefined (i.e. indicate that they have not yet been assigned). These individuals are placed in the individual pool 116. Preferably, after new individuals are created by combination and/or mutation, the parent individuals are retained. In this case, the parent individuals also retain their objective values and composite values. In another embodiment, the parent individuals are discarded.


After procreation, individual testing module 412 operates again on the updated individual pool 116. The process continues repeatedly.


Individuals can be harvested for use by production system 112. Individual harvesting module 418 retrieves individuals for that purpose. In one embodiment, individual harvesting module 418 retrieves individuals periodically, whereas in another embodiment it retrieves individuals only in response to user input. Individual harvesting module 418 can apply certain selection criteria as well in order to choose desirable individuals. For example, in one embodiment it selects only individuals that are not dominated by any other individuals in the pool. The individuals may also undergo further validation as part of this further selection process, by testing on historical data not part of training data 114. The individuals selected by the individual harvesting module 418 are written to the production individual population database for use by production system 112 as previously described. In an online learning embodiment, there may be no separate harvesting module since the candidate individuals essentially are already in production.


The competition module 414 utilizes the dominance filter 120 to select a first set of individuals. In one embodiment, the competition module 414 may select all individuals currently in the candidate pool 116, to be included in the first set of individuals. In another embodiment, the competition module 414 may select a predetermined number of individuals currently in the candidate pool 116 to be included in the first set of individuals. The competition module 414 may then select a final set of individuals from the first set of individuals in dependence upon relative novelty and/or relative diversity among the individuals in the first set of individuals. As discussed above and further herein below, the relative novelty factor is not used during every procreation generation, but instead is turned on every P generations.


In one embodiment, any individual not included in the final set of individuals is discarded from the candidate individual pool 116. The individual processing module 420 uses the final set of individuals for procreating new individuals and adding them to the pool of candidate individuals.



FIGS. 13a, 13b and 13c illustrate a method of operation of competition module 414 in accordance with the Composite Novelty Pulsation process described herein. In these embodiments, the competition module 414 selects individuals from the candidate individual pool 116 to be included in the first set of individuals by using a dominance filter at step 521. These executions of competition module 414 are sometimes referred to herein as competition “events,” and each comparison made between the dominance estimate of one individual and that of another by the dominance filter is sometimes referred to herein as a comparison “instance.” As compared to a conventional multi-objective search, the optimization of composite functions instead of raw objective values tends to favor individuals for the first set of individuals that are in a focused area of objective space (a multi-dimensional space in which each orthogonal axis represents a different one of the objectives). Overall diversity of behavior among the individuals in the first set of individuals may be reduced, however.


More specifically, it will be appreciated that different individuals, even if they have the same objective values (i.e. occupy the same position in objective space), might exhibit entirely different behavior in reaching those objective values. For example, if an objective of the search is the time that a robot requires to reach a destination, then two individuals might cause the robot to reach the destination in the same amount of time. But one may achieve that time by causing the robot to take many short steps, whereas the other may achieve that time by causing the robot to take fewer long steps. These two individuals can be said to have a certain amount of diversity in behavior, even if not in fitness. To evaluate diversity of behavior, a “behavior space” may be defined in which multiple aspects of an individual's behavior are identified, and each aspect is represented in behavior space by a respective orthogonal axis. An individual's location in behavior space then is given by the vector of its values in each of the behavioral aspects. It can thus be appreciated that even if a set of individuals appear diverse in objective space, they may lack diversity in behavior space, or vice-versa.


Referring to FIG. 13b, dependent upon the generation (G) number, the first set of individuals is the final set of individuals, the elitists, which are determined using a Pareto-optimization process (e.g., dominance filtering), and which proceed to the procreation module. Alternatively, and also dependent upon the generation (G) number, the process continues in an effort to ensure diversity in behavior space. Thus, in step 524, the competition module 414 selects a final set of individuals from the first set of individuals after a series of additional steps. The final set of individuals is generally smaller than the first set of individuals. Diversity in behavior can be encouraged in the focused area of search by utilizing a relative novelty measure and/or a relative diversity measure among the individuals in the first set of individuals to select the final set of individuals. As discussed above, implementation of a novelty selection process is used in the procreation process every P generations, i.e., when G=P. In step 524, the competition module 414 can further discard from the candidate individual pool all individuals in the pool that are not in the final set of individuals. Therefore, after discarding, the candidate individual pool contains the individuals from the final set of individuals.


In one embodiment, selection of the first set of individuals in module 521 uses Pareto-optimization. The module selects individuals from the candidate individual pool that are not dominated by any other individuals in the pool to form the first set of individuals. In another embodiment, the competition module 414 may select a predetermined number of individuals from the candidate individual pool, such that the individuals not present in the first set of individuals have the least dominance over the individuals in the first set of individuals. In order to determine whether an individual is dominated by other individuals in the pool of candidate individuals, the dominance of said individual over every other individual in the candidate individual pool is evaluated. A first individual in the pool dominates over a second individual in the pool if the composite value of the first individual is greater than composite value of the second individual for at least one corresponding composite function, and the composite value of the first individual is not lower than composite value of the second individual for any other composite functions. For example, an individual x has composites values of 23, 44 and 20 for composite functions 1, 2 and 3 respectively, while an individual y has composite values of 10, 10 and 10. Individual x clearly dominates individual y as individual x has higher composite values than individual y for all three composite functions. If individual y has composites values of 23, 34 and 20 for composite functions 1, 2 and 3 respectively, individual x still dominates individual y as individual x has a higher composite value than individual y for at least one composite function (composite function 2), while the composite values of individual x for the other two composite functions (composite function 1 and composite function 3) are not lower than composite value of individual y for those two composite functions. If individual y has composites values of 23, 54 and 5 for composite functions 1, 2 and 3 respectively, individual x no longer dominates individual y even though individual x has a higher composite value than individual y for at least one composite function (composite function 3). The composite value of individual x for composite function 2 is lower than the composite value of individual y for the corresponding composite functions. Some methods to perform Pareto-optimization are described in the above-incorporated NSGA-II paper.



FIG. 13b illustrates a method by which the competition module 414 selects a final set of individuals from the first set of individuals in dependence upon generation (G) number. That is, after selecting a first set of individuals using a dominance filtering process 625, if G=P, wherein P is a predetermined number 626, then a process for determining relative novelty and/or relative diversity among the individuals in the first set is applied. First, at step 629, the process expands the number of individuals in the first set of individuals by a multiplier n2>1 (n2=2 in the experiments herein). Next, at step 630, the competition module 414 estimates the novelty score for each individual in the first set of individuals. In an embodiment, when individuals from the candidate individual pool are tested against a portion of the training data, a behavioral value of the individual is identified. As used herein, a behavioral value b(x) of an individual x in a data mining environment is a vector or a scalar number resulting from the evaluation of the individual in the data mining environment, according to a predefined measure of its behavior. For example, for an n-line sorting network, the predetermined measure of behavior may be a vector of size n, when each element ‘i’ is the number of times the i-th line of the sorting network would switch, when applying the network to all 2{circumflex over ( )}n possible combinations. For stock market domain, this measure could be the pairwise correlation of the two individual signals. In other words, the predetermined measure of the behavior of an individual captures a space that is expected to have practical benefits. As used herein, a behavior difference d(b(x),b(y)) between an individual x and an individual y is the distance between two individuals in the behavior space. The novelty score of an individual xi can be estimated by summing the pairwise distance of its behavior vector to that of all the other individuals in the first set of individuals. Therefore, for the first set of individuals with n individuals, the average novelty score of individual xi is estimated by Equation 6:







NoveltyScore


(

x
i

)


=




j
=
1

n




d


(


b


(

x
i

)


,

b


(

x
j

)



)


.






At step 632, the competition module 414 selects a predetermined number of individuals with greater novelty from the first set of individuals to form the second set of individuals. In some embodiments, individuals with the highest novelty score in the first set of individuals are selected to form the second set of individuals.


It is possible that step 632 may result in a cluster of solutions that are far from the rest of the crowd in behavior space, because they all have high novelty scores when compared to the others. Though not necessary in all embodiments, it might be good enough to keep only one representative from that behavioral cluster. In order to address this issue, at step 634, the competition module 414 forms a third set of individuals with the individuals in the first set of individuals not included in the second set of individuals. At step 636 the competition module 414 then substitutes individuals from the third set of individuals into the second set of individuals, one by one, in a manner that improves the behavioral diversity of the individuals in the second set of individuals, to form the final set of individuals.



FIG. 13c illustrates a method by which the competition module 414 substitutes individuals from the third set of individuals into the second set of individuals in a manner that improves the behavioral diversity of the individuals in the second set of individuals. At step 542, it is first determined whether the third set of individuals is empty. If not, then at step 543, the competition module 414 adds an individual from the third set of individuals to the second set of individuals, thereby reducing the size of the third set of individuals by one and increasing the size of the second set by one. At step 544, two individuals are selected from the second (now enlarged) set of individuals that have the smallest behavior difference. At step 546, one of these individuals is retained in the second set of individuals while the other is discarded. In one embodiment, the dominance filter 120 may be used to determine which individual among the two selected individuals dominate over the other. In another embodiment, overall fitness estimates of the two selected individuals may be used in order to choose which individual to discard. The individual with the lower fitness estimate is discarded. Obviously, many modifications and variations of filters will be apparent to practitioners skilled in this art that can be used to discard one individual from the two selected individuals. Discarding one of the individuals from the two individuals with the smallest behavior difference and adding an individual from the third set of individuals to the second set of individuals improves the diversity of individuals in the second set of individuals.


The procedure then returns to step 542, where it is again determined whether the size of the third set of individuals is zero. If yes, then the final set of individuals is formed from the second set of individuals. It can be seen that the combined procedures of FIGS. 13a, 13b, and 13c add to the formation of the final set of individuals by the competition module 414.


Note that whereas in FIG. 13c, an individual is added from the third subset into the second subset (step 543) before steps 544 and 546 remove an individual from a least diverse pair in the second set. In another embodiment, steps 544 and 546 may remove an individual from a least diverse pair in the second set before an individual is added from the third subset into the second subset. Other variations will be apparent. As with all flowcharts herein, it will be appreciated that many of the steps can be combined, performed in parallel or performed in a different sequence without affecting the functions achieved. In some cases, as the reader will appreciate, a re-arrangement of steps will achieve the same results only if certain other changes are made as well. In other cases, as the reader will appreciate, a re-arrangement of steps will achieve the same results only if certain conditions are satisfied. Furthermore, it will be appreciated that the flow charts herein show only steps that are pertinent to an understanding of the invention, and it will be understood that numerous additional steps for accomplishing other functions can be performed before, after and between those shown.


The Composite Novelty Pulsation method can also be applied in many other domains, in particular those that are deceptive and have natural secondary objectives. For instance, various game strategies from board to video games can be cast in this form, where winning is accompanied by different dimensions of the score. Solutions for many design problems, such as 3D printed objects, need to satisfy a set of functional requirements, but also maximize strength and minimize material. Effective control of robotic systems need to accomplish a goal while minimizing energy and wear and tear. Thus, many applications should be amenable to the composite novelty pulsation approach. Another direction is to extend the method further into discovering effective collections of solutions. For instance, ensembling is a good approach for increasing the performance of machine learning systems. Usually, the ensemble is formed from solutions with different initialization or training, but with no mechanism to ensure that their differences are useful. In Composite Novelty Pulsation, the Pareto front consists of a diverse set of solutions that span the area of useful tradeoffs. Such collections should make for a powerful ensemble, extending the applicability of the approach further. Composite Novelty Pulsation can increase the power and speed of multi-objective evolution.

Claims
  • 1. A computer-implemented method for finding a solution to a provided problem which optimizes a plurality of objectives and operating a controlled system using the found solution, comprising the steps of: providing a computer system having a memory storing a candidate pool database identifying a pool of candidate individuals, each identifying a respective candidate solution to the provided problem;testing, by the computer system, individuals from the pool of candidate individuals against a portion of training data to develop a plurality of objective values for each of the tested individuals, each of the objective values estimating the individual's level of success with respect to a corresponding one of the objectives;selecting, by a predefined dominance filter of the computer system, a first subset of individuals from the candidate pool database, the dominance filter being dependent upon a plurality of composite functions of the objectives, each of the composite functions being dependent on at least one of the of objectives and at least one of the composite functions being dependent on more than one of the objectives;procreating, by the computer system, new individuals from a final subset of the individuals in the candidate pool database, the final subset being dependent upon the first subset;inserting the new individuals into the candidate pool database and repeating the steps of testing, selecting and procreating, wherein each iteration of the testing, selecting and procreation is a generation G;further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the individuals, selecting a second subset of individuals from the first subset of individuals, including selecting from the second subset a predetermined number of individuals having greater average behavioral novelty among the individuals in the first subset of individuals, than the average behavioral novelty of all others of the individuals from the first subset, the final subset of individuals being dependent upon the second subset of individuals; andoperating a controlled system in dependence upon at least one of the individuals from the candidate pool database.
  • 2. The computer-implemented method of claim 1, wherein P≥2.
  • 3. The computer-implemented method of claim 1, wherein selecting a second subset of individuals from the first subset of individuals includes: re-selecting the first subset of individuals to include an expanded number of individuals in accordance with a multiplier m, wherein m is greater than 1;determining a novelty score for each of the individuals in the expanded first subset;sorting the individuals in the expanded first subset in descending order of novelty score;selecting a predetermined number of sorted individuals to establish a result set, wherein the individual from the expanded first subset with the highest novelty score is selected first;adding each non-selected, sorted individual from the expanded first subset one at a time to the result set and selecting for removal from the result set an individual having a lowest minimum novelty; andreturning a final result set after each non-selected, sorted individual has been iteratively added and compared.
  • 4. The computer-implemented method of claim 3, wherein the novelty score is determined as follows:
  • 5. The computer-implemented method of claim 4, wherein minimum novelty is determined as follows:
  • 6. The method of claim 1, wherein using a predefined dominance filter to select a first subset of individuals from the candidate pool database comprises selecting from the first subset of individuals, individuals from the pool of candidate individuals that, in accordance with the predefined dominance filter, are not dominated by any other individuals in the pool.
  • 7. The method of claim 6, wherein the predefined dominance filter is defined such that a first individual dominates over a second individual if and only if (a) a composite value of the first individual is better than a composite value of the second individual for at least one of the composite functions and(b) for all others of the composite functions, the composite value of the first individual is not worse than the composite value of the second individual.
  • 8. The computer-implemented method of claim 1, wherein the provided problem is in one of the following domains gaming strategies, 3D printing, stock trading, robotics systems.
  • 9. The computer-implemented method of claim 6, wherein the controlled system is selected from the group consisting of a specially programmed processor for implementing a gaming strategy, a 3D printer, a specially programmed processor for implementing a stock trade, a robotics system.
  • 10. A computer-implemented method for finding one or more optimal solutions to a predetermined problem and operating a controlled system using the one or more found optimal solutions, wherein the one or more optimal solutions addresses a plurality of objectives, comprising: testing by a first computer-implemented program each of a plurality of candidate solutions from a predetermined pool of candidate solutions against a portion of training data to develop objective values for the plurality of objectives for each of the tested candidate solutions, each of the plurality of objective values estimating the candidate solution's level of success with respect to a corresponding one of the plurality of objectives;selecting by a second computer-implemented program a first subset of candidate solutions from the candidate pool by application of a dominance filter, wherein a number of candidate solutions in the first subset is a predetermined number;procreating, by a third computer-implemented program, new candidate solutions from a final subset of the candidate solutions in the candidate pool, the final subset being dependent upon the first subset;inserting the new candidate solutions into the candidate pool and repeating the steps of testing, selecting and procreating, wherein each iteration of the testing, selecting and procreation is a generation G;further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the candidate solutions, selecting by a fourth computer-implemented program, a second subset of candidate solutions from the first subset of candidate solutions, based on a novelty comparison, the selecting of the second subset including: re-selecting the first subset of candidate solutions to include an expanded number of candidate solutions in accordance with a multiplier m times the predetermined number, wherein m is greater than 1;determining a novelty score for each of the candidate solutions in the expanded first subset;sorting the candidate solutions in the expanded first subset in descending order of novelty score;selecting a predetermined number of sorted candidate solutions to establish a result set, wherein a candidate solution from the expanded first subset with the highest novelty score is selected first;adding each non-selected, sorted candidate solution from the expanded first subset one at a time to the result set and selecting for removal from the result set a candidate solution having a lowest minimum novelty; andreturning a final result set after each non-selected, sorted candidate solution has been iteratively added and compared; andoperating a controlled system in dependence upon at least one of the candidate solutions from the candidate pool database.
  • 11. The computer-implemented method of claim 1, wherein P≥2.
  • 12. The computer-implemented method of claim 10, wherein the novelty score is determined as follows:
  • 13. The computer-implemented method of claim 12, wherein minimum novelty is determined as follows:
  • 14. The method of claim 10, wherein using a predefined dominance filter to select a first subset of candidate solutions from the candidate pool comprises selecting from the first subset of candidate solutions, candidate solutions from the pool of candidate solutions that, in accordance with the predefined dominance filter, are not dominated by any other individuals in the pool.
  • 15. The method of claim 14, wherein the predefined dominance filter is defined such that a first candidate solution dominates over a second candidate solution if and only if (a) a composite value of the first candidate solution is better than a composite value of the second candidate solution for at least one of the composite functions and(b) for all others of the composite functions, the composite value of the first candidate solution is not worse than the composite value of the second candidate solution.
  • 16. The computer-implemented method of claim 10, wherein the provided problem is in one of the following domains: gaming, 3D printing, stock trading, robotics systems.
  • 17. The computer-implemented method of claim 6, wherein the controlled system is selected from the group consisting of a specially programmed processor for implementing a gaming strategy, a 3D printer, a specially programmed processor for implementing a stock trade, a robotics system.
  • 18. The computer-implemented method of claim 10, wherein m≥2.
  • 19. A computer-implemented method for finding a solution to a provided problem in a predetermined domain which optimizes a plurality of objectives and operating a controlled system using the found solution, comprising the steps of: testing, by a specially programmed system, a set of candidate solutions against a portion of training data for the predetermined domain to develop objective values for each of the tested candidate solutions, each of the objective values estimating the tested candidate solution's level of success with respect to a corresponding one of the objectives;selecting, by a dominance filter of the specially programmed system, a first subset of a predetermined number of candidate solutions from the set, wherein the dominance filter selects candidate solutions using comparisons between composite objective functions of each of the candidate solutions, the composite objective functions including one or more of the estimate objective values;procreating, by the specially programmed system, new candidate solutions from one of the first subset or from a final subset of candidate solutions, the final subset being dependent upon the first subset;inserting the new candidate solutions into the candidate pool and repeating the steps of testing, selecting and procreating, until a predetermined end point is achieved, wherein each iteration of the testing, selecting and procreation is a generation G;further wherein, every P generations, wherein P=G, after the step of selecting a first subset of the candidate solutions, selecting a second subset of candidate solutions from the first subset of candidate solutions, based on a novelty comparison; andoperating a controlled system in dependence upon at least one of the candidate solutions from the candidate pool database.
  • 20. The computer-implemented method of claim 1, wherein P≥2.
  • 21. The computer-implemented method of claim 1, wherein selecting a second subset of individuals from the first subset of individuals includes: re-selecting the first subset of candidate solutions to include an expanded number of candidate solutions in accordance with a multiplier m times the predetermined number, wherein m is greater than 1;determining a novelty score for each of the candidate solutions in the expanded first sub set;sorting the candidate solutions in the expanded first subset in descending order of novelty score;selecting a predetermined number of sorted candidate solutions to establish a result set, wherein a candidate solution from the expanded first subset with the highest novelty score is selected first;adding each non-selected, sorted candidate solution from the expanded first subset one at a time to the result set and selecting for removal from the result set a candidate solution having a lowest minimum novelty; andreturning a final result set after each non-selected, sorted candidate solution has been iteratively added and compared.
  • 22. The computer-implemented method of claim 21, wherein the novelty score is determined as follows:
  • 23. The computer-implemented method of claim 21, wherein minimum novelty is determined as follows:
  • 24. The computer-implemented method of claim 19, wherein the provided problem is in one of the following predetermined domains: gaming, 3D printing, stock trading, robotics systems.
  • 25. The computer-implemented method of claim 19, wherein the controlled system is selected from the group consisting of a specially programmed processor for implementing a gaming strategy, a 3D printer, a specially programmed processor for implementing a stock trade and a robotics system.
CROSS-REFERENCE TO OTHER APPLICATIONS

This application claims the benefit of priority to U.S. Provisional Patent Application No. 62/810,475, similarly entitled “ENHANCED OPTIMIZATION WITH COMPOSITE OBJECTIVES AND NOVELTY PULSATION,” filed on Feb. 26, 2019 which is incorporated herein by reference in their entireties. This application cross-references the following patent applications and publications which are incorporated herein by reference in their entireties: U.S. patent application Ser. No. 16/268,463 entitled “ENHANCED OPTIMIZATION WITH COMPOSITE OBJECTIVES AND NOVELTY SELECTION,” filed on Feb. 5, 2019; U.S. Provisional Patent Application No. 62/627,125 entitled “ENHANCED OPTIMIZATION WITH COMPOSITE OBJECTIVES AND NOVELTY SELECTION,” filed on Feb. 6, 2018; and U.S. Provisional Patent Application No. 62/658,859 entitled “ENHANCED OPTIMIZATION WITH COMPOSITE OBJECTIVES -ND NOVELTY SELECTION,” filed on Apr. 17, 2018.

Provisional Applications (1)
Number Date Country
62810475 Feb 2019 US