Deep Time-series Forecasting Needs Kernelized Moment Balancing

Pan, Licheng, Yang, Haocheng, He, Shuting, Zheng, Han, Chen, Yuzhou, Liu, Guangyi, Zhang, Kangning, Chu, Zhixuan, Lu, Yuan, Wang, Hao

–arXiv.org Artificial Intelligence 

ABSTRACT Deep time-series forecasting can be formulated as a distribution balancing problem aimed at aligning the distribution of the forecasts and ground truths. According to Imbens' criterion, balancing two distributions requires that their first moments be identical with respect to any balancing function. We demonstrate that existing objectives enforce moment matching only for one or two predefined balancing functions, thus failing to achieve full distribution balance. To address this limitation, we propose direct forecasting with kernelized moment balancing (KMB-DF). Unlike existing objectives, KMB-DF adaptively selects the most informative balancing functions from a reproducing kernel Hilbert space (RKHS) to enforce sufficient distribution balancing. A tractable and differentiable formulation is derived to enable estimation from empirical samples and seamless integration into gradient-based training pipelines. Extensive experiments across multiple models and datasets show that KMB-DF consistently improves forecasting accuracy and achieves state-of-the-art performance. Code is available at https://anonymous.4open.science/r/KMB-DF-403C. 1 INTRODUCTION Deep time-series forecasting aims to predict future values from historical observations using neural networks, which supports numerical applications (Wang et al., 2024b), such as asset pricing in finance (Li et al., 2025), user visit prediction in e-commerce (Chen et al., 2023), and weather prediction in meteorology (Wu et al., 2023b). Currently, the progress in this field primarily surrounds two problems (Wang et al., 2025a; 2026a): (1) the devise of neural architectures serving as the forecast models, and (2) the design of learning objectives driving model training. Both are essential for improving forecasting performance (Qiu et al., 2025). The devise of neural architectures has been widely studied. The key challenge arises from the input autocorrelation, where different steps in input sequence are correlated. To address this challenge, various architectures have been proposed (Chen et al., 2025; Lin et al., 2025). A significant advancement lies in Transformer-based models, which employ self-attention mechanisms to model input autocorrelation while scaling effectively to complex tasks (Lin et al., 2024; Liu et al., 2024a; Nie et al., 2023; Jin et al., 2024).