English

Loop Neural Networks for Parameter Sharing

Artificial Intelligence 2024-11-11 v3

Abstract

The success of large-scale language models like GPT can be attributed to their ability to efficiently predict the next token in a sequence. However, these models rely on constant computational effort regardless of the complexity of the token they are predicting, lacking the capacity for iterative refinement. In this paper, we introduce a novel Loop Neural Network, which achieves better performance by utilizing longer computational time without increasing the model size. Our approach revisits the input multiple times, refining the prediction by iteratively looping over a subset of the model with residual connections. We demonstrate the effectiveness of this method through experiments comparing versions of GPT-2 with our loop models, showing improved performance in language modeling tasks while maintaining similar parameter counts. Importantly, these improvements are achieved without the need for extra training data.

Keywords

Cite

@article{arxiv.2409.14199,
  title  = {Loop Neural Networks for Parameter Sharing},
  author = {Kei-Sing Ng and Qingchen Wang},
  journal= {arXiv preprint arXiv:2409.14199},
  year   = {2024}
}
R2 v1 2026-06-28T18:52:28.203Z