Abstract
We propose a system for visual scene analysis and recognition based on encoding the sparse, latent feature-representation of an image into a high-dimensional vector that is subsequently factorized to parse scene content. The sparse feature representation is learned from image statistics via convolutional sparse coding, while scene parsing is performed by a resonator network. The integration of sparse coding with the resonator network increases the capacity of distributed representations and reduces collisions in the combinatorial search space during factorization. We find that for this problem the resonator network is capable of fast and accurate vector factorization, and we develop a confidence-based metric that assists in tracking the convergence of the resonator network.
Introduction
Human vision is remarkably compositional. If you know what a "rose" looks like and what the color "blue" is, you can instantly recognize a blue rose, even if you’ve never seen one. In the framework of Vector Symbolic Architectures (VSA) or Hyperdimensional Computing (HDC), we represent these concepts as high-dimensional vectors. We "bind" them (using operations like the Hadamard product) to create a composite scene vector.
The challenge is the inverse: Factorization. Given a complex scene vector, how do you tease apart the "what" (identity) from the "where" (position)? Previous attempts used raw pixel values to build these vectors. However, natural images have highly correlated pixel values, which act like noise in HDC, causing "cross-talk" that prevents accurate decomposition. This paper addresses this non-orthogonality bottleneck by integrating sparse coding.
Methods
The authors propose a three-step pipeline to parse visual scenes:
- Convolutional Sparse Coding (CSC): Instead of looking at pixels, the system learns a "dictionary" of elementary patterns (like strokes or edges). It represents an image as a sparse map of these features, which decorrelates the data and ensures translation equivariance.
- Vector Function Architecture (VFA) Encoding: These sparse maps are transformed into high-dimensional complex-valued vectors. They use "fractional power encoding" to map continuous (x, y) coordinates into the vector space.
- Resonator Networks: This dynamical system "searches in superposition." It starts with a random guess and iteratively updates its estimates for identity and position simultaneously until they converge on the correct factors.
The system also utilizes a confidence-based metric. By observing the "gap" between the best and second-best candidates during the search, the system can decide to stop early, saving significant computation without losing accuracy.
Experimental Evaluation
The approach was evaluated on three datasets:
- Random Bars: A custom dataset of vertical and horizontal bars used to test the system with known ground-truth basis functions.
- Translated MNIST: Handwritten digits placed at various random positions in a 100x100 field.
- Letters: 26 Latin alphabet letters. This is a challenging task because many letters (like 'E' and 'F') share structural strokes, increasing the risk of the resonator network getting stuck in local minima.
Key Results
The integration of sparse coding acts as a pre-processor that "whitens" the data, making the resulting vectors much closer to being orthogonal. This allows the resonator network to work in a much cleaner mathematical space.
- Accuracy and Scalability: On the Translated MNIST task, the sparse representation maintained near-perfect accuracy even as the search space grew. The system successfully identified up to 5 objects in a scene, with accuracy for sparse coding decaying much more slowly than the pixel-based approach.
- Speed: Sparse representations converged in significantly fewer iterations than pixel-based ones. The new confidence metric allowed the system to stop 2-3x faster in many cases.
Discussion and Future Work
While the current model focuses on translation (x, y shifts), real-world vision requires handling rotation, scaling, and 3D perspective shifts. Future work may involve "closed-loop" systems where the resonator's needs help shape the dictionary learning. Furthermore, the authors point toward neuromorphic hardware as the ideal platform for this technology, as the vector operations and resonator dynamics are highly parallelizable and energy-efficient.
Summary updated