Unified Implementations of Recurrent Neural Networks in Multiple Deep Learning Frameworks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Martinuzzi, Francesco
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917039503835136
author Martinuzzi, Francesco
author_facet Martinuzzi, Francesco
contents Recurrent neural networks (RNNs) are a cornerstone of sequence modeling across various scientific and industrial applications. Owing to their versatility, numerous RNN variants have been proposed over the past decade, aiming to improve the modeling of long-term dependencies and to address challenges such as vanishing and exploding gradients. However, no central library is available to test these variations, and reimplementing diverse architectures can be time-consuming and error-prone, limiting reproducibility and exploration. Here, we introduce three open-source libraries in Julia and Python that centralize numerous recurrent cell implementations and higher-level recurrent architectures. torchrecurrent, RecurrentLayers.jl, and LuxRecurrentLayers.jl offer a consistent framework for constructing and extending RNN models, providing built-in mechanisms for customization and experimentation. All packages are available under the MIT license and actively maintained on GitHub.
format Preprint
id arxiv_https___arxiv_org_abs_2510_21252
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Unified Implementations of Recurrent Neural Networks in Multiple Deep Learning Frameworks
Martinuzzi, Francesco
Machine Learning
Software Engineering
Recurrent neural networks (RNNs) are a cornerstone of sequence modeling across various scientific and industrial applications. Owing to their versatility, numerous RNN variants have been proposed over the past decade, aiming to improve the modeling of long-term dependencies and to address challenges such as vanishing and exploding gradients. However, no central library is available to test these variations, and reimplementing diverse architectures can be time-consuming and error-prone, limiting reproducibility and exploration. Here, we introduce three open-source libraries in Julia and Python that centralize numerous recurrent cell implementations and higher-level recurrent architectures. torchrecurrent, RecurrentLayers.jl, and LuxRecurrentLayers.jl offer a consistent framework for constructing and extending RNN models, providing built-in mechanisms for customization and experimentation. All packages are available under the MIT license and actively maintained on GitHub.
title Unified Implementations of Recurrent Neural Networks in Multiple Deep Learning Frameworks
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2510.21252