NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Task-oriented Learnable Diffusion Timesteps for Universal Few-shot Learning of Dense Tasks

Changgyoon Oh, Jongoh Jeong, Jegyeong Cho, Kuk-Jin YoonarXiv 2025 · DOI

TL;DR

This paper introduces a novel approach to improve few-shot dense prediction tasks by adaptively selecting and consolidating features from specific timesteps of pre-trained diffusion models. By moving beyond heuristic timestep selection, their method achieves superior performance on challenging benchmarks, demonstrating the potential of diffusion models for versatile, low-data learning scenarios.

What Problem Does This Paper Address?

Diffusion models have shown remarkable success in generative tasks, and their learned representations are increasingly being explored for downstream tasks like semantic segmentation. However, a key challenge in leveraging these models for dense prediction tasks, especially in few-shot settings (where only a few labeled examples are available), is determining which intermediate "timesteps" of the diffusion process yield the most useful features. Current methods often rely on empirical intuition or fixed heuristics for timestep selection, which can lead to suboptimal performance and lack generalizability across different tasks. This paper aims to address this by developing a learnable mechanism to automatically select and combine the most informative diffusion timesteps for a given dense prediction task, enabling more effective and universal few-shot learning.

Methods

The core of this work lies in two proposed modules:

  • Task-aware Timestep Selection (TTS): This module iteratively searches for the optimal set of diffusion timesteps. It starts with an initial set of timesteps and, in each iteration, identifies and removes the least informative timestep based on task-specific losses. It then samples a new timestep, extracts its feature, and checks for similarity with existing features. If the new feature is sufficiently distinct and doesn't negatively impact performance, it's added to the set. This process is guided by both timestep-wise losses and feature similarity constraints.
  • Timestep Feature Consolidation (TFC): Once the optimal timesteps are selected, the TFC module consolidates their features. It employs a cross-attention mechanism to match the selected diffusion timestep features with support label features. This allows the model to effectively fuse information from multiple timesteps, creating a richer representation for dense prediction.

The framework also incorporates a parameter-efficient fine-tuning (PEFT) approach, specifically LoRA (Low-Rank Adaptation), to adapt the pre-trained diffusion model to the target task with minimal trainable parameters. This is crucial for few-shot learning, preventing overfitting and preserving the knowledge learned during pre-training.

Datasets

The primary dataset used for evaluation is the Taskonomy-Tiny dataset. This dataset is a subset of the larger Taskonomy dataset, designed for multi-task learning and featuring indoor images from various buildings. The authors selected ten benchmarked tasks from Taskonomy, including semantic segmentation (SS), surface normal (SN), depth estimation (ED, ZD), texture edge (TE), occlusion edge (OE), 2D/3D keypoints (K2/K3), reshading (RS), and principal curvature (PC). For evaluation, they followed a 5-fold split strategy, where one fold is held out as the unseen test set, and the remaining four folds are used for training.

Key Insights and Ideas

  • Timesteps Matter: The paper strongly suggests that not all diffusion timesteps are equally useful for dense prediction tasks. Adaptive selection is crucial for unlocking the full potential of diffusion models.
  • Task-Specific Optimization: The TTS module's ability to adapt timestep selection based on task-specific losses is a key innovation, moving beyond generic or heuristic approaches.
  • Feature Synergy: The TFC module highlights that combining features from multiple carefully selected timesteps can yield better results than relying on a single timestep or a random collection.
  • Universality: The framework demonstrates effectiveness across a diverse set of dense prediction tasks, suggesting that the learned timestep selection and consolidation strategies are generalizable.
  • Efficiency: By using PEFT (LoRA), the method achieves strong performance with a significantly smaller number of trainable parameters compared to full fine-tuning, making it practical for few-shot scenarios.

Key Results

  • Performance Improvement: The proposed method, "Ours," consistently outperforms baseline methods like VTM (Visual Token Matching) and stratified random sampling across most of the ten Taskonomy tasks in the few-shot setting.
  • Semantic Segmentation Gains: Semantic segmentation (SS) shows the most significant improvement, with the proposed method achieving performance close to fully supervised baselines.
  • Qualitative Superiority: Qualitative results (Figure 5) show that the proposed method produces more accurate and clearer predictions, especially in areas with complex objects or fine details, compared to VTM and random sampling.
  • Efficiency: The TFC module accounts for only 0.58% of total FLOPs and 0.91% of total parameters, demonstrating its computational efficiency.

Limitations and Future Work

  • Dataset Size: The evaluation was conducted on the Taskonomy-Tiny subset, and the authors suggest that performance might differ on larger subsets (Medium or Full).
  • Strata Division: The timestep range is divided into strata based on similarity scores, which might limit generalizability. Future work could explore more sophisticated methods for this division.
  • U-Net Backbone Limitations: For certain 2D tasks like TE and K2, the performance gains were limited, which the authors attribute to the U-Net backbone's potential limitations in handling scale-sensitivity and long-range spatial contexts.
  • Future Integration: The authors propose that their modules can be integrated into any diffusion model-based framework for various target tasks. They also mention their project page with code will be hosted on GitHub.

Summary updated

BibTeX
@misc{oh2025task,
  author = {Changgyoon Oh and Jongoh Jeong and Jegyeong Cho and Kuk-Jin Yoon},
  title = {{Task-oriented Learnable Diffusion Timesteps for Universal Few-shot Learning of Dense Tasks}},
  year = {2025},
  eprint = {2512.23210},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23210},
}
Figure