Motion Invariance in Visual Environments

Alessandro Betti, Marco Gori, Stefano Melacci

Abstract

Modern computer vision relies heavily on massive datasets of static, labeled images, whereas biological vision learns unsupervised from continuous, moving video streams. This paper introduces a physics-inspired learning theory based on the "principle of least cognitive action," demonstrating that enforcing motion invariance on video streams naturally yields highly informative, unsupervised convolutional features. We show that by treating feature learning as a dynamical physical system, we can develop visual invariances—the ability to recognize objects regardless of scale or deformation—entirely from the inherent motion within a visual stream.

Introduction

Deep learning for computer vision is currently dominated by supervised learning on static datasets like ImageNet. However, humans and animals develop visual representations by observing objects move continuously over time. Standard Convolutional Neural Networks (CNNs) often miss this fundamental biological reality. We propose a mathematical framework for unsupervised feature learning that explicitly leverages the continuous temporal nature of video to learn pixel-level convolutional filters without labels.

Methodology: The Principle of Least Cognitive Action

We frame unsupervised learning as a physics problem, minimizing a "cognitive action" functional using Euler-Lagrange differential equations. The convolutional filters are updated over time based on three core principles:

  1. Optimization of Information: The system maximizes the Mutual Information (MI) between the input video and the learned features, ensuring features capture the entropy of the visual environment.
  2. Motion Invariance: This is the core novelty. If a pixel moves along a trajectory, its corresponding feature representation should remain constant (an "adiabatic" condition). The system uses optical flow to enforce this consistency.
  3. Parsimony: Regularization terms penalize abrupt spatial or temporal changes in the filters, ensuring smooth feature development.
Learning dynamics across various configurations, showing the evolution of Mutual Information (MI), conditional entropy, and cognitive action (CA) over time.

Instead of standard gradient descent, filters are updated by integrating 4th-order differential equations. To maintain numerical stability, we introduce a "blurring factor" (gradually fading in video sharpness) and a "reset plan" to zero out derivatives if they explode.

Experimental Results

Unsupervised training and evaluation were performed on video streams from the Hollywood Dataset (HOHA2) and the movie The Matrix. Frames were converted to grayscale and looped to simulate continuous visual exposure of up to 45,000 frames.

The primary metric of success was the Mutual Information (MI) between the video stream and the learned features. Our results demonstrate that motion explicitly improves feature quality. Adding the motion invariance term consistently improved MI across multi-layer architectures. For example, on The Matrix clip, the MI at the 3rd convolutional layer increased from 0.64 (without the motion term) to 0.82 (with an optimally tuned motion term).

Quantitative summary of Mutual Information (MI) performance across different configurations, blurring strategies, and video datasets.

As shown in the table above, the framework successfully extracted informative features across different video types and filter sizes. Notably, parameter configurations that were mathematically "unstable" often yielded the most informative features, provided the system was periodically reset when derivatives spiked.

Conclusion and Future Work

This work demonstrates that motion is a primary driver of visual invariance. By formulating learning via the principle of least action, the model behaves more like a dynamical physical system than a traditional statistical optimizer. While the current reliance on 4th-order differential equations introduces numerical instability, the results prove the viability of unsupervised, motion-driven feature extraction. Future work will explore foveal vision mechanics to focus optimization on high-saliency areas and build higher-level object predictors on top of these foundational features.

Summary updated

BibTeX
@inproceedings{betti2019motion,
  author = {Alessandro Betti and Marco Gori and Stefano Melacci},
  title = {{Motion Invariance in Visual Environments}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/278},
}
Figure