<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>International Workshop on Intelligent Software Engineering, December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Hyperparameter Optimization Technique in Autonomous Racing Cars exploiting the Leaky Piece and Conquer Fireworks Algorithm</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>MyeongJun Kim</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gun-Woo Kim</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science, Gyeongsang National University</institution>
          ,
          <addr-line>Jinju</addr-line>
          ,
          <country>Republic of Korea</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>4</volume>
      <issue>2023</issue>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>This paper discusses hyperparameter optimization within existing autonomous driving algorithms used in autonomous racing competitions. Existing autonomous driving algorithms vary significantly in performance depending on the setting of hyperparameters, making it important to find the right hyperparameter. To address these issues, we propose the Leaky Piece and Conquer Fireworks method, which improves the eficiency of hyperparameter optimization. Experimental results indicate that, on average, the general Fireworks algorithm is approximately 35.5 times faster than Random Search. Furthermore, the Piece and Conquer Fireworks algorithm and the Leaky Piece and Conquer Fireworks algorithm are about 69.9 and 77.9 times faster, respectively.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Hyperparameter Optimization</kwd>
        <kwd>Autonomous Driving</kwd>
        <kwd>Fireworks algorithm</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>FGM is an algorithm for autonomous driving by continuously adjusting the steering wheel
toward the largest gap. FGM has several hyperparameters, such as the minimum size gap
selected, speed in straight lines and curved sections. In this paper, six hyperparameters were
used to construct an autonomous driving algorithm.</p>
      <p>Fireworks algorithm was used as an algorithm for hyperparameter search. Fireworks
algorithm is a sampling-based search algorithm and shows good performance even if the form of
the objective function is complex. In addition, Piece and Conquer (PnC) Fireworks algorithm,
Leaky Piece and Conquer (Leaky PnC) Fireworks algorithm was proposed and compared with
Random Search, general Fireworks algorithm.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Works</title>
      <sec id="sec-2-1">
        <title>2.1. Follow Gap Method(FGM)</title>
        <p>
          The Follow Gap Method (FGM)[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] is an algorithm that finds the largest and deepest gap in
the data received by LiDAR and performs autonomous driving. FGM can navigate the path in
a simple and efective way in a dynamic environment and is suitable for real-time operation.
However, sometimes ineficient routes can be chosen because they follow the largest intervals.
        </p>
        <p>The hyperparameters of the FGM are as follows. PREPROCESS_CONV_SIZE is a
hyperparameter that sets how many pieces of data should be converted during pre-processing.
BEST_POINT_CONV_SIZE is a hyperparameter representing the CONV value used to find
the maximum gap size. MAX_LIDAR_DIST is a hyperparameter indicating how far to look.
STRAIGHTTS_SPEED is a hyperparameter indicating a speed in a straight line section.
CORNERS_SPEED is a hyperparameter indicating a speed in a curved section.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Fireworks Algorithm</title>
        <p>
          Fireworks Algorithm[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] is one of the search algorithms for solving optimization problems.
This algorithm works by mimicking Firework, which models the process of finding solution as
various fireworks explode. Fireworks Algorithm is efective in finding global optimal solution
and can be applied to a variety of optimization problems.
        </p>
        <p>The Fireworks Algorithm proceeds as follows. 1) Firework Concept: models the solution
search process as an object called "firework". Each firework indicates the location of the candidate
solutions. 2) Firework Explosion: The key idea of the algorithm is to divide fireworks into several
groups, share fireworks among the groups, and improve the solution of discovery. Furthermore,
if a better solution is found, more fireworks are dropped at that location, accelerating the process
of "exploding" and discovering the solution. 3) Grouping: Fireworks are divided into groups.
Each group performs a solution search independently of the other group, and when it finds a
new solution, it shares it with the other group. These grouping methods help to explore both
global and regional optimal solutions simultaneously. 4) Firework Update: After discovering
new solutions, update the location of the firework, and if a better solution is found, drop more
ifreworks into that location to improve the solution. 5) Termination condition: The algorithm
terminates after meeting the termination condition or after a certain number of repetitions.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed Method</title>
      <p>In this paper, the Piece and Conquer Fireworks Algorithm and Leaky Piece and Conquer
