Zing Forum

Reading

LLM Synthetic Data and Causal Inference: A Hybrid Method to Preserve Causal Structure Integrity

This project proposes a hybrid synthetic data method combining large language models (LLMs) and traditional generative models, specifically addressing the data sharing challenges in causal inference while maintaining the accuracy of key causal quantities such as the average treatment effect (ATE).

因果推断合成数据大语言模型平均处理效应正定性数据共享隐私保护CTGAN
Published 2026-04-21 07:13Recent activity 2026-04-21 07:23Estimated read 5 min
LLM Synthetic Data and Causal Inference: A Hybrid Method to Preserve Causal Structure Integrity
1

Section 01

[Introduction] Hybrid Method of LLM Synthetic Data and Causal Inference: Addressing Data Sharing Challenges and Preserving Causal Structure

This project proposes a hybrid synthetic data method combining large language models (LLMs) and traditional generative models, aiming to address the data sharing challenges in causal inference while maintaining the accuracy of key causal quantities such as the average treatment effect (ATE), providing a new direction for data privacy protection and collaborative research in the field of causal inference.

2

Section 02

Background: Data Sharing and Positivity Challenges Faced by Causal Inference

In fields such as medicine, social sciences, and policy evaluation, causal inference is a core method for understanding intervention effects. However, real-world data has two major pain points: first, data is difficult to share due to privacy and ethical constraints; second, observational data often has positivity violations. Existing synthetic methods (e.g., GAN, simple LLM generation) can replicate predictive statistical features but fail to preserve key causal structures (especially ATE).

3

Section 03

Core Method: Hybrid Generation Strategy Separating Covariate Distribution and Causal Mechanism

The core of the hybrid method is separating the covariate distribution and causal mechanism processing: using CTGAN or LLM-based GReaT to generate synthetic covariates, then simulating the conditional distributions of treatment variables and outcome variables through fitted models, which not only preserves the covariate structure but also maintains the causal mechanism.

4

Section 04

Experimental Validation: Significant Advantages of the Hybrid Method in ATE Estimation Accuracy

The project provides complete experimental code, with a process including four stages: data generation, synthetic data generation, causal inference, and quality evaluation. Results show that the hybrid method significantly outperforms fully synthetic methods in maintaining ATE estimation accuracy, indicating that generative models that only pursue predictive accuracy are insufficient for causal inference applications.

5

Section 05

Innovation: Using Synthetic Data to Solve the Positivity Assumption Problem

Positivity is one of the basic assumptions of causal inference. This project creatively solves this problem by generating synthetic samples from seed data and strategically filling sparse regions to build an enhanced dataset that meets the positivity assumption.

6

Section 06

Practical Significance: Facilitating Collaborative Research Under Privacy Protection

Against the backdrop of strict data privacy regulations, generating synthetic data that preserves causal structures allows research institutions to support cross-institutional collaborative research without exposing sensitive raw data.

7

Section 07

Conclusion: Causal Applications Need to Explicitly Consider Causal Structure Preservation in Generative Models

This project provides methodological guidance for the application of synthetic data in causal inference. The core insight is: in causal application scenarios, the design of generative models must explicitly consider causal structure preservation, rather than only focusing on predictive accuracy.