Optimizing deep video representation to match brain activity

Hugo Richard, Ana Luísa Pinho, Bertrand Thirion, Guillaume CharpiatarXiv 2018

TL;DR

This paper explores how deep neural networks trained for action recognition can represent video content in a way that mirrors human brain activity. By analyzing fMRI data from subjects watching natural movies, they found that different layers of these networks correspond to distinct visual processing areas and even the foveal/peripheral distinction in the human visual system. This work offers a novel way to understand both AI representations and brain function.

What Problem Does This Paper Address?

Understanding how the human brain processes visual information, especially complex dynamic scenes like videos, is a major challenge. Traditional neuroscience approaches often rely on simplified, controlled stimuli and subtractive reasoning. This paper aims to bridge the gap between artificial intelligence (AI) and neuroscience by using AI's ability to extract features from naturalistic videos to probe the brain's functional organization. Specifically, they want to see if deep learning models, trained on tasks like action recognition, can generate representations that align with how our brains represent visual input, particularly in terms of processing complexity and spatial attention (foveal vs. peripheral vision).

Methods

The core of the method involves using a deep neural network called the Temporal Segment Network (TSN) for video representation. TSN is designed to process both raw video frames (for image content) and optical flow fields (for motion) separately, mimicking the dorsal and ventral visual streams. The authors leverage a TSN model pre-trained on the large Kinetics dataset for action recognition.

To connect these AI representations to brain activity, they extract features from specific layers (L1-L4) of the TSN network for each video segment. These features are then spatially and temporally down-sampled to match the fMRI acquisition rate. A linear regression model is used to predict voxel-wise brain activity from these extracted deep video features.

A key methodological contribution is an "efficient spatial compression scheme" for these deep video features. This scheme aims to preserve the channel structure of the network, which they found to be crucial for effective representation. They compare this scheme to standard Principal Component Analysis (PCA) and demonstrate its superiority.

Datasets

  • Berkeley Video Dataset: Used for fMRI stimulation. This dataset contains over four hours of color natural movies, created by mixing video blocks of 5-15 seconds.
  • Kinetics Dataset: Used for pre-training the Temporal Segment Network (TSN). This is a large-scale dataset for action recognition, comprising 300,000 unique video clips across 400 human action classes.

Key Insights and Ideas

  • AI Representations Mirror Brain Processing Gradients: Different layers of the deep neural network correspond to different levels of visual processing in the brain. Lower layers (closer to input) map to early visual areas (like occipital cortex), while higher layers map to more complex, lateral visual areas. This suggests a hierarchical processing similarity.
  • Foveal vs. Peripheral Vision in AI: The network's representations can also distinguish between foveal (central) and peripheral (outer) visual processing. This is revealed by comparing how well different network layers predict activity in these respective visual field areas.
  • Channel Structure is Key for Compression: Preserving the internal channel structure of the deep network during feature compression is significantly more effective than generic methods like PCA for creating representations that match brain activity. This highlights the importance of the learned feature organization within the network.
  • Ecological Stimuli Reveal Deeper Brain Organization: Using naturalistic video stimuli, rather than highly controlled experimental paradigms, allows for the discovery of more nuanced brain organization principles, such as the foveal/peripheral dichotomy.

Key Results

  • The proposed spatial compression scheme (APIC/APIBC) significantly outperforms PCA, allowing for correct prediction of brain activity in up to 850 times more voxels.
  • The study successfully parcellates the brain into distinct regions based on how well different layers of the deep network predict their activity, revealing contrasts between low-level (retinotopic) and high-level (object-responsive) areas, as well as foveal and peripheral areas.
  • Specifically, lateral areas are best predicted by later layers of the network, while occipital areas are better predicted by earlier layers. Foveal areas are better predicted by later layers of the raw frames stream, and peripheral areas by earlier layers of the optical flow stream.

Limitations and Future Work

  • Optical Flow Quality: The authors note that the TVL1 algorithm used for computing optical flow in the TSN network might not produce the highest quality flow fields, suggesting that using more recent algorithms like Flownet 2 could further improve performance, though this would require retraining the TSN network.
  • Transfer Learning Imperfection: The network is pre-trained on a different dataset (Kinetics) than the stimuli used for fMRI (Berkeley Video Dataset). This transfer learning is imperfect, as the Berkeley dataset includes content (landscapes, animated pictures) not present in Kinetics, potentially introducing noise.
  • Future Work: The authors suggest future studies should focus on finessing these results by using networks specifically tuned for other tasks, and exploring the role of retinotopic representation in action recognition more deeply. They also propose that future work could explore improving performance by retraining the TSN network with more advanced optical flow algorithms.

Summary updated

BibTeX
@misc{richard2018optimizing,
  author = {Hugo Richard and Ana Luísa Pinho and Bertrand Thirion and Guillaume Charpiat},
  title = {{Optimizing deep video representation to match brain activity}},
  year = {2018},
  eprint = {1809.02440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.02440},
}
Figure