alg lgebraic crossover operators
play

Alg lgebraic Crossover Operators for Permutations Valentino - PowerPoint PPT Presentation

Alg lgebraic Crossover Operators for Permutations Valentino Santucci 1,2 , Marco Baioletti 2 , Alfredo Milani 2 1 University for Foreigners of Perugia, Italy 2 University of Perugia, Italy Finitely Generated Group A group is a set


  1. Alg lgebraic Crossover Operators for Permutations Valentino Santucci 1,2 , Marco Baioletti 2 , Alfredo Milani 2 1 University for Foreigners of Perugia, Italy 2 University of Perugia, Italy

  2. Finitely Generated Group β€’ A group is a set π‘Œ endowed with an operation ∘: π‘Œ Γ— π‘Œ β†’ π‘Œ that: β€’ is associative 𝑦 ∘ 𝑧 ∘ 𝑨 = 𝑦 ∘ 𝑧 ∘ 𝑨 βˆ€π‘¦, 𝑧, 𝑨 ∈ π‘Œ β€’ has a neutral element 𝑓 ∈ π‘Œ s.t. 𝑦 ∘ 𝑓 = 𝑓 ∘ 𝑦 = 𝑦 βˆ€π‘¦ ∈ π‘Œ βˆƒ 𝑦 βˆ’1 s.t. 𝑦 ∘ 𝑦 βˆ’1 = 𝑦 βˆ’1 ∘ 𝑦 = 𝑓 β€’ has inverse elements βˆ€π‘¦ ∈ π‘Œ β€’ A group π‘Œ is finitely generated if there exists a finite generating set 𝐼 βŠ† π‘Œ such that every 𝑦 ∈ π‘Œ can be expressed as a finite composition of the generators in 𝐼 , i.e., 𝑦 = β„Ž 𝑗 1 ∘ β„Ž 𝑗 2 ∘ β‹― ∘ β„Ž 𝑗 𝑙 with β„Ž βˆ— ∈ 𝐼 β€’ The length of a minimal decomposition of 𝑦 in terms of H is the weight of 𝑦 , we denote it with |𝑦| β€’ 𝑦 βŠ‘ 𝑧 iff there exists (at least) a minimal decomposition of x that is a prefix of a minimal decomposition of y 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 2

  3. Permutations form a group β€’ A permutation of [π‘œ] = {1,2, … , π‘œ} is a bijective discrete function from [π‘œ] to [π‘œ] , thus it is possible to compose permutations: 𝑨 = 𝑦 ∘ 𝑧 iff 𝑨 𝑗 = 𝑦(𝑧 𝑗 ) for 1 ≀ 𝑗 ≀ π‘œ β€’ The composition: β€’ is associative 𝑦 ∘ 𝑧 ∘ 𝑨 = 𝑦 ∘ (𝑧 ∘ 𝑨) β€’ has neutral element 𝑓 = 1,2, … , π‘œ 𝑦 βˆ’1 𝑗 = π‘˜ iff 𝑦 π‘˜ = 𝑗 β€’ has inverse elements β€’ The permutations of [π‘œ] , together with the ∘ operation, form a group structure called the symmetric group 𝒯(π‘œ) 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 3

  4. Permutations form a F.G. group β€’ Adjacent swap moves as generating set 𝐡𝑇𝑋 = 𝜏 1 , 𝜏 2 , … , 𝜏 π‘œβˆ’1 where, for any 1 ≀ 𝑗 < π‘œ : 𝑗 + 1 if π‘˜ = 𝑗 𝑗 if π‘˜ = 𝑗 + 1 𝜏 𝑗 π‘˜ = ࡞ π‘˜ otherwise β€’ (𝑦 ∘ 𝜏 𝑗 ) is the permutation 𝑦 where the items at positions 𝑗 and 𝑗 + 1 have been swapped 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 4

  5. Cayley graph β€’ A finitely generated group induces a colored digraph (namely, a Cayley graph) where: β€’ π‘Œ are the vertices β€’ there exists an arc 𝑦 β†’ (𝑦 ∘ β„Ž) colored by β„Ž for every 𝑦 ∈ π‘Œ and β„Ž ∈ 𝐼 βŠ† π‘Œ β€’ Connection between a Cayley graph and a combinatorial search space: β€’ π‘Œ is the set of solutions β€’ 𝐼 βŠ† π‘Œ represents simple search moves in the space of solutions β€’ The Cayley graph induces: β€’ neighborhood relationships among solutions β€’ a distance between solutions (shortest path distance) β€’ a single representation for both solutions and displacements 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 5

  6. Cayley graph Generators: <2134> <1324> <1243> 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 6

  7. Vector-like operations β€’ Paths on the Cayley graph can be encoded by composing the labels on the arcs => paths can be encoded using permutations! β€’ Permutations encode both Β«pointsΒ» and Β«vectorsΒ» in the search space β€’ Let’s define βŠ•, βŠ–, βŠ™ in such a way that they work consistently w.r.t. their usual numerical counterparts! 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 7

  8. Sum and Difference of Permutations β€’ Given two n -length permutations x and y : β€’ 𝑦 βŠ• 𝑧 ≔ 𝑦 ∘ 𝑧 β€’ 𝑦 βŠ– 𝑧 ≔ 𝑧 βˆ’1 ∘ 𝑦 β€’ They are geometrically meaningful: β€’ 𝑦 βŠ• 𝑧 is the point reachable starting from point x and following the path y β€’ 𝑦 βŠ– 𝑧 represents a path connecting the point y to the point x β€’ They are algebraically consistent: 𝑦 = 𝑧 βŠ• 𝑦 βŠ– 𝑧 = 𝑧 ∘ 𝑧 βˆ’1 ∘ 𝑦 = 𝑦 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 8

  9. Multiply a permutation by a scalar in [0,1] β€’ Given a n -length permutation z and a scalar 𝑏 ∈ 0,1 β€’ Let’s assume: β€’ z represents a path β€’ 𝑨 = 𝜏 𝑗 1 ∘ 𝜏 𝑗 2 ∘ β‹― ∘ 𝜏 𝑗 𝑀 is a minimal decomposition of 𝑨 with length 𝑀 β€’ 𝑏 βŠ™ 𝑨 ≔ 𝜏 𝑗 1 ∘ 𝜏 𝑗 2 ∘ β‹― ∘ 𝜏 𝑗 𝑙 where 𝑙 = 𝑏 βˆ™ 𝑀 β€’ Geometrically, 𝑏 βŠ™ 𝑨 is a Β«truncationΒ» of the path z 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 9

  10. How to compute them? β€’ βŠ• and βŠ– simply require permutations composition and inversion β€’ βŠ™ requires an algorithm for computing minimal decomposition(s) β€’ There can be multiple minimal decompositions β€’ They can be computed using a Β«bubble sortΒ»-like algorithm: Iteratively choose (and apply) an adjacent swap moving the permutation closer to the identity permutation (the only sorted permutation) β€’ Two different strategies: β€’ RandBS: randomly choose one suitable adjacent swap β€’ GreedyBS: choose the best (and suitable) adjacent swap basing on the fitness function 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 10

  11. RandBS and GreedyBS 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 11

  12. What can we do with them? β€’ Algebraic Differential Evolution β€’ Algebraic Particle Swarm Optimization β€’ Discretize numerical EAs whose Β«move rulesΒ» are linear combinations of solutions β€’ … design an algebraic crossover 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 12

  13. Algebraic Crossovers β€’ We propose 3 classes of algebraic crossovers: β€’ Group-based algebraic crossovers β€’ Lattice-based algebraic crossovers β€’ Hybrid algebraic crossovers 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 13

  14. Group-based Algebraic Crossovers (AXG) β€’ Reasonably, a crossover between two permutations x and y should return a permutation z that is Β«in the middleΒ» between x and y β€’ The interval [ x,y ] can be formally defined in many equivalent ways: β€’ A group-based algebraic crossover operator AXG can be abstractly defined as any operator which, given two permutations x and y , returns a permutation z = AXG( x,y ) such that 𝑨 ∈ [𝑦, 𝑧] 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 14

  15. A property on pairwise precedences of items β€’ z = AXG( x , y ) β€’ AXG is precedence-respectful: z contains all the common precedences between x and y β€’ AXG transmits precedences: all the common precedences of z come from x or y (no new precedence is generated) 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 15

  16. How to compute AXG? β€’ Ideally: β€’ 𝑨 = 𝑦 βŠ• 𝑏 βŠ™ (𝑧 βŠ– 𝑦) , with 𝑏 ∈ [0,1] β€’ Different strategies basing on the value of a and the βŠ™ computation strategy β€’ Practically: β€’ We enumerate all the permutations in a shortest path from x to y by running RandBS (R) or GreedyBS (G) on 𝑧 βŠ– 𝑦 β€’ We select one permutation in the path: a random one (R), the middle one (T), the best one (B) β€’ 6 different implementations: β€’ AXG-RR, AXG-RT, AXG-RB β€’ AXG-GR, AXG-GT, AXG-GB 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 16

  17. The partial order βŠ‘ is a Lattice β€’ Meet: 𝑨 = 𝑦 ∧ 𝑧 iff 1. 𝑨 βŠ‘ 𝑦 and 𝑨 βŠ‘ 𝑧 2. z is the Β«longestΒ» permutation with prop.1 β€’ Join: 𝑨 = 𝑦 ∨ 𝑧 iff 1. 𝑦 βŠ‘ 𝑨 and 𝑧 βŠ‘ 𝑨 2. z is the Β«shortestΒ» permutation with prop.1 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 17

  18. Meet and Join as Crossover Operators AXL-Join exploits the Β«De MorganΒ»-like property: 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 18

  19. Hybrid Algebraic Crossovers β€’ Let AXG be any group-based algebraic crossover β€’ Let m = AXL-Meet( x,y ) β€’ Let j = AXL-Join( x,y ) β€’ An hybrid algebraic crossover AXH is defined as AXH( x , y ) := AXG( m,j ) β€’ 6 hybrid alg. crossovers: one for each AXG crossover 11 Jul 2018 - WCCI 2018 - Rio de Janeiro (Brasil) Algebraic Crossover Operators for Permutations - V. Santucci, M. Baioletti, A. Milani 19

Recommend


More recommend