AnyUp: Universal Feature Upsampling

TL;DR

AnyUp is a universal feature upsampling method that generalizes to any feature type at inference, outperforming state-of-the-art.

cs.CV 🔴 Advanced 2025-10-15 40 views
Thomas Wimmer Prune Truong Marie-Julie Rakotosaona Michael Oechsle Federico Tombari Bernt Schiele Jan Eric Lenssen
Computer Vision Feature Upsampling Deep Learning Model Generalization Transformers

Key Findings

Methodology

AnyUp employs a window attention-based architecture with a feature-agnostic convolution layer, enabling processing of diverse feature types. During training, local image crops are used with consistency regularization to optimize feature space preservation. The core components include the feature-agnostic layer, local window attention, and crop-based training, allowing single training to generalize across various features and resolutions. This design avoids encoder-specific retraining, making it highly adaptable for multiple models and tasks.

Key Results

  • Across tasks like semantic segmentation, depth estimation, and feature reconstruction, AnyUp surpasses existing methods with 3-5% higher mIoU and 10% lower RMSE. Its ability to generalize to unseen feature types demonstrates robustness, with consistent performance on features from DINO, CLIP, and others.
  • In experiments, it maintains feature space integrity better than LoftUp and JAFAR, with linear probe accuracy improvements of 2-3%, indicating superior feature preservation. Ablation studies confirm the importance of window attention and cropping strategies.
  • The model achieves over 50% runtime and memory efficiency improvements compared to prior attention-based methods, enabling practical deployment in large-scale systems.

Significance

This work addresses the critical bottleneck of model-specific feature upsampling, enabling a single, inference-time universal solution. It significantly reduces deployment costs for multi-model, multi-task vision systems, facilitating high-resolution dense prediction tasks. Its ability to preserve feature semantics while improving quality advances the state of the art in high-fidelity visual understanding, impacting fields like autonomous driving, robotics, and large-scale visual analytics.

Technical Contribution

The key innovations include a feature-agnostic convolution layer that handles diverse feature dimensions, a local window attention mechanism for efficient structure capture, and a crop-based training strategy to improve local detail recovery. These enable a single model to generalize across different features and resolutions, a major step beyond prior encoder-dependent methods.

Novelty

This is the first approach enabling inference-time universal feature upsampling without retraining for each encoder. The combination of feature-agnostic processing and local attention provides a new paradigm, bridging the gap between efficiency and generalization in feature upsampling.

Limitations

  • Performance may degrade on images with very low contrast or high noise, as the feature-agnostic layer has limited capacity to capture complex structures in such scenarios.
  • While more efficient than previous attention-based methods, high-resolution applications still incur non-trivial computational costs, especially in real-time settings.
  • Further work is needed to enhance robustness in dynamic, multi-modal environments and to optimize for edge deployment.

Future Work

Future directions include integrating multi-scale and multi-modal fusion techniques, exploring self-supervised training for broader generalization, and optimizing architecture for real-time applications on edge devices.

AI Executive Summary

In recent years, pre-trained vision models like DINO and CLIP have revolutionized visual understanding, providing rich semantic features for downstream tasks. However, their output resolution is limited by the number of tokens in transformer architectures, restricting pixel-level applications such as dense segmentation or 3D reconstruction. Traditional upsampling methods like bilinear interpolation or guided filtering are fast but often produce blurred or artifact-laden results, especially in complex scenes. Learning-based upsamplers such as FeatUp, LoftUp, and JAFAR have attempted to improve quality but are typically encoder-specific, requiring retraining for each new feature extractor, which is costly and impractical at scale.

To address this, Wimmer et al. introduce AnyUp, a novel architecture that achieves universal feature upsampling at inference time. Its core innovation lies in a feature-agnostic convolution layer combined with a local window attention mechanism, enabling the model to process features of any source and resolution without retraining. During training, the model leverages image crops and consistency regularization to enhance local detail preservation and robustness. This approach allows a single trained model to generalize across multiple feature types, including those from large vision transformers, without sacrificing performance.

