e01.org

Fitness function

A fitness function is a particular type of objective or cost function that is used to summarize, as a single figure of merit, how close a given candidate solution is to achieving the set aims. It is an important component of evolutionary algorithms (EA), such as genetic programming, evolution strategies or genetic algorithms. An EA is a metaheuristic that reproduces the basic principles of biological evolution as a computer algorithm in order to solve challenging optimization or planning tasks, at least approximately. For this purpose, many candidate solutions are generated, which are evaluated using a fitness function in order to guide the evolutionary development towards the desired goal. Similar quality functions are also used in other metaheuristics, such as ant colony optimization or particle swarm optimization. In the field of EAs, each candidate solution, also called an individual, is commonly represented as a string of numbers (referred to as a chromosome). After each round...

A fitness function is a particular type of objective or cost function that is used to summarize, as a single figure of merit, how close a given candidate solution is to achieving the set aims. It is an important component of evolutionary algorithms (EA), such as genetic programming, evolution strategies or genetic algorithms. An EA is a metaheuristic that reproduces the basic principles of biological evolution as a computer algorithm in order to solve challenging optimization or planning tasks, at least approximately. For this purpose, many candidate solutions are generated, which are evaluated using a fitness function in order to guide the evolutionary development towards the desired goal. Similar quality functions are also used in other metaheuristics, such as ant colony optimization or particle swarm optimization. In the field of EAs, each candidate solution, also called an individual, is commonly represented as a string of numbers (referred to as a chromosome). After each round of testing or simulation the idea is to delete the n worst individuals, and to breed n new ones from the best solutions. Each individual must therefore to be assigned a quality number indicating how close it has come to the overall specification, and this is generated by applying the fitness function to the test or simulation results obtained from that candidate solution. Two main classes of fitness functions exist: one where the fitness function does not change, as in optimizing a fixed function or testing with a fixed set of test cases; and one where the fitness function is mutable, as in niche differentiation or co-evolving the set of test cases. Another way of looking at fitness functions is in terms of a fitness landscape, which shows the fitness for each possible chromosome. In the following, it is assumed that the fitness is determined based on an evaluation that remains unchanged during an optimization run. A fitness function does not necessarily have to be able to calculate an absolute value, as it is sometimes sufficient to compare candidates in order to select the better one. A relative indication of fitness (candidate a is better than b) is sufficient in some cases, such as tournament selection or Pareto optimization. ==Computational efficiency== The fitness function should not only closely align with the designer's goal, but also be computationally efficient. Execution speed is crucial, as a typical evolutionary algorithm must be iterated many times in order to produce a usable result for a non-trivial problem. Fitness approximation may be appropriate, especially in the following cases: Fitness computation time of a single solution is extremely high Precise model for fitness computation is missing The fitness function is uncertain or noisy. Alternatively or also in addition to the fitness approximation, the fitness calculations can also be distributed to a parallel computer in order to reduce the execution times. Depending on the population model of the EA used, both the EA itself and the fitness calculations of all offspring of one generation can be executed in parallel. When optimizing with the weighted sum, the single values of the O objectives are first normalized so that they can be compared. This can be done with the help of costs or by specifying target values and determining the current value as the degree of fulfillment. Costs or degrees of fulfillment can then be compared with each other and, if required, can also be mapped to a uniform fitness scale. Without loss of generality, fitness is assumed to represent a value to be maximized. Each objective o_i is assigned a weight w_i in the form of a percentage value so that the overall raw fitness f_{raw} can be calculated as a weighted sum: f_{raw} = \sum_{i=1}^O{o_i \cdot w_i} \quad \mathsf{with} \quad \sum_{i=1}^O{w_i} = 1 A violation of R restrictions r_j can be included in the fitness determined in this way in the form of penalty functions. For this purpose, a function pf_j(r_j) can be defined for each restriction which returns a value between 0 and 1 depending on the degree of violation, with the result being 1 if there is no violation. The previously determined raw fitness is multiplied by the penalty function(s) and the result is then the final fitness f_{final} : f_{final}= f_{raw} \cdot \prod_{j=1}^R{pf_j(r_j)} = \sum_{i=1}^O{(o_i \cdot w_i)} \cdot \prod_{j=1}^R{pf_j(r_j)} This approach is simple and has the advantage of being able to combine any number of objectives and restrictions. The disadvantage is that different objectives can compensate each other and that the weights have to be defined before the optimization. This means that the compromise lines must be defined before optimization, which is why optimization with the weighted sum is also referred to as the a priori method. In addition, certain solutions may not be obtained, see the section on the comparison of both types of optimization. The cyber shack of Adaptive Fuzzy Fitness Granulation (AFFG) That is designed to accelerate the convergence rate of EAs. Fitness functions in evolutionary robotics: A survey and analysis (AFFG) (PDF), A review of fitness functions used in evolutionary robotics. Ford, Neal; Richards, Mark, Sadalage, Pramod; Dehghani, Zhamak. (2021) Software Architecture: The Hard Parts O'Reilly Media, Inc. .

