TL;DR
This paper presents "Jeeves," a real-time implementation of Ullman's visual routine processor (VRP) theory for visual search, running on live camera data at 10Hz. It introduces a novel logic programming system that uses the VRP to answer queries directly from the visual world without an internal database, demonstrating a powerful new paradigm for integrating perception and reasoning.
What Problem Does This Paper Address?
The paper tackles the challenge of bridging the gap between low-level visual processing and higher-level reasoning, specifically within the context of visual search. While theories like Ullman's visual routines propose how the visual system might perform complex tasks by combining primitive operations, practical implementations have been limited to simulated environments or hand-drawn images. This leaves a gap in understanding how such theories would perform on real-world, dynamic visual input and how they could be integrated with symbolic reasoning systems. The authors also explore the computational power of these visual routines and the impact of resource limitations, particularly in biological attention mechanisms, which often struggle with tasks requiring more than simple feature conjunctions.
Methods
The core contribution is the Jeeves system, a real-time implementation of the Visual Routine Processor (VRP). Jeeves operates on live color video at approximately 10Hz using relatively simple hardware. It implements the visual search portion of the VRP theory, which involves:
- Low-level vision: Computing retinotopic maps of features like color, intensity, and edges.
- Preattentive segmentation: Grouping image regions based on color to form segments, allowing for processing of objects rather than just points.
- Saliency map and attention: Computing a weighted sum of low-level maps to determine task-relevant regions, with the system focusing on the region with maximum salience.
- Visual markers and lines: Discrete functional units for holding image locations and drawing lines, analogous to registers and primitive instructions.
- Return inhibition: A mechanism to prevent previously attended regions from being re-selected, crucial for enumerating conjunctions.
A key innovation is the Bertrand system, a logic programming system that answers Horn clause queries by directly using the VRP. Instead of relying on a propositional database, Bertrand compiles Horn clauses into "shift-register tapes" that are processed by the VRP. Logic variables are grounded in the visual world through VRP operations, and backtracking is managed by the VRP's mechanisms. The paper also presents a formal, automata-theoretic analysis of the VRP's computational power, quantifying the control structure needed to solve Horn clauses.
Datasets
Not discussed in the paper. The system is demonstrated on live camera data, including children's blocks, books, and kitchen utensils.
Key Insights and Ideas
- The world as a database: The Bertrand system demonstrates that a powerful logic programming interface can be built by directly using the visual world as its "database," eliminating the need for explicit world models or internal knowledge bases. This offers a more direct and potentially more biologically plausible integration of perception and reasoning.
- VRPs can handle complex queries: The formal analysis suggests that VRPs, even with limited resources like a single return-inhibition map, can be surprisingly powerful. However, complex queries (e.g., those involving multiple variables and non-right-unique relations like "arches") may require more sophisticated VRP architectures with multiple return-inhibition maps.
- Resource limitations matter: The paper highlights that contemporary biological models of visual attention, often limited to a single "context register" (return inhibition), struggle with surprisingly simple queries that require more complex backtracking. This suggests that biological attention mechanisms might be more complex than currently modeled.
- Compositionality of visual routines: The VRP's ability to combine primitive operations like "coloring" and "line drawing" into complex visual tasks mirrors the compositionality found in programming languages, offering a powerful framework for understanding visual cognition.
Key Results
- Real-time performance: The Jeeves system achieves approximately 10Hz performance on 64x29 images, demonstrating the feasibility of real-time VRP implementation on modest hardware.
- Successful visual search: The system successfully performs serial self-terminating visual search and computes 2D spatial relations from live color video.
- Logic programming without a database: Bertrand successfully answers Horn clause queries about scenes by directly interacting with the VRP and the visual world, showcasing a novel approach to integrating symbolic reasoning with perception.
- Formal analysis of VRP power: The paper provides a theoretical framework for understanding the computational capabilities of VRPs, showing that even with infinite resources, solving complex Horn clauses requires minimal external control logic (a flip-flop and a shift register).
Limitations and Future Work
- Limited primitive operations: Jeeves currently implements only marker and line operations, not activation plane operations, which limits the complexity of tasks it can perform.
- Simple segmentation: The preattentive segmentation system is basic and does not represent a full theory of human segmentation.
- Single return-inhibition map in Bertrand: While Bertrand can handle some multi-variable queries, its current implementation with a single return-inhibition map limits its ability to solve queries involving non-right-unique relations, like those needed for "arches."
- Future work: The authors suggest extending the VRP's repertoire of computations, applying the system to other domains, and exploring more complex VRP architectures with multiple return-inhibition maps to handle more sophisticated queries. They also propose integrating motor control operations with visual search, as demonstrated by the robot base experiments.
Summary updated