SlideShare uma empresa Scribd logo
1 de 24
Dealing with Noisy Fitness in the Design of a RTS Game Bot
A.M. Mora , A. Fernández-Ares, J.J. Merelo,
P. García-Sánchez, y C.M. Fernandes
Index

Problem description
Baseline: GoogleBot
First Bot: AresBot
GeneBot
Experiments
Noise fitness study
Conclusions
Introduction

Google AI Challenge 2010.
 Design a bot that can play to:
   Planet Wars
Simple view of Planet Wars Game
Problem Description
         Actual                          List of
                           Bot
         State                           actions

Restrictions
  RTS->Real time strategy with pseudo-turns
     1 turn = 1 second
  Forbidden use of memory between turns.
  Actual state: planets and fleets.
  List of Actions: un simple file text witch the movement of
  fleets from a planets belongs to player and another planet.
Baseline: GoogleBot
  It was include in the Initial Kit of the contest


  How it works?
    Choose the BASE planet (the one with most of its starship)
    Choose the TARGET planet (calculating the ratio between the grow
    rate and the number of ships)

    It wastes the rest of time until the attack has finished
First Bot: AresBot

For each turn:
 Choose the BASE planet (the one with most starships). The
 rest of planet are called COLONIES.
 Choose the TARGET (who are not already being attacked):
    EXPANSION: if TARGET is neutral.
    CONQUEST: if TARGET belongs to enemy.

 Extra actions for each COLONY:
    TITHE?
    SUPPORT ATTACK?
Diagram of states
Parameters of AresBot

titheperc: percentage of fleets (of the stored) that
COLONIE sent to the BASE.
titheprob: probability of the TITHE for each COLONIE.
ωNS−DIS: weight of the number of starship hosted at the
planet and the distance form the BASE to the TARGET
(it’s used to the score function of target planet).

 ωGR: weight of the planet growth rate (it’s used to the score
function of target planet).
Parameters of AresBot II

poolperc: proportion of extra starships that the bot sends
from the base planet to the target planet.
supportperc: percentage of extra starships that the bot
sends from each COLONIE to TARGET.
supportprob: probability of sending extra fleets from one
COLONIE to TARGET (if COLONIE is closer to the TARGET than
BASE are).
Operation “GeneBot”

Using intergalactic techniques (GA) improves AresBot
to create the powerful Genebot.
 Gen: array of parameters (standardized values)
 2-Tournament
 BLX-alpha crossover
 Re-evaluation
Fitness


For each “bot” fight against the GoogleBot in 5
characteristic maps.
One bot is better than other if:
  Wins in more maps.
  Needs less turns, in case of tie.
Noise Fitness Study
                      Unpromising Bot
                     Fitness assigned on first execution: 2057
          3005



          2505



          2005
fitness




          1505



          1005



          505



            5
                 0         10         20         30         40        50        60        70   80   90   100
                                                                 Evaluation #
                                             Wins in 5 maps      Loses on any of the 5 maps
Noise Fitness Study II
                      Promising Bot
                     Fitness assigned on firts execution: 578
          3005



          2505



          2005
fitness




          1505



          1005



          505



            5
                 0             10          20          30       40        50        60        70   80   90   100
                                                                     Evaluation #
                                                   Wins in 5 maps    Loses on any of the 5 maps
Experiments
Num. Generations: 100
Num. Individuals: 200
Crossover prob: 0.6
α : 0.5
Mutation prob: 0.02
Replacement Policy: 2-elitims
Experiments II
        Each single “evaluation” takes 40 seconds.

40 seconds * 200 * 100 ≈ 9.25 days of execution

•   SOLUTION → Parallel algorithm
    •    N evaluation at same time. (N = 4 in experiments)
•   Make 15 executions, getting 15 “best bots”.
Experiments III
                                      GA
                                   Evaluation
             Bot                  Bot                   Bot             Bot




     Fitness               Fitness                     Fitness                Fitness



     Simulator             Simulator                   Simulator              Simulator



