Does Visual Pretraining Help End-to-End Reasoning?

Chen Sun, Calvin Luo, Xingyi Zhou, Anurag Arnab, Cordelia Schmid · DOI

Introduction

In the field of computer vision, a significant gap exists between "seeing"—the ability to identify objects in a static image—and "reasoning"—the ability to understand causal relationships, temporal dynamics, and object permanence. Historically, researchers have bridged this gap using "neuro-symbolic" architectures. These systems rely on explicit object detectors to extract structured data (symbols), which are then processed by a reasoning engine. While effective, these pipelines are inherently brittle; if the detector fails or encounters an unfamiliar object, the entire reasoning process collapses.

This paper investigates whether a general-purpose Vision Transformer (ViT) can bypass explicit detection and learn to reason directly from raw pixels. The authors introduce Implicit Visual Concept Learning (IV-CL), a self-supervised pretraining framework that demonstrates how masked video reconstruction can foster the emergence of sophisticated reasoning capabilities without the need for human-defined labels.

Methodology: Implicit Visual Concept Learning (IV-CL)

IV-CL is designed to transform a standard ViT into a reasoning-capable model through a specific self-supervised task. The architecture centers on two key components:

1. The Information Bottleneck (Slot Tokens)

Instead of allowing the model to attend to every pixel with equal weight, IV-CL forces the visual input through a "bottleneck." The model must compress the scene into a small set of learned vectors called slot tokens. These tokens act as a compressed representation of the most salient features and dynamics within the video, effectively creating a "zip file" of the scene's logic.

2. Masked Video Reconstruction

The model is pretrained on video sequences. It is provided with "context frames" and a "query frame" where a large percentage of pixels are masked. The model's task is to use the slot tokens derived from the context frames to reconstruct the missing pixels in the query frame.

To succeed at this reconstruction task, the model must implicitly learn object permanence (knowing an object exists even when occluded) and temporal tracking (predicting where an object will move). This "fill-in-the-blanks" approach forces the network to develop internal representations of physical and logical rules directly from visual experience.

Experimental Evaluation

The researchers evaluated IV-CL across several rigorous benchmarks designed to challenge different facets of visual reasoning:

  • CATER: A complex "shell game" requiring the model to track a "snitch" object as it is moved and hidden under various nested containers.
  • ACRE (Abstract Causal REasoning): A dataset based on developmental psychology that tests a model's ability to infer causal relationships between objects and events.
  • RAVEN: A test of abstract relational reasoning using geometric patterns.
  • Something-Else: A real-world dataset involving human-object interactions, used to evaluate the model's ability to generalize beyond synthetic environments.

Key Insights and Results

The study yielded several critical findings regarding the nature of end-to-end reasoning:

  • The Necessity of Pretraining: Without pretraining, end-to-end models fail to achieve "compositional generalization"—the ability to reason about new combinations of familiar objects.
  • Self-Supervision vs. Supervision: Surprisingly, IV-CL's self-supervised reconstruction task outperformed models pretrained on massive labeled datasets like ImageNet. This suggests that predicting video frames is more conducive to reasoning than simple classification.
  • The Power of Constraints: The model performed best when the information bottleneck was tightest. For instance, in the CATER task, using a single slot token forced the model to ignore visual noise and focus exclusively on the high-level logic of the scene.
  • Performance Benchmarks: On the CATER task, IV-CL achieved 70.1% accuracy, significantly higher than the 27.1% achieved by standard Masked Autoencoders (MAE). On the ACRE compositionality split, the model reached 93.27% accuracy, far exceeding previous neuro-symbolic baselines which typically scored between 50% and 70%.

Discussion and Limitations

While IV-CL proves that explicit object detection is not a prerequisite for reasoning, challenges remain. The model's performance is strongest on synthetic datasets. While it showed promising generalization on the "Something-Else" dataset, scaling these implicit representations to complex, "in-the-wild" natural video remains a hurdle. Additionally, the authors suggest that future "generalist" models might still benefit from hybrid approaches that incorporate explicit human knowledge when available.

Conclusion

The success of IV-CL suggests that generalist neural networks are closer to achieving human-like reasoning than previously thought. By replacing explicit symbolic detectors with self-supervised tasks like video reconstruction, we can train models that "figure out" the underlying logic of the world directly from raw visual data.

Summary updated

BibTeX
@inproceedings{sun2023does,
  author = {Chen Sun and Calvin Luo and Xingyi Zhou and Anurag Arnab and Cordelia Schmid},
  title = {{Does Visual Pretraining Help End-to-End Reasoning?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=PzYAMXmIT3},
}
Figure