DFormer: Rethinking RGBD Representation Learning for Semantic Segmentation
Bowen Yin, Xuying Zhang, Zhongyu Li, Li Liu, Ming-Ming Cheng, Qibin Hou
TL;DR
DFormer addresses RGB-D segmentation by pretraining a backbone on image-depth pairs from ImageNet-1K, enabling intrinsic RGB-D representation learning rather than relying on RGB backbones for depth. It introduces a hierarchical RGB-D encoder with Global Awareness Attention and Local Enhancement Attention blocks that fuse RGB and depth features during pretraining, paired with a lightweight decoder that can rely primarily on RGB features at finetuning. The approach achieves state-of-the-art results on NYU Depthv2 and SUN-RGBD for semantic segmentation and dominates RGB-D salient object detection benchmarks while reducing computational costs. This work advances practical RGB-D understanding by delivering transferable representations with improved efficiency and interaction between modalities at all stages of learning.
Abstract
We present DFormer, a novel RGB-D pretraining framework to learn transferable representations for RGB-D segmentation tasks. DFormer has two new key innovations: 1) Unlike previous works that encode RGB-D information with RGB pretrained backbone, we pretrain the backbone using image-depth pairs from ImageNet-1K, and hence the DFormer is endowed with the capacity to encode RGB-D representations; 2) DFormer comprises a sequence of RGB-D blocks, which are tailored for encoding both RGB and depth information through a novel building block design. DFormer avoids the mismatched encoding of the 3D geometry relationships in depth maps by RGB pretrained backbones, which widely lies in existing methods but has not been resolved. We finetune the pretrained DFormer on two popular RGB-D tasks, i.e., RGB-D semantic segmentation and RGB-D salient object detection, with a lightweight decoder head. Experimental results show that our DFormer achieves new state-of-the-art performance on these two tasks with less than half of the computational cost of the current best methods on two RGB-D semantic segmentation datasets and five RGB-D salient object detection datasets. Our code is available at: https://github.com/VCIP-RGBD/DFormer.
