Sparse Federated Echo State Networks for Time-Series Classification via Smooth-L1 Regularization
Organizations: Faculty of Computer Science and Business Information Systems Technical University of Applied Sciences Würzburg-Schweinfurt, Würzburg, Germany
Abstract
Echo State Networks (ESNs), as lightweight implementations of reservoir computing, provide efficient solutions for temporal data processing in resource-constrained environments. While standard ESNs offer computational efficiency, their dense readout layers inflate the stored model and the per-sample inference cost. This paper introduces a Smooth-L1 regularized ESN (SL1ESN) that promotes sparsity in the readout layer while preserving differentiability for gradient-based optimization. The method employs a twice-differentiable Smooth-L1 approximation compatible with Newton's method, which we exploit both for centralized training and for a second-order (Newton-step) federated aggregation scheme. Under a single fixed shrinkage threshold shared by every dataset and both settings, experiments on seven time-series classification benchmarks show that SL1ESN learns readouts that are -- sparse in the centralized setting and -- sparse in the federated one, while staying within accuracy points of the strongest dense baseline on five of the seven benchmarks in the centralized setting and within points on the same five in the federated one, and the second-order federated update converges in only a few rounds. The resulting sparsity compresses the stored model, the per-sample inference cost, and the server-to-client broadcast by a comparable factor. These results demonstrate the practical value of sparse readouts for edge computing and IoT deployments.
Figures & tables
| Dataset | Train | Test | Length | Dim. | Classes |
|---|---|---|---|---|---|
| UCI HAR | 7352 | 2947 | 128 | 9 | 6 |
| Character | 2286 | 572 | 205 | 3 | 20 |
| JapaneseVowels | 270 | 370 | 29 | 12 | 9 |
| ECG5000 | 500 | 4500 | 140 | 1 | 5 |
| Distal. | 600 | 276 | 80 | 1 | 2 |
| Yoga | 300 | 3000 | 426 | 1 | 2 |
| Parameter | Distribution |
|---|---|
| Spectral radius ( ) | Uniform |
| Input scaling ( ) | Log-uniform |
| Leaking rate ( ) | Log-uniform |
| Regularization ( ) | Log-uniform |
| Dataset | none | L2-ESN | SL1ESN (ours) | |
|---|---|---|---|---|
| Acc. (%) | Acc. (%) | Acc. (%) | Sparsity (%) | |
| UCI HAR | ||||
| Character | ||||
| JapaneseVowels | ||||
| ECG5000 | ||||
| Distal. | ||||
| Dataset | none | L2-ESN | FedSL1ESN (ours) | |
|---|---|---|---|---|
| Acc. (%) | Acc. (%) | Acc. (%) | Sparsity (%) | |
| UCI HAR | ||||
| Character | ||||
| JapaneseVowels | ||||
| ECG5000 | ||||
| Distal. | ||||
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Description |
|---|---|
| Input, reservoir, and output dimensions | |
| Discrete time step; total training steps | |
| Input vector and reservoir state | |
| Candidate (pre-leak) reservoir state | |
| Matrix of collected reservoir states | |
| Predicted and target output vectors |
| Dataset | ||||
|---|---|---|---|---|
| Mackey-Glass | 1.26 | 1.76 | 0.54 | |
| Lorenz63 | 1.10 | 0.23 | 0.45 | |
| UCI HAR | 1.48 | 7.12 | 0.016 | |
| Character | 1.22 | 0.014 | 0.16 | |
| JapaneseVowels | 0.50 | 0.60 | 0.032 | |
| ECG5000 | 2.04 | 10.3 | 0.033 |
| Dataset | Metric | none | L2 | L1 | SL1ESN |
|---|---|---|---|---|---|
| Mackey-Glass | RMSE | ||||
| VPT | |||||
| Spars. (%) | |||||
| Lorenz63 | RMSE | ||||
| VPT | |||||
| Spars. (%) |
Sparse Neural Networks
Sparse neural networks use a subset of weights, connections, activations, or experts to reduce model complexity and computation.
See all 66 papers