NILE Lab

Laboratory of Neural
Inference, Learning, & Explanation

The NILE Lab – Lab of Neural Inference, Learning, & Explanation –
is opening January 2027 at the University of Rochester (UR) in the Department of Brain and Cognitive Sciences (BCS), headed by Kenneth Kay.

We are a collaborative research group whose goal is to understand three fundamental cognitive abilities in humans, animals, and neural networks.

We combine several main approaches:

  1. 1.Neural network models
  2. 2.Neural data analysis
  3. 3.Establishing new human cognitive tasks

Our core research philosophy is to focus on essential yet under-investigated biological principles from the brain.

We are recruiting and open to new collaborations.
If interested, please see Join.

Areas of Study

We investigate how neural systems realize
3 fundamental cognitive abilities.

1. Inference

How do neural systems use past knowledge to inform the present?

Drawing of a chimpanzee stacking boxes to reach hanging bananas
Chimpanzee stacking boxes to reach bananas, a novel solution (Köhler, 1925). Drawing: G. Yan, Springer (2024).

Our recent work focuses on “zero-shot” inference – the ability to solve problems or tasks given no previous lifetime examples (“shots”). Though popularly associated with humans in solving difficult problems for the first time, extensive contemporary research1 indicates that animals with limited experience (such as laboratory animals), and across an enormous range of species, can zero-shot infer, implying fundamental importance.

Drawing of a chimpanzee stacking boxes to reach hanging bananas
Chimpanzee stacking boxes to reach bananas, a novel solution (Köhler, 1925). Drawing: G. Yan, Springer (2024).
Diagrams of ranking (A > B > C …) and grouping tasks, with trained pairs and novel test pairs
Ranking and grouping tasks: train on some pairs, then test on novel pairs (pink).

To study this ability, we use tasks that present novel combinations of familiar elements. For example, if items A and B are seen together, and items B and C are seen together, what is the relationship between A and C? Here, A, B, and C could be friends that you are familiar with only in certain pairings (A–B and B–C) but not others (A–C). To arrive at an answer, it is typically necessary to infer unseen underlying relationships, e.g. those based on ranking (e.g. inferring “A is stronger than C”)2–6, grouping (e.g. inferring “A lives with C”)2,7, and cause-effect (inferring “A causes C”)8.

Crucially, inferring any of these relationships in a novel circumstance (e.g. A–C) requires prior knowledge or an inductive “bias” of some kind – the basis of this prior structure remains an open question.

Diagrams of ranking (A > B > C …) and grouping tasks, with trained pairs and novel test pairs
Ranking and grouping tasks: train on some pairs, then test on novel pairs (pink).
  1. See for example: M. Giurfa et al. (2001). Nature; C.D. Bird, N.J. Emery (2009). PNAS; H. Eichenbaum, N.J. Cohen (2001). Oxford Univ. Press.
  2. D. Levine, D. van Dijk, K. Kay (2026). arXiv.
  3. T. Miconi, K. Kay (2025). Nat. Neurosci.
  4. K. Kay et al. (2024). PLOS Comput. Biol.
  5. S. Lippl, K. Kay, G. Jensen, V.P. Ferrera, L.F. Abbott (2024). PNAS.
  6. G. Jensen (2017). APA Handb. Comp. Psychol.
  7. S. Lippl, K. Stachenfeld (2025). ICLR.
  8. M.A. Triplett, K. Kay (2026). NeurIPS.

2. Learning

How can neural systems modify themselves adaptively given experience?

Learning is essential to our lives and a cornerstone function of the brain, yet many foundational problems remain about how the brain learns – including, remarkably, everyday learning.

Everyday learning is often rapid, one or few-exposure, and progressive – that is, additional experience does not easily cause what you’ve learned to deteriorate – indeed, experience often helps us get even better at learning. In psychology and neuroscience, these features of everyday learning relate to insight1 and relational learning2,3, and, in machine learning, relate to few-shot, transfer, and continual learning4–6. The basis of these abilities remains unclear.

Diagram of a recurrent neural network whose output drives a learning signal that feeds back to modify the network
A neural network that modifies itself via its own learning signal7–9.

In recent work8,9, our approach is to identify and study a minimal set of fully neural parts – such as innate neural architecture, neural learning rules (‘local plasticity’ rules), and global neural signals (called ‘neuromodulators’) that control learning in a manner unlike external optimization, and others – that adhere to essential neurobiological principles and are understandable algorithmically.

Diagram of a recurrent neural network whose output drives a learning signal that feeds back to modify the network
A neural network that modifies itself via its own learning signal7–9.
  1. W. Köhler (1925). The Mentality of Apes.
  2. N.J. Cohen, H. Eichenbaum (1993). MIT Press.
  3. H. Eichenbaum, N.J. Cohen (2001). Oxford Univ. Press.
  4. G.I. Parisi et al. (2019). Neural Netw.
  5. L. Wang, X. Zhang, H. Su, J. Zhu (2024). IEEE TPAMI.
  6. G.M. van de Ven, N. Soures, D. Kudithipudi (2025). Learning and Memory (Elsevier).
  7. T. Miconi, A. Rawal, J. Clune, K.O. Stanley (2019). ICLR.
  8. T. Miconi, K. Kay (2025). Nat. Neurosci.
  9. D. Levine, D. van Dijk, K. Kay (2026). arXiv.