Fireworks Algorithm were proposed based on the existing Fireworks algorithm for explore
hyperparameters.</p>
      <sec id="sec-3-1">
        <title>3.1. Piece and Conquer Fireworks Algorithm</title>
        <p>The first algorithm proposed in this paper, Piece and Conquer (PnC) Fireworks Algorithm,
means to conquer by piece. A typical Fireworks algorithm finds the optimal hyperparameter
using only data that has completed 10 laps if the target lap is 10 laps.</p>
        <p>In the PnC Fireworks algorithm, as shown in Figure 1 (Left), the optimal result  end points
of the lap1 completion piece become the  start points of the lap3 completion piece, and the
optimal result  end points of the lap3 completion piece become the  start points of the lap10
completion piece. This is used for navigation of lap10 targeting data fragments of lap1 and data
fragments of lap3. As such, the PnC Fireworks algorithm use more data fragments to perform
more eficient hyperparameter optimization.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Leaky Piece and Conquer Fireworks Algorithm</title>
        <p>The second algorithm proposed in this paper, Leaky Piece and Conquer (Leaky PnC) Fireworks
Algorithm, takes the similar structure with PnC Fireworks Algorithm.</p>
        <p>In the Leaky PnC Fireworks algorithm, as shown in Figure 1 (Right), the optimal result 
end points of the lap1 completion piece are the  start points of the lap3 completion piece, and
the optimal result  end points of the lap3 completion piece are the  start points of the lap10
completion piece. This is used for navigation of lap10 targeting data fragments of lap1 and data
fragments of lap3. Unlike PnC, Leaky PnC searches for lap3, and even number searches for lap5
when searching for lap3.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments</title>
      <p>
        In this paper, the driving of the autonomous driving algorithm used a python gym-based