References

  1. ^ Eiben, A.E.; Smith, J.E. (2015). "Evaluation Function (Fitness Function)". Introduction to Evolutionary Computing . Natural Computing Series (2nd ed.). Berlin, Heidelberg: Springer. p. 30. doi : 10.1007/978-3-662-44874-8 . ISBN 978-3-662-44873-1 . S2CID 20912932 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  2. ^ Khalloof, Hatem; Mohammad, Mohammad; Shahoud, Shadi; Duepmeier, Clemens; Hagenmeyer, Veit (2020-11-02). "A Generic Flexible and Scalable Framework for Hierarchical Parallelization of Population-Based Metaheuristics". Proceedings of the 12th International Conference on Management of Digital EcoSystems . Virtual Event United Arab Emirates: ACM. pp. 124– 131. doi : 10.1145/3415958.3433041 . ISBN 978-1-4503-8115-4 . S2CID 227179748 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  3. ^ Jähne, Paul (2016). Mayr, Heinrich Christian; Pinzger, Martin (eds.). Overview of the current state of research on parallelisation of evolutionary algorithms on graphic cards (PDF) . Bonn: Gesellschaft für Informatik, FRG. ISBN 978-3-88579-653-4 . OCLC 962381748 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  4. ^ Fonseca, Carlos M.; Fleming, Peter J. (1995). "An Overview of Evolutionary Algorithms in Multiobjective Optimization". Evolutionary Computation . 3 (1): 1– 16. doi : 10.1162/evco.1995.3.1.1 . ISSN 1063-6560 . S2CID 8530790 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  5. ^ Eckart, Zitzler; Marco, Laumanns; Lothar, Thiele (2001). "SPEA2: Improving the strength pareto evolutionary algorithm" . Technical Report, Nr. 103. Computer Engineering and Networks Laboratory (TIK) . ETH Zürich 2001. doi : 10.3929/ethz-a-004284029 . S2CID 16584254 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  6. ^ Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. (2002). "A fast and elitist multiobjective genetic algorithm: NSGA-II" . IEEE Transactions on Evolutionary Computation . 6 (2): 182– 197. Bibcode : 2002ITEC....6..182D . doi : 10.1109/4235.996017 . S2CID 9914171 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  7. ^ Deb, Kalyanmoy; Jain, Himanshu (2014). "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 . 18 (4): 577– 601. Bibcode : 2014ITEC...18..577D . doi : 10.1109/TEVC.2013.2281535 . ISSN 1089-778X . S2CID 206682597 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  8. ^ Jain, Himanshu; Deb, Kalyanmoy (2014). "An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point Based Nondominated Sorting Approach, Part II: Handling Constraints and Extending to an Adaptive Approach" . IEEE Transactions on Evolutionary Computation . 18 (4): 602– 622. Bibcode : 2014ITEC...18..602J . doi : 10.1109/TEVC.2013.2281534 . ISSN 1089-778X . S2CID 16426862 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  9. ^ Miettinen, Kaisa (1998). Nonlinear Multiobjective Optimization . International Series in Operations Research & Management Science. Vol. 12. Boston, MA: Springer US. doi : 10.1007/978-1-4615-5563-6 . ISBN 978-1-4613-7544-9 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  10. ^ Popovici, Elena; Bucci, Anthony; Wiegand, R. Paul; De Jong, Edwin D. (2012), "Coevolutionary Principles", in Rozenberg, Grzegorz; Bäck, Thomas; Kok, Joost N. (eds.), Handbook of Natural Computing , Berlin, Heidelberg: Springer, pp. 987– 1033, doi : 10.1007/978-3-540-92910-9_31 , ISBN 978-3-540-92909-3 Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  11. ^ Eiben, A.E.; Smith, J.E. (2015). "Coevolutionary Systems". Introduction to Evolutionary Computing . Natural Computing Series (2nd ed.). Berlin, Heidelberg: Springer. pp. 223– 230. doi : 10.1007/978-3-662-44874-8 . ISBN 978-3-662-44873-1 . S2CID 20912932 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  12. ^ Bäck, Thomas; Fogel, David; Michalewicz, Zbigniew, eds. (2000-11-20). Evolutionary Computation 2: Advanced Algorithms and Operators . Bristol: Institute of Physics Publ. doi : 10.1201/9781420034349 . ISBN 978-0-7503-0665-2 . {{ cite book }} : CS1 maint: date and year ( link ) Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  13. ^ Jin, Y. (January 2005). "A comprehensive survey of fitness approximation in evolutionary computation" . Soft Computing . 9 (1): 3– 12. doi : 10.1007/s00500-003-0328-5 . ISSN 1432-7643 . S2CID 7626092 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  14. ^ Jin, Yaochu; Wang, Handing; Chugh, Tinkle; Miettinen, Kaisa (June 2019). "Data-Driven Evolutionary Optimization: An Overview and Case Studies" . IEEE Transactions on Evolutionary Computation . 23 (3): 442– 458. Bibcode : 2019ITEC...23..442J . doi : 10.1109/TEVC.2018.2869001 . hdl : 10871/34011 . ISSN 1089-778X . S2CID 55809527 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  15. ^ Eiben, A.E.; Smith, J.E. (2015). "Nonstationary and Noisy Function Optimisation". Introduction to Evolutionary Computing . Natural Computing Series (2nd ed.). Berlin, Heidelberg: Springer. pp. 185– 194. doi : 10.1007/978-3-662-44874-8 . ISBN 978-3-662-44873-1 . S2CID 20912932 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  16. ^ Sudholt, Dirk (2015), "Parallel Evolutionary Algorithms" , in Kacprzyk, Janusz; Pedrycz, Witold (eds.), Handbook of Computational Intelligence , Berlin, Heidelberg: Springer, pp. 929– 959, doi : 10.1007/978-3-662-43505-2_46 , ISBN 978-3-662-43504-5 Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  17. ^ a b c d e Miettinen, Kaisa (2008). "Introduction to Multiobjective Optimization: Noninteractive Approaches". In Branke, Jürgen; Deb, Kalyanmoy; Miettinen, Kaisa; Słowiński, Roman (eds.). Multiobjective Optimization: Interactive and Evolutionary Approaches . Lecture Notes in Computer Science. Vol. 5252. Berlin, Heidelberg: Springer. pp. 1– 26. doi : 10.1007/978-3-540-88908-3 . ISBN 978-3-540-88907-6 . S2CID 15375227 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  18. ^ a b c d e f Jakob, Wilfried; Blume, Christian (2014-03-21). "Pareto Optimization or Cascaded Weighted Sum: A Comparison of Concepts" . Algorithms . 7 (1): 166– 185. arXiv : 2203.02697 . doi : 10.3390/a7010166 . ISSN 1999-4893 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  19. ^ a b Deb, Kalyanmoy (2008). "Introduction to Evolutionary Multiobjective Optimization". In Branke, Jürgen; Deb, Kalyanmoy; Miettinen, Kaisa; Słowiński, Roman (eds.). Multiobjective Optimization: Interactive and Evolutionary Approaches . Lecture Notes in Computer Science. Vol. 5252. Berlin, Heidelberg: Springer. pp. 58– 96. doi : 10.1007/978-3-540-88908-3 . ISBN 978-3-540-88907-6 . S2CID 15375227 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  20. ^ a b Jakob, Wilfried (2021), Applying Evolutionary Algorithms Successfully: A Guide Gained from Real-world Applications (KIT Scientific Working Papers, vol. 170), Karlsruhe, Germany: Karlsruhe Institute of Technology (KIT), arXiv : 2107.11300 , doi : 10.5445/ir/1000135763 , S2CID 236318422 Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  21. ^ Eiben, A.E.; Smith, J.E. (2015). "What Is an Evolutionary Algorithm?". Introduction to Evolutionary Computing . Natural Computing Series (2nd ed.). Berlin, Heidelberg: Springer. pp. 25– 48. doi : 10.1007/978-3-662-44874-8 . ISBN 978-3-662-44873-1 . S2CID 20912932 . Wikipedia revision 1371946428, retrieved 2026-11-21 · 1795215600.0
  22. Evolutionary Computation 2: Advanced Algorithms and Operators . · 1787958000.0
  23. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point-Based Nondominated Sorting Approa . · 1787958000.0
  24. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point Based Nondominated Sorting Approa . · 1787958000.0
  25. A comprehensive survey of fitness approximation in evolutionary computation . · 1787958000.0
  26. Data-Driven Evolutionary Optimization: An Overvie . · 1787958000.0
  27. Handbook of Computational Intelligence . · 1787958000.0
  28. Overview of the current state of research on parallelisation of evolutionary algorithms on . · 1787958000.0
  29. Multiobjective Optimization: Interactive and Evolutionary Approaches . · 1787958000.0
  30. f_{final}= f_{raw} \cdot \prod_{j=1}^R{pf_j(r_j)} = \sum_{i=1}^O{(o_i \cdot w_i)} \cdot \prod_{j=1}^R{pf_j(r_j)} This approach is simple and has the advantage of being able to combine any number of ob . · 1787958000.0
  31. SPEA2: Improving the strength pareto evolutionary algorithm . · 1787958000.0
  32. A fast and elitist multiobjective genetic algorithm: NSGA-II . · 1787958000.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Fitness function". 1788006623. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1371946428

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·