Continual Causal Inference with Incremental Observational Data

Zhixuan Chu, Ruopeng Li, Stephen L. Rathbun, Sheng Li

Abstract

Traditional causal effect estimation methods typically operate under the assumption of a static, centralized dataset. However, in real-world applications such as healthcare and digital platforms, data arrives incrementally and is often subject to non-stationary distributions (domain shifts). Furthermore, privacy regulations and storage constraints frequently prevent the retention of raw historical data. This paper introduces CERL (Continual Causal Effect Representation Learning), a framework designed to estimate causal effects from streaming data. By integrating feature distillation, representative "herding," and feature transformation, CERL mitigates catastrophic forgetting and adapts to domain shifts without requiring access to original raw historical records.

1. Introduction

Causal inference—the process of determining the effect of a specific treatment on an outcome—is a cornerstone of data-driven decision-making. While existing models perform well on stationary datasets, they struggle in dynamic environments where data is incremental and non-stationary. In these contexts, models face three primary challenges: extensibility to new data, adaptability to changing variable relationships (domain shift), and accessibility constraints regarding historical data due to regulations like GDPR.

When a standard model is updated with new data, it often suffers from "catastrophic forgetting," where performance on previously learned domains degrades significantly. Conversely, failing to update the model leads to poor performance on new data. CERL addresses these issues by treating causal inference as a lifelong learning problem, maintaining a consistent representation space across evolving data streams.

2. The CERL Framework

CERL utilizes a multi-faceted architecture to balance the need for new knowledge with the preservation of historical insights. The framework consists of several key components:

2.1 Selective and Balanced Representation Learning

To reduce selection bias—a common issue in observational data where treatment assignment is not random—CERL employs an "elastic net" for feature selection. It utilizes the Wasserstein distance (an Integral Probability Metric) to ensure that the feature representations of the treatment and control groups are balanced, facilitating more accurate counterfactual predictions.

2.2 Knowledge Preservation and Distillation

To combat catastrophic forgetting, CERL implements a distillation loss. This mechanism encourages the current iteration of the model to maintain feature representations that are consistent with those learned by previous versions. Because the feature space may shift as the model evolves, CERL includes a Feature Representation Transformation (FRT) module. This module learns a mapping function to align old representations with the new feature space, ensuring global consistency.

2.3 Memory-Efficient Herding

Rather than storing large volumes of raw historical data, CERL uses a "herding" algorithm to select and store a tiny, representative subset of learned feature vectors. This approach is both memory-efficient and privacy-preserving, as it avoids the need to retain sensitive raw observations while still providing the model with a "memory" of past tasks.

2.4 Robustness via Cosine Normalization

To handle the varying scales of data found in different sources, CERL applies cosine normalization in the final layer. This bounds the variance of features, making the model more robust to the fluctuations inherent in non-stationary data streams.

3. Experimental Evaluation

The researchers evaluated CERL against three primary benchmarks: semi-synthetic datasets based on NY Times articles (News) and BlogCatalog social circles, and a fully controlled Synthetic Dataset with 100 variables. These datasets were partitioned to simulate various degrees of domain shift.

CERL's performance was compared against three strategies:

  1. Direct Application: Using the old model on new data.
  2. Fine-tuning: Updating the model only on new data (CFR-B).
  3. Retraining: Training from scratch on all historical and new data (CFR-C), representing the theoretical upper bound of performance.

4. Key Results and Insights

The experimental results demonstrate that CERL effectively bridges the gap between fine-tuning and full retraining:

  • Stability and Adaptability: CERL remained stable across all domain shift scenarios. In "Substantial Shift" environments, it significantly outperformed fine-tuning, which failed to maintain accuracy on older data subsets.
  • Efficiency: CERL achieved performance levels nearly identical to the "gold standard" of retraining on the entire historical dataset. Remarkably, it did so while storing only a fraction of the data (e.g., 1,000 representations compared to 50,000 raw observations).
  • Ablation Analysis: Removing the FRT or the Herding components resulted in a significant increase in error (measured by PEHE and ATE), confirming that both the transformation of the feature space and the representative memory are essential for continual causal learning.

5. Conclusion and Future Work

CERL demonstrates that causal inference in industrial and clinical settings is as much a systems problem as a statistical one. By prioritizing representation management over raw data storage, CERL provides a scalable solution for lifelong causal learning.

Future research may expand this framework to handle multi-valued or continuous treatments, as the current model is optimized for binary scenarios. Additionally, exploring how CERL integrates with complex graph-based causal structures or dynamic treatment regimes in reinforcement learning remains a promising avenue for development.

Summary updated

BibTeX
@inproceedings{chu2023continual,
  author = {Zhixuan Chu and Ruopeng Li and Stephen L. Rathbun and Sheng Li},
  title = {{Continual Causal Inference with Incremental Observational Data}},
  booktitle = {ICDE},
  year = {2023},
  url = {https://openreview.net/forum?id=y9AFbLfoJZ},
}
Figure