A-SelecT: Automatic Timestep Selection for Diffusion Transformer Representation Learning

Changyu Liu, James Chenhao Liang, Wenhao Yang, Yiming Cui, Jinghao Yang, Tianyang Wang, Qifan Wang, Dongfang Liu, Cheng Han

TL;DR

A-SelecT introduces an automatic, single-pass framework to dynamically pinpoint the most informative denoising timestep and internal feature layers within Diffusion Transformers (DiTs) for downstream tasks. By leveraging a novel, unsupervised High-Frequency Ratio (HFR) metric, it eliminates the need for expensive brute-force searches, achieving state-of-the-art classification and segmentation performance while speeding up feature selection by 12x.

What Problem Does This Paper Address?

While diffusion models are celebrated for image generation, researchers are increasingly repurposing their pre-trained backbones as feature extractors for discriminative tasks like image classification and semantic segmentation. Recently, Diffusion Transformers (DiTs) have emerged as a powerful alternative to traditional U-Net backbones due to their excellent scalability.

However, using DiTs for representation learning introduces two major challenges:

  1. Inadequate Timestep Searching: A diffusion model denoises an image across hundreds of sequential steps. The "sweet spot" timestep where features are most discriminative varies significantly depending on the dataset. Finding this optimal step traditionally requires a brute-force "traversal search" (training a separate downstream model for every single timestep), which is computationally grueling.
  2. Insufficient Representation Selection: DiT architectures consist of multiple transformer blocks containing internal components like Queries ($Q$), Keys ($K$), Values ($V$), and attention outputs ($A$). Pinpointing exactly which component and layer yields the most robust representations has remained an open question.

Methods

To bypass the computational nightmare of brute-force searching, the authors introduce Automatically Selected Timestep (A-SelecT). The core of their approach relies on a new metric called the High-Frequency Ratio (HFR).

Figure 2. Overview of Automatically Selected Timestep (A-SelecT). A-SelecT begins by simulating \text {sample}_{t} at timestep t (see Eq. 1). This \text {sample}_{t} is then processed through the diffusion backbone to extract the query feature Q_t at each timestep t. Upon obtaining all Q_t, their HFR are calculated. The timestep exhibiting the highest average HFR is subsequently selected for feature extraction. The query feature extracted at this optimal timestep ˆt is then fed into targeted discriminative tasks.

The methodology breaks down as follows:

  • High-Frequency Ratio (HFR): The authors observe that discriminative features (edges, textures, shapes) are inherently tied to high-frequency visual information. HFR applies a Fast Fourier Transform (FFT) and a Gaussian high-pass filter to isolate high-frequency components from a feature map, calculating its energy relative to the total feature energy.
  • Fast Simulation: Instead of running the slow backward denoising process to extract features at different steps, A-SelecT uses the fast forward diffusion process to add controlled noise to a single input image, simulating any given timestep instantly.
  • Automated Selection: The simulated images are passed through the frozen DiT backbone. A-SelecT extracts the Query ($Q$) features, computes their HFR across timesteps, and automatically selects the step with the highest average HFR for downstream training.

To provide theoretical backing, the authors demonstrate that HFR strongly aligns with the Fisher Score—a classic supervised metric for class separability—meaning HFR acts as an excellent label-free proxy.

Datasets

The framework was evaluated across several standard computer vision benchmarks:

  • Image Classification: ImageNet-1K.
  • Fine-Grained Visual Classification (FGVC): A suite of six specialized datasets: Caltech-UCSD Birds (CUB), Oxford Flowers, Aircraft, Stanford Cars, NABirds, and Stanford Dogs.
  • Semantic Segmentation: ADE20K.

Key Insights and Ideas

  • High Frequencies Hold the Key: Visualizing the decomposed features reveals that low-frequency components retain vague color blobs, whereas high-frequency components preserve critical structural details necessary for fine-grained discrimination.
Figure 3. Visualizations of High-frequency vs. Low-frequency Information. We present a decomposition of the original features extracted from SD 3.5 into components that exclusively contain high-frequency and low-frequency information. The second col- umn is the original features extracted from the model. As seen, the high-frequency features are shown to contain more discriminative information (i.e., edge, texture, corner information from the black footed albatross can be clearly preserved) than their low-frequency counterparts. Inspired by this, we design HFR to assess the signif- icance of high-frequency information (see §3.3).
  • HFR Tracks Accuracy Perfectly: Unsupervised HFR peaks correlate almost perfectly with downstream classification accuracy peaks, proving that you don't need labels to find the best denoising step.
HFR value vs. Classification Accuracy across timesteps
  • The "Goldilocks" Layer and Component: Through diagnostic experiments, the authors found that the middle layers of the DiT architecture yield the most discriminative features. Early layers capture layout information too coarsely, while later layers focus heavily on generative details. Within these layers, the Query ($Q$) component consistently outperforms $K$, $V$, and attention outputs.

Key Results

  • Massive Speedups: A-SelecT reduces downstream tuning overhead by ~21x and cuts total search time by ~12x compared to exhaustive traversal search methods.
  • Classification Superiority: On the FGVC benchmark, A-SelecT achieves a mean top-1 accuracy of 82.5%, consistently outperforming prior U-Net-based diffusion models (like SDXL and DifFeed) and self-supervised methods (like SwAV and SimCLR). On ImageNet, it reaches 78.2% accuracy.
  • Strong Segmentation Performance: On ADE20K, it achieves a mean Intersection over Union (mIoU) of 45.0%, outperforming a supervised ResNet-50 baseline by 4.1% while keeping the entire diffusion backbone frozen.

Limitations and Future Work

Not explicitly discussed in the main text of the paper.

Summary updated

BibTeX
@inproceedings{liu2026select,
  author = {Changyu Liu and James Chenhao Liang and Wenhao Yang and Yiming Cui and Jinghao Yang and Tianyang Wang and Qifan Wang and Dongfang Liu and Cheng Han},
  title = {{A-SelecT: Automatic Timestep Selection for Diffusion Transformer Representation Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=q6XW2HgFx1},
}
Figure