IDEAS home Printed from https://ideas.repec.org/a/nat/nathum/v9y2025i9d10.1038_s41562-025-02232-3.html
   My bibliography  Save this article

Computational basis of hierarchical and counterfactual information processing

Author

Listed:
  • Mahdi Ramadan

    (MIT Massachusetts Institute of Technology)

  • Cheng Tang

    (MIT Massachusetts Institute of Technology)

  • Nicholas Watters

    (MIT Massachusetts Institute of Technology)

  • Mehrdad Jazayeri

    (MIT Massachusetts Institute of Technology
    Howard Hughes Medical Institute)

Abstract

Humans solve complex multistage decision problems using hierarchical and counterfactual strategies. Here we designed a task that reliably engages these strategies and conducted hypothesis-driven experiments to identify the computational constraints that give rise to them. We found three key constraints: a bottleneck in parallel processing that promotes hierarchical analysis, a compensatory but capacity-limited counterfactual process, and working memory noise that reduces counterfactual fidelity. To test whether these strategies are computationally rational—that is, optimal given such constraints—we trained recurrent neural networks under systematically varied limitations. Only recurrent neural networks subjected to all three constraints reproduced human-like behaviour. Further analysis revealed that hierarchical, counterfactual and postdictive strategies—typically viewed as distinct—lie along a continuum of rational adaptations. These findings suggest that human decision strategies may emerge from a shared set of computational limitations, offering a unifying framework for understanding the flexibility and efficiency of human cognition.

Suggested Citation

  • Mahdi Ramadan & Cheng Tang & Nicholas Watters & Mehrdad Jazayeri, 2025. "Computational basis of hierarchical and counterfactual information processing," Nature Human Behaviour, Nature, vol. 9(9), pages 1913-1927, September.
  • Handle: RePEc:nat:nathum:v:9:y:2025:i:9:d:10.1038_s41562-025-02232-3
    DOI: 10.1038/s41562-025-02232-3
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41562-025-02232-3
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1038/s41562-025-02232-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Ariel Zylberberg, 2021. "Decision prioritization and causal reasoning in decision hierarchies," PLOS Computational Biology, Public Library of Science, vol. 17(12), pages 1-39, December.
    2. Matthew F. Panichello & Brian DePasquale & Jonathan W. Pillow & Timothy J. Buschman, 2019. "Error-correcting dynamics in visual working memory," Nature Communications, Nature, vol. 10(1), pages 1-11, December.
    3. Luis S. Piloto & Ari Weinstein & Peter Battaglia & Matthew Botvinick, 2022. "Intuitive physics learning in a deep-learning model inspired by developmental psychology," Nature Human Behaviour, Nature, vol. 6(9), pages 1257-1267, September.
    4. Evan D. Remington & Tiffany V. Parks & Mehrdad Jazayeri, 2018. "Late Bayesian inference in mental transformations," Nature Communications, Nature, vol. 9(1), pages 1-13, December.
    5. Farshad Rafiei & Medha Shekhar & Dobromir Rahnev, 2024. "The neural network RTNet exhibits the signatures of human perceptual decision-making," Nature Human Behaviour, Nature, vol. 8(9), pages 1752-1770, September.
    6. Diogo Peixoto & Jessica R. Verhein & Roozbeh Kiani & Jonathan C. Kao & Paul Nuyujukian & Chandramouli Chandrasekaran & Julian Brown & Sania Fong & Stephen I. Ryu & Krishna V. Shenoy & William T. Newso, 2021. "Decoding and perturbing decision states in real time," Nature, Nature, vol. 591(7851), pages 604-609, March.
    7. Frederick Callaway & Bas Opheusden & Sayan Gul & Priyam Das & Paul M. Krueger & Thomas L. Griffiths & Falk Lieder, 2022. "Rational use of cognitive resources in human planning," Nature Human Behaviour, Nature, vol. 6(8), pages 1112-1125, August.
    8. Courtney J Spoerer & Tim C Kietzmann & Johannes Mehrer & Ian Charest & Nikolaus Kriegeskorte, 2020. "Recurrent neural networks can explain flexible trading of speed and accuracy in biological vision," PLOS Computational Biology, Public Library of Science, vol. 16(10), pages 1-27, October.
    9. Brenden M. Lake & Marco Baroni, 2023. "Human-like systematic generalization through a meta-learning neural network," Nature, Nature, vol. 623(7985), pages 115-121, November.
    10. Frederick Callaway & Bas Opheusden & Sayan Gul & Priyam Das & Paul M. Krueger & Thomas L. Griffiths & Falk Lieder, 2022. "Publisher Correction: Rational use of cognitive resources in human planning," Nature Human Behaviour, Nature, vol. 6(7), pages 1027-1027, July.
    11. Arbora Resulaj & Roozbeh Kiani & Daniel M. Wolpert & Michael N. Shadlen, 2009. "Changes of mind in decision-making," Nature, Nature, vol. 461(7261), pages 263-266, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Marta Kryven & Suhyoun Yu & Max Kleiman-Weiner & Tomer Ullman & Joshua Tenenbaum, 2024. "Approximate planning in spatial search," PLOS Computational Biology, Public Library of Science, vol. 20(11), pages 1-21, November.
    2. Carlos G Correa & Mark K Ho & Frederick Callaway & Nathaniel D Daw & Thomas L Griffiths, 2023. "Humans decompose tasks by trading off utility and computational cost," PLOS Computational Biology, Public Library of Science, vol. 19(6), pages 1-31, June.
    3. J. Tyler Boyd-Meredith & Alex T. Piet & Emily Jane Dennis & Ahmed El Hady & Carlos D. Brody, 2022. "Stable choice coding in rat frontal orienting fields across model-predicted changes of mind," Nature Communications, Nature, vol. 13(1), pages 1-12, December.
    4. Evan M. Russek & Rani Moran & Yunzhe Liu & Raymond J. Dolan & Quentin J. M. Huys, 2024. "Heuristics in risky decision-making relate to preferential representation of information," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    5. Manuel Molano-Mazón & Alexandre Garcia-Duran & Jordi Pastor-Ciurana & Lluís Hernández-Navarro & Lejla Bektic & Debora Lombardo & Jaime Rocha & Alexandre Hyafil, 2024. "Rapid, systematic updating of movement by accumulated decision evidence," Nature Communications, Nature, vol. 15(1), pages 1-19, December.
    6. Kisho Ogasa & Atsushi Yokoi & Gouki Okazawa & Morimichi Nishigaki & Masaya Hirashima & Nobuhiro Hagura, 2024. "Decision uncertainty as a context for motor memory," Nature Human Behaviour, Nature, vol. 8(9), pages 1738-1751, September.
    7. Isabella Rischall & Laura Hunter & Greg Jensen & Jacqueline Gottlieb, 2023. "Inefficient prioritization of task-relevant attributes during instrumental information demand," Nature Communications, Nature, vol. 14(1), pages 1-12, December.
    8. Song Chen & Jiaxu Liu & Pengkai Wang & Chao Xu & Shengze Cai & Jian Chu, 2024. "Accelerated optimization in deep learning with a proportional-integral-derivative controller," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    9. W Penny, 2024. "Stochastic attractor models of visual working memory," PLOS ONE, Public Library of Science, vol. 19(4), pages 1-25, April.
    10. Pierre O. Boucher & Tian Wang & Laura Carceroni & Gary Kane & Krishna V. Shenoy & Chandramouli Chandrasekaran, 2023. "Initial conditions combine with sensory evidence to induce decision-related dynamics in premotor cortex," Nature Communications, Nature, vol. 14(1), pages 1-28, December.
    11. Adrian M Haith & David M Huberdeau & John W Krakauer, 2015. "Hedging Your Bets: Intermediate Movements as Optimal Behavior in the Context of an Incomplete Decision," PLOS Computational Biology, Public Library of Science, vol. 11(3), pages 1-21, March.
    12. Seth W. Egger & Stephen G. Lisberger, 2022. "Neural structure of a sensory decoder for motor control," Nature Communications, Nature, vol. 13(1), pages 1-13, December.
    13. Andrea Insabato & Mario Pannunzi & Gustavo Deco, 2017. "Multiple Choice Neurodynamical Model of the Uncertain Option Task," PLOS Computational Biology, Public Library of Science, vol. 13(1), pages 1-29, January.
    14. David Allen Axelrod, 2021. "On the Obsolescence of Long-Run Rationality," RAIS Conference Proceedings 2021 0139, Research Association for Interdisciplinary Studies.
    15. Hui Wang & Ashutosh Sharma & Mohammad Shabaz, 2022. "Research on digital media animation control technology based on recurrent neural network using speech technology," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 13(1), pages 564-575, March.
    16. Charles-Cadogan, G., 2021. "Market Instability, Investor Sentiment, And Probability Judgment Error in Index Option Prices," CRETA Online Discussion Paper Series 71, Centre for Research in Economic Theory and its Applications CRETA.
    17. Huang, Chengdai & Wang, Huanan & Cao, Jinde & Liu, Heng, 2024. "Delay-dependent bifurcation conditions in a fractional-order inertial BAM neural network," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
    18. Kobe Desender & Luc Vermeylen & Tom Verguts, 2022. "Dynamic influences on static measures of metacognition," Nature Communications, Nature, vol. 13(1), pages 1-12, December.
    19. Zeyuan Ye & Ralf Wessel, 2025. "Speed modulations in grid cell information geometry," Nature Communications, Nature, vol. 16(1), pages 1-18, December.
    20. Shariq N Iqbal & Lun Yin & Caroline B Drucker & Qian Kuang & Jean-François Gariépy & Michael L Platt & John M Pearson, 2019. "Latent goal models for dynamic strategic interaction," PLOS Computational Biology, Public Library of Science, vol. 15(3), pages 1-21, March.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:nathum:v:9:y:2025:i:9:d:10.1038_s41562-025-02232-3. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.