Skip to main content

Advertisement

Log in

Economic Modeling Using Evolutionary Algorithms: The Influence of Mutation on the Premature Convergence Effect

  • Published:
Computational Economics Aims and scope Submit manuscript

Abstract

This work is concerned with the possible impact binary encoding of strategies may have on the performance of genetic algorithms popular in agent-based computational economic research. In their recent work, Waltman et al. (J Evol Econ 21(5): 737–756, 2011) consider binary encoding and its possible contribution to a phenomenon referred to as premature convergence; the observation that different individual runs of the genetic algorithm can lead to very different results. While Alkemade et al. (Comput Econ 28(4): 355–370, 2006), (Comput Intell 23(2): 162–175, 2007), (Comput Econ 33(1): 99–101, 2009) argue that premature convergence is caused by insufficient population size, Waltman et al. argue that this phenomenon depends crucially on strategies being encoded in binary form. This conclusion is based on their illustration that premature convergence can be avoided even in simulations with small populations so long as real, rather than binary, encoding of strategies is utilized. Utilizing their methodology, we return to the consideration of the cause of premature convergence. After robustness checks with respect to the length of the binary string used for encoding, the fitness function, and the form of mutation, it is concluded that an alternative specification of mutation may also alleviate the occurrence of premature convergence. It is argued that this alternative form of mutation may be more appropriate in a wider range of problems where real encoding of strategies may not prove sufficient.

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
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. In addition to Waltman et al., the consideration of the impact binary encoding has on simulation results has also been studied extensively by Dawid (1996). However, as argued by Waltman et al., the methodology utilized herein differs significantly from that work. Dawid’s focus is on evolutionary algorithms with large population specifications and aggregate results averaged over many simulation runs. Waltman et al. utilize a small population level and focus on comparing results of individual runs. Additionally, the crossover operator is not important in the Waltman et al. consideration, while it is significant in the Dawid approach.

  2. Other studies of quantity competition also utilizing evolutionary algorithms include Arifovic (1994), Price (1997), Dawid and Kopel (1998), Franke (1998), Vriend (2000), Arifovic and Maschek (2006), Wheeler et al. (2006), Cassari (2008) and Maschek (2010).

  3. For simplicity, the crossover operator will not be employed. In their analysis of the EA in this environment, Waltman et al. (2011) found no significant difference between the algorithm with, and without the crossover operator. In an earlier work, Waltman and Van Eck (2009b) showed mathematically that, if the mutation rate is small and some technical assumptions are satisfied, the effect of the crossover operator on results produced by the EA tend to be negligible in the long run.

  4. We utilize the parameterization of \(k=30\) because it has been used in previous works where strategies were encoded using binary strings. However, a smaller string length of \(k=13\) was also utilized in order to capture a more favorable proportion of profit increasing single bit mutations from the stable quantity of 64 (refer to Fig. 1). However, no significant difference appeared in the results to those for \(k=30\).

  5. Keeping the likelihood that a rule will remain unaffected by mutation at a particular level may be in an effort to match observed real-world outcomes or behaviour.

  6. An alternative to the two-parameter mutation operator utilized in the above analysis is one where the binary string is drawn according to a uniform distribution over the entire strategy space when mutation occurs (again, occurring with probability \(p_{m}\)).

  7. For the specification of \(s\) utilized by Waltman et al., only 2.7 mutations in 1,000 would exceed the upper or lower bound given by \([q_{old}-3,q_{old}+3]\). On average, only 400 mutations occur in a simulation 10,000 periods long, with 4 strategies each undergoing mutation whose likelihood is determined according to \(p_{m}=0.01\).

  8. The software used to obtain the results described in this section is available online at http://sites.google.com/site/michaelkmaschek/software

  9. Though not presented, the characteristics of individual runs for the EA2, EA3, and EA4 simulations are indifferentiable from the baseline EA1 (presented in Fig. 2).

  10. Interestingly, while increasing the binary string length used to encode rules (EA2) or implementation of the effective fitness function (EA3) cannot solve the problem of premature convergence at low levels of mutation, there are significant performance improvements associated with these changes to the algorithm at higher mutation rates. At mutation rates utilized in EA5 (\(p_m = 0.01\)), implementing both of these changes simultaneously (as in EA4) increases the proportion of simulations whose firms’ average production is associated with the stable quantity of 50 by approximately 20 percent. However, other than this performance improvement, these simulations look qualitatively similar to EA5 and these proportions are still significantly lower than those associated with EA6.

  11. Examples of the use of Gray encoded strategies in economic applications of genetic algorithms are available in Arifovic (1996) and Maschek (2010). For a consideration of genetic algorithm performance utilizing Gray-coded integers in a pure mathematical optimization problem, see Hollstein (1971).

