cs.LGNov 17, 2025

Naga: Vedic Encoding for Deep State Space Models

Authors: Melanie Schaller, Nick Janssen, Bodo Rosenhahn

Abstract

This paper presents Naga, a deep State Space Model (SSM) encoding approach inspired by structural concepts from Vedic mathematics. The proposed method introduces a bidirectional representation for time series by jointly processing forward and time-reversed input sequences. These representations are then combined through an element-wise (Hadamard) interaction, resulting in a Vedic-inspired encoding that enhances the model's ability to capture temporal dependencies across distant time steps. We evaluate Naga on multiple long-term time series forecasting (LTSF) benchmarks, including ETTh1, ETTh2, ETTm1, ETTm2, Weather, Traffic, and ILI. The experimental results show that Naga outperforms 28 current state of the art models and demonstrates improved efficiency compared to existing deep SSM-based approaches. The findings suggest that incorporating structured, Vedic-inspired decomposition can provide an interpretable and computationally efficient alternative for long-range sequence modeling.

Figures & tables

Explore similar work

CardsList
  1. Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence

    May 15, 2026Mónika Farsang, Ramin Hasani, Daniela Rus +1Parameter SharingState Space Models

  2. LogSig-SSM: Time-Series Modelling with Multi-Scale Log-Signature Compression for State-Space Models

    Oct 4, 2026Felix Oury, Nicolas Calvo Peiro, Reiko J. TanakaIrregular Time-Series ModelingMultivariate Time Series Forecasting

  3. Model- and Layer-Level Closed-Loop Forecasting with SSM-Based Spiking Neural Networks

    Oct 20, 2026Erik Stolt, Sanja Karilanova, Ayca OzcelikkaleTime Series ForecastingSpiking Neural Networks