IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1014093.html

Contextual inference through flexible integration of environmental features and behavioural outcomes

Author

Listed:
  • Jessica Passlack
  • Andrew F MacAskill

Abstract

The ability to use context to flexibly adjust our decision-making is vital for navigating a complex world. To do this, the brain must both use environmental features and behavioural outcomes to distinguish between different, often hidden contexts; and also learn how to use these inferred contexts to guide behaviour. However, how these two interacting processes can be performed simultaneously remains unclear. Within the brain it is thought that interaction between the prefrontal cortex (PFC) and hippocampus (HPC) supports contextual inference. We show that models using environmental features (similar to those proposed to be implemented in hippocampus) readily support context-specific behaviour, but struggle to differentiate ambiguous contexts during learning. In contrast, models using behavioural outcomes (similar to those proposed in PFC) can stably differentiate contexts during periods of learning, but struggle to guide context-specific behaviour. We show that supporting feature-based with outcome-based strategies during learning overcomes the limitations of both approaches, allowing for the formation of distinct contextual representations that support contextual inference. Moreover, agents using this joint approach reproduce both behavioural- and cellular-level phenomena associated with the interaction between PFC and HPC. Together, these results provide insight into how the brain uses contextual information to guide flexible behaviour.Author summary: To behave flexibly, animals must determine which situation or context they are in, even when the information that defines that context is incomplete or no longer visible. This problem, known as contextual inference, is particularly challenging when different situations share similar sensory features and must be distinguished based on past experience. How the brain supports this process remains unclear. Here, we present a computational framework in which contextual inference emerges from the interaction between two complementary processes. One process uses environmental features to infer context, a function often associated with the hippocampus, while the other uses recent behavioural outcomes to infer context, a function linked to prefrontal systems involved in monitoring actions and consequences. We show that combining these sources of information during learning allows agents to form stable, context-specific representations even when sensory cues are weak, noisy, or transient. Applying this framework to sequential decision-making tasks, we find that joint inference reproduces key behavioural signatures of contextual learning and generates context-dependent activity patterns resembling hippocampal splitter cells. Disrupting outcome-based inference during learning selectively impairs the formation of these representations. Together, our results suggest that interactions between feature-based and outcome-based inference may support flexible behaviour when contextual information is uncertain.

Suggested Citation

  • Jessica Passlack & Andrew F MacAskill, 2026. "Contextual inference through flexible integration of environmental features and behavioural outcomes," PLOS Computational Biology, Public Library of Science, vol. 22(3), pages 1-42, March.
  • Handle: RePEc:plo:pcbi00:1014093
    DOI: 10.1371/journal.pcbi.1014093
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1014093
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1014093&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1014093?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
    ---><---

    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:plo:pcbi00:1014093. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    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.