Learning to Segment Images Using Dynamic Feature Binding

Michael Mozer, Richard S. Zemel, Marlene Behrmann

This paper presents a foundational approach to the "binding problem" in computer vision using neural networks. It introduces MAGIC (Multiple-object Adaptive Grouping of Image Components), a system that learns how to segment images by synchronizing the "phases" of related features.

The Segmentation Problem

In computer vision, segmentation is the process of grouping local features (like edges or line segments) into coherent objects. Humans do this effortlessly, but for machines, it is a massive search problem: which subsets of features belong together?

Historically, researchers used "Gestalt" heuristics—predefined rules like "lines that are close together or collinear probably belong to the same object." However, these hand-crafted rules are often brittle. The authors of this paper ask a fundamental question: Can a system learn these grouping principles directly from data?

Methods and Architecture

The authors propose a novel architecture and a specialized activation rule based on complex numbers to handle dynamic binding.

  • Complex-Valued Neurons: Each unit in the network produces a complex-valued signal $(a, p)$, where $a$ is the amplitude (representing the presence or strength of a feature) and $p$ is the phase (representing the object "label").
  • Dynamic Binding: If two features have the same phase, they are "bound" together as part of the same object. If they are $180^\circ$ out of phase, they are segregated.
  • The MAGIC Architecture: The network consists of a feature layer (input) and a hidden layer. Hidden units are connected to local "patches" (4x4 regions) of the image. The weights are "spatiotopic," meaning the same learned grouping rules are applied across the entire image.
MAGIC Architecture
  • Relaxation Dynamics: When an image is presented, the amplitudes are fixed based on the visual input, but the phases start random. The network undergoes a "relaxation" process where units influence each other's phases until the system settles into a stable state where features of the same object are synchronized.
Relaxation Process
  • Learning Algorithm: The authors developed a generalization of recurrent backpropagation for complex-valued units. The error function is "phase-invariant"—it doesn't care what the specific phase value is, only that features belonging to the same object share the same phase.

Key Insights and Results

The study tested MAGIC on a synthetic domain of two-dimensional geometric contours (rectangles, diamonds, crosses, etc.) on a grid where each cell detects oriented line segments.

  • Learning vs. Heuristics: Instead of being programmed with rules like "collinear lines belong together," the network discovered them. Analysis of the learned weights showed the hidden units developed strong connections for collinear segments.
  • Segregation: MAGIC learned what should be kept apart just as well as what goes together. For example, it learned to assign vertical/horizontal segments a phase $180^\circ$ different from diagonal segments.
  • Phase as a Universal Label: By using phase, the network avoids the "labeling problem" where a fixed number of output slots limits the number of objects. Different objects simply occupy different parts of the $360^\circ$ phase continuum.
  • Convergence and Accuracy: By constraining weights to be symmetric (complex conjugates), the relaxation process reliably converged to a fixed point. After training, the network could take a novel image with random initial phases and successfully "clean" the phases to distinctively synchronize overlapping objects.

Limitations and Future Work

Because the hidden units only look at small $4 \times 4$ patches, the system sometimes produced "locally consistent but globally inconsistent" results (e.g., a shape might be segmented correctly in one corner but assigned a conflicting phase in another).

To address this, the authors suggested a multi-scale architecture to process images at different resolutions simultaneously. Furthermore, while the system handles two synthetic objects well, they acknowledged the need to test MAGIC on real-world noise and suggested that finer phase quantization would be necessary for complex hierarchical object descriptions.

Summary updated

BibTeX
@inproceedings{mozer1991learning,
  author = {Michael Mozer and Richard S. Zemel and Marlene Behrmann},
  title = {{Learning to Segment Images Using Dynamic Feature Binding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1991},
  url = {https://openreview.net/forum?id=H14H-u-d-S},
}
Figure