[论文解读] Causal Recurrent Variational Autoencoder for Medical Time Series Generation
该论文提出了一种因果循环变分自编码器(CR-VAE),这是一种新颖的生成模型,通过在循环VAE框架中引入格兰杰因果关系,并采用具有稀疏性诱导权重惩罚的多头解码器,以学习稀疏因果图。该模型能够实现忠实的时间序列生成与因果发现,在合成数据和真实医学时间序列数据(EEG和fMRI)上,其在两项任务上的表现均优于当前最先进方法。
We propose causal recurrent variational autoencoder (CR-VAE), a novel generative model that is able to learn a Granger causal graph from a multivariate time series x and incorporates the underlying causal mechanism into its data generation process. Distinct to the classical recurrent VAEs, our CR-VAE uses a multi-head decoder, in which the $p$-th head is responsible for generating the $p$-th dimension of $\mathbf{x}$ (i.e., $\mathbf{x}^p$). By imposing a sparsity-inducing penalty on the weights (of the decoder) and encouraging specific sets of weights to be zero, our CR-VAE learns a sparse adjacency matrix that encodes causal relations between all pairs of variables. Thanks to this causal matrix, our decoder strictly obeys the underlying principles of Granger causality, thereby making the data generating process transparent. We develop a two-stage approach to train the overall objective. Empirically, we evaluate the behavior of our model in synthetic data and two real-world human brain datasets involving, respectively, the electroencephalography (EEG) signals and the functional magnetic resonance imaging (fMRI) data. Our model consistently outperforms state-of-the-art time series generative models both qualitatively and quantitatively. Moreover, it also discovers a faithful causal graph with similar or improved accuracy over existing Granger causality-based causal inference methods. Code of CR-VAE is publicly available at https://github.com/hongmingli1995/CR-VAE.
研究动机与目标
- 开发一种用于多变量时间序列的生成模型,能够同时学习联合分布与转移动态,同时支持因果发现。
- 通过概率化、结构化的建模方法,解决现有深度生成模型在捕捉潜在因子和建模时间依赖性方面的局限性。
- 将格兰杰因果关系原理整合进变分自编码器框架,以确保生成过程尊重因果顺序并揭示潜在因果结构。
- 通过引入两阶段学习策略,将稀疏性诱导与非零权重的优化分离,从而提升训练稳定性和性能。
- 在真实世界医学数据集(EEG和fMRI)上评估模型,并证明其在时间序列生成与因果图重构两方面的优越性。
提出的方法
- 模型采用单个编码器GRU从观测时间序列中推断潜在表征,随后使用多头解码器,其中每个头负责生成多变量时间序列的一个维度。
- 在解码器的权重矩阵上施加稀疏性诱导的ℓ1惩罚,以鼓励生成一个编码时间序列维度之间格兰杰因果关系的稀疏邻接矩阵。
- 通过确保仅因果变量的过去值影响结果变量的生成,来强制实现因果结构,从而符合格兰杰因果关系原则。
- 引入误差补偿模块,以建模滞后依赖性未能捕捉的瞬时影响,从而提升建模保真度。
- 采用两阶段训练策略:首先,使用ℓ1正则化进行训练以诱导稀疏性;其次,固定零权重,并使用SGD微调剩余权重,以提升生成质量。
- 通过变分推理目标端到端训练模型,以最大化观测序列对数似然的证据下界(ELBO)。
实验结果
研究问题
- RQ1能否设计一种深度时间序列生成模型,使其能够同时学习数据分布并推断变量之间的因果关系?
- RQ2格兰杰因果关系能否被有效嵌入循环VAE架构中,以确保生成过程尊重因果时间顺序?
- RQ3与标准VAE相比,使用具有结构化稀疏性的多头解码器是否能同时提升生成质量与因果图准确性?
- RQ4两阶段训练策略是否能缓解ℓ1正则化导致的性能下降,同时保持因果图中的稀疏性?
- RQ5在真实医学时间序列上,所提出的CR-VAE相较于最先进方法在时间序列生成与因果发现方面表现如何?
主要发现
- 在合成与真实数据集上,CR-VAE在定性与定量评估中均优于当前最先进的时间序列生成模型,评估指标包括MMD、TSTR以及t-SNE可视化。
- 在fMRI数据集上,两阶段训练策略显著降低了训练损失,并提升了生成质量,t-SNE投影显示合成样本与真实数据的重叠度更高。
- 该模型发现的因果图在准确性上与现有基于格兰杰因果关系的方法相当或更优,尤其在合成Hénon和Lorenz 96序列上表现突出。
- PCA可视化揭示了PCA在时间序列评估中的局限性,因其与t-SNE和MMD等其他指标的对齐性较差,凸显了对更稳健评估方法的需求。
- CR-VAE在EEG和fMRI数据集上均表现出优越性能,其生成的时间序列在分布与动态特性上与真实数据高度一致。
- CR-VAE的代码已公开发布于GitHub,支持可复现性,并推动因果时间序列建模的进一步研究。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。