TrialSynth: Generation of Synthetic Sequential Clinical Trial Data

Chufan Gao, Mandis Beigi, Afrah Shafquat, Jacob Aptekar, Jimeng Sun

TL;DR

This paper introduces TrialSynth, a novel method for generating realistic synthetic sequential clinical trial data. By combining Variational Autoencoders (VAEs) with Hawkes Processes (HP), TrialSynth effectively captures the complex temporal dynamics of patient events, addressing a critical need for privacy-preserving synthetic data in drug development.

What Problem Does This Paper Address?

Clinical trials generate vast amounts of valuable data, but patient privacy concerns and data availability limitations often restrict its use. While generating static synthetic data has seen progress, creating fine-grained, time-sequential synthetic data that accurately reflects patient trajectories has remained a significant challenge. This is crucial for optimizing trial design, predicting adverse events, and accelerating the development of life-saving drugs. Existing methods struggle with the small sample sizes typical of clinical trial datasets and the need to model both event types and their precise timing.

Methods

TrialSynth tackles this challenge by integrating two powerful techniques:

  • Variational Autoencoders (VAEs): VAEs are used to learn a compressed latent representation of patient event sequences. This allows for the generation of new, similar sequences by sampling from this latent space.
  • Hawkes Processes (HP): Hawkes Processes are statistical models adept at capturing the self-exciting nature of event sequences, where past events influence the probability of future events. TrialSynth specifically leverages a Transformer-based Hawkes Process to model both the type of event and the time gap between events, which is critical for accurate sequential data generation.

The core innovation lies in combining these two, allowing TrialSynth to generate realistic event sequences with precise timestamps, even from small datasets. The model also offers control over event type generation, allowing users to specify which events to simulate.

Datasets

The authors evaluated TrialSynth on seven real-world clinical trial outcome datasets obtained from Project Data Sphere. These datasets represent various cancer types and conditions, including:

  • NCT00003299 (Small Cell Lung Cancer)
  • NCT00041119 (Breast Cancer)
  • NCT00079274 (Colon Cancer)
  • NCT00174655 (Breast Cancer)
  • NCT00312208 (Breast Cancer)
  • NCT00694382 (Venous Thromboembolism in Cancer Patients)
  • NCT03041311 (Small Cell Lung Cancer)

Key Insights and Ideas

  • Hawkes Processes are Key for Temporal Dynamics: The paper highlights that Hawkes Processes are particularly well-suited for modeling the event-type and time-gap prediction needed for sequential clinical trial data, outperforming methods that don't explicitly account for temporal dependencies.
  • VAE + HP Synergy: The combination of VAEs for latent representation learning and Hawkes Processes for sequence generation proves effective, especially for small datasets where traditional methods falter.
  • "Events Known" Variant Boosts Performance: Providing the model with prior knowledge of specific event types to generate (the "Events Known" variant) significantly improves synthetic data quality, demonstrating the value of incorporating domain-specific information.
  • Privacy-Utility Trade-off is Controllable: TrialSynth allows for explicit control over the privacy-utility trade-off by adjusting the VAE sampling variance. Higher variance increases privacy but may slightly decrease utility, and vice-versa.

Key Results

  • Superior Utility: TrialSynth consistently outperformed other baseline methods in generating synthetic data that was useful for downstream tasks, such as predicting patient death events. In 4 out of 7 datasets, TrialSynth (Events Unknown) was the best performer, and within one standard deviation for the rest. The "Events Known" variant showed even stronger performance.
  • Effective Privacy Preservation: The ML Inference Score and Distance to Closest Record (DCR) metrics indicated that TrialSynth generated synthetic data that was difficult to distinguish from real data while also being sufficiently different to protect patient privacy. TrialSynth variants generally achieved scores closer to the ideal privacy metrics than other baselines.
  • Performance on Small Datasets: A significant achievement is TrialSynth's ability to generate high-quality synthetic data even with small patient source populations, a common scenario in clinical trials.

Limitations and Future Work

  • Generalizability: The paper acknowledges that TrialSynth's generalizability to larger, more diverse datasets is yet to be fully explored.
  • Interpretability: As a VAE-based model, TrialSynth can be challenging to interpret compared to traditional models, which is a limitation for clinical applications.
  • Complex Temporal Dynamics: While Hawkes Processes are effective, they might struggle with highly complex or non-linear temporal dynamics not captured by the model.
  • Future Work: The authors suggest further research into the broader applicability of synthetic data in regulatory processes and a more comprehensive assessment of re-identification risks. They also note that the "Events Known" variant, which leverages prior knowledge, shows promise for future development.

Summary updated

BibTeX
@inproceedings{gao2024trialsynth,
  author = {Chufan Gao and Mandis Beigi and Afrah Shafquat and Jacob Aptekar and Jimeng Sun},
  title = {{TrialSynth: Generation of Synthetic Sequential Clinical Trial Data}},
  booktitle = {GenAI4Health @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=UJsD6bdkA2},
}
Figure