arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14136cs.CV
收藏

通过二值化实现高效多任务密集预测器

Efficient Multitask Dense Predictor via Binarization

Illinois Institute of Technology(伊利诺伊理工学院);HKUST(香港科技大学);Cisco Research(思科研究院)

Yuzhang Shang, Dan Xu, Gaowen Liu, Ramana Rao Kompella, Yan Yan

AI总结:

本文提出二值多任务密集预测器Bi-MTDP,通过深度信息瓶颈层和知识蒸馏缓解信息退化,在加速模型的同时超越全精度SoTA(ARTC和InvPT),实现性能与效率的双重提升。

摘要:

多任务学习在密集预测领域已成为计算机视觉中的一个关键方向,能够同时处理多样且相互关联的像素级预测任务。然而,最先进(SoTA)模型的大量计算需求往往限制了其广泛部署。本文通过引入网络二值化来压缩资源密集型多任务密集预测器,从而应对这一挑战。具体而言,我们的目标是通过二值神经网络(BNNs)显著加速多任务密集预测模型,同时保持甚至提升模型性能。为实现这一目标,我们提出了二值多任务密集预测器Bi-MTDP及其多个变体,其中多任务密集预测器由特定的二值化模块构建而成。对该预测器的系统分析表明,二值化导致的性能下降主要源于严重的信息退化。为解决此问题,我们引入了一个深度信息瓶颈层,在前向传播中强制下游任务的特征表示满足高斯分布。此外,我们引入了一种知识蒸馏机制,以纠正反向传播中信息流的方向。有趣的是,Bi-MTDP的一个变体在性能上超越了全精度(FP)多任务密集预测的最先进方法,包括基于CNN的ARTC和基于ViT的InvPT。这一结果表明,Bi-MTDP并非性能与效率之间的简单折衷,而是得益于多任务架构中冗余信息流的优势。代码可在https://github.com/42Shawn/BiMTDP获取。

英文摘要:

Multi-task learning for dense prediction has emerged as a pivotal area in computer vision, enabling simultaneous processing of diverse yet interrelated pixel-wise prediction tasks. However, the substantial computational demands of state-of-the-art (SoTA) models often limit their widespread deployment. This paper addresses this challenge by introducing network binarization to compress resource-intensive multi-task dense predictors. Specifically, our goal is to significantly accelerate multi-task dense prediction models via Binary Neural Networks (BNNs) while maintaining and even improving model performance at the same time. To reach this goal, we propose a Binary Multi-task Dense Predictor, Bi-MTDP, and several variants of Bi-MTDP, in which a multi-task dense predictor is constructed via specified binarized modules. Our systematical analysis of this predictor reveals that performance drop from binarization is primarily caused by severe information degradation. To address this issue, we introduce a deep information bottleneck layer that enforces representations for downstream tasks satisfying Gaussian distribution in forward propagation. Moreover, we introduce a knowledge distillation mechanism to correct the direction of information flow in backward propagation. Intriguingly, one variant of Bi-MTDP outperforms full-precision (FP) multi-task dense prediction SoTAs, ARTC (CNN-based) and InvPT (ViT-Based). This result indicates that Bi-MTDP is not merely a naive trade-off between performance and efficiency, but is rather a benefit of the redundant information flow thanks to the multi-task architecture. Code is available at https://github.com/42Shawn/BiMTDP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