Feature Space Optimization for Semantic Video Segmentation

Abhijit Kundu, Vibhav Vineet, Vladlen Koltun

Introduction: The Challenge of Motion in Video Segmentation

Semantic video segmentation involves assigning a category label—such as "car," "road," or "pedestrian"—to every pixel across a video sequence. While image segmentation is well-studied, extending these techniques to video introduces the significant challenge of temporal consistency.

Standard mathematical models, like Dense Conditional Random Fields (CRFs), rely on Euclidean "closeness" in the space-time volume $(x, y, t)$ to determine how pixels influence one another. However, in a dynamic scene where cameras rotate or objects move, the same physical point in the world appears at different $(x, y)$ coordinates in consecutive frames. Naive temporal regularization often leads to "ghosting" or blurred boundaries because the model attempts to smooth labels between pixels that do not represent the same object.

Methodology: Feature Space Optimization (FSO)

To address the limitations of space-time coordinates, this paper introduces Feature Space Optimization (FSO). Instead of using raw pixel coordinates for regularization, the authors propose learning a mapping to a new Euclidean feature space where temporal consistency is inherently represented.

The process begins with Correspondence Estimation, using optical flow and long-term point tracks to identify pixels across different frames that represent the same physical point. These correspondences are then used in a large-scale linear least-squares optimization. The objective function balances three terms:

  1. Data Term: Anchors pixels in a reference frame to their original positions to prevent spatial collapse.
  2. Spatial Regularizer: Ensures the mapping respects object boundaries based on color and image contours.
  3. Temporal Regularizer: Pulls corresponding points from different frames together in the optimized feature space.

Dense 3D CRF Inference

Once the feature space is optimized, a fully-connected (dense) CRF is applied. Because corresponding points are now "close" in this new space, the CRF naturally enforces label consistency across long time intervals without the artifacts associated with standard 3D volumes.

The Dense 3D CRF model treats the video as a fully-connected block of pixels, enabling long-range interactions in the optimized feature space.

Key Insights and Benchmarks

The core innovation of FSO is using the feature space as a proxy for geometry. Since perfect 3D reconstruction of dynamic scenes is difficult, optimizing a feature space provides a "soft" alternative that captures necessary correspondences. By prioritizing long-range tracks over local frame-to-frame flow, the model maintains consistency even during brief occlusions. Furthermore, the method decouples optimization from labeling, allowing for independent improvements in neural network "unaries" or motion estimation.

The approach was evaluated on two primary benchmarks:

  • CamVid: A classic dataset for road scene segmentation.
  • Cityscapes: A high-resolution dataset featuring diverse urban sequences.

Experimental Results

The FSO framework demonstrated state-of-the-art performance at the time of its release. On the Cityscapes validation set, it achieved 70.3% mean IoU, while on CamVid, it reached 66.1%.

Qualitative results on urban scenes demonstrate the precision of the segmentation masks produced by the FSO-regularized Dense CRF.

The most significant improvement was observed in temporal stability. On the CamVid dataset, the FSO approach achieved a consistency score of 87.33%, a dramatic increase from the 60.88% score of a standard per-frame classifier. Ablation studies confirmed that while a Dense 3D CRF helps, the Feature Space Optimization is the critical component for achieving high accuracy and visual smoothness.

Conclusion and Future Directions

Feature Space Optimization provides a robust mechanism for regularizing video segmentation by aligning physical correspondences in a learnable feature space. While the method is currently dependent on the quality of underlying motion cues and adds computational overhead, it sets a strong foundation for future work. Potential developments include integrating feature optimization directly into end-to-end deep learning architectures and improving the stability of point trajectories in challenging lighting or high-speed scenarios.

Summary updated

BibTeX
@inproceedings{kundu2016feature,
  author = {Abhijit Kundu and Vibhav Vineet and Vladlen Koltun},
  title = {{Feature Space Optimization for Semantic Video Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.345},
}
Figure