FADE: A Task-Agnostic Upsampling Operator for Encoder-Decoder Architectures

Hao Lu, Wenze Liu, Hongtao Fu, Zhiguo Cao
7/18/2024
cs.CV

Official code: poppinace/fade (19 stars, MIT, last commit 2024-11-22). 1 more implementation below.

Abstract

The goal of this work is to develop a task-agnostic feature upsampling operator for dense prediction where the operator is required to facilitate not only region-sensitive tasks like semantic segmentation but also detail-sensitive tasks such as image matting. Prior upsampling operators often can work well in either type of the tasks, but not both. We argue that task-agnostic upsampling should dynamically trade off between semantic preservation and detail delineation, instead of having a bias between the two properties. In this paper, we present FADE, a novel, plug-and-play, lightweight, and task-agnostic upsampling operator by fusing the assets of decoder and encoder features at three levels: i) considering both the encoder and decoder feature in upsampling kernel generation; ii) controlling the per-point contribution of the encoder/decoder feature in upsampling kernels with an efficient semi-shift convolutional operator; and iii) enabling the selective pass of encoder features with a decoder-dependent gating mechanism for compensating details. To improve the practicality of FADE, we additionally study parameter- and memory-efficient implementations of semi-shift convolution. We analyze the upsampling behavior of FADE on toy data and show through large-scale experiments that FADE is task-agnostic with consistent performance improvement on a number of dense prediction tasks with little extra cost. For the first time, we demonstrate robust feature upsampling on both region- and detail-sensitive tasks successfully. Code is made available at: https://github.com/poppinace/fade

View on arXivView PDF

Code Implementations(2)

poppinace/fadeOfficial100%
MIT

(ECCV'22) FADE: Fusing the Assets of Decoder and Encoder for Task-Agnostic Upsampling

193PythonJul 4, 20221 years agoMIT
kutayeroglu/FADECommunity64%

CMPE593 Term Project. Replication of the paper titled "FADE: A Task-Agnostic Upsampling Operator for Encoder-Decoder Architectures" for object detection task.

00Python, Jupyter NotebookNov 30, 20241 years ago
encoder-decoder-architecturefaster-rcnnobject-detectionupsampling

Cite this paper

@article{lu2024fade,
  title  = {FADE: A Task-Agnostic Upsampling Operator for Encoder-Decoder Architectures},
  author = {Hao Lu and Wenze Liu and Hongtao Fu and Zhiguo Cao},
  year   = {2024},
  eprint = {2407.13500},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13500v1}
}

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/2407.13500.svg)](https://codeofpaper.com/paper/2407.13500)

Discussion