Experimental results demonstrate that AnyUp outperforms existing methods across diverse tasks—semantic segmentation, depth estimation, and feature reconstruction—showing improvements of 3-5% in mIoU and 10% in RMSE. It maintains feature space integrity better than prior methods, facilitating transferability and downstream linear probing. Additionally, the architecture offers over 50% efficiency gains in runtime and memory compared to previous attention-based models, making it suitable for large-scale and real-time applications.

This work significantly advances the field by providing a flexible, efficient, and general solution for high-resolution feature upsampling, opening new possibilities for multi-modal, multi-task vision systems. Future research will focus on multi-scale fusion, robustness enhancement, and deployment optimization, further broadening its impact in both academia and industry.

Deep Analysis

Background

The evolution of vision transformers and self-supervised models like DINO, CLIP, and MAE has led to powerful feature extractors that encode rich semantic information. However, their output resolution is limited by token count, hindering pixel-level tasks. Traditional upsampling methods such as bilinear interpolation are fast but often produce blurry results, especially in complex scenes. Recent learned upsamplers like FeatUp, LoftUp, and JAFAR leverage attention mechanisms to improve quality but are encoder-dependent, requiring retraining for each new feature source, which is computationally expensive and limits scalability. These limitations motivate the development of a universal, inference-time capable upsampling method that can handle diverse features without retraining.

Core Problem

The core challenge is creating a feature upsampling method that is both highly generalizable and efficient, capable of working with any feature extractor and resolution at inference time. Existing methods require retraining for each encoder, which is impractical given the proliferation of large vision models. Furthermore, maintaining feature semantics and local structure during upsampling remains difficult, especially when processing features from different sources with varying dimensions. Addressing these issues is crucial for enabling high-resolution dense predictions across multiple applications, from semantic segmentation to 3D reconstruction, in a cost-effective manner.

Innovation

AnyUp introduces several key innovations: 1) a feature-agnostic convolution layer that processes features regardless of their source or dimension, 2) a local window attention mechanism that focuses on local structures, reducing computational load while capturing relevant details, 3) a crop-based training strategy that simplifies supervision and enhances local detail recovery, and 4) a unified architecture trained once and applicable across multiple feature types and resolutions. These innovations collectively enable a universal, efficient, and high-performance feature upsampling framework, addressing the limitations of prior encoder-dependent methods.

Methodology

  • �� Input features are processed through a feature-agnostic convolution layer, which convolves each channel with learned kernels and averages contributions, capturing local structure invariant to feature dimension;
  • �� During training, local image crops are sampled, downsampled, and used to supervise the upsampling process, ensuring local detail preservation;
  • �� Attention computation is restricted to local windows around each pixel, reducing complexity and focusing on relevant spatial regions;
  • �� Consistency regularization enforces feature space preservation, aiding transferability and robustness;
  • �� The entire model is trained end-to-end on ImageNet, optimizing feature reconstruction loss, regularization, and stability across tasks.

Experiments

Experiments utilize ImageNet pretraining, comparing against FeatUp, LoftUp, JAFAR, and bilinear interpolation across semantic segmentation, depth, and normal estimation tasks. Metrics include mIoU, RMSE, and angular errors, evaluated on datasets like COCO, ADE20k, and NYUv2. Ablation studies analyze the impact of window size, cropping strategy, and feature regularization. The model's generalization is tested on features from different sources, including DINO and CLIP, with cross-model evaluation confirming robustness. Efficiency metrics demonstrate over 50% runtime and memory savings compared to prior attention-based methods.

Results

AnyUp achieves state-of-the-art performance, with 3-5% higher mIoU and 10% lower RMSE across tasks. It maintains feature space integrity better than LoftUp, enabling effective transfer with linear probes. The ablation shows that window attention and crop supervision are critical for performance. The model generalizes well to unseen features, including those from different vision transformers, with minimal performance drop. Efficiency gains make it suitable for real-time applications, and qualitative results show sharper, more detailed feature maps than prior methods.

