ET: Efficient Transfer from Softmax to Hybrid Attention
Guangfu Guo, Xiaoqian Lu, Linsey Pang, Weiran Yao, Haolin Chen, Long Cheng, Kunpeng Liu
Abstract
Converting pretrained softmax Transformers to efficient attention often causes substantial performance degradation, while recovery typically requires costly fine-tuning. We propose ET (Efficient Transfer), a framework for high-fidelity attention conversion with minimal optimization cost. ET combines exact local and shared-key softmax attention with a mean-anchored, scan-free global linear correction and adaptive gating, achieving linear complexity in sequence length. To preserve pretrained knowledge, ET freezes pretrained weights and calibrates only newly introduced parameters through alternating least squares on a small set of unlabeled samples, without gradient updates. On ImageNet-1K, ET achieves 79.64% and 81.55% top-1 accuracy on DeiT-S and DeiT-B, respectively, within 0.25 percentage points of their softmax teachers. At , ET outperforms T by 3.59 percentage points at comparable inference FLOPs, without gradient-based fine-tuning. On DiT-XL/2, ET achieves an FID-50K of 2.59 with only 250 LoRA updates. On Stable Diffusion 3.5 Medium, ET matches the teacher's GenEval score at 1K resolution with just 0.73 A100 GPU-hours of gradient-free conversion and a 1.39 inference speedup.
Create a lesson
Related papers
Adapt, Label, Distill: Foundation-Model Supervision for Efficient Object Detection
Shared title terminologycs.CVZhengye Yang, Anthony Wang, Yuyang Li et al.
On-Policy Codec Distillation for Efficient All-in-One Video Generation
Shared title terminologycs.CVBoyang Wang, Kevin Blackburn-Matzen, Oindrila Saha et al.
SPROUT: Predicting Objective-Grounded Prompt Utility for Efficient Text-to-Image Preference Tuning
Shared title terminologycs.CVKangping Hu, Akshay Mehra, Stephen Mussmann
GlanceNav: Efficient Vision-and-Language Navigation with Streaming Memory and Counterfactual Rewind
Shared title terminologycs.CVAnh Dao, Quan-Dung Pham, Danh Vinh Le et al.
Age and Gender Estimation from Face and Ocular Smartphone Images via Identity Transfer and Ordinal Learning
Shared title terminologycs.CVFernando Alonso-Fernandez, Kevin Hernandez-Diaz, Jose Maria Buades et al.
Speculate in the Right Order: Efficient Self-Speculative Decoding for Autoregressive Image Generation
Shared title terminologycs.CVYihan Chen, Jintao Zhang, Jun Zhu