Abstract
Understanding the evolution of animal cognitive capacities requires us to study their full range of naturally occurring sequences of behavior. It has long been theorized that cognitive capacities are revealed through the sequential structure of natural behavior, particularly its hierarchical organization. Progress in understanding the origins of this capacity has, however, been limited by a lack of techniques for identifying and measuring hierarchical structure in behavioral sequences. To fill this methodological gap, we introduce here an analysis pipeline for measuring hierarchical structure in sequential behavior. We then establish the validity of our approach by first applying it to chimpanzee percussive tool-use (PTU) sequences and comparing it to markov-simulated control sequences. Secondly, we apply our analysis to a dataset on PTU in humans and compare the hierarchical complexity of chimpanzee and human PTU. Despite decades of speculation, our study is the first empirical demonstration of hierarchical structuring in chimpanzee tool-use. We found chimpanzee PTU is characterized by a level of hierarchical complexity beyond that which can be generated through markov process, but is nonetheless systematically less hierarchically complex than human PTU, as expected. Altogether, our analyses demonstrate the potential for our approach to successfully detect and measure hierarchical structuring in natural sequences of behavior, which we believe will play a pivotal role in shedding light on old questions, as well as opening up entirely new lines of inquiry in the study of human and animal behavior.
Similar content being viewed by others
Data availability
All data used in this study are freely available in the supplementary materials and can also be found on figshare: https://doi.org/10.6084/m9.figshare.30862226. All data is source data.
Code availability
All code used in this study is freely available in the supplementary materials and can also be found on figshare: https://doi.org/10.6084/m9.figshare.30862226. All code is source code.
References
Fitch, W. T. Toward a computational framework for cognitive biology: unifying approaches from cognitive neuroscience and comparative cognition. Phys. Life Rev. 11, 329–364 (2014).
Coopmans, C. W., Kaushik, K. & Martin, A. E. Hierarchical structure in language and action: a formal comparison. Psychol. Rev. 130, 935–952 (2023).
Greenfield, P. M. Language, tools and brain: The ontogeny and phylogeny of hierarchically organized sequential behavior. Behav. Brain Sci. 14, 531–551 (1991).
Planer, R. & Sterelny, K. From Signal to Symbol: The Evolution of Language (MIT Press, 2021).
Byrne, R. W., Sanz, C. M. & Morgan, D. B. Chimpanzees plan their tool use. in Tool Use in Animals: Cognition and Ecology (eds. Boesch, C., Sanz, C. M. & Call, J.) 48–64 (Cambridge University Press, 2013).
Byrne, R. W. & Russon, A. E. Learning by imitation: a hierarchical approach. Behav. Brain Sci. 21, 667–684 (1998).
Matsuzawa, T. Primate Foundations of Human Intelligence: A View of Tool Use in Nonhuman Primates and Fossil Hominids. in Primate Origins of Human Cognition and Behavior (ed. Matsuzawa, T.) 3–25 (Springer Japan, 2001).
Moro, A. On the similarity between syntax and actions. Trends Cogn. Sci. 18, 109–110 (2014).
Nevill-Manning, C. G. & Witten, I. H. Identifying hierarchical structure in sequences: a linear-time algorithm. J. Artif. Intell. Res. 7, 67–82 (1997).
Gomez-Marin, A., Stephens, G. J. & Brown, A. E. X. Hierarchical compression of Caenorhabditis elegans locomotion reveals phenotypic differences in the organization of behaviour. J. R. Soc. Interface 13, 20160466 (2016).
Sainburg, T., Mai, A. & Gentner, T. Q. Long-range sequential dependencies precede complex syntactic production in language acquisition. Proc. R. Soc. B Biol. Sci. 289, 20212657 (2022).
Stanley, R. P. Catalan Numbers (Cambridge University Press, 2015).
Fitch, W. T., Friederici, A. D. & Hagoort, P. Pattern perception and computational complexity: introduction to the special issue. Philos. Trans. R. Soc. B Biol. Sci. 367, 1925–1932 (2012).
Chomsky, N. Three models for the description of language. IRE Trans. Inf. Theory 2, 113–124 (1956).
Boesch, C. & Boesch, H. Optimisation of nut-cracking with natural hammers by wild chimpanzees. Behav 83, 265–286 (1983).
Stout, D., Chaminade, T., Apel, J., Shafti, A. & Faisal, A. A. The measurement, evolution, and neural representation of action grammars of human behavior. Sci. Rep. 11, 13720 (2021).
de la Torre, I. & Hirata, S. Percussive technology in human evolution: an introduction to a comparative approach in fossil and living primates. Philos. Trans. R. Soc. B Biol. Sci. 370, 20140346 (2015).
Howard-Spink, E. et al. Nonadjacent dependencies and sequential structure of chimpanzee action during a natural tool-use task. PeerJ 12, e18484 (2024).
Wilson, B. et al. Non-adjacent dependency learning in humans and other animals. Top. Cogn. Sci. 12, 843–858 (2020).
Jurafsky, D. & Martin, J. H. Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition (Prentice Hall, 2000).
de la Torre, I. The origins of the Acheulean: past and present perspectives on a major transition in human evolution. Philos. Trans. R. Soc. B Biol. Sci. 371, 20150245 (2016).
Enquist, M., Lind, J. & Ghirlanda, S. The power of associative learning and the ontogeny of optimal behaviour. R. Soc. Open Sci. 3, 160734 (2016).
Stout, D. Stone toolmaking and the evolution of human culture and cognition. Philos. Trans. R. Soc. B Biol. Sci. 366, 1050–1059 (2011).
Krakauer, J. W., Ghazanfar, A. A., Gomez-Marin, A., MacIver, M. A. & Poeppel, D. Neuroscience needs behavior: correcting a reductionist bias. Neuron 93, 480–490 (2017).
Cisek, P. & Hayden, B. Y. Neuroscience needs evolution. Philos. Trans. R. Soc. B Biol. Sci. 377, 20200518 (2021).
Stout, D. & Chaminade, T. Stone tools, language and the brain in human evolution. Philos. Trans. R. Soc. B Biol. Sci. 367, 75–87 (2012).
Friederici, A. D. Evolutionary neuroanatomical expansion of Broca’s region serving a human-specific function. Trends Neurosci. 46, 786–796 (2023).
Friederici, D. A. et al. Brain structure and function: A multidisciplinary pipeline to study hominoid brain evolution. Front. Integr. Neurosci. 17, 1299087 (2024).
Toth, N., Schick, K. D., Savage-Rumbaugh, E. S., Sevcik, R. A. & Rumbaugh, D. M. Pan the tool-maker: investigations into the stone tool-making and tool-using capabilities of a bonobo (Pan paniscus). J. Archaeol. Sci. 20, 81–91 (1993).
Fitch, W. T. & Hauser, M. D. Computational constraints on syntactic processing in a nonhuman primate. Science 303, 377–380 (2004).
Whiten, A. Culture extends the scope of evolutionary biology in the great apes. Proc. Natl. Acad. Sci. USA 114, 7790–7797 (2017).
Byrne, R. W. Imitation as behaviour parsing. Philos. Trans. R. Soc. Lond. B 358, 529–536 (2003).
Kershenbaum, A. et al. Animal vocal sequences: not the Markov chains we thought they were. Proc. R. Soc. B Biol. Sci. 281, 20141370 (2014).
Beckers, G. J. L., Bolhuis, J. J., Okanoya, K. & Berwick, R. C. Birdsong neurolinguistics: songbird context-free grammar claim is premature. NeuroReport 23, 139 (2012).
Tennie, C., Call, J. & Tomasello, M. Ratcheting up the ratchet: on the evolution of cumulative culture. Philos. Trans. R. Soc. B 364, 2405–2415 (2009).
Wittig, R. M. Taï Chimpanzees. in Encyclopedia of Animal Cognition and Behavior (eds. Vonk, J. & Shackelford, T.) 1–7 (Springer International Publishing, 2017).
Ottoni, E. B. EthoLog 2.2: a tool for the transcription and timing of behavior observation sessions. Behav. Res. Methods Instrum. Comput. 32, 446–449 (2000).
Bürkner, P.-C. brms: an R Package for Bayesian multilevel models using stan. J. Stat. Softw. 80, 1–28 (2017).
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
D.T. designed the study, did the analysis, and wrote the paper. T.P. designed the study, collected the data, and edited the manuscript. C.C. designed the study and edited the manuscript. R.W. designed the study and edited the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The author declares no competing interests.
Peer review
Peer review information
Communications Biology thanks Ross Pain and the other anonymous reviewer(s) for their contribution to the peer review of this work. Primary handling editors: Aylin Bircan, Christina Karlsson Rosenthal, and Michele Repetto. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Taylor, D., Petersen, T., Crockford, C. et al. Measuring hierarchical structure across hominid percussive tool-use sequences. Commun Biol (2026). https://doi.org/10.1038/s42003-026-09633-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s42003-026-09633-8


