Bridging Cognitive Programs and Machine Learning

Amir Rosenfeld, John K. TsotsosarXiv 2018

TL;DR

This paper proposes a synthesis between modern machine learning and the STAR (Selective Tuning Attentive Reference) model, a biologically-inspired framework for human vision. By integrating "Cognitive Programs"—structured sequences of visual actions—with deep learning and reinforcement learning, the authors aim to overcome the brittleness, data-hunger, and reasoning deficits of current AI systems.

What Problem Does This Paper Address?

Despite the meteoric rise of deep learning, modern AI remains remarkably "narrow." Current models typically require massive amounts of supervised data, struggle with domain shifts (moving from one environment to another), and lack the capacity for rapid adaptation or high-level reasoning.

The authors argue that there is a significant gap between purely data-driven machine learning and the way biological systems solve visual tasks. Humans don't just process pixels; we use attention, working memory, and "Cognitive Programs" to interact with the world. The paper addresses the need for a general-purpose architecture that can reason about a task and formulate a plan to solve it, rather than just mapping inputs to outputs through brute-force optimization.

Methods

The paper centers on the STAR architecture, a theoretical computational model designed to reproduce human visual system characteristics. Unlike standard "black box" neural networks, STAR is modular and hierarchical.

Key components of the STAR architecture include:

  • Visual Hierarchy (VH): A neural network with feedforward and recurrent connections representing the brain's processing streams.
  • Visual Task Executive (vTE): A high-level controller that orchestrates other modules by selecting and tuning "Cognitive Programs."
  • Cognitive Programs (CP): A specialized language of steps used to control the visual system, obtain information, and track observations to reach a goal.
  • Fixation Controller (FC): Manages overt attention (eye movements) and covert attention (internal focus shifts).
  • Visual Working Memory (vWM): Stores fixation history and the current "Attentional Sample."

The authors propose that these modules (seen in the figures below) can be improved using modern ML tools, while simultaneously using biological constraints to regularize and improve ML performance.

Figure 1. High-level view of the STAR architecture. Reproduced from [5]
Figure 2. Detailed view of the STAR architecture. . Reproduced from [5]

Datasets

As a position paper and theoretical overview, this work does not introduce new datasets. However, it discusses several landmark benchmarks and models:

  • ImageNet: Cited as the catalyst for the current deep learning surge.
  • Atari Video Games: Used to discuss the successes and exploration failures of Deep Reinforcement Learning.
  • WordNet and ConceptNet: Mentioned as potential sources for "world knowledge" to help agents reason about their environment.
  • Conditional GANs: The paper references generative models that can create realistic images (like those in Figure 3) as a way to perform unsupervised learning.

Key Insights and Ideas

  • Cognitive Programs as the "Glue": The most powerful idea is that vision isn't just a passive filter; it's an active process. A "Cognitive Program" allows an agent to break a complex visual task into a sequence of manageable sub-actions (e.g., "find the key," then "locate the door").
  • The Exploration Problem: The authors highlight the "chicken and egg" problem in Reinforcement Learning: you need a good policy to explore effectively, but you need effective exploration to find a good policy. They suggest that symbolic representations (grouping observations into objects and properties) could make exploration much more efficient.
  • Intuitive Physics and World Knowledge: Humans have a "common sense" understanding of the world (e.g., objects fall down, doors need keys). The paper posits that AI must integrate external knowledge bases to move beyond simple pattern matching.
  • Biological Plausibility as a Constraint: Instead of letting a network learn any arbitrary function, constraining it to follow known biological principles of vision (like the STAR model's attention mechanisms) may actually improve its robustness and interpretability.

Key Results

The paper is primarily conceptual, but it highlights two main predictions:

  1. Mutual Benefit: STAR components (like the Visual Hierarchy) can be significantly enhanced by modern ML practices (like deep convolutional layers), while ML models can become more efficient by adopting STAR’s structured attention and memory.
  2. Proof of Concept: The authors reference prior work (Kotseruba & Tsotsos, 2014) where an agent successfully played video games by using Cognitive Programs to tune its Visual Hierarchy, demonstrating that this hybrid approach is viable in dynamic environments.

The paper also showcases the power of Generative Adversarial Networks (GANs) to learn visual representations with less supervision, as seen in the generated images of birds, insects, and landscapes.

Figure 3. Output of Conditional Generative Adversarial Network, generating images to resemble certain classes.

Limitations and Future Work

The authors identify several major "open questions" that define the roadmap for this research:

  • Structural Design: How do we automatically design the parameters of the Visual Hierarchy so it can handle a broad range of inputs?
  • Learning to Tune: How can a system learn the specific type of "top-down" tuning required for a new, unseen task?
  • Executive Creation: How do we build a Visual Task Executive that can autonomously select the right sequence of methods to solve a novel problem?

The paper concludes that future work must focus on hierarchical control—moving from raw pixel-level motor commands to high-level strategic planning—and better integration of "intuitive physics" into the learning loop.

Summary updated

BibTeX
@misc{rosenfeld2018bridging,
  author = {Amir Rosenfeld and John K. Tsotsos},
  title = {{Bridging Cognitive Programs and Machine Learning}},
  year = {2018},
  eprint = {1802.06091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.06091},
}
Figure