作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2026, Vol. 52 ›› Issue (10): 138-153. doi: 10.19678/j.issn.1000-3428.0070676

• 计算智能与模式识别 • 上一篇    

基于可解释扩散模型的多变量时间序列生成方法

朱莉1, 徐婉茹1, 高靖凯1, 朱春强2,3, 邓凡1   

  1. 1. 西安科技大学计算机科学与技术学院, 陕西 西安 710054;
    2. 西安交通大学计算机科学与技术学院, 陕西 西安 710049;
    3. 国网陕西省电力有限公司培训中心, 陕西 西安 710032
  • 收稿日期:2024-12-03 修回日期:2025-03-26 发布日期:2025-05-08
  • 作者简介:朱莉(CCF会员),女,副教授,主研方向为智能信息处理、时间序列数据分析;徐婉茹(通信作者,E-mail:1640538799@qq.com)、高靖凯,硕士研究生;朱春强,高级工程师、博士;邓凡,讲师、博士。
  • 基金资助:
    国网陕西省电力有限公司科技项目(5226PX240003);国网陕西省电力有限公司数字化项目(B326PX230001);陕西省自然科学基础研究项目(2022JM317)。

Multivariate Time Series Generation Method Based on Interpretable Diffusion Model

ZHU Li1, XU Wanru1, GAO Jingkai1, ZHU Chunqiang2,3, DENG Fan1   

  1. 1. School of Computer Science and Technology, Xi'an University of Science and Technology, Xi'an 710054, Shaanxi, China;
    2. School of Computer Science and Technology, Xi'an Jiaotong University, Xi'an 710049, Shaanxi, China;
    3. State Grid Shaanxi Electric Power Company Training Center, Xi'an 710032, Shaanxi, China
  • Received:2024-12-03 Revised:2025-03-26 Published:2025-05-08

摘要: 准确地生成多变量时间序列(MTS)数据为解决数据规模不足问题提供了有效途径,对电力负荷预测和风光发电评估等下游任务至关重要。然而,现有方法难以同时捕捉长短期依赖与变量间关联关系,且缺乏可解释性,无法满足能源系统分析需求。为此,提出了一种基于可解释扩散模型的MTS生成方法IDMTS。首先,在扩散模型的去噪网络中引入了包含三重注意力(TA)的Transformer架构,以捕捉长短期依赖与变量特征关联关系;接着,结合多尺度趋势季节分解,利用双向长短期记忆(BiLSTM)网络和傅里叶注意力(FA)分别建模趋势项和季节项,提升生成数据的准确性和可解释性。同时,通过多尺度自适应最大均值差异(Ada-MMD)损失函数优化生成质量。实验结果表明,IDMTS在4个公开数据集上的生成准确性显著优于基线方法,其中Context-FID得分、相关性得分、判别得分和预测得分分别降低了51.5%~84.5%、4.1%~26.8%、24.0%~68.8%、0.3%~40.0%。同时,在可解释性实验、条件插补和预测实验中,IDMTS展现出良好的可解释性和泛化能力。

关键词: 时间序列生成, 扩散模型, 可解释性, Transformer, 多尺度分解

Abstract: The accurate generation of Multivariate Time Series (MTS) data provides an effective way to solve the problem of insufficient data scale and is crucial for downstream tasks such as power load forecasting and wind and solar power generation evaluation. However, existing methods cannot capture the long- and short-term dependence and correlation between variables easily, and they cannot meet the requirements of energy system analysis owing to a lack of interpretability. Therefore, an interpretable diffusion model for multivariate time series generation method IDMTS is proposed. First, a transformer architecture containing Triplet Attention (TA) is introduced into the denoising network of the diffusion model to capture long- and short-term dependencies and variable feature associations. Subsequently, combined with multiscale trend seasonal decomposition, the trend and season terms are modeled using Bidirectional Long Short-Term Memory (BiLSTM) network and Fourier Attention (FA), respectively. This improves the accuracy and interpretability of generated data. Simultaneously, the generation quality is optimized by multiscale Adaptive Maximum Mean Discrepancy (Ada-MMD) loss function. The experimental results show that the generation accuracy of IDMTS on four public datasets is significantly better than that of the baseline method, in which the Context-FID score, correlation score, discriminant score, and prediction score are reduced by 51.5% to 84.5%, 4.1% to 26.8%, 24.0% to 68.8%, and 0.3% to 40.0%, respectively. Additionally, IDMTS shows good interpretability and generalization ability in the interpretability, conditional interpolation, and prediction experiments.

Key words: time series generation, diffusion model, interpretability, Transformer, multiscale decomposition

中图分类号: