Transfer Learning in Visual and Relational Reasoning

T. S. Jayram, Vincent Marois, Tomasz Kornuta, Vincent Albouy, Emre Sevgen, Ahmet S. OzcanarXiv 2019

Introduction

While deep learning has achieved remarkable success in visual perception, the ability to transfer abstract reasoning—the underlying "logic" of a task—remains a significant challenge. Most models excel at pattern matching within a specific distribution but struggle when visual attributes shift or temporal complexity increases. In "Transfer Learning in Visual and Relational Reasoning," researchers from IBM and NVIDIA introduce SAMNet (Selective Attention Memory Network) and a formal taxonomy to address these limitations.

The SAMNet Architecture

SAMNet is an end-to-end differentiable recurrent model designed to decouple abstract reasoning from sequence length and visual clutter. Unlike models that process video clips as static blocks, SAMNet processes information frame-by-frame, enabling it to handle videos of arbitrary length.

The SAMNet architecture uses a Question Driven Controller and external memory to isolate relevant visual information.

The architecture features a Question Driven Controller that identifies relevant objects within a frame based on the input query. These relevant concepts are then stored in an external memory, while "distractor" objects are filtered out. By performing iterative reasoning steps per frame, SAMNet builds a persistent relational understanding of the scene over time.

A Taxonomy of Transfer Learning

To systematically measure a model's ability to generalize its "thinking," the authors propose a taxonomy covering three dimensions of transfer:

The proposed taxonomy categorizes transfer learning into temporal, feature, and reasoning dimensions.
  1. Feature Transfer: The ability to generalize across visual attributes (e.g., training on specific color-shape combinations and testing on others).
  2. Temporal Transfer: The ability to handle varying sequence lengths (e.g., training on 4-frame videos and testing on 8-frame videos).
  3. Reasoning Transfer: The ability to generalize logical rules across different task complexities.

Experimental Evaluation

The researchers evaluated SAMNet on the CLEVR (static) and COG (video) benchmarks, focusing on its ability to generalize across the proposed taxonomy.

Video Reasoning (COG)

SAMNet achieved state-of-the-art results on the COG dataset. On the "Hard" variant—which features more frames and a higher density of distractors—SAMNet reached 96.1% accuracy, a substantial improvement over the previous 80.1% baseline. Notably, in zero-shot temporal transfer experiments, SAMNet maintained high performance when moving from 4-frame to 8-frame sequences, outperforming existing models by up to 25 percentage points.

Static Reasoning (CLEVR)

On the CLEVR diagnostic dataset, SAMNet achieved 96.2% accuracy, demonstrating that its recurrent memory-based approach is equally effective for static relational reasoning. This performance is competitive with specialized static models while maintaining the flexibility to handle video.

Reasoning Transfer Insights

The study revealed that "grounding" is a critical prerequisite for reasoning transfer. Models must first master basic attribute identification (e.g., "What color is the cube?") before they can successfully transfer logic to comparative tasks (e.g., "Is the cube the same color as the sphere?").

Conclusion

SAMNet represents a step forward in creating models that can "learn to learn" relational rules. By decoupling reasoning from visual features and sequence length, it achieves robust generalization across temporal and feature shifts. While temporal and feature transfer are well-handled by this architecture, zero-shot reasoning transfer between logically distinct task groups remains a challenge, pointing toward future research in disentangling abstract logical programs from specific data representations.

Summary updated

BibTeX
@misc{jayram2019transfer,
  author = {T. S. Jayram and Vincent Marois and Tomasz Kornuta and Vincent Albouy and Emre Sevgen and Ahmet S. Ozcan},
  title = {{Transfer Learning in Visual and Relational Reasoning}},
  year = {2019},
  eprint = {1911.11938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.11938},
}
Figure