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

资源受限系统上的高效多任务学习

Efficient Multitask Learning on Resource-Constrained Systems

Yubo Luo, Le Zhang, Zhenyu Wang, Shahriar Nirjon

摘要:

我们提出了Antler,它利用多任务推理系统中所有任务对之间的亲和力来构建任务集的紧凑图表示,并找到任务执行的最佳顺序,从而减少了推理的端到端时间和能量成本,同时准确性保持与最先进的水平相似。Antler的设计基于两个观察:首先,在同一平台上运行的任务显示出亲和性,利用亲和性来找到任务的紧凑图表示,这有助于避免任务集中重叠子任务的不必要计算;第二,在同一系统上运行的任务可能具有依赖性,其被用来找到任务的最优排序,这有助于避免相关任务或任务的剩余部分的不必要计算。我们实施两个系统:基于TI MSP430 FR 5994的16位定制设计超低功耗系统,以及基于ARM Cortex M4/M7的32位现成STM32 H747板。我们使用这些系统进行网络驱动的实验以及真实世界的部署。我们观察到,与所有基线系统相比,Antler的执行时间和能耗都是最低的,并且通过利用任务的相似性和重用先前任务的中间结果,与最先进的系统相比,Antler将推理时间减少了2.3倍-4.6倍,节省了56%-78%的能量。

英文摘要:

We present Antler, which exploits the affinity between all pairs of tasks in a multitask inference system to construct a compact graph representation of the task set and finds an optimal order of execution of the tasks such that the end-to-end time and energy cost of inference is reduced while the accuracy remains similar to the state-of-the-art. The design of Antler is based on two observations: first, tasks running on the same platform shows affinity, which is leveraged to find a compact graph representation of the tasks that helps avoid unnecessary computations of overlapping subtasks in the task set; and second, tasks that run on the same system may have dependencies, which is leveraged to find an optimal ordering of the tasks that helps avoid unnecessary computations of the dependent tasks or the remaining portion of a task. We implement two systems: a 16-bit TI MSP430FR5994-based custom-designed ultra-low-power system, and a 32-bit ARM Cortex M4/M7-based off-the-shelf STM32H747 board. We conduct both dataset-driven experiments as well as real-world deployments with these systems. We observe that Antler's execution time and energy consumption are the lowest compared to all baseline systems and by leveraging the similarity of tasks and by reusing the intermediate results from previous task, Antler reduces the inference time by 2.3X -- 4.6X and saves 56\% -- 78\% energy, when compared to the state-of-the-art.

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

↑