GoogleBot   GeneBot   GoogleBot         GeneBot   GoogleBot   GeneBot   GoogleBot    GeneBot
Results
                                             Relationship of fitness of best individual of each execution
                           900

                                                                                   857
                           800


                           700
                                                                                                                  687
Fitness (less is better)




                           600
                                                                                                     590
                                 559
                           500         527     531         528   528   540               525   528                      525

                                                     458                                                    470
                           400                                               425

                           300


                           200


                           100


                             0
                                 E01   E02     E03   E04   E05   E06   E07   E08   E09   E10   E11   E12    E13   E14   E15
                                                                         Executions
Results II
                                                     Relationship of the best bot wins each execution
                                 100%
                                                                98%         98%   99%   98%                           98%
                                 90%                                                          94%
                                        90%                                                         91%         90%
                                                                                                          89%
                                                    87%
                                                                      85%                                                   84%
                                 80%          82%         83%
Winning percentage in 100 maps




                                 70%

                                 60%

                                 50%

                                 40%

                                 30%

                                 20%

                                 10%

                                  0%
                                        E01   E02   E03   E04   E05   E06   E07   E08   E09   E10   E11   E12   E13   E14   E15
Results III

          titheperc   titheprob   ωNS−DIS     ωGR     poolperc   supportperc   supportprob



AresBot     0,1         0,5         1         1        0,25         0,5           0,9


GeneBot   0,0179      0,00823     0,50954   0,23273   0,73321    0,58946       0,97405


Average   0,17386     0,09702     0,47252   0,36409   0,65732    0,59987       0,59987
Result IV
                                                                 Fitness Evolution
                             700
                                                                                                        Average

                             650                                                                        Best execution

                                                                                                        The best of all
                                                                                                        executions
Aggregated number of turns




                             600



                             550



                             500



                             450



                             400



                             350
                                   G0   G5 G10 G15 G20 G25 G30 G35 G40 G45 G50 G55 G60 G65 G70 G75 G80 G85 G90 G95 G100
Conclusions and future work
The First Genebot finished in the 1454th position in the contest (36%), but
it had executed just once (with less individuals and generations).

Genebot wins 99% of battle versus AresBot

Our fitness is a good measure of the bot.
To DO:
   Distributed algorithm.
   Multi-objective.
   Co-evolution.
   Recognition of environment and specialist bots
   Macro and micro evolution…
Thanks for your time…
Any question?

Mais conteúdo relacionado

Semelhante a DEALING WITH NOISY FITNESS IN A RTS GAME BOT DESIGN

SPICE MODEL of 1SS393 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS393 (Standard Model) in SPICE PARKSPICE MODEL of 1SS393 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS393 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARK
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARKSPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARK
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of CMS16 (Standard Model) in SPICE PARK
SPICE MODEL of CMS16 (Standard Model) in SPICE PARKSPICE MODEL of CMS16 (Standard Model) in SPICE PARK
SPICE MODEL of CMS16 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
Monte carlo simulation for energy risk management
Monte carlo simulation for energy risk managementMonte carlo simulation for energy risk management
Monte carlo simulation for energy risk managementScott Nelson
 
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARK
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARKSPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARK
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
Work Experience - RedPrairie, Presentation and Analysis
Work Experience - RedPrairie, Presentation and AnalysisWork Experience - RedPrairie, Presentation and Analysis
Work Experience - RedPrairie, Presentation and Analysiszmyers19
 
SPICE MODEL of CMS11 (Standard Model) in SPICE PARK
SPICE MODEL of CMS11 (Standard Model) in SPICE PARKSPICE MODEL of CMS11 (Standard Model) in SPICE PARK
SPICE MODEL of CMS11 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARK
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARKSPICE MODEL of DE10SC4 (Standard Model) in SPICE PARK
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castrodcastro020
 
FFC RI Embraer Day 2012
FFC RI Embraer Day 2012FFC RI Embraer Day 2012
FFC RI Embraer Day 2012Embraer RI
 
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARKSPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARKTsuyoshi Horigome
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castrodcastro020
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castrodcastro020
 
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARKSPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARKTsuyoshi Horigome
 
Apresentação Institucional RI - Maio 2012
Apresentação Institucional RI - Maio 2012Apresentação Institucional RI - Maio 2012
Apresentação Institucional RI - Maio 2012Embraer RI
 
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARK
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARKSPICE MODEL of DF10SC9 (Standard Model) in SPICE PARK
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARK
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARKSPICE MODEL of S25SC6M (Standard Model) in SPICE PARK
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARKTsuyoshi Horigome
 
Financial analysis of Volvo
Financial analysis of VolvoFinancial analysis of Volvo
Financial analysis of VolvoSteffi DeVilder
 

Semelhante a DEALING WITH NOISY FITNESS IN A RTS GAME BOT DESIGN (20)

SPICE MODEL of 1SS393 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS393 (Standard Model) in SPICE PARKSPICE MODEL of 1SS393 (Standard Model) in SPICE PARK
SPICE MODEL of 1SS393 (Standard Model) in SPICE PARK
 
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARK
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARKSPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARK
SPICE MODEL of DE5SC3ML (Standard Model) in SPICE PARK
 
SPICE MODEL of CMS16 (Standard Model) in SPICE PARK
SPICE MODEL of CMS16 (Standard Model) in SPICE PARKSPICE MODEL of CMS16 (Standard Model) in SPICE PARK
SPICE MODEL of CMS16 (Standard Model) in SPICE PARK
 
Monte carlo simulation for energy risk management
Monte carlo simulation for energy risk managementMonte carlo simulation for energy risk management
Monte carlo simulation for energy risk management
 
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARK
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARKSPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARK
SPICE MODEL of GSQ05A06 (Standard Model) in SPICE PARK
 
Work Experience - RedPrairie, Presentation and Analysis
Work Experience - RedPrairie, Presentation and AnalysisWork Experience - RedPrairie, Presentation and Analysis
Work Experience - RedPrairie, Presentation and Analysis
 
SPICE MODEL of CMS11 (Standard Model) in SPICE PARK
SPICE MODEL of CMS11 (Standard Model) in SPICE PARKSPICE MODEL of CMS11 (Standard Model) in SPICE PARK
SPICE MODEL of CMS11 (Standard Model) in SPICE PARK
 
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARK
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARKSPICE MODEL of DE10SC4 (Standard Model) in SPICE PARK
SPICE MODEL of DE10SC4 (Standard Model) in SPICE PARK
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castro
 
FFC RI Embraer Day 2012
FFC RI Embraer Day 2012FFC RI Embraer Day 2012
FFC RI Embraer Day 2012
 
Slide 1
Slide 1Slide 1
Slide 1
 
Bonne Van Dam - Tendències del mercat i de la producció del sector carni porc...
Bonne Van Dam - Tendències del mercat i de la producció del sector carni porc...Bonne Van Dam - Tendències del mercat i de la producció del sector carni porc...
Bonne Van Dam - Tendències del mercat i de la producció del sector carni porc...
 
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARKSPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDP LTspice Model) in SPICE PARK
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castro
 
Power point daisy castro
Power point daisy castroPower point daisy castro
Power point daisy castro
 
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARKSPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARK
SPICE MODEL of GT20J321 (Professional+FWDS LTspice Model) in SPICE PARK
 
Apresentação Institucional RI - Maio 2012
Apresentação Institucional RI - Maio 2012Apresentação Institucional RI - Maio 2012
Apresentação Institucional RI - Maio 2012
 
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARK
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARKSPICE MODEL of DF10SC9 (Standard Model) in SPICE PARK
SPICE MODEL of DF10SC9 (Standard Model) in SPICE PARK
 
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARK
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARKSPICE MODEL of S25SC6M (Standard Model) in SPICE PARK
SPICE MODEL of S25SC6M (Standard Model) in SPICE PARK
 
