ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kumar, Shivanshu, Srinivasan, Gopalakrishnan
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917370751090688
author Kumar, Shivanshu
Srinivasan, Gopalakrishnan
author_facet Kumar, Shivanshu
Srinivasan, Gopalakrishnan
contents While the transformer architecture has achieved state-of-the-art performance on natural language processing tasks, these models impose substantial memory and computational overhead. Recent research has identified significant architectural redundancies within these models, particularly in the attention sub-layers in the top layers, presenting opportunities for optimization without compromising performance. Taking insights from research on inference-time layer pruning and depth-dependent computation in language models, we introduce an efficient language model architecture referred to as ShishuLM. By replacing full decoder layers at the top of the model with MLP-only blocks, we achieve up to 10-60% improvement in generation latency and 1.3 -5 $\times$ gain in throughput. Upon further sharing parameters across adjacent MLP-only layers of ShishuLM, we obtain up to 20% savings in memory with minimal degradation in performance. Our findings provide insights towards building more efficient language modeling architectures from a pre-training standpoint by leveraging how information flows in transformers.
format Preprint
id arxiv_https___arxiv_org_abs_2510_13860
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Models
Kumar, Shivanshu
Srinivasan, Gopalakrishnan
Computation and Language
Artificial Intelligence
While the transformer architecture has achieved state-of-the-art performance on natural language processing tasks, these models impose substantial memory and computational overhead. Recent research has identified significant architectural redundancies within these models, particularly in the attention sub-layers in the top layers, presenting opportunities for optimization without compromising performance. Taking insights from research on inference-time layer pruning and depth-dependent computation in language models, we introduce an efficient language model architecture referred to as ShishuLM. By replacing full decoder layers at the top of the model with MLP-only blocks, we achieve up to 10-60% improvement in generation latency and 1.3 -5 $\times$ gain in throughput. Upon further sharing parameters across adjacent MLP-only layers of ShishuLM, we obtain up to 20% savings in memory with minimal degradation in performance. Our findings provide insights towards building more efficient language modeling architectures from a pre-training standpoint by leveraging how information flows in transformers.
title ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.13860