Abstract
This paper introduces a Dynamic Hierarchical Model (DHM) for "anytime" scene labeling, allowing computer vision systems to trade off accuracy for speed on the fly. By formulating scene parsing as a Markov Decision Process (MDP), the model learns an image-adaptive policy that achieves 90% of state-of-the-art performance using only 15% of the computational cost.
Introduction
Most state-of-the-art semantic segmentation models are "fixed-cost" black boxes: they require a specific amount of computation to produce a result, regardless of whether they are running on a high-end server or a time-sensitive robotics platform. In the real world, time budgets vary. A self-driving car might need a "good enough" coarse understanding of a scene in milliseconds rather than a perfect pixel-level map in seconds.
The authors address this lack of flexibility by creating an anytime system—one that can be stopped at any point during inference to provide the best possible prediction for the time spent so far.
Methods: Dynamic Hierarchical Models
The proposed Dynamic Hierarchical Model (DHM) is built on image segmentation trees. The core idea is to start with a coarse representation and incrementally refine it through a sequential decision-making process.
Hierarchical Representation
The model starts with a single root node representing the entire image and grows a tree. Each leaf node represents a segment of the image with a predicted label distribution.
Update Operators
The model evolves through two primary actions:
- Split-inherit: Divides a segment into finer sub-segments based on uncertainty (entropy).
- Local belief update: Incorporates new visual features (e.g., SIFT, HoG, or CNN features) and uses weak learners to sharpen the label prediction.
MDP Formulation and Policy Learning
Choosing which segment to split or which feature to add is treated as a Markov Decision Process (MDP). The state consists of the current tree structure and label marginals. The action is the selection of an update operator. The reward is the improvement in labeling accuracy normalized by the computational cost (CPU time).
The authors use Least-Squares Policy Iteration (LSPI) to learn a "non-myopic" policy. Unlike a greedy approach, this policy considers potential future accuracy gains, leading to a more efficient path toward high-quality segmentation.
Evaluation and Results
The model was evaluated on standard benchmarks including CamVid (road scenes), Stanford Background (SBG), and Siftflow.
Key Findings
- Efficiency Milestone: On the CamVid dataset, the model achieved 90% of state-of-the-art performance using only 15% of the total computational cost.
- Image-Adaptive Complexity: The DHM is dynamic, spending more time refining complex areas (like pedestrians) while quickly labeling simple regions (like the sky).
- Anytime Performance: The "performance vs. cost" curves show a steep initial rise, indicating that the model gains most of its accuracy very early in the computation process. When allowed to run to completion, it achieved a pixel accuracy of 84.7% on CamVid, outperforming Dense CRF baselines (83.2%).
Conclusion
The DHM demonstrates that coarse-to-fine processing is a mathematically sound and efficient way to handle resource-constrained vision tasks. While the current implementation relies on CPU-based feature extraction and an initial segmentation tree, future work involving GPU optimization and more integrated cost models could further enhance its real-time applicability.
Summary updated