References

  • Alkemade, F., La Poutre, H., & Amman, H. M. (2006). Robust evolutionary algorithm design for socio-economic simulation. Computational Economics, 28(4), 355–370.

    Article  Google Scholar 

  • Alkemade, F., La Poutre, H., & Amman, H. M. (2007). On social learning and robust evolutionary algorithm design in the Cournot oligopoly game. Computational Intelligence, 23(2), 162–175.

    Article  Google Scholar 

  • Alkemade, F., La Poutre, H., & Amman, H. M. (2009). Robust evolutionary algorithm design for socio-economic simulation: a correction. Computational Economics, 33(1), 99–101.

    Article  Google Scholar 

  • Arifovic, J. (1994). Genetic algorithm learning and the cobweb model. Journal of Economic Dynamics and Control, 18(1), 3–28.

    Article  Google Scholar 

  • Arifovic, J. (1996). The behavior of the exchange rate in the genetic algorithm and experimental economics. Journal of Political Economy, 104(3), 510–541.

    Article  Google Scholar 

  • Arifovic, J., & Maschek, M. K. (2006). Revisiting individual evolutionary learning in the cobweb model: An illustration of the virtual spite-effect. Computational Economics, 28(4), 333–354.

    Article  Google Scholar 

  • Cassari, M. (2008). Markets in equilibrium with firms out of equilibrium: A simulation study. Journal of Economic Behavior and Organization, 65(2), 261–276.

    Article  Google Scholar 

  • Dawid, H. (1996). Adaptive learning by genetic algorithms: Analytical results and applications to economic models. Berlin: Springer.

    Book  Google Scholar 

  • Dawid, H., & Kopel, M. (1998). On economic applications of the genetic algorithm: A model of the cobweb type. Journal of Evolutionary Economics, 8(3), 297–315.

    Article  Google Scholar 

  • Franke, R. (1998). Coevolution and stable adjustments in the cobweb model. Journal of Evolutionary Economics, 8(4), 383–406.

    Article  Google Scholar 

  • Goldberg, D. (1989). Genetic algorithms in search, optimization, and machine learning. Reading: Addison Wesley.

    Google Scholar 

  • Hollstein, R.B. (1971). Artificial genetic adaptation in computer control systems. Doctoral dissertation, University of Michigan.

  • Maschek, M. K. (2010). Intelligent mutation rate control in an economic application of genetic algorithms. Computational Economics, 35(1), 25–49.

    Article  Google Scholar 

  • Mitchell, M. (1996). An introduction to genetic algorithms. Cambridge: MIT.

    Google Scholar 

  • Price, T. C. (1997). Using co-evolutionary programming to simulate strategic behaviour in markets. Journal of Evolutionary Economics, 7(3), 219–254.

    Article  Google Scholar 

  • Rothlauf, F. (2006). Representations for genetic and evolutionary algorithms. Berlin Heidelberg New York: Springer.

    Book  Google Scholar 

  • Vriend, N. J. (2000). An illustration of the essential difference between individual and social learning, and its consequences for computational analyses. Journal of Economic Dynamics and Control, 24(1), 1–19.

    Article  Google Scholar 

  • Waltman, L., & Van Eck, N. J. (2009a). Robust evolutionary algorithm design for socio-economic simulation: Some comments. Computational Economics, 33(1), 103–105.

    Article  Google Scholar 

  • Waltman, L. & N.J. Van Eck (2009b). A mathematical analysis of the long-run behavior of genetic algorithms for social modeling, Working paper no ERS-2009-011-LIS, Erasmus University Rotterdam, Erasmus Research Institute of Management.

  • Waltman, L., Van Eck, N. J., Dekker, R., & Kaymak, U. (2011). Economic modeling using evolutionary algorithms: The effect of binary encoding of strategies. Journal of Evolutionary Economics, 21(5), 737–756.

    Article  Google Scholar 

  • Wheeler, S., Bean, N., Gaffney, J., & Taylor, P. (2006). A Markov analysis of social learning and adaptation. Journal of Evolutionary Economics, 16(3), 299–319.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael K. Maschek.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Maschek, M.K. Economic Modeling Using Evolutionary Algorithms: The Influence of Mutation on the Premature Convergence Effect. Comput Econ 47, 297–319 (2016). https://doi.org/10.1007/s10614-015-9485-8

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10614-015-9485-8

Keywords

JEL Classification

Navigation