Financial analysis of Volvo
Financial analysis of VolvoFinancial analysis of Volvo
Financial analysis of Volvo
 

Mais de Antonio Fernández Ares

Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...
Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...
Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...Antonio Fernández Ares
 
Zomblind - Presentación de la final del CUSL
Zomblind - Presentación de la final del CUSLZomblind - Presentación de la final del CUSL
Zomblind - Presentación de la final del CUSLAntonio Fernández Ares
 
Adaptative bots for real time strategy game via map characterization
Adaptative bots for real time strategy game via map characterization Adaptative bots for real time strategy game via map characterization
Adaptative bots for real time strategy game via map characterization Antonio Fernández Ares
 
Evolución de IAs Reactivas en el Marco de los RTS
Evolución de IAs Reactivas en el Marco de los RTSEvolución de IAs Reactivas en el Marco de los RTS
Evolución de IAs Reactivas en el Marco de los RTSAntonio Fernández Ares
 

Mais de Antonio Fernández Ares (7)

Evo 2015 - it's time to stop
Evo  2015 - it's time to stopEvo  2015 - it's time to stop
Evo 2015 - it's time to stop
 
Maeb2015 - GPBot
Maeb2015   - GPBotMaeb2015   - GPBot
Maeb2015 - GPBot
 
Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...
Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...
Presentación TFM - Big Data en la predicción del estado del tráfico. Difusión...
 
Zomblind - Presentación de la final del CUSL
Zomblind - Presentación de la final del CUSLZomblind - Presentación de la final del CUSL
Zomblind - Presentación de la final del CUSL
 
Adaptative bots for real time strategy game via map characterization
Adaptative bots for real time strategy game via map characterization Adaptative bots for real time strategy game via map characterization
Adaptative bots for real time strategy game via map characterization
 
Evolución de IAs Reactivas en el Marco de los RTS
Evolución de IAs Reactivas en el Marco de los RTSEvolución de IAs Reactivas en el Marco de los RTS
Evolución de IAs Reactivas en el Marco de los RTS
 
Sql v snosql
Sql v snosqlSql v snosql
Sql v snosql
 

