Time Delay System for Sequence Modeling
Organizations: School of Artificial Intelligence, Chuzhou University, Chuzhou, China · Department of Electrical and Computer Engineering, Boston University, Boston, USA
Abstract
Existing sequence models share a critical limitation: they lack an explicit, interpretable mechanism for content-aware temporal recall. LSTMs compress everything into a single hidden state, thereby losing information about specific past events. Transformers attend to all tokens indiscriminately at quadratic cost, while state-space models like Mamba compress history into a fixed-dimensional state without explicit content-addressable memory. To address this gap, we introduce a novel framework grounded in nonlinear time-delay systems, in which the effective delay is dynamically estimated based on the semantic similarity between current and historical inputs. Our approach features three key innovations: (i) a differentiable semantic lag estimator that computes content-aware soft attention weights over history, producing a weighted historical context and similarity score; (ii) a diagonal state space with closed-form cumulative sum solution, achieving O(1) per-step complexity with no sequential loops; and (iii) an interpretable fuzzy semantic modulation mechanism that learns context-dependent rules for balancing instantaneous processing versus historical recall, where rule centers correspond to prototypical semantic contexts. Experimental results on text classification and generation outperform state-of-the-art methods.
Figures & tables
| Model | Parameters(M) | Accuracy | Total Training Time(s) |
|---|---|---|---|
| LSTM ( Qaisar, 2020 ) | 2.8 | 89.90 | 2300 |
| Mamba ( Gu and Dao, 2023 ) | 3.2 | 83.00 | 2300 |
| RoBERTa-base ( Abidin et al., 2025 ) | 125 | 94.13 | - |
| DistilBERT-base ( Abidin et al., 2025 ) | 66 | 92.13 | - |
| TDS | 2.6 | 95.35 | 2100 |
| Model | Parameters(M) | ROUGE-L | Total Training Time(s) |
| LSTM ( Abdulsahib and others, 2022 ) | 26.5 | 38.45 | 16558 |
| BERT ( Maharditha and Lhaksmana, 2025 ) | 24.30 | 40.48 | 18260 |
| Mamba ( Do et al., 2025 ) | 14.73 | 29.60 | 16725 |
| BART CNN-large ( Rani Krishna et al., 2025 ) | 139 | 24.58 | - |
| T5-base ( Rani Krishna et al., 2025 ) | 220 | 23.54 | - |
| TDS | 16.98 | 42.63 | 17633 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Sequence Modeling
Sequence modeling studies how to represent, predict, classify, and generate ordered data such as text, time series, events, and biological sequences.
See all 246 papers