paper-with-me

Papers

SAFE-DiT: Semantics-Aware Fast-path Execution for High-Resolution Diffusion Transformers

2026-06-28 · Xuanhua Yin, Yuxuan Jia, Chuanzhi Xu, Weidong Cai arxiv

High-resolution Diffusion Transformer (DiT) inference contains substantial spatial redundancy, but many spatially adaptive implementations encode regional computation as attention masks, which can inadvertently move scaled dot-product attention (SDPA) away from FlashAttention fast paths. We identify this avoidable systems bottleneck as Mask-Induced Dispatch Tax (MIDT) and show that it grows with latent sequence length. We introduce SAFE-DiT, a training-free Semantics-Aware Fast-path Execution framework that separates exact mask elision from approximation-based spatial scheduling. SAFE-DiT removes only provenance-certified image self-attention masks that induce a row-wise constant shift in attention logits, preserves semantics-bearing masks such as text-padding masks, and realizes spatial adaptation through prompt-conditioned token partitioning, selective state updates with global context, and periodic context refresh. We call this acceleration-only configuration SAFE-Core and report sensitivity-weighted classifier-free guidance separately as SAFE-DiT+SW. On the evaluated PyTorch SDPA stack, redundant masks make long-sequence attention $4.1\times$ to $5.8\times$ slower than the mask-free path. On Lumina-Next, SAFE-DiT achieves $2.69\times$ end-to-end acceleration at $1024^2$ resolution and $5.09\times$ at $2560^2$, reduces peak memory at $2560^2$ from 94.1 to 27.9 GB, and enables $3072^2$ generation when dense inference runs out of memory. Paired metrics, component ablations, and a blinded human study support visual non-inferiority of SAFE-Core to the dense fast-path baseline, while SAFE-DiT+SW provides a separate prompt-alignment operating point without reintroducing spatial self-attention masks. Code is available at https://github.com/xuanhuayin/SAFE-DiT.

📄 PDF Abstract BibTeX arXiv:2606.29360

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

B-PASTE: Beam-Aware Pattern-Guided Speculative Execution for Resource-Constrained LLM Agents

2026-04-09 · Yanfei Song arxiv

LLM agents execute in an interleaved reasoning-and-action loop, where future tool calls cannot be launched until the current reasoning step completes. This serial dependency inflates end-to-end latency and leaves the mod…

When Safe Unimodal Inputs Collide: Optimizing Reasoning Chains for Cross-Modal Safety in Multimodal Large Language Models

2025-09-15 · Wei Cai, Shujuan Liu, Jian Zhao, Ziyan Shi 외 arxiv

Multimodal Large Language Models (MLLMs) are susceptible to the implicit reasoning risk, wherein innocuous unimodal inputs synergistically assemble into risky multimodal data that produce harmful outputs. We attribute th…

Deep Tabular Research via Continual Experience-Driven Execution

2026-03-10 · Junnan Dong, Chuang Zhou, Zheng Yuan, Yifei Yu 외 arxiv

Large language models often struggle with complex long-horizon analytical tasks over unstructured tables, which typically feature hierarchical and bidirectional headers and non-canonical layouts. We formalize this challe…

Natural Language QueriesDecision Making

SyncTwin: Fast Digital Twin Construction and Synchronization for Safe Robotic Manipulation

2026-01-14 · Ruopeng Huang, Boyu Yang, Wenlong Gui, Jeremy Morgan 외 arxiv

Accurate and safe robotic manipulation under dynamic and visually occluded conditions remains a core challenge in real-world deployment. We introduce SyncTwin, a novel digital twin framework that unifies fast 3D scene re…

Point Cloud Segmentation

RTD-RAX: Fast, Safe Trajectory Planning for Systems under Unknown Disturbances

2026-03-23 · Evanns Morales-Cuadrado, Long Kiu Chung, Shreyas Kousik, Samuel Coogan arxiv

Reachability-based Trajectory Design (RTD) is a provably safe, real-time trajectory planning framework that combines offline reachable-set computation with online trajectory optimization. However, standard RTD implementa…

Trajectory Planning