Learning to Upsample by Learning to Sample

Wenze Liu, Hao Lu, Hongtao Fu, Zhiguo Cao
2/14/2026

No official code found. Best implementation: tiny-smart/dysample (213 stars, MIT, last commit 2024-05-02).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

tiny-smart/dysampleCommunity100%
MIT

(ICCV'23) Learning to Upsample by Learning to Sample

2139PythonJul 17, 20232 years agoMIT

Similar Papers

Cite this paper

@article{liu2026learning,
  title  = {Learning to Upsample by Learning to Sample},
  author = {Wenze Liu and Hao Lu and Hongtao Fu and Zhiguo Cao},
  year   = {2026},
  eprint = {2308.15085},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2308.15085},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.15085.svg)](https://codeofpaper.com/paper/2308.15085)

Discussion