ENLighten:轻量化Transformer,实现高效光学加速
ENLighten: Lighten the Transformer, Enable Efficient Optical Acceleration
AI总结:
针对光子计算加速大型Transformer时的电光转换开销高、资源不匹配两大瓶颈,提出软硬件协同的Lighten压缩流程与ENLighten可重构光子加速器,实现能效延迟积2.5倍提升。
摘要:
光子计算已成为加速AI核心密集线性代数运算的一种极具前景的底层技术,但其在大型Transformer模型中的应用仍处于初期阶段。我们发现了两大瓶颈:(1)昂贵的电光转换和数据移动开销会随着模型规模扩大而侵蚀能效;(2)有限的片上光子资源与Transformer规模之间不匹配,这迫使光子张量核被频繁复用,削弱了吞吐量增益。为解决这些挑战,我们提出了一种软硬件协同设计框架。首先,我们提出了Lighten(一种感知光子张量核PTC的压缩流程),它无需漫长的重训练,就能事后将每个Transformer权重矩阵分解为一个低秩分量加上一个与光子张量核粒度对齐的结构化稀疏分量。其次,我们提出了ENLighten,这是一款可重构光子加速器,配备由宽带光重新分配驱动的动态自适应张量核,可支持细粒度稀疏性并对非工作部件实现完全功率门控。在ImageNet数据集上,Lighten仅经过3个epoch(约1小时)的微调,就将Base规模的Vision Transformer剪枝了50%,准确率下降约1%。部署在ENLighten上后,其能效延迟积相比当前最先进的光子Transformer加速器提升了2.5倍。
英文摘要:
Photonic computing has emerged as a promising substrate for accelerating the dense linear-algebra operations at the heart of AI, yet adoption for large Transformer models remains in its infancy. We identify two bottlenecks: (1) costly electro--optic conversions and data-movement overheads that erode energy efficiency as model sizes scale; (2) a mismatch between limited on-chip photonic resources and Transformer scale, which forces frequent reuse of photonic tensor cores and dilutes throughput gains. To address these challenges, we introduce a hardware--software co-design framework. First, we propose \texttt{Lighten}, a PTC-aware compression flow that post-hoc decomposes each Transformer weight matrix into a low-rank component plus a structured-sparse component aligned to photonic tensor-core granularity, without lengthy retraining. Second, we present \texttt{ENLighten}, a reconfigurable photonic accelerator with dynamically adaptive tensor cores, driven by broadband light redistribution, enabling fine-grained sparsity support and full power gating of inactive parts. On ImageNet, \texttt{Lighten} prunes a Base-scale Vision Transformer by 50\% with $\approx$1\% accuracy drop after only 3 epochs (about 1 hour) of fine-tuning. Deployed on \texttt{ENLighten}, it achieves a $2.5\times$ improvement in energy--delay product over the state-of-the-art photonic Transformer accelerator.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。