Semantic Routing: Exploring Multi-Layer LLM Feature Weighting for Diffusion Transformers

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Bozhou, Guan, Yushuo, Li, Haolin, Zeng, Bohan, Ji, Yiyan, Ding, Yue, Wan, Pengfei, Gai, Kun, Zhang, Yuanxing, Zhang, Wentao
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912872227930112
author Li, Bozhou
Guan, Yushuo
Li, Haolin
Zeng, Bohan
Ji, Yiyan
Ding, Yue
Wan, Pengfei
Gai, Kun
Zhang, Yuanxing
Zhang, Wentao
author_facet Li, Bozhou
Guan, Yushuo
Li, Haolin
Zeng, Bohan
Ji, Yiyan
Ding, Yue
Wan, Pengfei
Gai, Kun
Zhang, Yuanxing
Zhang, Wentao
contents Recent DiT-based text-to-image models increasingly adopt LLMs as text encoders, yet text conditioning remains largely static and often utilizes only a single LLM layer, despite pronounced semantic hierarchy across LLM layers and non-stationary denoising dynamics over both diffusion time and network depth. To better match the dynamic process of DiT generation and thereby enhance the diffusion model's generative capability, we introduce a unified normalized convex fusion framework equipped with lightweight gates to systematically organize multi-layer LLM hidden states via time-wise, depth-wise, and joint fusion. Experiments establish Depth-wise Semantic Routing as the superior conditioning strategy, consistently improving text-image alignment and compositional generation (e.g., +9.97 on the GenAI-Bench Counting task). Conversely, we find that purely time-wise fusion can paradoxically degrade visual generation fidelity. We attribute this to a train-inference trajectory mismatch: under classifier-free guidance, nominal timesteps fail to track the effective SNR, causing semantically mistimed feature injection during inference. Overall, our results position depth-wise routing as a strong and effective baseline and highlight the critical need for trajectory-aware signals to enable robust time-dependent conditioning.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03510
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Semantic Routing: Exploring Multi-Layer LLM Feature Weighting for Diffusion Transformers
Li, Bozhou
Guan, Yushuo
Li, Haolin
Zeng, Bohan
Ji, Yiyan
Ding, Yue
Wan, Pengfei
Gai, Kun
Zhang, Yuanxing
Zhang, Wentao
Computer Vision and Pattern Recognition
Recent DiT-based text-to-image models increasingly adopt LLMs as text encoders, yet text conditioning remains largely static and often utilizes only a single LLM layer, despite pronounced semantic hierarchy across LLM layers and non-stationary denoising dynamics over both diffusion time and network depth. To better match the dynamic process of DiT generation and thereby enhance the diffusion model's generative capability, we introduce a unified normalized convex fusion framework equipped with lightweight gates to systematically organize multi-layer LLM hidden states via time-wise, depth-wise, and joint fusion. Experiments establish Depth-wise Semantic Routing as the superior conditioning strategy, consistently improving text-image alignment and compositional generation (e.g., +9.97 on the GenAI-Bench Counting task). Conversely, we find that purely time-wise fusion can paradoxically degrade visual generation fidelity. We attribute this to a train-inference trajectory mismatch: under classifier-free guidance, nominal timesteps fail to track the effective SNR, causing semantically mistimed feature injection during inference. Overall, our results position depth-wise routing as a strong and effective baseline and highlight the critical need for trajectory-aware signals to enable robust time-dependent conditioning.
title Semantic Routing: Exploring Multi-Layer LLM Feature Weighting for Diffusion Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2602.03510