Adaptive Spectral-Koopman Dynamics Modeling for Temporal Domain Generalization
Organizations: East China Normal University · Chang’an University
Abstract
Temporal Domain Generalization (TDG) has emerged to address real-world streaming data with distribution shifts over time. However, existing methods are either prone to overfitting to domain-specific noise in the data space or become overly complex and less interpretable in the parameter space. To bridge these gaps, we propose AdaSpecK, a spectral-Koopman framework with adaptive context extraction for TDG. To mitigate noise fitting to irregularly sampled domains, we introduce spectral-regularized Koopman dynamics modeling, which applies spectral-aware filtering in the latent space to extract denoised low-frequency trajectories and learn a Koopman operator to model the system dynamics in a linearized space. To model complex historical environments under non-stationarity, we design a context-informed heterogeneous pattern extraction mechanism. Specifically, we employ a target-conditioned attention module to attend to distinct past windows, producing a dynamic, target-specific historical summary. By constructing an environmental signature from the current evolutionary pattern, our model adaptively perceives which aspects of the past context are most informative for future prediction via a learned router. Extensive experiments on eight diverse classification and regression benchmarks demonstrate that AdaSpecK achieves state-of-the-art performance. The code and datasets are available at \href{}{https://anonymous.4open.science/r/Ada-Spec-K}.
Figures & tables
| Model | Classification | Regression | ||||||
| Rot-MNIST | Yearbook | ONP | Shuttle | Cyclone | House | Appliance | ||
| Offline | 6.6 0.2 | 0.54 0.09 | 8.6 1.0 | 33.8 0.6 | 0.77 0.10 | 18.7 1.4 | 19.9 0.1 | 10.2 1.1 |
| LastDomain | 74.2 0.9 | 0.54 0.12 | 11.3 1.3 | 36.0 0.2 | 0.91 0.18 | 22.3 0.7 | 20.6 0.7 | 9.1 0.7 |
| IncFinetune | 57.1 1.4 | 0.52 0.01 | 11.0 0.8 | 34.0 0.3 | 0.83 0.07 | 19.9 0.7 | 20.6 0.2 | 8.9 0.5 |
| IRM | 8.6 0.4 | 0.53 0.11 | 8.3 0.5 | 45.1 0.1 | 0.88 0.08 | 18.0 0.8 | 19.8 0.2 | 5.5 0.1 |
| V-REx | 8.6 0.3 | 0.58 0.05 | 8.9 0.5 | 33.8 0.1 | 1.90 0.21 | 17.7 0.5 | 20.2 0.1 | 4.5 0.1 |
| Variants | Classification | Regression | |||
| Rot-MNIST | YearBook | Cyclone | House | ||
| w/o Koop. | 4.8 | 0.67 | 4.8 | 10.8 | 9.1 |
| w/o Spec. | 4.9 | 0.63 | 4.8 | 10.6 | 9.0 |
| w/o | 4.8 | 0.70 | 4.9 | 10.5 | 9.2 |
| w/o | 4.7 | 0.68 | 5.3 | 9.6 | 8.9 |
| w/o | 5.1 | 0.69 | 6.2 | 9.9 | 9.0 |
Domain Generalization
Domain generalization develops models that perform reliably in new environments without training on target-domain data.
See all 369 papers