[Paper Review] HyCTAS: Multi-Objective Hybrid Convolution-Transformer Architecture Search for Real-Time Image Segmentation
HyCTAS automatically searches for efficient high-resolution segmentation networks by hybridizing light-weight convolutions with memory-efficient self-attention in a multi-branch HRNet-inspired space, optimized for latency and mIoU on a Pareto frontier.
Real-time image segmentation demands architectures that preserve fine spatial detail while capturing global context under tight latency and memory budgets. Image segmentation is one of the most fundamental problems in computer vision and has drawn a lot of attention due to its vast applications in image understanding and autonomous driving. However, designing effective and efficient segmentation neural architectures is a labor-intensive process that may require numerous trials by human experts. In this paper, we address the challenge of integrating multi-head self-attention into high-resolution representation CNNs efficiently by leveraging architecture search. Manually replacing convolution layers with multi-head self-attention is non-trivial due to the costly overhead in memory to maintain high resolution. By contrast, we develop a multi-target multi-branch supernet method, which not only fully utilizes the advantages of high-resolution features but also finds the proper location for placing the multi-head self-attention module. Our search algorithm is optimized towards multiple objectives (e.g., latency and mIoU) and is capable of finding architectures on the approximate Pareto front with an arbitrary number of branches in a single search. We further present a series of models via the Hybrid Convolutional-Transformer Architecture Search (HyCTAS) method that searches for the best hybrid combination of lightweight convolution layers and memory-efficient self-attention layers between branches from different resolutions and fuses them at high resolution for both efficiency and effectiveness. On Cityscapes, ADE20K, and COCO, HyCTAS discovers competitive real-time models without ImageNet pretraining, delivering strong accuracy and latency trade-offs. Code and models are available at https://github.com/MarvinYu1995/HyCTAS.
Motivation & Objective
- Motivate the need for real-time, high-resolution semantic segmentation in applications like autonomous driving.
- Propose a search framework that preserves high-resolution representations while integrating attention efficiently.
- Develop a multi-branch supernet and a genetic multi-objective search to balance latency and accuracy.
- Enable architecture variants with arbitrary branch counts and fusion across resolutions.
- Demonstrate state-of-the-art efficiency and accuracy on Cityscapes without ImageNet pretraining.
Proposed method
- Introduce HyCTAS with two searchable components: Cells (modules like convolution or transformer) and Nodes (fusion gates across resolutions).
- Use a memory-efficient self-attention module (bottleneck via 1x1 projections) and a light-weight convolution module (parallel 1x1 to preserve details) to balance accuracy and speed.
- Maintain a multi-branch search space (1/8 to 1/32 resolutions) inspired by HRNet with a flexible feature aggregation head for arbitrary outputs.
- Train a supernet with biased sampling to prefer more-branch sub-networks, then perform multi-objective NSGA-II optimization over latency and mIoU to identify Pareto-front architectures.
- Perform architecture decoding from the supernet and retrain selected subnetworks from scratch for final evaluation.
Experimental results
Research questions
- RQ1Can HyCTAS construct high-resolution, multi-branch architectures that balance accuracy and real-time speed?
- RQ2Where should memory-efficient self-attention be placed within multi-branch fusion to maximize performance?
- RQ3How does the proposed multi-objective search compare to single-objective NAS methods in efficiency and results on Cityscapes?
Key findings
- HyCTAS achieves Pareto-front architectures with competitive mIoU and low latency on Cityscapes.
- HyCTAS-S achieves 72.3% mIoU on val and 73.0% on test with 13.0 GFLOPs and 1.5M params at 159.2 FPS.
- HyCTAS-M achieves 77.1% mIoU on val and 75.7% on test with 29.4 GFLOPs and 2.4M params at 87.8 FPS.
- Compared to baselines, HyCTAS models offer superior speed-accuracy trade-offs, including faster real-time performance without sacrificing accuracy.
- The search framework efficiently yields multiple viable architectures from a single 5-GPU-day process.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.