TL;DR
This paper introduces EVP, an enhanced visual perception architecture that leverages Stable Diffusion's powerful pre-trained models. By introducing an Inverse Multi-Attentive Feature Refinement (IMAFR) module for better spatial feature aggregation and a novel regularized image-text alignment strategy, EVP achieves state-of-the-art results in single-image depth estimation and referring segmentation tasks.
What Problem Does This Paper Address?
Estimating depth from a single image is a challenging but crucial task for many applications, from robotics to generative AI. While recent methods have made significant progress, particularly by leveraging large pre-trained models like Stable Diffusion (as shown by the prior work VPD), there's still room for improvement. The core challenge lies in effectively extracting and aligning rich semantic information from both visual and textual modalities to enhance feature representations for downstream tasks. Specifically, the authors identify that features learned by the denoising U-Net in diffusion models, while powerful, might not perfectly align with the specific semantics required for tasks like depth estimation or referring segmentation, placing an undue burden on task-specific decoders.
Methods
EVP builds upon the Visual Perceptual Diffusion (VPD) framework, which utilizes the denoising U-Net from Stable Diffusion. The paper introduces two main innovations:
- Inverse Multi-Attentive Feature Refinement (IMAFR) Module: This module enhances feature learning by aggregating spatial information from higher pyramid levels of the U-Net's feature maps. Unlike traditional top-down FPN-like approaches, IMAFR prioritizes spatial details from higher resolution features, which are crucial for dense prediction tasks. It employs a multi-attention mechanism that combines spatial attention, channel attention, and group normalization to refine features.
- Regularized Image-Text Alignment: To improve the alignment between image features and textual descriptions, EVP moves beyond simple template-based captions. It leverages advanced vision-language models like BLIP-2 to generate free-form, rich textual descriptions for images. These descriptions are then embedded using CLIP and used to guide the feature extraction. The paper explores different strategies for aggregating these text embeddings, finding that a regularized approach, particularly using a set of 40 CLIP vectors per image, yields the best results.
Additionally, EVP incorporates a specialized decoder for depth estimation, inspired by ZoeDepth, which treats depth estimation as a classification task using metric bins.
Datasets
The paper evaluates EVP on the following standard datasets:
- NYU Depth v2: An indoor dataset for single-image depth estimation.
- KITTI: An outdoor dataset for single-image depth estimation.
- RefCOCO: A dataset for referring segmentation.
Key Insights and Ideas
- Prioritizing Spatial Details: The IMAFR module's success highlights the importance of high-resolution spatial features for dense prediction tasks like depth estimation, challenging the notion that only semantically richer, lower-resolution features are paramount.
- Rich Textual Descriptions Matter: Moving from template-based captions to free-form, generated descriptions significantly improves image-text alignment, demonstrating the power of leveraging advanced VLM capabilities for task-specific feature enhancement.
- Regularization is Key for Text Embeddings: Simply using individual image-specific text embeddings can be noisy. Aggregating these embeddings in a regularized manner (e.g., using a set of embeddings) provides a more robust and effective signal for guiding visual feature learning.
- Diffusion Models as Powerful Vision Backbones: The work further solidifies the idea that the U-Net backbone of diffusion models, pre-trained on massive image-text datasets, can be effectively adapted for a wide range of discriminative vision tasks beyond generation.
Key Results
EVP achieves state-of-the-art performance on multiple benchmarks:
- NYU Depth v2 (Indoor Depth Estimation): EVP reduces the RMSE by 11.8% compared to the previous best method (VPD), achieving an RMSE of 0.224.
- KITTI (Outdoor Depth Estimation): EVP sets a new state-of-the-art, winning in all 7 metrics compared to the previous best (GEDepth).
- RefCOCO (Referring Segmentation): EVP improves the IoU by 2.53% compared to the previous state-of-the-art (ReLA).
Qualitative results show EVP producing sharper and more accurate depth maps, particularly in challenging scenarios, and more precise segmentation masks for referring expressions.
Limitations and Future Work
The authors acknowledge two main limitations:
- Boundary Sharpness: Similar to VPD, EVP's depth predictions might not have as sharp boundaries as some other methods.
- Model Size: The reliance on the large Stable Diffusion U-Net results in a model with close to 1 billion parameters, making it challenging to deploy on edge devices.
Future work could explore:
- Improving boundary sharpness in depth predictions.
- Investigating EVP's potential for other computer vision tasks like semantic segmentation, instance segmentation, and object detection.
- Developing tighter couplings between depth estimation and depth-conditioned image generation.
Summary updated