RingFormer: Rethinking Recurrent Transformer with Adaptive Level Signals

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Heo, Jaemu, Fozilov, Eldor, Song, Hyunmin, Kim, Taehwan
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916620073435136
author Heo, Jaemu
Fozilov, Eldor
Song, Hyunmin
Kim, Taehwan
author_facet Heo, Jaemu
Fozilov, Eldor
Song, Hyunmin
Kim, Taehwan
contents Transformers have achieved great success in effectively processing sequential data such as text. Their architecture consisting of several attention and feedforward blocks can model relations between elements of a sequence in parallel manner, which makes them very efficient to train and effective in sequence modeling. Even though they have shown strong performance in processing sequential data, the size of their parameters is considerably larger when compared to other architectures such as RNN and CNN based models. Therefore, several approaches have explored parameter sharing and recurrence in Transformer models to address their computational demands. However, such methods struggle to maintain high performance compared to the original transformer model. To address this challenge, we propose our novel approach, RingFormer, which employs one Transformer layer that processes input repeatedly in a circular, ring-like manner, while utilizing low-rank matrices to generate input-dependent level signals. This allows us to reduce the model parameters substantially while maintaining high performance in a variety of tasks such as translation and image classification, as validated in the experiments.
format Preprint
id arxiv_https___arxiv_org_abs_2502_13181
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RingFormer: Rethinking Recurrent Transformer with Adaptive Level Signals
Heo, Jaemu
Fozilov, Eldor
Song, Hyunmin
Kim, Taehwan
Machine Learning
Artificial Intelligence
Transformers have achieved great success in effectively processing sequential data such as text. Their architecture consisting of several attention and feedforward blocks can model relations between elements of a sequence in parallel manner, which makes them very efficient to train and effective in sequence modeling. Even though they have shown strong performance in processing sequential data, the size of their parameters is considerably larger when compared to other architectures such as RNN and CNN based models. Therefore, several approaches have explored parameter sharing and recurrence in Transformer models to address their computational demands. However, such methods struggle to maintain high performance compared to the original transformer model. To address this challenge, we propose our novel approach, RingFormer, which employs one Transformer layer that processes input repeatedly in a circular, ring-like manner, while utilizing low-rank matrices to generate input-dependent level signals. This allows us to reduce the model parameters substantially while maintaining high performance in a variety of tasks such as translation and image classification, as validated in the experiments.
title RingFormer: Rethinking Recurrent Transformer with Adaptive Level Signals
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2502.13181