Papers › Pulling Up by the Causal Bootstraps: Causal Data Augmentation for Pre-training Debiasing

Pulling Up by the Causal Bootstraps: Causal Data Augmentation for Pre-training Debiasing

27 Aug 2021arXiv:2108.12510archive 2025-07-28

Sindhu C. M. Gowda, Shalmali Joshi, Haoran Zhang, Marzyeh Ghassemi

Machine learning models achieve state-of-the-art performance on many supervised learning tasks. However, prior evidence suggests that these models may learn to rely on shortcut biases or spurious correlations (intuitively, correlations that do not hold in the test as they hold in train) for good predictive performance. Such models cannot be trusted in deployment environments to provide accurate predictions. While viewing the problem from a causal lens is known to be useful, the seamless integration of causation techniques into machine learning pipelines remains cumbersome and expensive. In this work, we study and extend a causal pre-training debiasing technique called causal bootstrapping (CB) under five practical confounded-data generation-acquisition scenarios (with known and unknown confounding). Under these settings, we systematically investigate the effect of confounding bias on deep learning model performance, demonstrating their propensity to rely on shortcut biases when these biases are not properly accounted for. We demonstrate that such a causal pre-training technique can significantly outperform existing base practices to mitigate confounding bias on real-world domain generalization benchmarking tasks. This systematic investigation underlines the importance of accounting for the underlying data-generating mechanisms and fortifying data-preprocessing pipelines with a causal framework to develop methods robust to confounding biases.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2108.12510")

Code

Syntology Ran 4 of 17 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MLforHealth/CausalDA officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 4 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
2ran
13unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from MLforHealth/CausalDA. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

block_until_running MLforHealth/CausalDA/launchers.py official repository ran MIT (permissive) · 0946df67b41ca7e6 · report
conv1x1 MLforHealth/CausalDA/model/resnet_multispectral.py official repository ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 MLforHealth/CausalDA/model/resnet_multispectral.py official repository ran · our draft was wrong MIT (permissive) · 160bb14bd76201b4 · report
get_num_jobs MLforHealth/CausalDA/launchers.py official repository ran fingerprinted MIT (permissive) · 501459823473afca · report
combinations MLforHealth/CausalDA/experiments.py official repository unverified MIT (permissive) · ef58194dbb437756 · report
cost_fn MLforHealth/CausalDA/src/prediction.py official repository unverified MIT (permissive) · 820b345e20bfded6 · report
cost_fn MLforHealth/CausalDA/src/training.py official repository unverified MIT (permissive) · daf19afe2e91d4a5 · report
get_hparams MLforHealth/CausalDA/experiments.py official repository unverified MIT (permissive) · 1333b4e802eba4f0 · report
get_script_name MLforHealth/CausalDA/experiments.py official repository unverified MIT (permissive) · 352f597b6a390f3a · report
prediction_analysis MLforHealth/CausalDA/src/prediction.py official repository unverified MIT (permissive) · d2d5ec732e91235f · report
random_subset_seq MLforHealth/CausalDA/train_env.py official repository unverified MIT (permissive) · ded081dd38c7c24a · report
simple_models MLforHealth/CausalDA/model/simple_models.py official repository unverified MIT (permissive) · a3ceab17d25e15b2 · report
split_dataset MLforHealth/CausalDA/train_env.py official repository unverified MIT (permissive) · 5c0450ec429262a9 · report
train MLforHealth/CausalDA/src/training.py official repository unverified MIT (permissive) · 9cbb9737a804d9ab · report
train_step MLforHealth/CausalDA/src/training.py official repository unverified MIT (permissive) · c146534ad54e89c3 · report
validation MLforHealth/CausalDA/src/validation.py official repository unverified MIT (permissive) · 85d5efbf0175a369 · report
wilds_get_merged_dataset MLforHealth/CausalDA/train_env.py official repository unverified MIT (permissive) · cac3223f3d4a4a25 · report

Tasks

BenchmarkingData AugmentationDomain Generalization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections