Enhancing randomized recurrent neural networks with explainable attribution methods
Recurrent Neural Networks (RNNs) are well-suited for temporal data modeling but remain limited by their high training computational cost. As a lightweight alternative, randomized RNNs mitigate this issue by employing a fixed, randomly initialized recurrent layer combined with a simple, trainable output layer. To classify a given input sequence, randomized RNNs usually rely on the final reservoir state, which can be suboptimal when relevant temporal information is sparse or masked by noise. In this work, we investigate how explainable attribution methods can improve the performance of randomized RNNs in classification tasks. In particular, we adopt gradient-based attribution explainability techniques to weigh reservoir states according to their relevance to the final prediction. We theoretically justify the effectiveness of our approach through linear stability analysis, offering geometric intuition via an estimation of the variability of the recurrent dynamics by means of explainability techniques. Our experimental evaluation spans 30 binary and 10 multiclass time series classification tasks, comparing several randomized recurrent models. Results show that explainability-guided weighting can improve classification performance in noisy scenarios. • We propose a method to enhance randomized recurrent neural networks by weighting their hidden states using attribution scores derived from explainable AI techniques. • Theoretical analysis shows that our proposed aggregation corresponds to a second-order residual RNN formulation, whose Jacobian spectral radius is automatically adapted based on XAI-driven attribution values. • Aggregating hidden states using XAI-derived attribution scores improves classification performance across several datasets, outperforming standard baselines, especially under noisy conditions.
Authors
- Claudio Gallicchio (ORCID: https://orcid.org/0000-0002-6692-2564)
- Andrea Ceni (ORCID: https://orcid.org/0000-0002-5084-0505)
- Andrea Cossu (ORCID: https://orcid.org/0000-0002-4874-8830)
- Davide Bacciu (ORCID: https://orcid.org/0000-0001-5213-2468)
- Francesco Spinnato (ORCID: https://orcid.org/0000-0002-3203-6716)
- Riccardo Guidotti (ORCID: https://orcid.org/0000-0002-2827-7613)
Institutions
- University of Pisa (IT)
- Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" (IT)
Publication Details
- Journal
- Neurocomputing
- Published
- 2025-12-03
- DOI
- https://doi.org/10.1016/j.neucom.2025.132318
- Primary Topic
- Neural Networks and Reservoir Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00