arXiv:2608.22224cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22224

FreKoo++: Learning Continuous Spectral Dynamics for Temporal Domain Generalization

En Yu, Xiaoyu Yang, Wei Duan, Guangquan Zhang, Jie Lu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

En Yu, Xiaoyu Yang, Wei Duan, Guangquan Zhang, Jie Lu IEEE Fellow

Abstract—Temporal Domain Generalization (TDG) aims to learn from historical domains and generalize to unseen future distributions under concept drift. Nevertheless, prevailing TDG methods struggle with complex real-world streaming scenarios involving both multi-scale drift patterns (e.g., long-term periodicity intertwined with short-term incremental changes) and local uncertainties, especially in continuous settings where observations arrive irregularly. To address this limitation, we propose FreKoo++, a novel continuous spectral-dynamical framework that pioneers the unification of continuous Koopman modal dynamics with adaptive spectral disentanglement. Specifically, FreKoo++ maps source-domain parameters into a compact latent space, modeling their evolution as a superposition of learnable continuous modes where complex eigenvalues jointly encode oscillatory frequency and temporal growth or decay. This formulation naturally accommodates irregular timestamps and supports arbitrary horizon extrapolation without rigid discrete stepping. Furthermore, we propose a new adaptive soft spectral weighting mechanism backed by stability and spectral regularization, which automatically isolates persistent dominant dynamics from transient noise without relying on manual frequency thresholds. We derive modal approximation and generalization bounds that characterize how amplitude and eigenvalue estimation errors propagate with the prediction horizon. Extensive experiments on both discrete and continuous TDG benchmarks demonstrate that FreKoo++ achieves state-of-the-art performance under complex multi-scale drifts and irregular sampling.

Index Terms—Domain Generalization, Concept Drift, Dynamic modeling, Frequency Analysis.

I. INTRODUCTION

MODERN machine learning models face significant challenges in dynamic environments where data distributions evolve over time [1]-[3]. Unlike static settings that assume an IID relationship between training and test data, real-world scenarios often involve continuously generated data streams (e.g., user activity logs, sensor readings, financial transactions) exhibiting temporal dependencies and non-stationarity due to factors like shifting user behavior, environmental variations, or system changes [4]-[6]. These temporal dynamics lead to distributional shifts over time, known as concept drift, which invalidates the alignment between historical and future out-of-distribution (OOD) data [7]-[9]. Consequently, models trained on past data frequently fail to generalize to future instances, leading to performance degradation and reduced reliability. This has spurred increasing interest in Temporal Domain Generalization (TDG), which

1 Multi-scale drift patterns

Figure

3 Domains arrive at irregular, continuous timestamps

2 Domain-specific uncertainties

Fig. 1: Illustration of the three TDG challenges on a 2-Moons stream. The underlying distribution exhibits multi-scale periodicity, while empirical parameter estimates are corrupted by domain-specific uncertainties. Additionally, the irregularly sampled observations violate the time-invariant discrete transition assumed by standard sequence models.

seeks to learn from chronologically ordered source domains and generalize to unseen future distributions under evolving temporal shifts [10].

Recent progress in TDG generally follows two temporal modeling paradigms: discrete and continuous approaches. Discrete TDG (DTDG) methods operate under the rigid assumption of uniformly spaced temporal grids, enforcing step-wise transitions or generating synthetic OOD samples to model temporal evolution [10]–[13]. However, in real-world applications such as social media streams and clinical healthcare, observations unfold asynchronously and unpredictably [14]. This causes temporal domains to be irregularly distributed over continuous time [15]. Binding dynamics to fixed discrete steps prevents discrete methods from characterizing the continuous dynamics of irregular time-distributed domains. To solve this, continuous TDG (CTDG) approaches have recently emerged, leveraging continuous domain indices or neural ODEs to enable prediction at arbitrary timestamps [15]–[17].

Nevertheless, most methods implicitly assume that concept drift is primarily incremental or focus on ensuring local smoothness between adjacent domains, which causes two challenges as visualized in Fig. 1: 1) Difficulty in multi-scale drift patterns: real-world concept drift frequently exhibits long-term periodicity (e.g., seasonality, weekly/daily user patterns, economic cycles), not just smoothly incremental changes [18], [19]. Current approaches struggle to capture these recurring patterns spanning longer time horizons [12]. Their effectiveness often diminishes, particularly near phase transitions of periodic cycles where the inability to anticipate

En Yu, Xiaoyu Yang, Wei Duan, Guangquan Zhang and Jie Lu are with the Australian Artificial Intelligence Institute (AAII), Faculty of Engineering and Information Technology, University of Technology Sydney (UTS), Australia (e-mail: en.yu-1@uts.edu.au; xiaoyu.yang-3@student.uts.edu.au; wei.duan@uts.edu.au; guangquan.zhang@uts.edu.au; jie.lu@uts.edu.au.) pattern recurrence hinders generalization. 2) Vulnerability to Overfitting Domain-Specific Uncertainties: current TDG methods typically segment continuous data streams into discrete temporal domains. However, the complex drift patterns inherent in real-world streams make it difficult to guarantee that data within each domain remains IID. Consequently, localized uncertainties and non-IID characteristics within domains can complicate optimization and increase the risk of overfitting to domain-specific artifacts, ultimately undermining stable cross-temporal generalization [20].

These challenges underscore the necessity for principled frameworks that can capture persistent multi-scale dynamics while filtering local uncertainties. Since model parameters optimized on successive temporal domains provide a compact proxy for distributional evolution, we model parameter trajectories from a spectral perspective [15], [21], [22]. In the spectral domain, long-term trends and periodic components are typically concentrated in low-frequency structures, whereas transient domain-specific uncertainties often appear as high-frequency variations [23]–[26]. This separation offers a useful inductive bias for isolating predictable temporal dynamics from disruptive local fluctuations. Building upon this intuition, our preliminary work FreKoo [21] integrated Discrete Fourier Transform (DFT) with Koopman operator theory for discrete TDG. It disentangled parameter trajectories into distinct spectral bands and leveraged Koopman dynamics to extrapolate low-frequency dominant patterns while regularizing high-frequency uncertainties. However, FreKoo is strictly bound to uniform temporal grids and relies on manually pre-defined, non-adaptive frequency thresholds. This rigid design prevents dynamic spectral disentanglement and renders it fundamentally incompatible with continuous-time data streams where observations arrive asynchronously.

In this paper, we propose FreKoo++, a unified framework for continuous temporal domain generalization. FreKoo++ is motivated by the observation that the solution of a continuous-time linear dynamical system admits an exponential form that can be interpreted as a spectral decomposition in the Laplace domain. Specifically, each eigenvalue of the Koopman operator encodes both the growth/decay rate and oscillatory frequency of a latent dynamical mode. This connection enables us to directly parameterize temporal evolution through learnable Koopman eigenvalues, bypassing the need for discrete Fourier transforms and naturally supporting irregularly sampled observations. Concretely, FreKoo++ is implemented as a continuous-time parameterized module that learns Koopman eigenvalues from irregularly sampled parameter trajectories. This formulation supports prediction at arbitrary future times-tamps without relying on discrete time stepping. Furthermore, leveraging the continuous spectral representation, we introduce a learnable soft spectral weighting mechanism together with a spectral energy regularization strategy, which adaptively emphasizes dominant low-frequency structures while suppressing high-frequency noise. This design removes the need for manually defined frequency thresholds and allows end-to-end optimization. To provide theoretical grounding, we analyze the approximation behavior of the proposed continuous-time formulation, bounding its modal approximation error and deriving a generalization bound whose growth is controlled by the learned spectrum.

Our main contributions are summarized as follows:

• We propose FreKoo++, a pioneering continuous-time TDG framework that shifts the paradigm of parameter evolution from discrete-step transitions to learnable Koopman-inspired modal dynamics. By encoding frequency and temporal growth/decay into continuous eigenvalues, FreKoo++ naturally accommodates irregularly sampled source domains and arbitrary-horizon prediction.

• We introduce an adaptive spectral disentanglement mechanism with spectral and stability regularization, which automatically disentangles persistent dynamics from transient fluctuations without requiring manual frequency selection.

• We provide comprehensive theoretical and empirical validation for FreKoo++. Our theoretical analysis establishes rigorous approximation and generalization guarantees, while extensive experiments across diverse TDG benchmarks demonstrate its superior performance and robust extrapolation capabilities.

References (59)