NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Architecture Search of Dynamic Cells for Semantic Video Segmentation

Vladimir Nekrasov, Hao Chen, Chunhua Shen, Ian D. Reid · DOI

Introduction

Semantic video segmentation is the task of assigning dense, pixel-level labels to every frame in a video sequence. While static image segmentation has seen significant progress, applying these models independently to each frame often results in temporal inconsistency (flickering) and high computational costs. To address these issues, temporal modules are typically integrated to propagate information across frames. A common choice is optical flow, which warps features from previous frames. However, optical flow is computationally expensive and often manually integrated into architectures in a sub-optimal manner. This research explores the use of Neural Architecture Search (NAS) to automatically discover "Dynamic Cells"—specialized modules designed to efficiently bridge information between frames without the heavy overhead of traditional optical flow.

Methodology: Searching for Dynamic Cells

The authors propose a framework that utilizes NAS to find an optimal "Dynamic Cell." This cell serves as a temporal bridge, processing features from both the current and previous frames to predict the current frame's segmentation mask.

Framework Components

  • Base Network: The system uses a pre-trained, efficient static network (based on MobileNet-v2) as its foundation.
  • Search Space: Beyond standard convolutional operations, the search space includes specialized Aggregation Operations such as 3D convolutions, bilinear sampling (warping), and dense attention mechanisms.
  • Controller: An RNN-based controller, trained via Proximal Policy Optimization (PPO), proposes cell designs to maximize a reward based on mean Intersection-over-Union (mIoU).
  • Computational Efficiency: To optimize inference, the full decoder is only executed on the first frame. For subsequent frames, the discovered Dynamic Cell replaces the heavy decoder, significantly reducing latency.
High-level overview of the dynamic cell approach for temporal feature propagation.

Experimental Setup

The models were evaluated on two prominent urban scene benchmarks:

  1. CamVid: Consists of 701 high-resolution images with 11 semantic categories.
  2. CityScapes: A large-scale dataset featuring 5,000 high-resolution (2048x1024) frames across 19 semantic classes.

Analysis of Searched Architectures

The NAS process revealed several key insights into optimal temporal modeling:

  • Dataset-Specific Strategies: The controller adapted its strategy based on the dataset. For CityScapes, it favored bilinear sampling (akin to warping), while for CamVid, it prioritized dense attention. This highlights the limitations of "one-size-fits-all" manual designs.
  • Importance of Deformable Convolutions: High-performing cells consistently utilized deformable convolutions, allowing the network to adapt its receptive field to moving objects.
  • Decoder Replacement: A well-searched dynamic cell can effectively replace the standard decoder for non-key frames, maintaining accuracy while improving speed.
Visualizing the internal structures of the discovered cells (cell0-cell3) and their qualitative performance on CityScapes.

Performance Evaluation

The proposed method achieved significant improvements in both accuracy and efficiency:

  • Accuracy: The discovered cells improved mIoU by over 1% compared to a strong per-frame baseline on both datasets.
  • Inference Speed: On CityScapes (2048x1024), the model achieved a runtime of approximately 50ms per frame on a single 1080Ti GPU, nearly twice as fast as the 92ms baseline.
  • Search Efficiency: The optimal architectures were found in just 2 GPU-days, a fraction of the time required by many other NAS methods.
  • Qualitative Stability: The dynamic cells improved the tracking of thin structures and handled occlusions more robustly than static per-frame models.

Conclusion and Future Work

This work demonstrates that automatically searched dynamic cells can outperform manually designed temporal modules in both speed and accuracy. While the current approach relies on a pre-trained static baseline, future research could explore end-to-end search for the entire video segmentation pipeline. Additionally, investigating the generalization of these cells across varying resolutions and frame rates remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{nekrasov2019architecture,
  author = {Vladimir Nekrasov and Hao Chen and Chunhua Shen and Ian D. Reid},
  title = {{Architecture Search of Dynamic Cells for Semantic Video Segmentation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2019},
  doi = {10.1109/wacv45572.2020.9093531},
}
Figure