Proceedings

Towards Dynamic Trend Filtering through Trend Point Detection with Reinforcement Learning

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 2324-2332.

https://doi.org/10.24963/ijcai.2024/257

Abstract

Trend filtering simplifies complex time series data by applying smoothness to filter out noise while emphasizing proximity to the original data. However, existing trend filtering methods fail to reflect abrupt changes in the trend due to `approximateness,' resulting in constant smoothness. This approximateness uniformly filters out the tail distribution of time series data, characterized by extreme values, including both abrupt changes and noise. In this paper, we propose Trend Point Detection formulated as a Markov Decision Process (MDP), a novel approach to identifying essential points that should be reflected in the trend, departing from approximations. We term these essential points as Dynamic Trend Points (DTPs) and extract trends by interpolating them. To identify DTPs, we utilize Reinforcement Learning (RL) within a discrete action space and a forecasting sum-of-squares loss function as a reward, referred to as the Dynamic Trend Filtering network (DTF-net). DTF-net integrates flexible noise filtering, preserving critical original subsequences while removing noise as required for other subsequences. We demonstrate that DTF-net excels at capturing abrupt changes compared to other trend filtering algorithms and enhances forecasting performance, as abrupt changes are predicted rather than smoothed out.

  1. [Adams and MacKay, 2007] Ryan Prescott Adams and David JC MacKay. Bayesian online changepoint detection. arXiv preprint arXiv:0710.3742, 2007.
  2. [Altmann and Kantz, 2005] Eduardo G Altmann and Holger Kantz. Recurrence time analysis, long-term correlations, and extreme events. Physical Review E, 71(5):056106, 2005.
  3. [Ansari et al., 2021] Abdul Fatir Ansari, Konstantinos Beni- dis, Richard Kurle, Ali Caner Turkmen, Harold Soh, Alexander J Smola, Bernie Wang, and Tim Januschowski. Deep explicit duration switching models for time series. In Proceedings of Advances in Neural Information Process- ing Systems (NeurIPS'21), 2021.
  4. [Banerjee and Gelfand, 2003] Sudipto Banerjee and AE Gelfand. On smoothness properties of spatial processes. Journal of Multivariate Analysis, 84(1):85- 100, 2003.
  5. [Banerjee et al., 2005] Arindam Banerjee, Srujana Merugu, Inderjit S Dhillon, Joydeep Ghosh, and John Lafferty. Clustering with bregman divergences. Journal of Machine Learning Research, 6(10), 2005.
  6. [Biyik et al., 2020] Erdem Biyik, Nicolas Huynh, Mykel J. Kochenderfer, and Dorsa Sadigh. Active preference-based gaussian process regression for reward learning. In Pro- ceedings of Robotics: Science and Systems (RSS'20), 2020.
  7. [Caldarelli et al., 2022] Edoardo Caldarelli, Philippe Wenk, Stefan Bauer, and Andreas Krause. Adaptive Gaussian process change point detection. In Proceedings of Interna- tional Conference on Machine Learning (ICML'22), 2022.
  8. [Chan et al., 2001] Tony F Chan, Stanley Osher, and Jian- hong Shen. The digital tv filter and nonlinear denoising. IEEE Transactions on Image processing, 10(2):231-241, 2001.
  9. [Chow, 1960] Gregory C Chow. Tests of equality between sets of coefficients in two linear regressions. Economet- rica: Journal of the Econometric Society, pages 591-605, 1960.
  10. [Craigmile and Percival, 2002] Peter F Craigmile and Don- ald B Percival. Wavelet-based trend detection and estima- tion. Entry in the Encyclopedia of Environmetrics. Chich- ester, UK: John Wiley & Sons, pages 2334-2338, 2002.
  11. [Dickey and Fuller, 1979] David A Dickey and Wayne A Fuller. Distribution of the estimators for autoregressive time series with a unit root. Journal of the American Sta- tistical Association, 74(366a):427-431, 1979.
  12. [Ding et al., 2019] Daizong Ding, Mi Zhang, Xudong Pan, Min Yang, and Xiangnan He. Modeling extreme events in time series prediction. In Proceedings of ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD'19), 2019.
  13. [Fisher and Tippett, 1928] Ronald Aylmer Fisher and Leonard Henry Caleb Tippett. Limiting forms of the fre- quency distribution of the largest or smallest member of a sample. In Mathematical Proceedings of the Cambridge Philosophical Society, 1928.
  14. [Geyer, 1992] Charles J. Geyer. Practical Markov Chain Monte Carlo. Statistical Science, 7(4):473 -483, 1992.
  15. [Gong and Huang, 2012] Rongsheng Gong and Samuel H. Huang. A kolmogorov-smirnov statistic based segmenta- tion approach to learning from imbalanced datasets: With application in property refinance prediction. Expert Syst. Appl., 39(6):6192-6200, may 2012.
  16. [Hallac et al., 2017] David Hallac, Sagar Vare, Stephen Boyd, and Jure Leskovec. Toeplitz inverse covariance- based clustering of multivariate time series data. In Pro- ceedings of ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD'17), 2017.
  17. [Han et al., 2019] Jiyeon Han, Kyowoon Lee, Anh Tong, and Jaesik Choi. Confirmatory bayesian online change point detection in the covariance structure of gaussian processes. In Proceedings of International Joint Conference on Arti- ficial Intelligence (IJCAI'19), 2019. IJCAI
  18. [Hodrick and Prescott, 1997] Robert J Hodrick and Ed- ward C Prescott. Postwar us business cycles: an empir- ical investigation. Journal of Money, credit, and Banking, pages 1-16, 1997.
  19. [Kim et al., 2009] Seung-Jean Kim, Kwangmoo Koh, Stephen Boyd, and Dimitry Gorinevsky. \ell 1 trend filtering. SIAM review, 51(2):339-360, 2009.
  20. [Kuss and Rasmussen, 2003] Malte Kuss and Carl Ras- mussen. Gaussian processes in reinforcement learning. In Proceedings of Advances in Neural Information Process- ing Systems (NeurIPS'03), 2003.
  21. [Leser, 1961] Conrad Emanuel Victor Leser. A simple method of trend construction. Journal of the Royal Sta- tistical Society: Series B (Methodological), 23(1):91-107, 1961.
  22. [Liu et al., 2022a] Xiao-Yang Liu, Ziyi Xia, Jingyang Rui, Jiechao Gao, Hongyang Yang, Ming Zhu, Christina Dan Wang, Zhaoran Wang, and Jian Guo. Finrl-meta: Market environments and benchmarks for data-driven financial re- inforcement learning. In Proceedings of Advances in Neu- ral Information Processing Systems (NeurIPS'22), 2022.
  23. [Liu et al., 2022b] Yong Liu, Haixu Wu, Jianmin Wang, and Mingsheng Long. Non-stationary transformers: Explor- ing the stationarity in time series forecasting. In Proceed- ings of Advances in Neural Information Processing Sys- tems (NeurIPS'22), 2022.
  24. [Lorenz, 1963] Edward N Lorenz. Deterministic nonperi- odic flow. Journal of Atmospheric Sciences, 20(2):130- 141, 1963.
  25. [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Belle- mare, Alex Graves, Martin Riedmiller, Andreas K Fidje- land, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529-533, 2015.
  26. [Mnih et al., 2016] Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asyn- chronous methods for deep reinforcement learning. In Proceedings of International Conference on Machine Learning (ICML'16), 2016.
  27. [Nie et al., 2023] Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In Proceedings of International Conference on Learning Representations (ICLR'23), 2023.
  28. [Park et al., 2020] Youngjin Park, Deokjun Eom, Byoungki Seo, and Jaesik Choi. Improved predictive deep tempo- ral neural networks with trend filtering. In Proceedings of ACM International Conference on AI in Finance (ICAIF '20), 2020.
  29. [Ploberger and Krämer, 1992] Werner Ploberger and Walter Krämer. The cusum test with ols residuals. Econometrica: Journal of the Econometric Society, pages 271-285, 1992.
  30. [Raj et al., 2016] Vidwath Raj, Sven Magg, and Stefan Wermter. Towards effective classification of imbalanced data with convolutional neural networks. Artificial Neural Networks in Pattern Recognition, pages 150-162, 2016.
  31. [Rosenblatt, 1956] Murray Rosenblatt. Remarks on some nonparametric estimates of a density function. The Annals of Mathematical Statistics, pages 832-837, 1956.
  32. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  33. [Siegel, 1982] Andrew F Siegel. Robust regression using re- peated medians. Biometrika, 69(1):242-244, 1982.
  34. [Sutton and Barto, 2018] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
  35. [Van den Berg et al., 2008] Jeroen Van den Berg, Bertrand Candelon, and Jean-Pierre Urbain. A cautious note on the use of panel models to predict financial crises. Economics Letters, 101(1):80-83, 2008.
  36. [von Bortkiewicz, 1921] Ladislaus von Bortkiewicz. Varia- tionsbreite und mittlerer Fehler. Berliner Mathematische Gesellschaft, 1921.
  37. [Wen et al., 2019] Qingsong Wen, Jingkun Gao, Xiaomin Song, Liang Sun, and Jian Tan. Robusttrend: A huber loss with a combined first and second order difference reg- ularization for time series trend filtering. In Proceedings of International Joint Conference on Artificial Intelligence (IJCAI'19), 2019. IJCAI
  38. [Williams and Rasmussen, 1995] Christopher Williams and Carl Rasmussen. Gaussian processes for regression. In Proceedings of Advances in Neural Information Process- ing Systems (NeurIPS'95), 1995.
  39. [Wu and Ortiz, 2021] Tong Wu and Jorge Ortiz. Rlad: Time series anomaly detection through reinforcement learning and active learning. ArXiv, abs/2104.00543, 2021.
  40. [Wu et al., 2007] Zhaohua Wu, Norden E Huang, Steven R Long, and Chung-Kang Peng. On the trend, detrend- ing, and variability of nonlinear and nonstationary time series. National Academy of Sciences, 104(38):14889- 14894, 2007.
  41. [Wu et al., 2021] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transform- ers with auto-correlation for long-term series forecasting. In Proceedings of Advances in Neural Information Pro- cessing Systems (NeurIPS'21), 2021.
  42. [Wu et al., 2023] Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. Timesnet: Temporal 2d-variation modeling for general time series analysis. In Proceedings of International Conference on Learning Representations (ICLR'23), 2023.
  43. [Xu et al., 2022] Jiehui Xu, Haixu Wu, Jianmin Wang, and Mingsheng Long. Anomaly transformer: Time series anomaly detection with association discrepancy. In Pro- ceedings of International Conference on Learning Repre- sentations (ICLR'22), 2022.
  44. [Yang et al., 2023] Yiyuan Yang, Chaoli Zhang, Tian Zhou, Qingsong Wen, and Liang Sun. Dcdetector: Dual attention contrastive representation learning for time series anomaly detection. In Proceedings of ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD'23), 2023.
  45. [Zeng et al., 2023] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series fore- casting? In Proceedings of the AAAI Conference on Arti- ficial Intelligence (AAAI'23), 2023.
  46. [Zhou et al., 2021] Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wan- cai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI'20), 2021.
  47. [Zhou et al., 2022] Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. Fedformer: Fre- quency enhanced decomposed transformer for long-term series forecasting. In Proceedings of International Con- ference on Machine Learning (ICML'22), 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards