SlideShare a Scribd company logo
1 of 16
Download to read offline
Harmony Search アルゴリズムの
          研究状況
       複雑系工学講座
      調和系工学研究室
         早坂 透
Harmony Search(HS) アルゴリズム
• 遺伝的アルゴリズム(GA)に類似しているメタ・ヒューリスティックア
  ルゴリズム[Zong woo Geem et al., 2001]
• 近年注目が集まっており様々な分野において応用




      HSアルゴリズムに関する論文の                     HSアルゴリズムの実世界における
           発行数の推移                                 適用

出典:Gordon Ingram and Tonghua Zhang : Overview of Applications and
Developments in the Harmony Search Algorithm
他の手法との比較[Zong woo Geem 01]
• あああ
HSアルゴリズムとSteady-state GA[1]
              x1                  HMCR(Harmony Memory Cosidering Rate)
              2 
              x                             交叉する確率
              .            確率HMCR             PAR(Pitch Adjusting Rate)
              xi                                  x
                                                   突然変異の確率
       HM   . 
(Harmony memory) j 
             
     集団個体
              x 
                    
              .                         確率1-PAR                確率PAR
              x HMS 
                    


                           評価値の計算                        x'
Harmony Memory Size                                  確率( 1-HMCR)
      個体数                                                     randomization

出典:[1]Manuel Lozano , Francisco Herrera , Jose Ramon Cano : Replacement
strategies to preserve useful diversity in steady-state genetic algorithm ,
information sciences 178 (2008) 4421-4433
TSPにおけるHSアルゴリズムの応用
             従来研究                       問題点
                                  • 交叉の方法が不明
                                  • 都市数があまりに小規模




• 20都市問題
• 30試行中17回が最適解(117)

出典:A new heuristic Optimization
 Algorithm: Harmony
 Search(SIMULATION2001 76:60)
目的
より都市数の大きいTSP
 に対するHSの適用
調査対象
   下記に対してHSを適用

st70の巡回セールスマン問題(TSP)




      最適解:675
EAX(Edge Assembly Crossover
                (枝組み立て交叉))
1           2   1           2                 1     2
                                                                 STEP3
3           4   3           4   STEP1         3     4

5           6   5           6                                5       6

    tourA           tourB
                                                   1     2
1           2               2
                                                   3     4        STEP4
3           4       3           STEP2              5     6

5           6       5       6    出典:高橋 良英:巡回セールスマン問題を解く
                                 枝組み立て交叉(Edge Assembl Crossover)の拡
                                 張遺伝子交叉オペレータ交代法による性能改
ABcycle1        ABcycle2         善,The bulletin of Hachinohe Institute of
                                 Technology 27, 81-96, 2008-02-29
実験におけるパラメータ設定
   HMS     10, 50, 100, 150, 200
  個体数

   HMCR    0.15, 0.30, 0.50, 0.70, 0.85
 交叉する確率

   PAR     0
突然変異する確率

 探索回数      5000
実験結果
         最適解:     675
         得られた解:   677




        個体数                  交叉
パラメータ設定によっては誤差が1%以下の解を得ることができた
考察
• HMS(個体数)が小さいと、EAXによって生成する
  似た個体が増え、得られる解の収束が早まる
• HMCR(交叉する確率)の値が小さいとランダム
  探索になり、最適解に近づかない
まとめ
• 70都市のTSPに対して、適切なパラメータの場
  合HSアルゴリズムを適用して最適解と誤差
  1%精度で解が得られた
HSアルゴリズム
          x1  ソート
          2                        新しい解(HMV)の生成
          x 
          . 
   HM   i       選択     w.p.HMCR                     w.p.(1-HMCR)
(Harmony 
           x
Memory)    . 
                                     xi             ランダムに生成
         x 
         
           HMS
               
                                          w.p.PAR
                              微調整xi’
              挿入         (数値探索ヒューリスティック)
 HMのサイズ



                                               HMV


              f(HMV)とf(xHMS)の比較
本研究でTSPに用いるHSアルゴリズム
          x1  ソート
          2 
          x                          新しい解(HMV)の生成
          .       選択      w.p.HMCR               w.p.(1-HMCR)
          x  i 
   HM   .                           EAX
(Harmony                                     ランダムに生成
Memory)  x k 
                
          . 
          x HMS 
                




                                             HMV

                   f(HMV)とf(xHMS)
                       の比較
HSアルゴリズムとSteady-state GA[1]
       HSアルゴリズム                                Steady-state GA
            HMS
    (Harmony Memory Size)                          Population


            HMCR                                    Replacement
(Harmony Memory Considering Rate)


              任意                                    CrossOver


              PAR

      出典:[1]Manuel Lozano , Francisco Herrera , Jose Ramon
      Cano : Replacement strategies to preserve useful diversity in
      steady-state genetic algorithm , information sciences 178
      (2008) 4421-4433

More Related Content

More from harmonylab

DLゼミ: MobileOne: An Improved One millisecond Mobile Backbone
DLゼミ: MobileOne: An Improved One millisecond Mobile BackboneDLゼミ: MobileOne: An Improved One millisecond Mobile Backbone
DLゼミ: MobileOne: An Improved One millisecond Mobile Backboneharmonylab
 
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Models
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat ModelsDLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Models
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Modelsharmonylab
 
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose EstimationDLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimationharmonylab
 
Voyager: An Open-Ended Embodied Agent with Large Language Models
Voyager: An Open-Ended Embodied Agent with Large Language ModelsVoyager: An Open-Ended Embodied Agent with Large Language Models
Voyager: An Open-Ended Embodied Agent with Large Language Modelsharmonylab
 
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimation
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose EstimationDLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimation
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimationharmonylab
 
ReAct: Synergizing Reasoning and Acting in Language Models
ReAct: Synergizing Reasoning and Acting in Language ModelsReAct: Synergizing Reasoning and Acting in Language Models
ReAct: Synergizing Reasoning and Acting in Language Modelsharmonylab
 
形態素解析を用いた帝国議会議事速記録の変遷に関する研究
形態素解析を用いた帝国議会議事速記録の変遷に関する研究形態素解析を用いた帝国議会議事速記録の変遷に関する研究
形態素解析を用いた帝国議会議事速記録の変遷に関する研究harmonylab
 
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究harmonylab
 
灯油タンク内の液面高計測を用いた 灯油残量推定システムに関する研究
灯油タンク内の液面高計測を用いた灯油残量推定システムに関する研究灯油タンク内の液面高計測を用いた灯油残量推定システムに関する研究
灯油タンク内の液面高計測を用いた 灯油残量推定システムに関する研究harmonylab
 
深層自己回帰モデルを用いた俳句の生成と評価に関する研究
深層自己回帰モデルを用いた俳句の生成と評価に関する研究深層自己回帰モデルを用いた俳句の生成と評価に関する研究
深層自己回帰モデルを用いた俳句の生成と評価に関する研究harmonylab
 
競輪におけるレーティングシステムを用いた予想記事生成に関する研究
競輪におけるレーティングシステムを用いた予想記事生成に関する研究競輪におけるレーティングシステムを用いた予想記事生成に関する研究
競輪におけるレーティングシステムを用いた予想記事生成に関する研究harmonylab
 
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究harmonylab
 
A Study on Estimation of Household Kerosene Consumption for Optimization of D...
A Study on Estimation of Household Kerosene Consumption for Optimization of D...A Study on Estimation of Household Kerosene Consumption for Optimization of D...
A Study on Estimation of Household Kerosene Consumption for Optimization of D...harmonylab
 
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究harmonylab
 
A Study on Generation of Deformed Route Maps using Octilinear Grid
A Study on Generation of Deformed Route Maps using Octilinear GridA Study on Generation of Deformed Route Maps using Octilinear Grid
A Study on Generation of Deformed Route Maps using Octilinear Gridharmonylab
 
A Study on the Generation of Clothing Captions Highlighting the Differences b...
A Study on the Generation of Clothing Captions Highlighting the Differences b...A Study on the Generation of Clothing Captions Highlighting the Differences b...
A Study on the Generation of Clothing Captions Highlighting the Differences b...harmonylab
 
A Study on Clothing Recommendation Information Presentation System Based on C...
A Study on Clothing Recommendation Information Presentation System Based on C...A Study on Clothing Recommendation Information Presentation System Based on C...
A Study on Clothing Recommendation Information Presentation System Based on C...harmonylab
 
深層学習を用いたバス乗客画像の属性推定 に関する研究
深層学習を用いたバス乗客画像の属性推定 に関する研究深層学習を用いたバス乗客画像の属性推定 に関する研究
深層学習を用いたバス乗客画像の属性推定 に関する研究harmonylab
 
Emotionally Intelligent Fashion Design Using CNN and GAN
Emotionally Intelligent Fashion Design Using CNN and GANEmotionally Intelligent Fashion Design Using CNN and GAN
Emotionally Intelligent Fashion Design Using CNN and GANharmonylab
 
Towards Total Recall in Industrial Anomaly Detection
Towards Total Recall in Industrial Anomaly DetectionTowards Total Recall in Industrial Anomaly Detection
Towards Total Recall in Industrial Anomaly Detectionharmonylab
 

More from harmonylab (20)

DLゼミ: MobileOne: An Improved One millisecond Mobile Backbone
DLゼミ: MobileOne: An Improved One millisecond Mobile BackboneDLゼミ: MobileOne: An Improved One millisecond Mobile Backbone
DLゼミ: MobileOne: An Improved One millisecond Mobile Backbone
 
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Models
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat ModelsDLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Models
DLゼミ: Llama 2: Open Foundation and Fine-Tuned Chat Models
 
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose EstimationDLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
DLゼミ: ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
 
Voyager: An Open-Ended Embodied Agent with Large Language Models
Voyager: An Open-Ended Embodied Agent with Large Language ModelsVoyager: An Open-Ended Embodied Agent with Large Language Models
Voyager: An Open-Ended Embodied Agent with Large Language Models
 
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimation
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose EstimationDLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimation
DLゼミ: Ego-Body Pose Estimation via Ego-Head Pose Estimation
 
ReAct: Synergizing Reasoning and Acting in Language Models
ReAct: Synergizing Reasoning and Acting in Language ModelsReAct: Synergizing Reasoning and Acting in Language Models
ReAct: Synergizing Reasoning and Acting in Language Models
 
形態素解析を用いた帝国議会議事速記録の変遷に関する研究
形態素解析を用いた帝国議会議事速記録の変遷に関する研究形態素解析を用いた帝国議会議事速記録の変遷に関する研究
形態素解析を用いた帝国議会議事速記録の変遷に関する研究
 
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究
【卒業論文】深層生成モデルを用いたユーザ意図に基づく衣服画像の生成に関する研究
 
灯油タンク内の液面高計測を用いた 灯油残量推定システムに関する研究
灯油タンク内の液面高計測を用いた灯油残量推定システムに関する研究灯油タンク内の液面高計測を用いた灯油残量推定システムに関する研究
灯油タンク内の液面高計測を用いた 灯油残量推定システムに関する研究
 
深層自己回帰モデルを用いた俳句の生成と評価に関する研究
深層自己回帰モデルを用いた俳句の生成と評価に関する研究深層自己回帰モデルを用いた俳句の生成と評価に関する研究
深層自己回帰モデルを用いた俳句の生成と評価に関する研究
 
競輪におけるレーティングシステムを用いた予想記事生成に関する研究
競輪におけるレーティングシステムを用いた予想記事生成に関する研究競輪におけるレーティングシステムを用いた予想記事生成に関する研究
競輪におけるレーティングシステムを用いた予想記事生成に関する研究
 
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究
【卒業論文】B2Bオークションにおけるユーザ別 入札行動予測に関する研究
 
A Study on Estimation of Household Kerosene Consumption for Optimization of D...
A Study on Estimation of Household Kerosene Consumption for Optimization of D...A Study on Estimation of Household Kerosene Consumption for Optimization of D...
A Study on Estimation of Household Kerosene Consumption for Optimization of D...
 
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究
マルチエージェント深層強化学習による自動運転車両の追越行動の獲得に関する研究
 
A Study on Generation of Deformed Route Maps using Octilinear Grid
A Study on Generation of Deformed Route Maps using Octilinear GridA Study on Generation of Deformed Route Maps using Octilinear Grid
A Study on Generation of Deformed Route Maps using Octilinear Grid
 
A Study on the Generation of Clothing Captions Highlighting the Differences b...
A Study on the Generation of Clothing Captions Highlighting the Differences b...A Study on the Generation of Clothing Captions Highlighting the Differences b...
A Study on the Generation of Clothing Captions Highlighting the Differences b...
 
A Study on Clothing Recommendation Information Presentation System Based on C...
A Study on Clothing Recommendation Information Presentation System Based on C...A Study on Clothing Recommendation Information Presentation System Based on C...
A Study on Clothing Recommendation Information Presentation System Based on C...
 
深層学習を用いたバス乗客画像の属性推定 に関する研究
深層学習を用いたバス乗客画像の属性推定 に関する研究深層学習を用いたバス乗客画像の属性推定 に関する研究
深層学習を用いたバス乗客画像の属性推定 に関する研究
 
Emotionally Intelligent Fashion Design Using CNN and GAN
Emotionally Intelligent Fashion Design Using CNN and GANEmotionally Intelligent Fashion Design Using CNN and GAN
Emotionally Intelligent Fashion Design Using CNN and GAN
 
Towards Total Recall in Industrial Anomaly Detection
Towards Total Recall in Industrial Anomaly DetectionTowards Total Recall in Industrial Anomaly Detection
Towards Total Recall in Industrial Anomaly Detection
 

Hayasaka b

  • 1. Harmony Search アルゴリズムの 研究状況 複雑系工学講座 調和系工学研究室 早坂 透
  • 2. Harmony Search(HS) アルゴリズム • 遺伝的アルゴリズム(GA)に類似しているメタ・ヒューリスティックア ルゴリズム[Zong woo Geem et al., 2001] • 近年注目が集まっており様々な分野において応用 HSアルゴリズムに関する論文の HSアルゴリズムの実世界における 発行数の推移 適用 出典:Gordon Ingram and Tonghua Zhang : Overview of Applications and Developments in the Harmony Search Algorithm
  • 4. HSアルゴリズムとSteady-state GA[1]  x1  HMCR(Harmony Memory Cosidering Rate)  2   x  交叉する確率  .  確率HMCR PAR(Pitch Adjusting Rate)  xi  x 突然変異の確率 HM   .  (Harmony memory) j   集団個体  x     .  確率1-PAR 確率PAR  x HMS    評価値の計算 x' Harmony Memory Size 確率( 1-HMCR) 個体数 randomization 出典:[1]Manuel Lozano , Francisco Herrera , Jose Ramon Cano : Replacement strategies to preserve useful diversity in steady-state genetic algorithm , information sciences 178 (2008) 4421-4433
  • 5. TSPにおけるHSアルゴリズムの応用 従来研究 問題点 • 交叉の方法が不明 • 都市数があまりに小規模 • 20都市問題 • 30試行中17回が最適解(117) 出典:A new heuristic Optimization Algorithm: Harmony Search(SIMULATION2001 76:60)
  • 7. 調査対象 下記に対してHSを適用 st70の巡回セールスマン問題(TSP) 最適解:675
  • 8. EAX(Edge Assembly Crossover (枝組み立て交叉)) 1 2 1 2 1 2 STEP3 3 4 3 4 STEP1 3 4 5 6 5 6 5 6 tourA tourB 1 2 1 2 2 3 4 STEP4 3 4 3 STEP2 5 6 5 6 5 6 出典:高橋 良英:巡回セールスマン問題を解く 枝組み立て交叉(Edge Assembl Crossover)の拡 張遺伝子交叉オペレータ交代法による性能改 ABcycle1 ABcycle2 善,The bulletin of Hachinohe Institute of Technology 27, 81-96, 2008-02-29
  • 9. 実験におけるパラメータ設定 HMS 10, 50, 100, 150, 200 個体数 HMCR 0.15, 0.30, 0.50, 0.70, 0.85 交叉する確率 PAR 0 突然変異する確率 探索回数 5000
  • 10. 実験結果 最適解: 675 得られた解: 677 個体数 交叉 パラメータ設定によっては誤差が1%以下の解を得ることができた
  • 11. 考察 • HMS(個体数)が小さいと、EAXによって生成する 似た個体が増え、得られる解の収束が早まる • HMCR(交叉する確率)の値が小さいとランダム 探索になり、最適解に近づかない
  • 12. まとめ • 70都市のTSPに対して、適切なパラメータの場 合HSアルゴリズムを適用して最適解と誤差 1%精度で解が得られた
  • 13.
  • 14. HSアルゴリズム  x1  ソート  2  新しい解(HMV)の生成  x   .  HM   i  選択 w.p.HMCR w.p.(1-HMCR) (Harmony  x Memory)  .  xi ランダムに生成 x   HMS  w.p.PAR 微調整xi’ 挿入 (数値探索ヒューリスティック) HMのサイズ HMV f(HMV)とf(xHMS)の比較
  • 15. 本研究でTSPに用いるHSアルゴリズム  x1  ソート  2   x  新しい解(HMV)の生成  .  選択 w.p.HMCR w.p.(1-HMCR)  x i  HM   .  EAX (Harmony   ランダムに生成 Memory)  x k     .   x HMS    HMV f(HMV)とf(xHMS) の比較
  • 16. HSアルゴリズムとSteady-state GA[1] HSアルゴリズム Steady-state GA HMS (Harmony Memory Size) Population HMCR Replacement (Harmony Memory Considering Rate) 任意 CrossOver PAR 出典:[1]Manuel Lozano , Francisco Herrera , Jose Ramon Cano : Replacement strategies to preserve useful diversity in steady-state genetic algorithm , information sciences 178 (2008) 4421-4433