New Solutions for the Density Classification Task in One Dimensional Cellular Automata

  • Zakaria LaboudiEmail author
  • Salim Chikhi
Conference paper
Part of the Lecture Notes in Networks and Systems book series (LNNS, volume 64)


The density classification task is one of the most studied benchmark problems to analyze emergent collective computations resulting from local interactions within cellular automata. Solutions for this task were produced by means of different training methods, in particular the automatic design through evolutionary algorithms. This is tied to the fact that there is still a lack of thorough understanding of computations’ nature within cellular automata, which impedes writing efficient local rules. In this paper, we propose a new procedure for solving the density classification task using handwritten local rules in the case of one dimensional cellular automata of radius r = 4. The experimental results show that the newly designed rules outperform the currently best known solutions. This is important since it helps, on the one hand, to deepen our knowledge about selecting appropriate local rules to solve computational tasks and, to improve our general understanding of computations carried out by cellular automata, on the other hand.


Emergent computation Cellular automata Density classification task Symmetry property Number-conserving property 


  1. 1.
    Hoekstra, A.G., Kroc, J., Sloot, P.M. (eds.): Simulating Complex Systems by Cellular Automata. Understanding Complex Systems. Springer, Berlin (2010)zbMATHGoogle Scholar
  2. 2.
    Stephen, W.: A New Kind of Science, p. 1035. Wolfram Media, Champaign, IL (2002)Google Scholar
  3. 3.
    Betel, H., de Oliveira, Pedro P.B., Flocchini, Paola: Solving the parity problem in one-dimensional cellular automata. Nat. Comput. 12(3), 323–337 (2013)MathSciNetCrossRefGoogle Scholar
  4. 4.
    Oliveira, G.M., Martins, L.G., de Carvalho, L.B., Fynn, E.: Some investigations about synchronization and density classification tasks in one-dimensional and two-dimensional cellular automata rule spaces. Electron. Notes Theor. Comput. Sci. 252, 121–142 (2009)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Wolz, D., De Oliveira, P.P.B.: Very effective evolutionary techniques for searching cellular automata rule spaces. J. Cell. Autom. 3(4), 289–312 (2008)MathSciNetzbMATHGoogle Scholar
  6. 6.
    Packard, N.H.: Adaptation towards the edge of chaos. In: Kelso, J.A.S., Mandell, A.J., Schlesinger, M.F. (eds.) Dynamic Patterns in Complex Systems. World Scientific, Singapore, pp. 293–301 (1988)Google Scholar
  7. 7.
    Mitchell, M., Hraber, P., Crutchfield, J.P.: Revisiting the edge of chaos: evolving cellular automata to perform computations. Complex Syst. 7, 89–130 (1993)zbMATHGoogle Scholar
  8. 8.
    Mitchell, M., Crutchfield, J.P., Hraber, P.T.: Evolving cellular automata to perform computations: mechanisms and impediments. Physica D 75(1), 361–391 (1994)CrossRefGoogle Scholar
  9. 9.
    De Oliveira, P.P.B.: Conceptual connections around density determination in cellular automata. In: Cellular Automata and Discrete Complex Systems. Lecture Notes in Computer Science, vol. 8155, pp. 1–14 (2013)Google Scholar
  10. 10.
    Kari, J., Le Gloannec, B.: Modified traffic cellular automaton for the density classification task. Fundam. Inf. 116(1–4), 141–156 (2012)MathSciNetzbMATHGoogle Scholar
  11. 11.
    Le Gloannec, B.: Around Kari’s traffic cellular automaton for the density classification. Project Report, ENS Lyon, France (2009)Google Scholar
  12. 12.
    Marques-Pita, M., Mitchell, M., Rocha, L.M.: The role of conceptual structure in designing cellular automata to perform collective computation. In: Unconventional Computation. Lecture Notes in Computer Science, vol. 5204, pp. 146–163 (2008)Google Scholar
  13. 13.
    De Oliveira, P.P.B., Bortot, J.C., Oliveira, G.M.: The best currently known class of dynamically equivalent cellular automata rules for density classification. Neurocomputing 70(1), 35–43 (2006)CrossRefGoogle Scholar
  14. 14.
    Laboudi, Z., Chikhi, S.: Computational mechanisms for solving the density classification task by cellular automata. J. Cell. Autom. 14, 1–2 (2019)Google Scholar
  15. 15.
    Márques, M., Manurung, R., Pain, H.: Conceptual representations: what do they have to say about the density classification task by cellular automata? Comput. Mech. 1–15 (2006)Google Scholar
  16. 16.
    De Oliveira, P.P.B.: On density determination with cellular automata: results, constructions and directions. J. Cell. Autom. 9(5–6), 357–385 (2014)Google Scholar
  17. 17.
    Etienne, M.: State-Conserving Cellular Automata. Project Report, ENS Lyon, France (2011)Google Scholar
  18. 18.
    Land, M., Belew, R.: No two-state CA for density classification exists. Phys. Rev. Lett. 74(25), 5148 (1995)CrossRefGoogle Scholar
  19. 19.
    Gacs, P., Kurdyumov, G., Levin, L.: One-dimensional homogenuous media dissolving finite islands. Probl. Inf. Transm. 14(3), 92–96 (1978)Google Scholar
  20. 20.
    Andre, D., Bennett III, F.H., Koza, J.R.: Discovery by genetic programming of a cellular automata rule that is better than any known rule for the majority classification problem. In: Proceedings of the 1st Annual Conference on Genetic Programming, pp. 3–11. MIT Press (1996)Google Scholar
  21. 21.
    Das, R., Mitchell, M., Crutchfield, J.P.: A genetic algorithm discovers particle-based computation in cellular automata. In: International Conference on Parallel Problem Solving from Nature, pp. 344–353. Springer, Berlin, Heidelberg (1994)CrossRefGoogle Scholar
  22. 22.
    Juille, H., Pollack, J.B.: Coevolving the ideal trainer: application to the discovery of cellular automata rules. In: Proceedings of the Third Annual Conference, San Francisco. Morgan Kauffmann, University of Wisconsin (1998)Google Scholar
  23. 23.
    Ferreira, C.: Gene expression programming: a new adaptive algorithm for solving problems. Complex Syst. 13(2), 87–129 (2001)Google Scholar
  24. 24.
    Marques-Pita, M., Rocha, L.M.: Conceptual structure in cellular automata-the density classification task. In: ALIFE, pp. 390–397 (2008)Google Scholar
  25. 25.
    Laboudi, Z., Chikhi, S.: Scalability property in solving the density classification task. J. Inf. Technol. Res. 10(2), 59–75 (2017)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.RELA(CS)2 LaboratoryUniversity of Oum El-BouaghiOum El-BouaghiAlgeria
  2. 2.MISC LaboratoryUniversity of Constantine 2ConstantineAlgeria

Personalised recommendations