Loop Neural Networks for Parameter Sharing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ng, Kei-Sing, Wang, Qingchen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913574056624128
author Ng, Kei-Sing
Wang, Qingchen
author_facet Ng, Kei-Sing
Wang, Qingchen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_14199
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Loop Neural Networks for Parameter Sharing
Ng, Kei-Sing
Wang, Qingchen
Artificial Intelligence
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.
title Loop Neural Networks for Parameter Sharing
topic Artificial Intelligence
url https://arxiv.org/abs/2409.14199