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

基于深度神经网络的在线高效处理

Efficient Online Processing with Deep Neural Networks

Aarhus University(奥胡斯大学)

Lukas Hedegaard

AI总结:

本论文针对深度神经网络在线推理效率低的问题,提出持续推理网络(CINs)和结构化剪枝适配器,分别通过计算重组和剪枝适配实现数量级加速与高精度轻量化。

摘要:

深度神经网络(DNNs)的能力和应用正以令人振奋的速度增长:视觉模型能够准确分类视频中的人类动作,并在医学扫描中识别癌变组织,其精确度可与人类专家相媲美;大型语言模型能够回答广泛的问题、生成代码和撰写散文,成为日常餐桌上的话题。尽管其用途令人振奋,但不断增长的模型规模和计算复杂性也有其阴暗面。训练和服务模型的经济成本和负面环境外部性,与财务可行性和气候行动目标明显不协调。\n本论文并非追求预测性能的又一次提升,而是致力于提高神经网络的效率。具体而言,一个核心贡献解决了在线推理过程中的效率问题。在此,提出了持续推理网络(CINs)的概念,并在四篇论文中进行了探索。CINs扩展了先前为时空数据离线处理而开发的最先进方法,并重用其预训练权重,将在线处理效率提高了一个数量级。这些进展是通过自下而上的计算重组和明智的架构修改实现的。通过将几种广泛使用的网络架构(包括3D CNNs、ST-GCNs和Transformer编码器)重构为CINs,证明了其对在线推理的益处。另一个正交贡献解决了将大型源模型同时适应和计算加速为多个轻量级派生模型的问题。结合可融合适配器网络和结构化剪枝,结构化剪枝适配器在激进剪枝下,与使用剪枝进行微调相比,使用显著更少的学习权重,实现了更高的预测精度。

英文摘要:

The capabilities and adoption of deep neural networks (DNNs) grow at an exhilarating pace: Vision models accurately classify human actions in videos and identify cancerous tissue in medical scans as precisely than human experts; large language models answer wide-ranging questions, generate code, and write prose, becoming the topic of everyday dinner-table conversations. Even though their uses are exhilarating, the continually increasing model sizes and computational complexities have a dark side. The economic cost and negative environmental externalities of training and serving models is in evident disharmony with financial viability and climate action goals. Instead of pursuing yet another increase in predictive performance, this dissertation is dedicated to the improvement of neural network efficiency. Specifically, a core contribution addresses the efficiency aspects during online inference. Here, the concept of Continual Inference Networks (CINs) is proposed and explored across four publications. CINs extend prior state-of-the-art methods developed for offline processing of spatio-temporal data and reuse their pre-trained weights, improving their online processing efficiency by an order of magnitude. These advances are attained through a bottom-up computational reorganization and judicious architectural modifications. The benefit to online inference is demonstrated by reformulating several widely used network architectures into CINs, including 3D CNNs, ST-GCNs, and Transformer Encoders. An orthogonal contribution tackles the concurrent adaptation and computational acceleration of a large source model into multiple lightweight derived models. Drawing on fusible adapter networks and structured pruning, Structured Pruning Adapters achieve superior predictive accuracy under aggressive pruning using significantly fewer learned weights compared to fine-tuning with pruning.

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

↑