Abstract
We introduce a neural network architecture and a learning algorithm to produce factorized symbolic representations. We propose to learn these concepts by observing consecutive frames, letting all the components of the hidden representation except a small discrete set (gating units) be predicted from the previous frame, and let the factors of variation in the next frame be represented entirely by these discrete gated units (corresponding to symbolic representations). We demonstrate the efficacy of our approach on datasets of faces undergoing 3D transformations and Atari 2600 games.
Introduction
While deep learning excels at perceptual tasks when given massive amounts of labeled data, learning abstract, interpretable representations without manual supervision remains a major challenge. Standard unsupervised generative models, such as variational autoencoders (VAEs) or generative adversarial networks (GANs), typically produce "entangled" latent spaces. In such spaces, changing a single latent variable might simultaneously alter multiple semantic attributes—like an object's color, size, and position—in unpredictable ways.
Computer vision historically relied on symbolic descriptions of scenes, but modern neural networks struggle to learn these discrete, interpretable concepts directly from raw pixels. This paper addresses this gap by leveraging the natural temporal continuity of video frames to learn factorized, symbolic representations where individual latent units correspond to distinct semantic meanings.
Methods: Gating and Continuation Learning
The proposed architecture is a modified deep convolutional autoencoder designed to process pairs of consecutive frames ($x_{t-1}$ and $x_t$). The core innovation lies in a gating mechanism combined with a training strategy called continuation learning.
The Gating Mechanism
A shared encoder processes both frames to produce latent representations $h_{t-1}$ and $h_t$. A "gating head" examines both representations and selects a single index $i$. The model then constructs a hybrid representation $\tilde{h}_t$ by taking the previous frame's representation $h_{t-1}$ and swapping out its $i$-th component for the $i$-th component of the current frame $h_t$. This hybrid representation is then fed to the decoder to reconstruct the current frame $x_t$.
The Information Bottleneck
Because the decoder must reconstruct frame $t$ using almost entirely the features of frame $t-1$, the single swapped component $i$ is forced to encode whatever changed between the two frames (e.g., a moving object or a change in lighting). This strict information bottleneck mathematically forces the network to compress transformations into compact, disentangled concepts.
Continuation Learning
Making a hard, discrete choice (picking exactly one index to swap) is non-differentiable, which prevents standard backpropagation. To solve this, the authors employ "continuation learning." They begin training with a soft, continuous weighting over all components. Over time, they apply a scheduling technique called "weight sharpening" combined with noise, which smoothly anneals the soft distribution into a hard, binary decision by the end of training.
Experimental Results
The efficacy of the approach was demonstrated on two distinct datasets featuring different types of visual transformations.
Atari 2600 (Breakout)
The model was trained on sequential frames from the game Breakout. To capture multiple moving elements, the model was configured with three gating heads.
The model successfully isolated distinct game concepts into individual latent units. For example, manipulating a single unit in the hidden representation cleanly moved the paddle's position on the screen. Another single unit was found to control the "lives remaining" counter in the score bar, demonstrating the model's ability to identify symbolic game states from pixels.
Synthetic Faces
Using images generated from the Basel face model, the authors tested the model on pairs of images where exactly one factor—lighting, elevation, or azimuth—changed. With a single gating head, the model successfully mapped these 3D transformations to individual units. Adjusting specific units allowed for smooth control over the direction of lighting and the elevation of the face.
Discussion and Future Work
This work demonstrates that temporal continuity is a powerful supervisory signal. By leveraging the fact that most of a scene remains invariant from one moment to the next, models can isolate semantic "deltas" without human labels.
However, some limitations remain. The model currently requires pre-defining the number of gating heads, implying prior knowledge of the scene's complexity. Additionally, some learned transformations, such as face azimuth, were not perfectly smooth. Future research will focus on extending this model to more complex, real-world settings with an unknown number of factors of variation.
Summary updated