Abstract: Bi-linear feature learning models, like the gated autoencoder, were proposed as a way to model relationships between frames in a video. By minimizing reconstruction error of one frame, given the previous frame, these models learn "mapping units" that encode the transformations inherent in a sequence, and thereby learn to encode motion. In this work we extend bi-linear models by introducing "higher-order mapping units" that allow us to encode transformations between frames and transformations between transformations. We show that this makes it possible to encode temporal structure that is more complex and longer-range than the structure captured within standard bi-linear models. We also show that a natural way to train the model is by replacing the commonly used reconstruction objective with a prediction objective which forces the model to correctly predict the evolution of the input multiple steps into the future. Learning can be achieved by back-propagating the multi-step prediction through time. We test the model on various temporal prediction tasks, and show that higher-order mappings and predictive training both yield a significant improvement over bi-linear models in terms of prediction accuracy.
Introduction
Traditional sequence models often struggle to capture long-range dependencies or complex physical laws. While models like the Gated Autoencoder (GAE) were effective at identifying the relationship between two frames (e.g., "the object moved 2 pixels right"), they generally assumed this relationship remained constant over time. In the real world, dynamics are rarely static; objects accelerate, rotate in 3D, and bounce. To model these phenomena, a system needs to understand how the change itself is changing. This paper introduces the Higher-order Gated Autoencoder (HGAE), a model designed to represent not just the transformation between two frames (velocity), but the transformation between transformations (acceleration).
Methodology
The core of this approach is the Gated Autoencoder (GAE), a bilinear model that uses multiplicative interactions to learn "mapping units"—features that represent transformations rather than pixel content.
The authors introduce two key innovations:
- Higher-order Relational Features: GAEs are stacked into a pyramid (the HGAE). The first layer extracts motion from pairs of frames. The second layer takes these motion vectors as input and extracts the relationship between them. Mathematically, if the first layer acts as a first-order derivative (velocity), the second layer acts as a second-order derivative (acceleration).
- Predictive Training: Instead of the standard "reconstruct the input" approach, the authors propose a "predict the future" objective. The model is given two frames, infers the transformation, and is then tasked with applying that transformation to the second frame to predict a third, unseen frame. This forces the mapping units to capture the underlying dynamics of the sequence rather than just memorizing pixel patterns.
Training involves a modular approach: pre-training layers individually using reconstruction, then fine-tuning the entire stack using Backpropagation Through Time (BPTT) with a multi-step look-ahead prediction error.
Experimental Evaluation
The models were evaluated on several datasets designed to test specific dynamical properties:
- Synthetic Patches: Created versions with constant velocity (CONSTROT/SHIFT) and constant acceleration (ACCROT/SHIFT).
- Bouncing Balls: A benchmark for non-linear dynamics and boundary reflections.
- NORBVideos: Sequences of 3D objects undergoing incremental viewpoint changes, testing the ability to model 3D structure and rotation.
Key Results
- Superior Feature Quality: On the
CONSTSHIFTdataset, predictive training achieved 79.4% classification accuracy compared to 76.4% for reconstructive training, proving it learns more discriminative motion features. - Acceleration Detection: For accelerated sequences (
ACCSHIFT), the second-order mappings ($m_2$) achieved 80.6% accuracy, vastly outperforming the first-layer mappings (~34%). - Long-term Extrapolation: The HGAE was significantly better at predicting the future of the
NORBVideosandBouncing Ballsdatasets. While a standard GAE's predictions would quickly blur, the HGAE maintained consistent, sharp predictions for 10–20 frames by correctly accounting for 3D rotation and boundary bounces.
Discussion and Conclusion
The authors frame relational learning as a Taylor approximation of a dynamical system, providing a clear mathematical intuition for stacking these models. Predictive training acts as a powerful regularizer, essentially framing the task as an analogy: Frame A is to Frame B as Frame B is to [Predicted Frame C].
While successful, the model currently depends on careful layer-wise pre-training and faces computational challenges due to the parameter-heavy nature of multiplicative interactions. Future work could explore scaling to high-resolution natural video and applying these "analogy-based" predictive training techniques to other domains like natural language processing. By focusing on the "motion of motion" through higher-order mappings, the HGAE provides a robust framework for modeling complex physical dynamics in sequential data.
Summary updated