ENLighten: Lighten the Transformer, Enable Efficient Optical Acceleration
Hanqing Zhu, Zhican Zhou, Shupeng Ning, Xuhao Wu, Ray Chen, Yating Wan, David Pan
TL;DR
ENLighten addresses the inefficiency of scaling Transformers on photonic hardware by tightly co‑designing software compression with hardware acceleration. Lighten produces a PTС‑aware, low‑rank plus structured sparse representation that preserves fidelity with minimal fine‑tuning, while ENLighten provides a reconfigurable sparse engine and broadband light redistribution to exploit the compressed structure. The approach yields up to 50% parameter reduction with ~1% accuracy loss after a few epochs and delivers about a 2.5× improvement in energy–delay product on a Base‑scale ViT, highlighting a path toward practical optics‑based acceleration for large AI models. Together, the work demonstrates a viable hardware–software co‑design route to scale photonic inference for state‑of‑the‑art Transformers with meaningful performance and energy benefits.
Abstract
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.