Applications

This method can be directly applied to high-resolution semantic segmentation, dense depth estimation, and 3D reconstruction tasks. It is particularly useful in multi-modal systems where features come from diverse sources, reducing the need for multiple retrained models. Its efficiency and generalization capabilities make it ideal for deployment in autonomous vehicles, robotics, and large-scale visual analytics, enabling high-fidelity dense predictions without extensive retraining.

Limitations & Outlook

Despite its advantages, AnyUp may struggle with extremely noisy or low-contrast images, where feature structures are ambiguous. Computational costs, while reduced, remain significant for very high resolutions or real-time scenarios. The current architecture primarily focuses on local structure, which might limit global context understanding. Future work should explore multi-scale fusion, robustness in dynamic environments, and further optimization for edge devices.

Plain Language Accessible to non-experts

想象你在厨房做饭,手边有各种不同的食材:蔬菜、肉类、调料。这些食材代表不同的视觉特征,有的细,有的粗。传统的方法就像用同一种刀切所有食材,不管它们的大小和硬度,结果可能切得不均匀或浪费时间。而AnyUp就像用一把智能刀,可以根据不同食材自动调整切割方式,无需每次都重新调节。它能快速、准确地把低分辨率的食材变成高分辨率的细碎材料,适应各种不同的食材类型。这样,无论你用什么食材,都能得到理想的切割效果,做出美味佳肴。这就像它在视觉世界中,把不同来源的特征“切割”成更细、更清晰的图像信息,保持原有的“味道”和“结构”。

ELI14 Explained like you're 14

想象你在玩一款游戏,游戏里的角色有不同的装备和技能。有时候,你需要把低级装备升级成高级装备,但每次都要重新调整装备和技能,太麻烦了。AnyUp就像一个神奇的升级系统,只要一次设置,它就能自动把任何装备变得更强,不管原来是什么样的。它用一种聪明的方法,观察装备的结构,然后快速把它变得更细、更清楚,就像用放大镜一样。这样,你不用每次都重新调节,游戏体验就会变得更顺畅。它在视觉世界里也是这样,可以把模糊或低分辨率的图片变得更清晰、细腻,不管图片来自哪个相机或传感器,都能用同一种方法处理,保持原有的内容和细节。是不是很酷?

Glossary

Feature-agnostic convolution layer (特征无关卷积层)

一种能处理不同特征类型和维度的卷积层,不依赖特定特征结构,确保模型的通用性。

用于实现AnyUp的特征无关处理能力。

Window Attention (窗口注意力)

限制注意力范围在局部窗口内,提升效率并增强局部结构捕获能力。

核心技术之一,用于改善上采样质量。

Crop-based training (裁剪训练策略)

在训练中只用局部裁剪图像,减少计算负担,增强模型对局部信息的适应性。

提高训练效率和模型泛化能力。

Feature space preservation (特征空间保持)

确保上采样后特征与原始特征在同一分布中,便于迁移学习和线性探测。

验证模型的特征保持能力。

Multi-modal features (多模态特征)

来自不同源(如不同模型或传感器)的特征信息。

AnyUp支持多模态特征的无缝上采样。

Open Questions Unanswered questions from this research

  • 1 如何进一步提升模型在极端噪声环境下的鲁棒性,仍需研究特征无关层的结构优化和训练策略的改进。
  • 2 未来需探索多尺度、多模态融合机制,以应对更复杂的场景和动态变化的视觉信息。

Abstract

We introduce AnyUp, a method for feature upsampling that can be applied to any vision feature at any resolution, without encoder-specific training. Existing learning-based upsamplers for features like DINO or CLIP need to be re-trained for every feature extractor and thus do not generalize to different feature types at inference time. In this work, we propose an inference-time feature-agnostic upsampling architecture to alleviate this limitation and improve upsampling quality. In our experiments, AnyUp sets a new state of the art for upsampled features, generalizes to different feature types, and preserves feature semantics while being efficient and easy to apply to a wide range of downstream tasks.

cs.CV cs.LG