arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.19844cs.CV
收藏

在多输出深度神经网络中学习任务偏好的推理路径以实现梯度解冲突

Learning Task-preferred Inference Routes for Gradient De-conflict in Multi-output DNNs

Chinese Academy of Sciences(中国科学院);Beijing Institute of Basic Medical Sciences(北京基础医学研究所);College of Intelligence Science and Technology(智能科学与技术学院);National University of Defense Technology(国防科技大学)

Yi Sun, Xin Xu, Jian Li, Xiaochang Hu, Yifei Shi, Ling-Li Zeng

AI总结:

本文提出DR-MGF算法,通过学习任务偏好的推理路径来解冲突多输出神经网络中的梯度干扰,提升模型性能和收敛速度。

摘要:

多输出深度神经网络(MONs)包含多个任务分支,这些任务通常共享部分网络滤波器,导致不同任务推理路径的纠缠。由于优化目标不一致,用于训练MONs的任务梯度会在共享路径上相互干扰,从而降低整体模型性能。为了解决这个问题,本文提出了一种新的梯度解冲突算法,称为DR-MGF(动态路径和元加权梯度融合)。与现有解冲突方法不同,DR-MGF通过学习任务偏好的推理路径来实现MONs中的梯度解冲突。该方法受到我们的实验发现的启发:共享的滤波器对不同任务并不同样重要。通过设计可学习的任务特定重要性变量,DR-MGF评估不同任务对滤波器的重要性。通过使任务对滤波器的主导性与滤波器的任务特定重要性成比例,DR-MGF可以有效减少任务间的干扰。最终的任务特定重要性变量在训练迭代结束时决定任务偏好的推理路径。在CIFAR、ImageNet和NYUv2上的广泛实验结果表明,DR-MGF在MONs的预测准确率和收敛速度方面均优于现有的解冲突方法。此外,DR-MGF可以扩展到通用的MONs,而无需修改整体网络结构。

英文摘要:

Multi-output deep neural networks(MONs) contain multiple task branches, and these tasks usually share partial network filters that lead to the entanglement of different task inference routes. Due to the inconsistent optimization objectives, the task gradients used for training MONs will interfere with each other on the shared routes, which will decrease the overall model performance. To address this issue, we propose a novel gradient de-conflict algorithm named DR-MGF(Dynamic Routes and Meta-weighted Gradient Fusion) in this work. Different from existing de-conflict methods, DR-MGF achieves gradient de-conflict in MONs by learning task-preferred inference routes. The proposed method is motivated by our experimental findings: the shared filters are not equally important to different tasks. By designing the learnable task-specific importance variables, DR-MGF evaluates the importance of filters for different tasks. Through making the dominances of tasks over filters be proportional to the task-specific importance of filters, DR-MGF can effectively reduce the inter-task interference. The task-specific importance variables ultimately determine task-preferred inference routes at the end of training iterations. Extensive experimental results on CIFAR, ImageNet, and NYUv2 illustrate that DR-MGF outperforms the existing de-conflict methods both in prediction accuracy and convergence speed of MONs. Furthermore, DR-MGF can be extended to general MONs without modifying the overall network structures.

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

↑