DeLighT: Deep and Light-weight Transformer
Sachin Mehta, Marjan Ghazvininejad, Srinivasan Iyer, Luke Zettlemoyer, Hannaneh Hajishirzi
TL;DR
DeLighT introduces a deep, light-weight Transformer that reallocates parameters both within blocks, via the DeLighT transformation using group linear transformations, and across blocks, via block-wise scaling. This decouples depth and width from input size, enabling networks that are 2.5–4x deeper yet with fewer parameters and MACs, while matching or beating Transformer baselines on machine translation and language modeling. The approach is supported by extensive ablations and efficiency analyses, showing benefits from feature shuffling, input-mixer connections, and a light-weight FFN. The work demonstrates strong practical impact for parameter-efficient sequence modeling and points to broad applicability beyond the reported tasks.
Abstract
We introduce a deep and light-weight transformer, DeLighT, that delivers similar or better performance than standard transformer-based models with significantly fewer parameters. DeLighT more efficiently allocates parameters both (1) within each Transformer block using the DeLighT transformation, a deep and light-weight transformation, and (2) across blocks using block-wise scaling, which allows for shallower and narrower DeLighT blocks near the input and wider and deeper DeLighT blocks near the output. Overall, DeLighT networks are 2.5 to 4 times deeper than standard transformer models and yet have fewer parameters and operations. Experiments on benchmark machine translation and language modeling tasks show that DeLighT matches or improves the performance of baseline Transformers with 2 to 3 times fewer parameters on average. Our source code is available at: \url{https://github.com/sacmehta/delight}
