Predictive Coding for Dynamic Visual Processing: Development of Functional Hierarchy in a Multiple Spatiotemporal Scales RNN Model

Minkyu Choi, Jun TaniNeural Computation 2018

TL;DR

This paper introduces the Predictive Multiple Spatio-Temporal Scales Recurrent Neural Network (P-MSTRNN), a novel model that learns to predict and imitate human movement patterns by developing a functional hierarchy. It demonstrates that early learning stages, relying on transient dynamics, are surprisingly effective for prediction and imitation, even before stable movement patterns are fully formed.

What Problem Does This Paper Address?

The paper tackles the challenge of understanding how the brain processes dynamic visual information, specifically human movement. Traditional approaches often struggle to capture the complex spatio-temporal nature of these movements and how the brain might learn to predict and generate them. The authors aim to bridge this gap by proposing a neural network model that can learn a hierarchical representation of movement, mimicking how higher-level intentions might guide lower-level perceptual processing. They are particularly interested in how this hierarchy develops during learning and how it enables both prediction and imitation of dynamic visual sequences.

Methods

The core of the paper is the Predictive Multiple Spatio-Temporal Scales Recurrent Neural Network (P-MSTRNN). This model integrates ideas from:

  • Multiple Timescale Recurrent Neural Networks (MTRNNs): By assigning different time constants to different layers, the network can process information at varying temporal resolutions. Lower layers handle faster dynamics, while higher layers capture slower, more abstract information.
  • Convolutional Neural Networks (CNNs) and Deconvolutional Neural Networks (deCNNs): These are used to impose spatial constraints. Lower layers have smaller receptive fields and local connectivity, while higher layers have larger receptive fields and more global connectivity.
  • Predictive Coding Framework: The network operates on the principle of minimizing prediction error. It generates predictions of future visual input and uses the difference between its predictions and actual input to update its internal states and parameters. This bottom-up error signal is crucial for learning and active recognition.

The P-MSTRNN learns through back-propagation through time (BPTT). It can operate in several modes: open-loop prediction (predicting the next step based on current input), closed-loop prediction (predicting future steps based on its own previous predictions), and closed-loop prediction with error regression (using prediction error to refine internal states for more accurate imitation).

Datasets

The study utilizes a dataset of whole-body human movement patterns. These patterns were composed of pre-defined sub-primitives of legs and arms, organized into six types of whole-body movement primitives (P1-P6). The dataset was collected from multiple human subjects, allowing for the investigation of both generalizable patterns and subject-specific variations.

Key Insights and Ideas

  • Functional Hierarchy Emerges Naturally: The P-MSTRNN demonstrates that a functional hierarchy, with distinct dynamic structures at different layers, can self-organize through learning without explicit architectural design.
  • Transient Dynamics as Early Memory: Surprisingly, the network can effectively generate and imitate movement patterns using transient dynamics in the early stages of learning, even before stable limit-cycle attractors are formed. This suggests that transient dynamics can serve as a form of "memory" for learned patterns.
  • Early Learning is Sufficient for Key Tasks: The study shows that training for a relatively short period (e.g., 500 epochs) is sufficient for successful predictive imitation and generation, challenging the notion that extensive training is always required to form stable attractors.
  • Subject-Specific Idiosyncrasies are Preserved: The model can learn and represent subtle differences in movement patterns demonstrated by different subjects, even within the same category of primitive movement.
  • Error Regression is Key for Predictive Imitation: The predictive coding approach using error regression significantly outperforms simpler input entrainment methods for predictive imitation, especially when dealing with complex or switching movement patterns.

Key Results

  • The P-MSTRNN successfully learned to predict and generate six types of whole-body human movement patterns.
  • After 8000 epochs of training, the network could regenerate all six primitive movement patterns with high fidelity.
  • The number of limit-cycle attractors, representing learned movement patterns, increased significantly as training progressed, from 0 at 100 epochs to 15 at 8000 epochs.
  • Predictive imitation performance, measured by Mean Squared Error (MSE), improved with training. For example, MSE dropped from 0.0468 at 100 epochs to 0.0331 at 1000 epochs and remained low thereafter.
  • Networks trained on a multi-subject dataset showed better generalization and smaller MSE in predictive imitation compared to those trained on a single-subject dataset.
  • Predictive imitation using error regression achieved significantly lower MSE (e.g., 0.0333 at 4000 epochs) compared to entrainment by input (e.g., 0.0620 at 4000 epochs).

Limitations and Future Work

  • Limited Dataset Complexity: The current study used training datasets of limited complexity, with movement patterns composed according to artificial rules and video images limited to 36x36 binary. This limitation is partly due to computational requirements.
  • Computational Costs: Predictive coding at the pixel level incurs significant computational costs, even with low-resolution images.
  • Future Work:
    • Overcome limitations of dataset complexity by training with more natural human action patterns (e.g., grayscale videos).
  • Investigate the model's ability to handle probabilistic properties in natural image datasets, potentially by incorporating Bayesian modeling.
  • Explore the differences between models using the same connectivity pathways in opposite directions for forward activation and backward error propagation versus those using different pathways.
  • Further investigate the role of transient dynamics in learning and memory, particularly how they can reduce necessary training periods.

Summary updated

BibTeX
@article{choi2018predictive,
  author = {Minkyu Choi and Jun Tani},
  title = {{Predictive Coding for Dynamic Visual Processing: Development of Functional Hierarchy in a Multiple Spatiotemporal Scales RNN Model}},
  journal = {Neural Computation},
  year = {2018},
  url = {https://openreview.net/forum?id=LWESVh34PB},
}
Figure