CLLGFeb 26, 2024

DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Models

arXiv:2403.00818v241 citationsh-index: 32Has Code
Originality Incremental advance
AI Analysis

This addresses the problem of high computational costs in LLMs for AI researchers and practitioners, though it is incremental as it builds on existing SSM architectures.

The paper tackles the computational inefficiency of Transformers in large language models by introducing DenseSSM, a state space model with dense hidden connections that retains fine-grained information, achieving up to 5% accuracy improvement over RetNet on benchmarks.

Large language models (LLMs) face a daunting challenge due to the excessive computational and memory requirements of the commonly used Transformer architecture. While state space model (SSM) is a new type of foundational network architecture offering lower computational complexity, their performance has yet to fully rival that of Transformers. This paper introduces DenseSSM, a novel approach to enhance the flow of hidden information between layers in SSMs. By selectively integrating shallowlayer hidden states into deeper layers, DenseSSM retains fine-grained information crucial for the final output. Dense connections enhanced DenseSSM still maintains the training parallelizability and inference efficiency. The proposed method can be widely applicable to various SSM types like RetNet and Mamba. With similar model size, DenseSSM achieves significant improvements, exemplified by DenseRetNet outperforming the original RetNet with up to 5% accuracy improvement on public benchmarks. code is avalaible at https://github.com/WailordHe/DenseSSM

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes