{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,7]],"date-time":"2026-04-07T20:48:29Z","timestamp":1775594909825,"version":"3.50.1"},"reference-count":61,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2026,4,2]]},"abstract":"<jats:p>Time series data frequently suffer from data quality problems during collection and transmission, such as small-jump dirty points, which existing cleaning methods often fail to detect. Since existing methods primarily address univariate series, their multivariate extensions often fail to capture complex inter-variable dependencies, significantly limiting their effectiveness. To this end, we propose SHoTClean, a family of four algorithms that bridges hard constraints (i.e., physical limits) and soft constraints (i.e., statistical patterns) within a constrained-optimization framework for effective and efficient multivariate time series cleaning.<\/jats:p>\n                  <jats:p>Specifically, we formulate the cleaning task as minimizing soft-constraint violations while respecting hard-constraint bounds. Then, we propose SHoTClean that introduces: (1) SHoTClean-B for offline batch processing using pruned dynamic programming to achieve global optimality; (2) SHoTClean-S and SHoTClean-P for online streaming scenarios by employing incremental dynamic programming, where SHoTClean-P accelerates SHoTClean-S via CDQ divide-and-conquer and Fenwick tree to attain near-linear complexity; and (3) SHoTClean-C, incorporating causal discovery into soft constraints to capture multivariate dependencies. Extensive experiments across 12 real-world datasets demonstrate that our approaches achieve i) 6.8%--90.0% and 7.8%--82.1% improvements in accuracy (RMSE metric) over 10 state-of-the-art baselines in offline and online settings, respectively; ii) an average two-order-of-magnitude runtime speed-up on large-scale datasets; and iii) superior robustness, with consistent high performance under extreme 80% contamination level and high-dimensional datasets. The code is available at https:\/\/github.com\/ZJU-DAILY\/SHoTClean.<\/jats:p>","DOI":"10.1145\/3786698","type":"journal-article","created":{"date-parts":[[2026,4,7]],"date-time":"2026-04-07T17:54:13Z","timestamp":1775584453000},"page":"1-27","source":"Crossref","is-referenced-by-count":0,"title":["SHoTClean: Bridging Soft and Hard Constraints for Multivariate Time Series Cleaning"],"prefix":"10.1145","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-2034-5501","authenticated-orcid":false,"given":"Ziquan","family":"Fang","sequence":"first","affiliation":[{"name":"School of Software, Zhejiang University, Ningbo, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-1124-9986","authenticated-orcid":false,"given":"Wei","family":"Shao","sequence":"additional","affiliation":[{"name":"School of Software, Zhejiang University, Ningbo, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-7660-0849","authenticated-orcid":false,"given":"Zheqi","family":"Lu","sequence":"additional","affiliation":[{"name":"School of Software, Zhejiang University, Ningbo, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5685-7017","authenticated-orcid":false,"given":"Lu","family":"Chen","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, Zhejiang University, Hangzhou, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3816-8450","authenticated-orcid":false,"given":"Yunjun","family":"Gao","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, Zhejiang University, Hangzhou, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2026,4,7]]},"reference":[{"key":"e_1_2_1_1_1","first-page":"2485","article-title":"Practical Approach to Asynchronous Multivariate Time Series Anomaly Detection and Localization","author":"Abdulaal Ahmed","year":"2021","unstructured":"Ahmed Abdulaal, Zhuanghua Liu, and Tomer Lancewicki. 2021. Practical Approach to Asynchronous Multivariate Time Series Anomaly Detection and Localization. In SIGKDD. 2485-2494.","journal-title":"SIGKDD."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1514894.1514899"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3055366.3055375"},{"key":"e_1_2_1_4_1","first-page":"208","article-title":"New stochastic realization algorithms for identification of ARMA models","author":"Alengrin G\u00e9rard","year":"1978","unstructured":"G\u00e9rard Alengrin and G\u00e9rard Favier. 1978. New stochastic realization algorithms for identification of ARMA models. In ICASSP. 208-213.","journal-title":"ICASSP."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41592-018-0019-x"},{"key":"e_1_2_1_6_1","first-page":"925","article-title":"Learning-Based Cleansing for Indoor RFID Data","author":"Baba Asif Iqbal","year":"2016","unstructured":"Asif Iqbal Baba, Manfred Jaeger, Hua Lu, Torben Bach Pedersen, Wei-Shinn Ku, and Xike Xie. 2016. Learning-Based Cleansing for Indoor RFID Data. In SIGMOD. 925-936.","journal-title":"SIGMOD."},{"key":"e_1_2_1_7_1","volume-title":"Dynamic programming. science","author":"Bellman Richard","year":"1966","unstructured":"Richard Bellman. 1966. Dynamic programming. science, Vol. 153, 3731 (1966), 34-37."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1111\/j.2517-6161.1995.tb02031.x"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","unstructured":"Philip Bohannon Michael Flaster Wenfei Fan and Rajeev Rastogi. 2005. A Cost-Based Model and Effective Heuristic for Repairing Constraints by Value Modification. In SIGMOD Fatma \u00d6zcan (Ed.). 143-154.","DOI":"10.1145\/1066157.1066175"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1970.10481180"},{"key":"e_1_2_1_11_1","volume-title":"Random forests. Machine learning","author":"Breiman Leo","year":"2001","unstructured":"Leo Breiman. 2001. Random forests. Machine learning, Vol. 45, 1 (2001), 5-32."},{"key":"e_1_2_1_12_1","first-page":"93","article-title":"LOF","author":"Breunig Markus M.","year":"2000","unstructured":"Markus M. Breunig, Hans-Peter Kriegel, Raymond T. Ng, and J\u00f6rg Sander. 2000. LOF: Identifying Density-Based Local Outliers. In SIGMOD. 93-104.","journal-title":"Identifying Density-Based Local Outliers. In SIGMOD."},{"key":"e_1_2_1_13_1","volume-title":"Time series - data analysis and theory. Classics in applied mathematics","author":"Brillinger David R.","unstructured":"David R. Brillinger. 2001. Time series - data analysis and theory. Classics in applied mathematics, Vol. 36. SIAM."},{"key":"e_1_2_1_14_1","volume-title":"Accessed","author":"System Operator California Independent","year":"2025","unstructured":"California Independent System Operator. 2025. Open Access Same-time Information System (OASIS): System Demand [CA]. https:\/\/www.caiso.com\/library\/historical-ems-hourly-load. Accessed June 29, 2025."},{"key":"e_1_2_1_15_1","volume-title":"Data driven prediction models of energy use of appliances in a low-energy house. Energy and buildings","author":"Candanedo Luis M","year":"2017","unstructured":"Luis M Candanedo, V\u00e9ronique Feldheim, and Dominique Deramaix. 2017. Data driven prediction models of energy use of appliances in a low-energy house. Energy and buildings, Vol. 140 (2017), 81-97."},{"key":"e_1_2_1_16_1","unstructured":"Danqi Chen. 2008. On a Class of Divide-and-Conquer Techniques. https:\/\/oi-wiki.org\/misc\/cdq-divide\/."},{"key":"e_1_2_1_17_1","volume-title":"ARIMA-based time series model of stochastic wind power generation","author":"Chen Peiyuan","year":"2009","unstructured":"Peiyuan Chen, Troels Pedersen, Birgitte Bak-Jensen, and Zhe Chen. 2009. ARIMA-based time series model of stochastic wind power generation. IEEE transactions on power systems, Vol. 25, 2 (2009), 667-676."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3632093.3632101"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.flowmeasinst.2016.12.005"},{"key":"e_1_2_1_20_1","first-page":"3682","article-title":"Time Series Data Cleaning Under Expressive Constraints on Both Rows and Columns","author":"Ding Xiaoou","year":"2024","unstructured":"Xiaoou Ding, Genglong Li, Hongzhi Wang, Chen Wang, and Yichen Song. 2024a. Time Series Data Cleaning Under Expressive Constraints on Both Rows and Columns. In ICDE. 3682-3695.","journal-title":"ICDE."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.14778\/3704965.3704987"},{"key":"e_1_2_1_22_1","first-page":"4377","article-title":"Clean4TSDB","volume":"17","author":"Ding Xiaoou","year":"2024","unstructured":"Xiaoou Ding, Yichen Song, Hongzhi Wang, Donghua Yang, Chen Wang, and Jianmin Wang. 2024c. Clean4TSDB: A Data Cleaning Tool for Time Series Databases. Proc. VLDB Endow., Vol. 17, 12 (2024), 4377-4380.","journal-title":"A Data Cleaning Tool for Time Series Databases. Proc. VLDB Endow."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.14778\/3352063.3352066"},{"key":"e_1_2_1_24_1","volume-title":"An interactive web-based dashboard to track COVID-19 in real time. The Lancet infectious diseases","author":"Dong Ensheng","year":"2020","unstructured":"Ensheng Dong, Hongru Du, and Lauren Gardner. 2020. An interactive web-based dashboard to track COVID-19 in real time. The Lancet infectious diseases, Vol. 20, 5 (2020), 533-534."},{"key":"e_1_2_1_25_1","unstructured":"Martin Ester Hans-Peter Kriegel J\u00f6rg Sander and Xiaowei Xu. 1996. A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise. In KDD-96. 226-231."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380240306"},{"key":"e_1_2_1_27_1","doi-asserted-by":"crossref","unstructured":"Jos\u00e9 E Figueroa-L\u00f3pez Yankeng Luo and Cheng Ouyang. 2014. Small-time expansions for local jump-diffusion models with infinite jump activity. (2014).","DOI":"10.3150\/13-BEJ518"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.21655\/ijsi.1673-7288.00239"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ijforecast.2006.03.005"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687693"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3654993"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1029\/JB076i008p01905"},{"key":"e_1_2_1_33_1","first-page":"357","volume-title":"Nature","volume":"619","author":"Jiang Lavender Yao","year":"2023","unstructured":"Lavender Yao Jiang, Xujin Chris Liu, Nima Pour Nejatian, Mustafa Nasir-Moin, Duo Wang, Anas Z. Abidin, Kevin Eaton, Howard Antony Riina, Ilya Laufer, Paawan Punjabi, et al., 2023. Health system-scale language models are all-purpose prediction engines. Nature, Vol. 619, 7969 (2023), 357-362."},{"key":"e_1_2_1_34_1","doi-asserted-by":"crossref","unstructured":"Rudolph Emil Kalman. 1960. A new approach to linear filtering and prediction problems. (1960).","DOI":"10.1115\/1.3662552"},{"key":"e_1_2_1_35_1","first-page":"95","article-title":"Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks","author":"Lai Guokun","year":"2018","unstructured":"Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. 2018. Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks. In SIGIR. 95-104.","journal-title":"SIGIR."},{"key":"e_1_2_1_36_1","first-page":"2579","article-title":"Visualizing data using t-SNE","volume":"9","author":"van der Maaten Laurens","year":"2008","unstructured":"Laurens van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-SNE. Journal of machine learning research, Vol. 9, Nov (2008), 2579-2605.","journal-title":"Journal of machine learning research"},{"key":"e_1_2_1_37_1","first-page":"31","article-title":"SWaT: a water treatment testbed for research and training on ICS security","author":"Mathur Aditya P.","year":"2016","unstructured":"Aditya P. Mathur and Nils Ole Tippenhauer. 2016. SWaT: a water treatment testbed for research and training on ICS security. In CySWater. 31-36.","journal-title":"CySWater."},{"key":"e_1_2_1_38_1","volume-title":"A noise stress test for arrhythmia detectors. Computers in cardiology","author":"Moody George B","year":"1984","unstructured":"George B Moody, WE Muldrow, and Roger G Mark. 1984. A noise stress test for arrhythmia detectors. Computers in cardiology, Vol. 11, 3 (1984), 381-384."},{"key":"e_1_2_1_39_1","volume-title":"Michel Ferreira, Jo a, o Mendes-Moreira, and Lu\u00eds Damas. [n.d.]. Predicting Taxi-Passenger Demand Using Streaming Data","author":"Moreira-Matias Lu\u00eds","unstructured":"Lu\u00eds Moreira-Matias, Jo a, o Gama, Michel Ferreira, Jo a, o Mendes-Moreira, and Lu\u00eds Damas. [n.d.]. Predicting Taxi-Passenger Demand Using Streaming Data. IEEE Trans. Intell. Transp. Syst., Vol. 14, 3 ([n.d.]), 1393-1402."},{"key":"e_1_2_1_40_1","volume-title":"Approximate Dynamic Programming - Solving the Curses of Dimensionality","author":"Powell Warren Buckler","unstructured":"Warren Buckler Powell. 2007. Approximate Dynamic Programming - Solving the Curses of Dimensionality. Wiley."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/3665844.3665863"},{"key":"e_1_2_1_42_1","first-page":"1185","article-title":"DUET","author":"Qiu Xiangfei","year":"2025","unstructured":"Xiangfei Qiu, Xingjian Wu, Yan Lin, Chenjuan Guo, Jilin Hu, and Bin Yang. 2025. DUET: Dual Clustering Enhanced Multivariate Time Series Forecasting. In SIGKDD. 1185-1196.","journal-title":"Dual Clustering Enhanced Multivariate Time Series Forecasting. In SIGKDD."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137628.3137631"},{"key":"e_1_2_1_44_1","first-page":"3009","article-title":"Time-Series Anomaly Detection Service at Microsoft","author":"Ren Hansheng","year":"2019","unstructured":"Hansheng Ren, Bixiong Xu, Yujing Wang, Chao Yi, Congrui Huang, Xiaoyu Kou, Tony Xing, Mao Yang, Jie Tong, and Qi Zhang. 2019. Time-Series Anomaly Detection Service at Microsoft. In SIGKDD. 3009-3017.","journal-title":"SIGKDD."},{"key":"e_1_2_1_45_1","volume-title":"Learning representations by back-propagating errors. nature","author":"Rumelhart David E","year":"1986","unstructured":"David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. 1986. Learning representations by back-propagating errors. nature, Vol. 323, 6088 (1986), 533-536."},{"key":"e_1_2_1_46_1","volume-title":"Jordi Mu noz-Mar\u00ed, et al","author":"Runge Jakob","year":"2019","unstructured":"Jakob Runge, Sebastian Bathiany, Erik Bollt, Gustau Camps-Valls, Dim Coumou, Ethan Deyle, Clark Glymour, Marlene Kretschmer, Miguel D Mahecha, Jordi Mu noz-Mar\u00ed, et al., 2019. Inferring causation from time series in Earth system sciences. Nature communications, Vol. 10, 1 (2019), 2553."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/TASSP.1978.1163055"},{"key":"e_1_2_1_48_1","volume-title":"Measuring information transfer. Physical review letters","author":"Schreiber Thomas","year":"2000","unstructured":"Thomas Schreiber. 2000. Measuring information transfer. Physical review letters, Vol. 85, 2 (2000), 461."},{"key":"e_1_2_1_49_1","first-page":"2490","article-title":"Towards Trajectory Anomaly Detection: a Fine-Grained and Noise-Resilient Framework","author":"Shao Wei","year":"2025","unstructured":"Wei Shao, Ziquan Fang, Lu Chen, and Yunjun Gao. 2025. Towards Trajectory Anomaly Detection: a Fine-Grained and Noise-Resilient Framework. In SIGKDD. 2490-2501.","journal-title":"SIGKDD."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3465740"},{"key":"e_1_2_1_51_1","volume-title":"Yu","author":"Song Shaoxu","year":"2015","unstructured":"Shaoxu Song, Aoqian Zhang, Jianmin Wang, and Philip S. Yu. 2015. SCREEN: Stream Data Cleaning under Speed Constraints. In SIGMOD. 827-841."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.14778\/3514061.3514067"},{"key":"e_1_2_1_53_1","volume-title":"Federal Reserve Bank of St. Louis. Accessed","author":"U.S. Bureau of Economic Analysis.","year":"2025","unstructured":"U.S. Bureau of Economic Analysis. 2025. Total Vehicle Sales [TOTALSA]. https:\/\/fred.stlouisfed.org\/series\/TOTALSA. FRED, Federal Reserve Bank of St. Louis. Accessed June 29, 2025."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-023-00796-y"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2962152"},{"key":"e_1_2_1_56_1","unstructured":"Xingjian Wu Xiangfei Qiu Hanyin Cheng Zhengyu Li Jilin Hu Chenjuan Guo and Bin Yang. 2025. Enhancing Time Series Forecasting through Selective Representation Spaces: A Patch Perspective. In NeurIPS."},{"key":"e_1_2_1_57_1","first-page":"676","article-title":"A unifying framework for detecting outliers and change points from non-stationary time series data","author":"Yamanishi Kenji","year":"2002","unstructured":"Kenji Yamanishi and Jun'ichi Takeuchi. 2002. A unifying framework for detecting outliers and change points from non-stationary time series data. In SIGKDD. ACM, 676-681.","journal-title":"SIGKDD. ACM"},{"key":"e_1_2_1_58_1","first-page":"2021","article-title":"PIClean","author":"Yu Zhuoran","year":"2019","unstructured":"Zhuoran Yu and Xu Chu. 2019. PIClean: A Probabilistic and Interactive Data Cleaning System. In SIGMOD. 2021-2024.","journal-title":"A Probabilistic and Interactive Data Cleaning System. In SIGMOD."},{"key":"e_1_2_1_59_1","doi-asserted-by":"crossref","unstructured":"Aoqian Zhang Shaoxu Song and Jianmin Wang. 2016. Sequential Data Cleaning: A Statistical Approach. In SIGMOD Fatma \u00d6zcan Georgia Koutrika and Sam Madden (Eds.). 909-924.","DOI":"10.1145\/2882903.2915233"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1017\/9781009122115"},{"key":"e_1_2_1_61_1","first-page":"2848","article-title":"Multi-period Learning for Financial Time Series Forecasting","author":"Zhang Xu","year":"2025","unstructured":"Xu Zhang, Zhengang Huang, Yunzhi Wu, Xun Lu, Erpeng Qi, Yunkai Chen, Zhongya Xue, Qitong Wang, Peng Wang, and Wei Wang. 2025. Multi-period Learning for Financial Time Series Forecasting. In SIGKDD. ACM, 2848-2859.","journal-title":"SIGKDD. ACM"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3786698","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,7]],"date-time":"2026-04-07T19:55:27Z","timestamp":1775591727000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3786698"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,2]]},"references-count":61,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2026,4,2]]}},"alternative-id":["10.1145\/3786698"],"URL":"https:\/\/doi.org\/10.1145\/3786698","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,2]]}}}