F1TENTH simulator[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. This simulator can customize various map and dynamics values. As
shown in Figure 2, Oschersleben, Silverstone, and Sochi were used for the map. And the basic
values of the simulator dynamics values were used for dynamics values.
      </p>
      <p>In this paper, the number of FGM parameters was set to 6, and the range for each parameter
was set as shown in Table 1. The parameters of FGM can also be applied beyond the ranges
specified in Table 1, but we have defined the ranges and intervals as shown in Table 1 to enable
the determination of relative parameter quality rankings.</p>
      <p>The experimental process is as follows: First, we record the performance results for all possible
combinations of FGM parameters corresponding to Table 1. In other words, we save 129,600
records of driving performance, given that there are 6 × 4 × 6 × 4 × 15 × 15 = 129,600 possible
combinations of FGM parameters. This enables us to establish relative rankings for all 129,600
FGM parameter configurations. Next, based on the recorded performance data, we applied
Random search, general Fireworks, PnC Fireworks, and Leaky PnC Fireworks algorithms.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Result</title>
      <p>The experiment was performed 30 times for each search algorithm, and the median value
of the results executed 30 times was used. This increases the statistical reliability of
searchbased algorithm results. Median time(sec) of 30 samples means the time it took to find the
optimal parameter. The simulator shows the median value of the results executed when the
corresponding algorithm is tested 30 times, and if the simulator accelerates, it can be executed
8 to 10 times faster. Comparison with Random Search (multiple) is a value that indicates
how many times faster the corresponding algorithm is compared to Random Search.</p>
      <p>Table 2 shows that the Leaky PnC Fireworks algorithm is the best for all three maps:
Oschersleben, Silverstone, and Sochi. In the Oschersleben map, the general Fireworks algorithm is 43.9
times faster, the PnC Fire-works algorithm is 90.2 times faster, and the Leaky PnC Fireworks
algorithm is 104 times faster than Random Search. In the Silverstone map, the general Fireworks
algorithm is 20.1 times faster, the PnC Fireworks algorithm is 42.8 times faster, and the Leaky
PnC Fireworks algorithm is 46.1 times faster than Random Search. In the Sochi map, the general
Fireworks algorithm is 42.5 times faster, the PnC Fireworks algorithm is 76.7 times faster, and
the Leaky PnC Fireworks algorithm is 83.6 times faster than Random Search.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>In this paper, the objective was to enhance the performance of FGM through hyperparameter
optimization, in other words aiming to improve lap times. Overall, the PnC Fireworks algorithm
is about twice as fast as the general Fireworks algorithm, and the Leaky PnC Fireworks
algorithm is about 1.1 times faster than the PnC Fireworks algorithm. These experimental results
demonstrated that the two types of PnC Firework algorithms proposed in this paper eficiently
search for hyperparameters and achieve innovative results in simulations. Furthermore, it is
expected to provide important developments in the field of hyperparameter optimization and
contribute to the performance improvement of future autonomous driving systems and other
complex systems.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This research was supported by Basic Science Research Program through the National Research
Foundation of Korea (NRF), funded by the Ministry of Education, Science and Technology
(NRF-2021R1G1A1006381).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>M. B.</surname>
          </string-name>
          et al,
          <source>Viac: An out of ordinary experiment</source>
          ,
          <source>2011 IEEE Intelligent Vehicles Symposium (IV)</source>
          , Baden-Baden, Germany (
          <year>2011</year>
          ) pp.
          <fpage>175</fpage>
          -
          <lpage>180</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Nunen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Ellen</surname>
          </string-name>
          , et al,
          <article-title>Cooperative competition for future mobility</article-title>
          ,
          <source>IEEE Transactions on Intelligent Transportation Systems</source>
          , vol.
          <volume>13</volume>
          , no.
          <issue>3</issue>
          (
          <issue>Sept</issue>
          .
          <year>2012</year>
          ) pp.
          <fpage>1018</fpage>
          -
          <lpage>1025</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Indy</given-names>
            <surname>Autonomous</surname>
          </string-name>
          <article-title>Challenge</article-title>
          . URL: https://www.indyautonomouschallenge.com/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Roborace</surname>
          </string-name>
          . URL: https://www.roborace.com/.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <fpage>F1TENTH</fpage>
          . URL: https://www.f1tenth.org/.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Badue</surname>
          </string-name>
          ,
          <string-name>
            <surname>Claudine</surname>
          </string-name>
          , et al,
          <article-title>Self-driving cars: A survey</article-title>
          .,
          <source>Expert Systems with Applications</source>
          <volume>165</volume>
          (
          <year>2021</year>
          )
          <fpage>113816</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Moll</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          et al,
          <article-title>Hyperplan: A framework for motion planning algorithm selection and parameter optimization</article-title>
          .,
          <source>2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Sezer</surname>
            , Volkan,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Gokasan</surname>
          </string-name>
          ,
          <article-title>A novel obstacle avoidance algorithm:“follow the gap method”</article-title>
          .,
          <source>Robotics and Autonomous Systems 60.9</source>
          (
          <year>2012</year>
          )
          <fpage>1123</fpage>
          -
          <lpage>1134</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Tan</surname>
            , Ying, ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Zhu</surname>
          </string-name>
          ,
          <article-title>Fireworks algorithm for optimization</article-title>
          .,
          <source>Advances in Swarm Intelligence: First International Conference, ICSI 2010</source>
          , Beijing, China, June 12-15,
          <year>2010</year>
          , Proceedings,
          <source>Part I 1</source>
          . Springer Berlin Heidelberg (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>O</given-names>
            <surname>'Kelly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Karthik</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          ,
          <string-name>
            <surname>F1tenth:</surname>
          </string-name>
          <article-title>An open-source evaluation environment for continuous control and reinforcement learning</article-title>
          .,
          <source>Proceedings of Machine Learning Research</source>
          <volume>123</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>