Lyu Bo, Wen Shiping, Shi Kaibo, Huang Tingwen
IEEE Trans Cybern. 2023 Feb;53(2):1158-1169. doi: 10.1109/TCYB.2021.3104866. Epub 2023 Jan 13.
This article dedicates to automatically explore efficient portrait parsing models that are easily deployed in edge computing or terminal devices. In the interest of the tradeoff between the resource cost and performance, we design the multiobjective reinforcement learning (RL)-based neural architecture search (NAS) scheme, which comprehensively balances the accuracy, parameters, FLOPs, and inference latency. Finally, under varying hyperparameter configurations, the search procedure emits a bunch of excellent objective-oriented architectures. The combination of two-stage training with precomputing and memory-resident feature maps effectively reduces the time consumption of the RL-based NAS method, so that we complete approximately 1000 search iterations in two GPU days. To accelerate the convergence of the lightweight candidate architecture, we incorporate knowledge distillation into the training of the search process. This also provides a reasonable evaluation signal to the RL controller that enables it to converge well. In the end, we conduct full training with outstanding Pareto-optimal architectures, so that a series of excellent portrait parsing models (with only approximately 0.3M parameters) is received. Furthermore, we directly transfer the architectures searched on CelebAMask-HQ (Portrait Parsing) to other portrait and face segmentation tasks. Finally, we achieve the state-of-the-art performance of 96.5% MIOU on EG1800 (portrait segmentation) and 91.6% overall F1 -score on HELEN (face labeling). That is, our models significantly surpass the artificial network on the accuracy, but with lower resource consumption and higher real-time performance.
本文致力于自动探索可轻松部署在边缘计算或终端设备中的高效人像解析模型。出于资源成本与性能之间权衡的考虑,我们设计了基于多目标强化学习(RL)的神经架构搜索(NAS)方案,该方案全面平衡了准确性、参数、浮点运算次数(FLOPs)和推理延迟。最后,在不同的超参数配置下,搜索过程会生成一系列出色的面向目标的架构。两阶段训练与预计算和内存驻留特征图的结合有效地减少了基于RL的NAS方法的时间消耗,从而使我们在两个GPU日中完成了大约1000次搜索迭代。为了加速轻量级候选架构的收敛,我们将知识蒸馏纳入搜索过程的训练中。这也为RL控制器提供了合理的评估信号,使其能够很好地收敛。最后,我们使用出色的帕累托最优架构进行全训练,从而获得了一系列出色的人像解析模型(参数仅约0.3M)。此外,我们直接将在CelebAMask-HQ(人像解析)上搜索到的架构转移到其他人像和面部分割任务中。最后,我们在EG1800(人像分割)上实现了96.5%的平均交并比(MIOU)和在HELEN(面部标注)上实现了91.6%的总体F1分数的最优性能。也就是说,我们的模型在准确性上显著超越了人工网络,但资源消耗更低且实时性能更高。