Skip to main content
QUICK REVIEW

[Paper Review] Divergent representations of ethological visual inputs emerge from supervised, unsupervised, and reinforcement learning

Grace W. Lindsay, Josh Merel|arXiv (Cornell University)|Dec 3, 2021
Neural dynamics and brain functionNeuroscience4 citations
TL;DR

This study compares visual representations learned by identical ResNet architectures trained via supervised, unsupervised, and reinforcement learning (RL) on egocentric video data. Using representational similarity analysis and neuroscience-inspired metrics, it finds that RL-trained networks develop sparse, high-dimensional representations distinct from other methods, with the best match to mouse visual cortex, suggesting RL shapes biologically plausible, behaviorally relevant representations.

ABSTRACT

Artificial neural systems trained using reinforcement, supervised, and unsupervised learning all acquire internal representations of high dimensional input. To what extent these representations depend on the different learning objectives is largely unknown. Here we compare the representations learned by eight different convolutional neural networks, each with identical ResNet architectures and trained on the same family of egocentric images, but embedded within different learning systems. Specifically, the representations are trained to guide action in a compound reinforcement learning task; to predict one or a combination of three task-related targets with supervision; or using one of three different unsupervised objectives. Using representational similarity analysis, we find that the network trained with reinforcement learning differs most from the other networks. Using metrics inspired by the neuroscience literature, we find that the model trained with reinforcement learning has a sparse and high-dimensional representation wherein individual images are represented with very different patterns of neural activity. Further analysis suggests these representations may arise in order to guide long-term behavior and goal-seeking in the RL agent. Finally, we compare the representations learned by the RL agent to neural activity from mouse visual cortex and find it to perform as well or better than other models. Our results provide insights into how the properties of neural representations are influenced by objective functions and can inform transfer learning approaches.

Motivation & Objective

  • To understand how different learning objectives—supervised, unsupervised, and reinforcement learning—influence the properties of learned visual representations in deep neural networks.
  • To compare the representational structure of networks trained on the same egocentric visual data but with different objectives, using identical architectures.
  • To evaluate whether representations from RL-trained agents better match biological neural data than those from supervised or unsupervised methods.
  • To investigate the functional role of visual representations in long-term behavior planning and goal-seeking in RL agents.

Proposed method

  • Trained eight identical ResNet-based models on the same egocentric video dataset from the virtual rodent environment (Merel et al., 2020), differing only in training objective.
  • Applied representational similarity analysis (RSA) to compare activation patterns across layers between models.
  • Used neuroscience-inspired metrics such as representational sparsity, dimensionality, and diversity of neural activity patterns across inputs.
  • Evaluated model performance by comparing layer-wise representations to in vivo neural activity recordings from mouse visual cortex.
  • Trained and compared models using three supervised objectives (prediction of task-relevant targets), three unsupervised objectives (including contrastive learning), and one deep RL policy for compound control tasks.
  • Performed hierarchical matching analysis to assess whether early network layers best match early visual cortical areas and later layers match higher areas.

Experimental results

Research questions

  • RQ1How do the representational properties of deep neural networks trained via supervised, unsupervised, and reinforcement learning differ when exposed to the same egocentric visual input?
  • RQ2To what extent do representations from reinforcement learning agents match those observed in mouse visual cortex?
  • RQ3Do representations from RL-trained models exhibit sparsity, high dimensionality, or representational diversity that distinguish them from other training regimes?
  • RQ4Can representations from RL agents support long-term behavioral planning, as indicated by their structure and downstream impact?
  • RQ5Do intermediate layers of RL-trained networks show a hierarchical correspondence with the laminar organization of mouse visual cortical areas?

Key findings

  • The reinforcement learning (RL)-trained model produced representations that were most dissimilar to those of other models, particularly in deeper layers, as measured by representational similarity analysis.
  • The RL model exhibited high sparsity and high-dimensional neural activity patterns, with individual images activating distinct and non-overlapping sets of neurons.
  • Layer R2 of the RL-trained model (RLRod) achieved the best overall match to neural activity across all visual cortical areas in mouse, outperforming even the best unsupervised models.
  • The RL model’s visual encoder was not primarily used for immediate action control but instead supported long-term planning, suggesting a functional role beyond real-time visuomotor control.
  • Despite differences in training objectives, unsupervised contrastive learning (UnsCPC) captured some features of the RL representation, such as sparsity and dimensionality, but failed to replicate the full set of emergent properties.
  • The hierarchical trend in representational similarity—where early network layers matched early visual areas and later layers matched higher areas—was observed in the RL model, though layer R2 alone was primarily responsible for the best match across all regions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.