arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.15085cs.CV
收藏

通过学习采样来学习上采样

Learning to Upsample by Learning to Sample

Huazhong University of Science and Technology(华中科技大学)

Wenze Liu, Hao Lu, Hongtao Fu, Zhiguo Cao

AI总结:

本文提出DySample,一种基于点采样的超轻量动态上采样器,无需动态卷积和定制CUDA,在五个密集预测任务上超越现有方法。

摘要:

我们提出了DySample,一种超轻量且有效的动态上采样器。尽管最近的基于核的动态上采样器(如CARAFE、FADE和SAPA)取得了令人印象深刻的性能提升,但它们引入了大量工作负载,这主要是由于耗时的动态卷积以及用于生成动态核的额外子网络。此外,FADE和SAPA对高分辨率特征引导的需求在一定程度上限制了它们的应用场景。为了解决这些问题,我们绕过了动态卷积,从点采样的角度来构建上采样,这更加资源高效,并且可以轻松地使用PyTorch中的标准内置函数实现。我们首先展示了一个朴素的设计,然后演示了如何逐步增强其上采样行为,最终形成我们的新上采样器DySample。与先前的基于核的动态上采样器相比,DySample不需要定制的CUDA包,并且具有更少的参数、FLOPs、GPU内存和延迟。除了轻量特性外,DySample在五个密集预测任务中优于其他上采样器,包括语义分割、目标检测、实例分割、全景分割和单目深度估计。代码可在https://github.com/tiny-smart/dysample获取。

英文摘要:

We present DySample, an ultra-lightweight and effective dynamic upsampler. While impressive performance gains have been witnessed from recent kernel-based dynamic upsamplers such as CARAFE, FADE, and SAPA, they introduce much workload, mostly due to the time-consuming dynamic convolution and the additional sub-network used to generate dynamic kernels. Further, the need for high-res feature guidance of FADE and SAPA somehow limits their application scenarios. To address these concerns, we bypass dynamic convolution and formulate upsampling from the perspective of point sampling, which is more resource-efficient and can be easily implemented with the standard built-in function in PyTorch. We first showcase a naive design, and then demonstrate how to strengthen its upsampling behavior step by step towards our new upsampler, DySample. Compared with former kernel-based dynamic upsamplers, DySample requires no customized CUDA package and has much fewer parameters, FLOPs, GPU memory, and latency. Besides the light-weight characteristics, DySample outperforms other upsamplers across five dense prediction tasks, including semantic segmentation, object detection, instance segmentation, panoptic segmentation, and monocular depth estimation. Code is available at https://github.com/tiny-smart/dysample.

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

↑