Loop Neural Networks for Parameter Sharing

Kei-Sing Ng, Qingchen Wang
9/21/2024
cs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ng2024loop,
  title  = {Loop Neural Networks for Parameter Sharing},
  author = {Kei-Sing Ng and Qingchen Wang},
  year   = {2024},
  eprint = {2409.14199},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.14199v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.14199.svg)](https://codeofpaper.com/paper/2409.14199)

Discussion