JWJames C. R. Whittington

James C. R. Whittington

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


James C. R. Whittington has a total of 34 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    How much neuroscience does a neuroscientist need to know?

    by James C.R. Whittington, William Dorrell

  • Open Access

    A Mechanistic Theory Unifying Value and Schema in the Prefrontal Cortex

    by Joseph Warren, Kristopher T. Jensen, Timothy E. J. Behrens, James C. R. Whittington

    Animals exhibit behavioural flexibility by making reward-optimal decisions in unfamiliar situations. Computing value from minimal reward feedback requires leveraging known structure in the world. The Prefrontal Cortex (PFC) plays a pivotal role in both value computation and learning world structure, however mechanistic explanations for each—within the frameworks of Reinforcement Learning and Cognitive Maps—are largely distinct. We develop a mechanistic model of PFC that unifies value and structure through behavioural flexibility. In this model, value acts as a control signal that gates structured working memory representations of the current context in order to ultimately control behaviour. This is a significant departure from the conventional perspective of value, in which it is used for action readout. Critically, this model generalises to novel contexts without the need for additional synaptic plasticity. We demonstrate that recurrent neural networks (RNNs) meta-trained with either reinforcement learning or supervised learning recapitulate this exact model on various value-based tasks. These results not only provide a parsimonious explanation of both the value and schema frameworks of PFC function, but also propose a new mechanistic interpretation of the role of PFC in flexible decision making.

  • Open Access

    An Efficient Computing Theory of Prefrontal Structured Working Memory Representations

    by William Dorrell, Peter E. Latham, Timothy E. J. Behrens, James C. R. Whittington

    A bstract: The efficient coding hypothesis presents a compelling success story for theoretical and systems neu-roscience. It marshals a unifying idea, that neural codes can be understood as efficient encodings of natural stimuli, to explain phenomena from across sensory systems, sometimes with exquisite precision. However, similar normative assaults on cognitive representations, such as those in prefrontal or entorhinal cortex, have been less comprehensively successful. We argue that this reflects efficient coding’s focus on encoded variables, overlooking the computations that neural circuits implement. Here, instead, we develop an efficient computing theory that studies optimal implementations of recurrent cognitive computations. We apply this framework to the prefrontal cortex, in particular, to a rich vein of neural recordings: structured working memory tasks, such as recalling a sequence. Despite using near-identical tasks, the literature has reported two distinct coding schemes: one contextual, with neurons active only in a particular sequence, the other compositional, with neurons tuned to a single sequence element. Just as efficient coding links stimuli statistics to optimal representation, our theory relates task structure and statistics to optimal representation. In so doing, we find that compositional and contextual codes can be understood as two extremes of a spectrum of optimal representations, with the correlations amongst sequence elements determining a task’s position on this spectrum. Our theory highlights previously underappreciated discrepancies between measured representations, explaining them via subtle task differences; and allows us to infer the algorithm underlying otherwise ambiguous neural data. In sum, we demonstrate an efficient computing approach that makes normative statements about cognitive representations, and serves as a tool for understanding a swathe of neural data.


  • Open Access

    Inferential planning in the frontal cortex

    by Francesco Donnarumma, Thomas Parr, Karl Friston, James Whittington, Giovanni Pezzulo

    How the brain plans and maintains sequences of future actions remains a central question in systems neuroscience. Recent studies in the frontal cortex have revealed that multiple elements of a sequence are represented simultaneously in separable neural subspaces, challenging classical serial models of sequential planning. Here, we show that these representations emerge naturally under inferential planning in which sequential actions are inferred from sensory evidence and goals. Using a hierarchical generative model, we reproduce key neural phenomena observed in primate frontal cortex, including the simultaneous activation of multiple plan elements, the emergence of (almost) orthogonal ‘memory’ subspaces, and their reuse across forward and backward sequence tasks. Our approach provides a mechanistic account of how probabilistic inference over control states gives rise to distributed and dynamic neural representations of plans. This framework not only unifies previously disparate findings on planning, working memory, and motor preparation, but also generates novel, testable predictions about the dynamics of active inference, the role of sensory subspaces, and the impact of uncertainty on sequence processing.


  • Top Cited Papers
    Open Access

    Constructing future behavior in the hippocampal formation through composition and replay

    by Jacob J. W. Bakermans, Joseph Warren, James C. R. Whittington, Timothy E. J. Behrens

    The hippocampus is critical for memory, imagination and constructive reasoning. Recent models have suggested that its neuronal responses can be well explained by state spaces that model the transitions between experiences. Here we use simulations and hippocampal recordings to reconcile these views. We show that if state spaces are constructed compositionally from existing building blocks, or primitives, hippocampal responses can be interpreted as compositional memories, binding these primitives together. Critically, this enables agents to behave optimally in new environments with no new learning, inferring behavior directly from the composition. We predict a role for hippocampal replay in building and consolidating these compositional memories. We test these predictions in two datasets by showing that replay events from newly discovered landmarks induce and strengthen new remote firing fields. When the landmark is moved, replay builds a new firing field at the same vector to the new location. Together, these findings provide a framework for reasoning about compositional memories and demonstrate that such memories are formed in hippocampal replay.


  • Open Access

    A tale of two algorithms: Structured slots explain prefrontal sequence memory and are unified with hippocampal cognitive maps

    by James C.R. Whittington, William Dorrell, Timothy E.J. Behrens, Surya Ganguli, Mohamady El-Gaby


  • Open Access

    On prefrontal working memory and hippocampal episodic memory: Unifying memories stored in weights and activity slots

    by James C.R. Whittington, William Dorrell, Timothy E.J. Behrens, Surya Ganguli, Mohamady El-Gaby

    Remembering events in the past is crucial to intelligent behaviour. Flexible memory retrieval, beyond simple recall, requires a cognitive map, or model of how sensations, actions, and latent environmental or task states are all related to one another. Two key brain systems are implicated in this process: the hippocampal episodic memory (EM) system and the prefrontal working memory (WM) system. While an understanding of the hippocampal system, from computation to algorithm and representation, is emerging, less is understood about how the prefrontal WM system can give rise to flexible computations beyond simple memory retrieval, and even less is understood about how the two systems relate to each other. Here we develop a mathematical theory relating the algorithms and representations of EM and WM by unveiling a duality between storing memories in synapses versus neural activity. In doing so, we develop a formal theory of the algorithms and representations of prefrontal WM in terms of structured, and controllable, neural subspaces (termed activity slots) that together can represent a dynamic cognitive map without any need for synaptic plasticity. By building models using this formalism, we elucidate the differences, similarities, and trade-offs between the hippocampal and prefrontal algorithms. Lastly, we show that several prefrontal representations in tasks ranging from list learning to cue dependent recall are unified as controllable activity slots. Our results unify frontal and temporal representations of memory, and offer a new basis for understanding dynamic prefrontal representations of WM.


  • Open Access

    Disentanglement via Latent Quantization

    by Kyle Hsu, Will Dorrell, James C. R. Whittington, Jiajun Wu, Chelsea Finn

    In disentangled representation learning, a model is asked to tease apart a dataset's underlying sources of variation and represent them independently of one another. Since the model is provided with no ground truth information about these sources, inductive biases take a paramount role in enabling disentanglement. In this work, we construct an inductive bias towards encoding to and decoding from an organized latent space. Concretely, we do this by (i) quantizing the latent space into discrete code vectors with a separate learnable scalar codebook per dimension and (ii) applying strong model regularization via an unusually high weight decay. Intuitively, the latent space design forces the encoder to combinatorially construct codes from a small number of distinct scalar values, which in turn enables the decoder to assign a consistent meaning to each value. Regularization then serves to drive the model towards this parsimonious strategy. We demonstrate the broad applicability of this approach by adding it to both basic data-reconstructing (vanilla autoencoder) and latent-reconstructing (InfoGAN) generative models. For reliable evaluation, we also propose InfoMEC, a new set of metrics for disentanglement that is cohesively grounded in information theory and fixes well-established shortcomings in previous metrics. Together with regularization, latent quantization dramatically improves the modularity and explicitness of learned representations on a representative suite of benchmark datasets. In particular, our quantized-latent autoencoder (QLAE) consistently outperforms strong methods from prior work in these key disentanglement properties without compromising data reconstruction.

  • Open Access

    Disentanglement with Biological Constraints: A Theory of Functional Cell Types

    by James C. R. Whittington, Will Dorrell, Surya Ganguli, Timothy E. J. Behrens

    Neurons in the brain are often finely tuned for specific task variables. Moreover, such disentangled representations are highly sought after in machine learning. Here we mathematically prove that simple biological constraints on neurons, namely nonnegativity and energy efficiency in both activity and weights, promote such sought after disentangled representations by enforcing neurons to become selective for single factors of task variation. We demonstrate these constraints lead to disentanglement in a variety of tasks and architectures, including variational autoencoders. We also use this theory to explain why the brain partitions its cells into distinct cell types such as grid and object-vector cells, and also explain when the brain instead entangles representations in response to entangled task factors. Overall, this work provides a mathematical understanding of why single neurons in the brain often represent single human-interpretable factors, and steps towards an understanding task structure shapes the structure of brain representation.


  • Open Access

    Actionable Neural Representations: Grid Cells from Minimal Constraints

    by William Dorrell, Peter E. Latham, Timothy E. J. Behrens, James C. R. Whittington

    To afford flexible behaviour, the brain must build internal representations that mirror the structure of variables in the external world. For example, 2D space obeys rules: the same set of actions combine in the same way everywhere (step north, then south, and you won't have moved, wherever you start). We suggest the brain must represent this consistent meaning of actions across space, as it allows you to find new short-cuts and navigate in unfamiliar settings. We term this representation an `actionable representation'. We formulate actionable representations using group and representation theory, and show that, when combined with biological and functional constraints - non-negative firing, bounded neural activity, and precise coding - multiple modules of hexagonal grid cells are the optimal representation of 2D space. We support this claim with intuition, analytic justification, and simulations. Our analytic results normatively explain a set of surprising grid cell phenomena, and make testable predictions for future experiments. Lastly, we highlight the generality of our approach beyond just understanding 2D space. Our work characterises a new principle for understanding and designing flexible internal representations: they should be actionable, allowing animals and machines to predict the consequences of their actions, rather than just encode.