Skip to main content

Advertisement

Log in

An adaptive mutation for cartesian genetic programming using an \(\epsilon \)-greedy strategy

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

The optimization of the number of transistors of combinational logic circuits can lead to faster and cheaper electronic devices, but it is an NP-complete problem. There are deterministic algorithms for this task, but their effectiveness is limited to small problems. Thus, the use of metaheuristics is suitable and Cartesian Genetic Programming (CGP) is widely adopted in the literature. In CGP, mutation is commonly the only operator used for generating new candidate solutions. As a result, the performance of this metaheuristic is dependent on the proper choice of mutation and its parameters. CGP mutation is usually based on uniform mutation and, thus, any modification has the same chance to occur. In order to improve the performance of CGP, a study of the mutation operator is carried out and an adaptive approach using an \(\epsilon \)-greedy strategy for bias the selection of the node mutation type is proposed here. The proposal is evaluated using a benchmark from the literature. The results obtained indicate that the proposed adaptive mutation is promising, achieving the best mean results in 19 out of the 23 benchmark problems considered here. We also verified a better ability in generating feasible solutions than the standard CGP.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Algorithm 1
Algorithm 2
Fig. 2
Algorithm 3
Algorithm 4
Algorithm 5
Algorithm 6

Similar content being viewed by others

Data Availability

The algorithm proposed in this research, as well as the data produced by it, can be found in the following repository: https://github.com/FMoller/cgp-rl. The main Author is also willing to send the research data, in case of any problem with the repository, via e-mail: fredericomollerped@gmail.com.

Notes

  1. A comparison between the static and adaptive bias methods can be seen at https://github.com/FMoller/cgp-rl in the Comparison of CGP-RL and SAM+2G+P folder

  2. Some experiments were carried out in order to analyze how mutations in each node element influence the generation of better CLCs. These experiments were performed using CGP with SAM and not with the proposed method and can be accessed at: https://github.com/FMoller/cgp-rl, in the Analysis of CGP’s evolutionary process folder.

  3. The source code of the proposed Node CGP-RL is available at https://github.com/FMoller/cgp-rl.

  4. The experiments presented in this article are related to the main objective of the proposed method: to improve the ability of the CGP to minimize the number of transistors in CLCs. A complementary analysis was carried out, with the objective of analyzing the convergence toward a feasible solution. This analysis is available at https://github.com/FMoller/cgp-rl, in the Node CGP-RL folder Convergence towards a feasible solution.

  5. It is not possible to determine statistical significance for the cmb problem, as the reference algorithm, CGP with SAM mutation, did not generate feasible results.

References

  1. Brayton R, Hachtel G, McMullen C, Sangiovanni-Vincentelli A (1987) Logic minimization algorithms for VLSI synthesis, vol 2, 1st edn. Springer

  2. Berry Donald ABF (1985) Bandit problems, sequential allocation of experiments, 1st edn. Springer, Monographs on Statistics and Applied Probability

  3. Bernardino Francisco Manfrini Heder HB (2016) A novel efficient mutation for evolutionary design of combinational logic circuits. Parallel problem solving from nature (PPSN) 9921:665–674

  4. Francisco Manfrini Heder Bernardino HB (2016) On heuristics for seeding the initial population of cartesian genetic programming applied to combinational logic circuits:. In: Genetic and Evol Computation Conf (GECCO), pp 105–106

  5. Garrison W, Greenwood AMT (2006) Introduction to evolvable hardware: a practical guide for designing self-adaptive systems, 1 edn. Wiley-IEEE Press

  6. Gittins J, Glazebrook K, Weber R (2011) Multi-armed bandit allocation indices, vol 33, 2nd edn. Wiley

  7. Goldman B, Punch W (2013) Reducing wasted evaluations in cartesian genetic programming. European conference on genetic programming (EuroGP) 7831:61–72

    Article  Google Scholar 

  8. Goldman B, Punch W (2014) Analysis of cartesian genetic programming’s evolutionary mechanisms. IEEE Trans Evol Comput 19:1–1

    Google Scholar 

  9. Hamming RW (1950) Error detecting and error correcting codes. The Bell System Technical Journal 29(2):147–160. https://doi.org/10.1002/j.1538-7305.1950.tb00463.x

    Article  MathSciNet  MATH  Google Scholar 

  10. Hodan D, Mrazek V, Vasicek Z (2020) Semantically-oriented mutation operator in cartesian genetic programming for evolutionary circuit design. In: Proceedings of the 2020 genetic and evolutionary computation conference, GECCO ’20, pp 940–948. Association for Computing Machinery, New York, NY, USA

  11. Karnaugh M (1953) The map method for synthesis of combinational logic circuits. Trans Amer Inst Electr Eng Part I: Commun Electron 72(5):593–599

    MathSciNet  Google Scholar 

  12. Katehakis M Jr V (1987) The multi- armed bandit problem: Decomposition and computation. Math Oper Res 12:262–268

  13. McCluskey E (1956) Minimization of boolean functions. Bell Labs Tech J 35(6):1417–1444

    Article  MathSciNet  Google Scholar 

  14. Miller J, Thomson P, Fogarty T, Ntroduction I (1999) Designing electronic circuits using evolutionary algorithms. arithmetic circuits: a case study. Genetic Algorithms and Evolution Strategies in Engineering and Computer Science

  15. Möller FJD, Bernardino HS, Gonçalves LB, Soares SSRF (2020) A reinforcement learning based adaptive mutation for cartesian genetic programming applied to the design of combinational logic circuits. In: R Cerri, RC Prati (edn.) Intelligent Systems, pp 18–32. Springer International Publishing, Cham

  16. Sutton Richard S, AGB (2018) Reinforcement learning: an Introduction, 2nd edn. Adaptive Computation and Machine Learning series, A Bradford Book

  17. Salivahanan S (2018) Digital circuits and design, 5th edn. Oxford University Press

    Google Scholar 

  18. da Silva J, Bernardino H (2018) Cartesian genetic programming with crossover for designing combinational logic circuits. Brazilian Conf. on Intelligent Systems (BRACIS) pp 145–150

  19. da Silva JE, Manfrini F, Bernardino HS, Barbosa H (2018) Biased mutation and tournament selection approaches for designing combinational logic circuits via cartesian genetic programming. In: Anais do Encontro Nacional de Inteligência Artificial e Computacional, pp 835–846. SBC

  20. Henriques da Silva JE, Soares Bernardino H (2019) A 3-step cartesian genetic programming for designing combinational logic circuits with multiplexers. In: Moura Oliveira P, Novais P, Reis LP (edn) Progress in Artificial Intelligence, pp 762–774. Springer International Publishing, Cham

  21. de Souza LAM, da Silva JEH, Chaves LJ, Bernardino HS (2020) A benchmark suite for designing combinational logic circuits via metaheuristics. Appl Soft Comput 91:106246

    Article  Google Scholar 

  22. Umans C, Villa T, Sangiovanni-Vincentelli A (2006) Complexity of two-level logic minimization. IEEE Trans Comput-Aided Des Integr Circuits Syst 25(7):1230–1246

    Article  Google Scholar 

  23. Yang S (1991) Logic synthesis and optimization benchmarks user guide: Version 3.0. Tech. rep., MCNC Technical Report

Download references

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by Frederico Möller, Heder Soares Bernardino, Stênio Sã Rosário Furtado Soares and Lucas Augusto Müller de Souza. The first draft of the manuscript was written by Frederico Möller and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Frederico José Dias Möller.

Ethics declarations

Ethical and informed consent for data used

The authors declare that they have no conflict of interest regarding the research carried out and the data produced. The research does not involve testing on humans or animals. The authors are aware of and consent to the publication of data resulting from this research.

Competing Interests

This study was funded by Conselho Nacional de Desenvolvimento Científico e Tecnológico, under Grant Agreement No (316801/2021-6), by Fundação de Amparo á Pesquisa do Estado de Minas Gerais, under Grant Agreement No (APQ-00337-18), and bu Federal University of Juiz de Fora.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001. Also, the authors thank the support of CNPq (316801/2021-6), FAPEMIG (APQ-00337-18), and UFJF. Also, this work has been supported by UFJF’s High-Speed Integrated Research Network (RePesq).We also thank Professor Helio Barbosa, for pointing out the issue of Not gate bias.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Möller, F.J.D., Bernardino, H.S., Soares, S.S.R.F. et al. An adaptive mutation for cartesian genetic programming using an \(\epsilon \)-greedy strategy. Appl Intell 53, 27290–27303 (2023). https://doi.org/10.1007/s10489-023-04951-4

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-023-04951-4

Keywords

Navigation