cs.CVSep 19, 2025

Diff-Feat: Diffusion-Based Cross-Modal Feature Extraction for Multi-Label Classification

Authors: Tian Lan, Yiming Zheng, Jianxin Yin

Organizations: School of Statistics, Renmin University of China · Center for Applied Statistics and School of Statistics, Renmin University of China

Abstract

Multi-label classification has broad applications and depends on powerful representations capable of capturing multiple interactions. We introduce Diff-Feat, a simple yet effective framework that extracts intermediate features from pre-trained diffusion-Transformer models for both images and text, and fuses them for downstream tasks. We observe distinct patterns in optimal feature selection: for vision tasks, the most discriminative intermediate feature along the diffusion process occurs at the middle step and is located at the middle block in Transformer. In contrast, for language tasks, the best feature occurs at the noise-free step and is located at the deepest block. Notably, a consistent phenomenon across diverse datasets: a fixed "Middle Layer" yields the best performance on various downstream classification tasks for images (under DiT-XL/2-256×\times256 and various U-ViT architectures). We further analyze the underlying mechanism and its scaling behavior across model scales. To efficiently select representations, we devise a heuristic local-search algorithm that pinpoints the locally optimal "image-text"×\times"block-timestep" pair among a few candidates, avoiding an exhaustive grid search. A simple fusion-linear projection followed by addition-of the selected representations achieves 46.1% mAP on Visual Genome 500 (with 500 categories) and 80.2% mAP on Pix2Cap-COCO (with 80 categories), consistently outperforming strong baseline methods. Code is available at https://github.com/lt-0123/Diff-Feat.

Figures & tables

Explore similar work

CardsList
  1. MMDiff: Extending Diffusion Transformers for Multi-Modal Generation

    Jun 15, 2026Yagmur Akarken, Orest Kupyn, Christian RupprechtDiffusion TransformerDepth Estimation

  2. TextTeacher: What Can Language Teach About Images?

    May 21, 2026Tobias Christian Nauen, Stanislav Frolov, Brian Bernhard Moser +3Cross-Modal Knowledge DistillationVisual Representation Learning

  3. TextLDM: Language Modeling with Continuous Latent Diffusion

    May 8, 2026Jiaxiu Jiang, Jingjing Ren, Wenbo Li +10Diffusion TransformerLatent Diffusion Models