arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.02813cs.CVcs.AIcs.LG
收藏

面向端侧超分辨率的动态算法与编译器协同设计的数据过拟合方法

Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Design

Clemson University(克莱姆森大学);University of Georgia(佐治亚大学)

Gen Li, Zhihao Shu, Jie Ji, Minghai Qin, Fatemeh Afghah, Wei Niu, Xiaolong Ma

AI总结:

针对端侧视频超分辨率中多模型过拟合带来的高切换开销与内存占用问题,提出单模型动态架构Dy-DCA及配套编译优化框架,在手机上实现更优画质与33FPS实时性能,提速1.7倍且内存最高节省1.61倍。

摘要:

深度神经网络(DNNs)被广泛应用于各类计算机视觉任务中。当前视频分发系统中出现了一种新趋势,即利用DNN的过拟合特性实现视频分辨率提升。该方案将视频分割为多个块,通过超分辨率(SR)模型对每个视频块进行过拟合,这种SR模型加视频块的模式能够替代传统视频传输,从而提升视频质量与传输效率。然而,为保证高性能需要使用大量模型和视频块,导致用户端的模型切换开销和内存占用极高。为解决这些问题,我们提出了一种由内容感知数据处理流水线辅助的动态深度神经网络(Dy-DCA),可将所需模型数量减少至1个,在提升性能的同时节省计算资源。此外,为在用户端实现真实的加速效果,我们设计了一套框架,对Dy-DCA中的动态特性(如动态形状、动态尺寸和控制流)进行优化,以支持融合代码生成、静态执行规划等一系列编译优化。通过采用这些技术,我们的方法在一款商用手机上实现了更优的峰值信噪比(PSNR)和实时性能(33 FPS)。同时,在编译优化的辅助下,我们实现了1.7倍的速度提升,内存消耗最高节省1.61倍。代码可在https://github.com/coulsonlee/Dy-DCA-ECCV2024获取。

英文摘要:

Deep neural networks (DNNs) are frequently employed in a variety of computer vision applications. Nowadays, an emerging trend in the current video distribution system is to take advantage of DNN's overfitting properties to perform video resolution upscaling. By splitting videos into chunks and applying a super-resolution (SR) model to overfit each chunk, this scheme of SR models plus video chunks is able to replace traditional video transmission to enhance video quality and transmission efficiency. However, many models and chunks are needed to guarantee high performance, which leads to tremendous overhead on model switching and memory footprints at the user end. To resolve such problems, we propose a Dynamic Deep neural network assisted by a Content-Aware data processing pipeline to reduce the model number down to one (Dy-DCA), which helps promote performance while conserving computational resources. Additionally, to achieve real acceleration on the user end, we designed a framework that optimizes dynamic features (e.g., dynamic shapes, sizes, and control flow) in Dy-DCA to enable a series of compilation optimizations, including fused code generation, static execution planning, etc. By employing such techniques, our method achieves better PSNR and real-time performance (33 FPS) on an off-the-shelf mobile phone. Meanwhile, assisted by our compilation optimization, we achieve a 1.7$\times$ speedup while saving up to 1.61$\times$ memory consumption. Code available in https://github.com/coulsonlee/Dy-DCA-ECCV2024.

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

↑