Último

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Último (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

DEALING WITH NOISY FITNESS IN A RTS GAME BOT DESIGN

  • 1. Dealing with Noisy Fitness in the Design of a RTS Game Bot A.M. Mora , A. Fernández-Ares, J.J. Merelo, P. García-Sánchez, y C.M. Fernandes
  • 2. Index Problem description Baseline: GoogleBot First Bot: AresBot GeneBot Experiments Noise fitness study Conclusions
  • 3. Introduction Google AI Challenge 2010. Design a bot that can play to: Planet Wars
  • 4.
  • 5. Simple view of Planet Wars Game
  • 6. Problem Description Actual List of Bot State actions Restrictions RTS->Real time strategy with pseudo-turns 1 turn = 1 second Forbidden use of memory between turns. Actual state: planets and fleets. List of Actions: un simple file text witch the movement of fleets from a planets belongs to player and another planet.
  • 7. Baseline: GoogleBot It was include in the Initial Kit of the contest How it works? Choose the BASE planet (the one with most of its starship) Choose the TARGET planet (calculating the ratio between the grow rate and the number of ships) It wastes the rest of time until the attack has finished
  • 8. First Bot: AresBot For each turn: Choose the BASE planet (the one with most starships). The rest of planet are called COLONIES. Choose the TARGET (who are not already being attacked): EXPANSION: if TARGET is neutral. CONQUEST: if TARGET belongs to enemy. Extra actions for each COLONY: TITHE? SUPPORT ATTACK?
  • 10. Parameters of AresBot titheperc: percentage of fleets (of the stored) that COLONIE sent to the BASE. titheprob: probability of the TITHE for each COLONIE. ωNS−DIS: weight of the number of starship hosted at the planet and the distance form the BASE to the TARGET (it’s used to the score function of target planet). ωGR: weight of the planet growth rate (it’s used to the score function of target planet).
  • 11. Parameters of AresBot II poolperc: proportion of extra starships that the bot sends from the base planet to the target planet. supportperc: percentage of extra starships that the bot sends from each COLONIE to TARGET. supportprob: probability of sending extra fleets from one COLONIE to TARGET (if COLONIE is closer to the TARGET than BASE are).
  • 12. Operation “GeneBot” Using intergalactic techniques (GA) improves AresBot to create the powerful Genebot. Gen: array of parameters (standardized values) 2-Tournament BLX-alpha crossover Re-evaluation
  • 13. Fitness For each “bot” fight against the GoogleBot in 5 characteristic maps. One bot is better than other if: Wins in more maps. Needs less turns, in case of tie.
  • 14. Noise Fitness Study Unpromising Bot Fitness assigned on first execution: 2057 3005 2505 2005 fitness 1505 1005 505 5 0 10 20 30 40 50 60 70 80 90 100 Evaluation # Wins in 5 maps Loses on any of the 5 maps
  • 15. Noise Fitness Study II Promising Bot Fitness assigned on firts execution: 578 3005 2505 2005 fitness 1505 1005 505 5 0 10 20 30 40 50 60 70 80 90 100 Evaluation # Wins in 5 maps Loses on any of the 5 maps
  • 16. Experiments Num. Generations: 100 Num. Individuals: 200 Crossover prob: 0.6 α : 0.5 Mutation prob: 0.02 Replacement Policy: 2-elitims
  • 17. Experiments II Each single “evaluation” takes 40 seconds. 40 seconds * 200 * 100 ≈ 9.25 days of execution • SOLUTION → Parallel algorithm • N evaluation at same time. (N = 4 in experiments) • Make 15 executions, getting 15 “best bots”.
  • 18. Experiments III GA Evaluation Bot Bot Bot Bot Fitness Fitness Fitness Fitness Simulator Simulator Simulator Simulator GoogleBot GeneBot GoogleBot GeneBot GoogleBot GeneBot GoogleBot GeneBot
  • 19. Results Relationship of fitness of best individual of each execution 900 857 800 700 687 Fitness (less is better) 600 590 559 500 527 531 528 528 540 525 528 525 458 470 400 425 300 200 100 0 E01 E02 E03 E04 E05 E06 E07 E08 E09 E10 E11 E12 E13 E14 E15 Executions
  • 20. Results II Relationship of the best bot wins each execution 100% 98% 98% 99% 98% 98% 90% 94% 90% 91% 90% 89% 87% 85% 84% 80% 82% 83% Winning percentage in 100 maps 70% 60% 50% 40% 30% 20% 10% 0% E01 E02 E03 E04 E05 E06 E07 E08 E09 E10 E11 E12 E13 E14 E15
  • 21. Results III titheperc titheprob ωNS−DIS ωGR poolperc supportperc supportprob AresBot 0,1 0,5 1 1 0,25 0,5 0,9 GeneBot 0,0179 0,00823 0,50954 0,23273 0,73321 0,58946 0,97405 Average 0,17386 0,09702 0,47252 0,36409 0,65732 0,59987 0,59987
  • 22. Result IV Fitness Evolution 700 Average 650 Best execution The best of all executions Aggregated number of turns 600 550 500 450 400 350 G0 G5 G10 G15 G20 G25 G30 G35 G40 G45 G50 G55 G60 G65 G70 G75 G80 G85 G90 G95 G100
  • 23. Conclusions and future work The First Genebot finished in the 1454th position in the contest (36%), but it had executed just once (with less individuals and generations). Genebot wins 99% of battle versus AresBot Our fitness is a good measure of the bot. To DO: Distributed algorithm. Multi-objective. Co-evolution. Recognition of environment and specialist bots Macro and micro evolution…
  • 24. Thanks for your time… Any question?