Introduction
In the realm of computer vision and image modeling, hierarchical structures like Tree-Structured Belief Networks (TSBNs) have long been attractive. They effectively capture multi-scale information and allow for efficient inference. However, they suffer from a major Achilles' heel: their structure is typically fixed to a rigid grid, such as a quad-tree.
Dynamic Trees (DTs) introduce a flexible alternative to these rigid, fixed-structure hierarchical models. By treating the tree structure itself as a random variable, DTs overcome the "blocky" artifacts and poor translation invariance typical of standard tree-structured networks, allowing the model to adapt its architecture to the actual content of an image.
The Problem with Fixed Hierarchies
Standard hierarchical models struggle with translation invariance. If you have a fixed tree and an object in your image moves just one pixel to the left or right, it might suddenly be split across two entirely different major branches of the tree. This artificial boundary creates "blocky" artifacts in image segmentation and generation tasks. The primary goal of Dynamic Trees is to retain the computational and representational benefits of hierarchical trees while ditching the rigid grid that causes these failures.
Enter Dynamic Trees
Instead of relying on a single, fixed tree, a Dynamic Tree model defines a prior over a vast forest of possible tree structures. The most significant conceptual leap is treating the graph topology as something to be inferred alongside the data, allowing the model to "wrap" its hierarchy around objects in the scene.
Architecture and Priors
Nodes in a DT are arranged in layers. Unlike a standard tree where a child has one predetermined parent, a node in a DT can choose its parent from the layer above based on an "affinity" value.
The authors introduce a "full-time-node-employment" prior. Under this prior, every node has a "natural" parent—the one it would connect to in a standard balanced tree. However, it is not restricted to this parent; it can connect to neighboring nodes in the layer above or even become a "root" by connecting to a null parent. The probability of any specific connection is determined by its affinity. Once the structure is set, the nodes behave like multinomial random variables governed by Conditional Probability Tables (CPTs).
The Scale-Object Link
The authors operate on the intuition that an object in an image is best described by a single tree root. The scale of the object is then naturally determined by how high up in the tree that root occurs. By allowing crossed links and flexible roots, the model avoids the artificial boundaries imposed by quad-trees. If an object doesn't fit a perfect square grid, the Dynamic Tree simply rearranges its branches to accommodate it.
Inference and Experiments
Finding the best tree for a given image (the Maximum A Posteriori or MAP state) is technically NP-hard due to the astronomical number of possible forest structures. To navigate this massive search space, the authors utilize Simulated Annealing to find the tree structure that best explains the observed pixels.
The paper relies on controlled, synthetic experiments to demonstrate this proof-of-concept:
- 1D Synthetic Patterns: A 5-layer binary tree with 16 leaf nodes was used to test how the model handles a moving "bar" of black pixels.
- 2D Synthetic Images: A 5-layer quad-tree arrangement (256 leaf nodes) was used to generate 16x16 pixel images and evaluate their visual characteristics.
Key Results
- Superior Posterior Probability: In 1D tests, the DT consistently found tree structures with higher posterior probabilities than the fixed balanced tree, especially when the input pattern was "misaligned" with the standard grid.
- Translation Invariance and Stability: Because the tree can "shift" its internal connections, the log-posterior of the model remains much more stable as an object moves across the field of view. While a fixed tree's performance spiked and dipped violently as a stimulus moved, the DT's optimal tree remained relatively consistent.
- Visual Quality: 2D images generated from the DT prior lacked the characteristic "blockiness" of traditional hierarchical models, producing much more organic-looking segments.
Limitations and Future Work
While Dynamic Trees offer a compelling theoretical framework, the paper notes several limitations:
- Computational Complexity: Inference in DTs is NP-hard. While Simulated Annealing works for small 16x16 synthetic images, scaling this to high-resolution photography requires much faster approximation methods, such as mean-field approaches.
- Parameter Sensitivity: The model's results are highly sensitive to the "diagonal" values in the CPTs (the probability that a child matches its parent's state). Balancing "disconnection" penalties with "color change" probabilities is delicate.
- Fixed Node Count: The current model keeps a fixed number of nodes per layer. The authors suggest that a "part-time-employment" prior, where nodes can remain inactive, would provide even greater flexibility.
- Learning: The current work focuses on inference with pre-set parameters. Learning these parameters directly from data (e.g., using Expectation-Maximization) is highlighted as a necessary next step for practical application.
Summary updated