3. Explanation

How can neurons infer entire systems of relationships underlying new situations?

Explanation is ordinarily not regarded as a cognitive ability, but rather as an activity that is human-specific, largely subjective, and poorly defined. In contrast, here we suggest that explanation occurs in some form across animal species, and that explanation is an important cognitive ability that fundamentally differs from both prediction and control, forms of cognition that relate primarily to sensory observations/outcomes and action selection, respectively.

We specifically suggest that

  1. Explanation is zero-shot inference of systems of relationships, which includes complex concepts.
  2. Diagram: a rat at a choice point with possible paths left and right and directions up and down; below, neural firing alternates between left and right (and up and down) on successive theta cycles; scale bar 200 ms
    Cycle firing. Neural firing (two neurons per example) that rapidly yet regularly alternates between possibilities – here left vs. right paths, up vs. down directions – on successive cycles of a fast internal process within the brain
    (~8 cycles / second)1.
    Explanation contributes profoundly to everyday learning.
  3. Explanation is realized by specialized neural systems in the brain.

In work analyzing neural data from rats learning a maze1, we found “cycle firing” – strikingly rapid yet orderly patterns of sustained neural firing reflecting various kinds of alternative possibilities. Three kinds of possibilities were evidenced: possible locations in space (left vs. right maze arms), possible directions of travel (up vs. down along a maze arm), and possible paths taken (“I got here from the left arm” vs. “I got here from the right arm”) – all useful concepts for a maze learner. The same firing pattern also occurred in additional neurons, suggesting that other kinds of possibilities were also signaled. This activity pattern, and others like it, may reflect processes (such as imagination2) that subserve a form of explanation, in particular for the sake of learning.

Diagram: a rat at a choice point with possible paths left and right and directions up and down; below, neural firing alternates between left and right (and up and down) on successive theta cycles; scale bar 200 ms
Cycle firing. Neural firing (two neurons per example) that rapidly yet regularly alternates between possibilities – here left vs. right paths, up vs. down directions – on successive cycles of a fast internal process within the brain
(~8 cycles / second)1.
Diagram: two separately learned orderings (O > X > U > R and C > K > E > B) plus one linking pair (R > C) are assembled into a single ordering, tested in full
Rapid knowledge assembly. Relational knowledge learned separately (Learn 1 and 2), followed by limited new experience (Learn 3), results in a global change in knowledge structure3–5.

In parallel, in studying neural networks optimized to learn zero-shot inference tasks, we find emergent behavioral abilities and neural mechanisms that closely relate to explanation3,4 – one is ‘rapid knowledge assembly’ (a term coined by Nelli and colleagues5), a distinctive form of continual learning in which previously acquired relational knowledge is globally updated given a small amount of new experience. In future work, we look to clarify these and other related abilities, including by developing new human cognitive tasks.

Diagram: two separately learned orderings (O > X > U > R and C > K > E > B) plus one linking pair (R > C) are assembled into a single ordering, tested in full
Rapid knowledge assembly. Relational knowledge learned separately (Learn 1 and 2), followed by limited new experience (Learn 3), results in a global change in knowledge structure3–5.
  1. K. Kay et al. (2020). Cell.
  2. A.E. Comrie, L.M. Frank, K. Kay (2022). Phil. Trans. R. Soc. B.
  3. T. Miconi, K. Kay (2025). Nat. Neurosci.
  4. D. Levine, D. van Dijk, K. Kay (2026). arXiv.
  5. S. Nelli, L. Braun, T. Dumbalska, A. Saxe, C. Summerfield (2023). Neuron.

We seek to answer these open questions:

  1. Question 1. What neural components underlie these abilities?
  2. Question 2. What neurally implemented algorithms underlie these abilities?
  3. Question 3. What shared principles or idiosyncrasies, whether neural or algorithmic, occur across specific instances of these abilities (e.g. across tasks, individuals, species)?
  4. Question 4. How do these abilities interrelate?

Publications (selected)

  1. AutoHebb paper graphic: block-structured red and blue matrix
  2. Triplett & Kay paper graphic: colored trajectories radiating from a central point

    Emergent representations of graphical structure in mechanistic neural models of causal judgment

    M.A. Triplett, K. Kay

    Advances in Neural Information Processing Systems (accepted) • 2026  [bib] [openreview] [PDF]

  3. Lee et al. paper graphic: spike rasters

    A cognitive representation in primary visual cortex modulated by vision

    K.H. Lee, P. Adenekan, F. Gao, J. Zhou, J. Hernandez, A. Yorita, R. Haque, K. Kay, M. Scanziani, L.M. Frank

    bioRxiv • 2026  [bib] [bioRxiv] [PDF]

  4. Gu et al. paper graphic: scatter of data points with a fitted curve

    Naturalistic behavior and self-generated neural activity predictive of self-correction

    S. Gu, C. Liu, A.K. Gillespie, R. Nevers, E.L. Denovellis, M.E. Coulter, K. Kay, L.M. Frank

    bioRxiv • 2026  [bib] [bioRxiv] [PDF]

  5. Miconi & Kay paper graphic: learning curves
  6. Lippl et al. paper graphic: model responses across item pairs

    A mathematical theory of relational generalization in transitive inference

    S. Lippl, K. Kay, G. Jensen, V.P. Ferrera, L.F. Abbott

    PNAS • 2024  [bib] [journal] [PDF]

  7. Kay et al. PLOS paper graphic: neural population geometry

    Emergent neural dynamics and geometry for generalization in a transitive inference task

    K. Kay, N. Biderman, R. Khajeh, M. Beiran, C.J. Cueva, D. Shohamy, G. Jensen, X.-X. Wei, V.P. Ferrera, L.F. Abbott

    PLOS Computational Biology • 2024  [bib] [journal] [PDF]

  8. Comrie, Frank & Kay review graphic: actual and imagined phases of a rhythm

    Imagination as a fundamental function of the hippocampus

    A.E. Comrie, L.M. Frank, K. Kay

    Philosophical Transactions of the Royal Society B • 2022  [bib] [journal] [PDF]

  9. Kay et al. Cell paper graphic: alternating neural representations

    Constant sub-second cycling between representations of possible futures in the hippocampus

    K. Kay, J.E. Chung, M. Sosa, J.S. Schor, M.P. Karlsson, M.C. Larkin, D.F. Liu, L.M. Frank

    Cell • 2020  [bib] [journal] [PDF]

  10. Kay & Frank paper graphic: brain-state traces

    Three brain states in the hippocampus and cortex

    K. Kay, L.M. Frank

    Hippocampus • 2019  [bib] [journal] [PDF]

  11. Kay et al. Nature paper graphic: spikes and oscillation envelopes

    A hippocampal network for spatial coding during immobility and sleep

    K. Kay, M. Sosa, J.E. Chung, M.P. Karlsson, M.C. Larkin, L.M. Frank

    Nature • 2016  [bib] [journal] [PDF]

  12. Deng et al. paper graphic: decoded position over time

    Clusterless decoding of position from multiunit activity using a marked point process filter

    X. Deng, D.F. Liu, K. Kay, L.M. Frank, U.T. Eden

    Neural Computation • 2015  [bib] [journal] [PDF]

Early Publications

Full publication list on Google Scholar.

People

  • Kenneth (Kenny) Kay

    Principal Investigator

    Kenny is incoming faculty in the Department of Brain and Cognitive Sciences at UR. Originally from Chicago, IL and Augusta, GA, Kenny received his B.S. in Physics at Johns Hopkins, his Ph.D. in Bioengineering at UC Berkeley/UCSF, and postdoctoral training at the Center for Theoretical Neuroscience at Columbia University. Kenny enjoys spicy food, going to the gym, listening to funk, and 80’s nostalgia.

Collaborators

  • Marcus Triplett (UCLA)[link]
  • Daniel Levine (Yale)[link]
  • Thomas Miconi (Astera)[link]
  • Xuexin Wei (UT Austin)[link]
  • Greg Jensen (Reed)[link]
  • Ramin Khajeh (Harvard)[link]
  • Loren Frank (HHMI/UCSF)[link]
  • Vincent Ferrera (Columbia)[link]
  • Yuhao Jin (Columbia)[link]
  • Erdem Varol (NYU)[link]

Join

We are looking for highly motivated individuals of diverse personal and academic backgrounds.
Some potential backgrounds include neuroscience, psychology, cognitive science, machine learning, statistics, physics, electrical engineering, computer science, and mathematics.

Research Assistant – we are seeking recent college graduates for a full- or part-time position starting as early as Spring or Summer 2027 and geared toward individuals who have a focused interest in gaining research experience. The position would involve primarily doing research and multiple efforts in the lab, including piloting human cognitive tasks. If interested, please email Kenny with your CV and a brief description (short paragraph) of your research experience and specific interests.

PhD students – we are excited to have PhD students. Those interested can apply through the BCS Graduate Program (mention the lab in the application), and potentially other departmental graduate programs at UR (pending). Please feel free to reach out to Kenny beforehand to discuss interests and potential fit.

Postdoctoral researchers – we are seeking independent scientists who are looking to work across multiple directions in the lab. If interested, please email Kenny with your CV and a cover letter summarizing past work, current interests, and contact information for 2–3 references.

Collaborators – we think there are lots of possibilities for new collaborations (across models, neural data analysis, or human cognitive tasks), and would be excited to brainstorm and discuss potential next steps.

Please feel free to reach out to Kenny with questions or inquiries.

Contact

Email: kenneth.kay@rochester.edu

Address:

Department of Brain and Cognitive Sciences
University of Rochester
Meliora Hall
Rochester, NY 14627