All models

Neural Foundations of Mental Simulation (Nayebi et al.)

A frozen ResNet-50 encoder with a CTRNN dynamics module that predicts future latent states of video.

Video · 2,061 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,061 operations (330 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Parameters
29.8M
Operations
2,061
Framework
PyTorch
Recurrent
Yes
Published
NeurIPS 2023
Cited by
4 (as of 26 October 2026)
Authors
Aran Nayebi, Rishi Rajalingham, Mehrdad Jazayeri, Guangyu Robert Yang
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18782
Graph hash
05d80232f6fc6fb7711cdf933b9c877ffb2d446bcc8d31eb65f0edfd46e13e13
Skeleton hash
c4d66d3958fb6a2a5aaaecc049a0a48336fc3c71383fd0249d603ff2e5467daf
Architecture hash
abe75e6ec360fcd4e1ac56ee551e2b47c87edacb3233da2976129c5d86548198
Diagram SHA-256
12c10f5b725f5bf0151915dfeeba87058207848e6efb991d4832d486520283bc
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model comes from a study of mental simulation, the capacity of humans and animals to infer how objects and events will move and which future states are plausible. The authors built several classes of networks that predict the future state of an environment and compared them with neurophysiological data and human behavior.

This one belongs to the class that predicts the future in a latent space, with an encoder E that turns frames into latent states and a dynamics module D that predicts the next latent. The encoder is fixed and pretrained, and only the dynamics module is trained, on the Physion video dataset. Here the encoder is a ResNet-50, which the paper lists among image models pretrained on ImageNet, and the dynamics module is a continuous-time RNN (CTRNN). The released models expect 7 context frames before the forward simulation begins.

The paper reports that neural responses were best predicted by models that predict the future in the latent space of foundation models pretrained on dynamic scenes with self-supervision. Those recordings come from primate frontal cortex during Mental-Pong, a ball interception task in which the ball's trajectory is partially occluded. The networks were not trained on Mental-Pong itself, so the comparison tests how they generalize to a new setting.

Key idea. The paper shows that models predicting the future in the latent space of video foundation models best match primate neural responses during mental simulation.

  • neural foundations of mental simulation
  • mental-sim
  • mpmodels
  • mental simulation
  • future prediction
  • latent future prediction
  • physion
  • mental-pong
  • ctrnn dynamics

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{nayebi2023neuralfoundationsmentalsimulation,
      title={Neural Foundations of Mental Simulation: Future Prediction of Latent Representations on Dynamic Scenes}, 
      author={Aran Nayebi and Rishi Rajalingham and Mehrdad Jazayeri and Guangyu Robert Yang},
      year={2023},
      eprint={2305.11772},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2305.11772}, 
}