Does Batch Correction Erase or Invent Vascular Inflammation?

When researchers pool single-cell RNA sequencing (measuring gene activity in thousands of individual cells) from several labs' samples of diseased artery walls, they almost always run a batch-correction step first. Batch correction is software that removes lab-to-lab technical differences before analysis. In vascular disease, this step works on the very signals it is supposed to protect. Inflamed endothelial cells (the cells lining blood vessels) switch on adhesion genes and switch off flow-sensing genes. The enzymatic digestion used to free cells from tough artery tissue triggers a stress response that looks similar. The sicker patients also tend to come from particular centers. A correction method can therefore delete real inflammation as "batch," or manufacture inflammation that is not there. Nobody has measured how often either happens on vascular data.

We propose a planted-signal stress test to measure it. We take real public atheroma datasets, insert known inflammation programs of controlled size into chosen cells and patients, tune how strongly those programs line up with the source study, and score each correction method on two things: whether it recovers what we planted, and whether it reports signal when we planted nothing. The test is built to answer one practical question for future rare-vasculitis consortia. When does pooling studies through a batch corrector find rare inflammatory cell states that per-study analysis cannot, and what false-positive cost does that pooling carry?

Core Claim

Our claim is about measurement, plus one testable hypothesis. The measurement claim is that, on vascular single-cell data, the trade-off between removing batch effects and preserving inflammatory biology can be quantified against a known ground truth, as a function of how confounded disease is with study. No existing vascular study does this. The hypothesis is that a "residual" harmonizer, ported from neuroimaging to single cells, keeps false positives at their nominal rate while recovering rare planted states better than per-study meta-analysis, until confounding becomes complete. Such a harmonizer first estimates and sets aside the biological effects, corrects only what is left over, then adds the biology back. When confounding is complete, every method should fail, and we want a diagnostic that says so.

Why This Gap Is Real

Prior work motivates the question from both directions without answering it. Wu et al. integrated human coronary (GSE131778) and mouse aortic (GSE134557) single-cell data with a default clustering pipeline. They reported that endothelial cells score lowest for shear-stress and TGF-beta pathways, and named ICAM1, VCAM1 and KLF2 as hub genes. They never checked whether cross-study technical differences shaped those pathway scores. The review of single-cell atherosclerosis studies does two relevant things. It flags the 37°C digestion artifact as a confounder that mimics disease signaling. It also describes rare, continuous states, such as smooth-muscle-to-stem-like transitions and TREM2hi and Birc5hi macrophages. It offers no computational way to separate the two.

On the autoimmune side, the tofacitinib SLE trial and the anifrolumab MUSE analysis tie type I interferon (an immune signalling pathway) signatures and neutrophil states to vascular dysfunction. Both ran in single centralized labs and never faced batch integration. They supply the biology we plant, not a method.

Two harmonization papers constrain the design. DeepResBat showed that a conditional variational autoencoder still reports significant associations after biological labels are randomly shuffled. A conditional variational autoencoder is a neural network that compresses data while conditioning on the batch label. DeepResBat fixed this on MRI brain volumes by estimating biological effects with gradient-boosted trees first, then harmonizing residuals. We reuse that recipe, but it has never been tested on single-cell counts or rare cell states. Tao et al. found that frozen foundation-model embeddings encode acquisition site far more strongly than diagnosis, and that a classifier reached 100% accuracy when site and diagnosis were perfectly aligned. That result tells us confounding must be a dial in the test, not a nuisance to average away.

Research Program

The source data are GSE131778 (human coronary) and GSE159677 (human carotid), treating each source study, and each donor within it, as a batch. We start from cells annotated with standard cell-type labels.

Into chosen endothelial cells of chosen donors, we plant three programs by adjusting counts gene by gene through binomial thinning or upsampling, which keeps realistic sparsity. The first is an endothelial-activation program: ICAM1 and VCAM1 up, KLF2 down, as reported by Wu et al. The second is a type I interferon program in the spirit of the SLE trials. The third is a rare "state" program, planted in only a small fraction of cells spread thinly across all studies, so that no single study has enough cells to detect it alone.

A confounding parameter $\rho \in [0.5, 1]$ sets the probability that a donor carrying the planted program belongs to a designated study. At $\rho = 0.5$, disease is balanced across studies. At $\rho = 1$, disease and study are identical.

We run a parallel null arm. Labels are permuted and nothing is planted. This measures how often each method reports a condition effect that does not exist, following DeepResBat's permutation logic.

Because the activation program overlaps genes that respond to digestion stress, we also score each method on how much the endogenous digestion-stress response leaks into the reported activation program and the reverse. As a no-digestion reference, we use the Two-batch PBMC benchmark from scBatchProx. Blood cells are not enzymatically digested, so the digestion-stress axis should be near zero there.

The method under test is a single-cell port of DeepResBat. It works on principal-component coordinates, so it can run on a CPU at scale. Its first stage fits cell type, condition, and their interaction with gradient-boosted trees. Its second stage harmonizes the residuals with a conditional variational autoencoder. Its third stage adds the fitted biology back.

Alongside it we build an identifiability diagnostic. For each condition effect, the diagnostic reports what fraction of the effect can be estimated from contrasts within studies. When that fraction drops toward zero, the tool should warn that no corrector can separate disease from site.

Baselines

The naive reference is no correction. We pool raw normalized counts, cluster, and test for differential expression. This bounds how much batch inflates both batch-predictability scores and false positives.

The strongest classical competitor is empirical-Bayes ComBat via pyComBat, using pycombat_seq for counts from inmoose. We give it the batch label, with cell type and condition as protected covariates. With the condition label protected, it is essentially a linear version of our residual idea. It is the alternative most likely to tie with us. For this baseline, no reported result was found on Lacuna for ComBat on vascular single-cell data. pyComBat's reported figures concern speed (4 to 5 times faster than R) and parity with R ComBat (mean output difference of −1.06 × 10⁻⁷ on an ovarian microarray benchmark), not biological preservation.

The strongest latent-space competitors are BBKNN, iSMNN, and scBatchProx. scBatchProx is a post-hoc adapter that learns a batch-specific scaling and shift on embeddings, with a penalty against drifting from the global structure. It reports a 3–8% relative gain in embedding quality on the Human Pancreas Multi-Study benchmark, improved batch correction in 90% of scenarios, and improved biological conservation in 85%. There is no vascular number.

The strongest "safe" competitor is per-study pseudobulk differential expression combined by random-effects meta-analysis. Pseudobulk means summing counts per donor and cell type. This approach never pools raw data across studies, so it cannot invent cross-study signal.

The key-ingredient ablation is our residual harmonizer with stage one removed. That is a plain conditional variational autoencoder, which DeepResBat reports inflates false positives under permutation on MRI. The strongest previously reported number on the property we care about is DeepResBat holding the nominal 5% false-positive rate under permutation on 10,085 MRI scans. No comparable figure exists for single cells.

All methods get the same cells, the same principal-component input where relevant, and an equal hyperparameter budget tuned only on the null arm, never on planted truth.

Beating the baselines requires two things together. The residual harmonizer must keep the null false-positive rate within sampling error of 5%. It must also achieve higher recovery of the planted rare state than meta-analysis at moderate confounding. Beating batch mixing alone does not count.

Why not just…?

Why not just regress out a digestion-stress gene score? The stress response and endothelial activation share responsive genes. Regressing out a score built from those genes removes variation along an axis that partly is the planted activation program. The leakage measurement above quantifies exactly this. We include score-regression as an extra arm, and expect it to lose planted activation signal even at $\rho = 0.5$.

Why not just use ComBat with condition protected? This is a real threat. ComBat's linear shift-and-scale model may handle additive batch effects in principal-component space as well as anything deeper. DeepResBat's advantage over ComBat was shown on MRI with non-linear age effects, not on single cells. If ComBat matches the residual harmonizer across the $\rho$ sweep, we will report that. The recommended practice would then be the simpler tool plus our identifiability diagnostic. The diagnostic, not the network, would become the contribution.

Why not just analyze each study separately and meta-analyze? For effects present in many cells of every study, this is likely the honest best choice. It is immune to cross-study hallucination by construction. The only case for pooling is rare states that are underpowered within each study. The rare-state planting arm tests exactly that case. If meta-analysis matches pooled recovery even there, the conclusion for vasculitis consortia is not to pool, and we will say so.

Proposed Experiments

The decisive experiment is the $\rho$ sweep, run under both planted and null arms. For every method we record four quantities. The first is planted-gene recovery, measured as area under the receiver operating characteristic curve from pseudobulk tests. The second is rare-state cell recovery. The third is the false-positive rate under the null. The fourth is batch predictability from a linear probe on the corrected embedding, following Tao et al.'s probing protocol.

We expect that pooled methods without a covariate-isolation stage will show a false-positive rate climbing with $\rho$ in the null arm. We also expect every method's recovery to collapse as $\rho \to 1$, and the identifiability diagnostic should flag that collapse before it happens.

A second check uses real rather than planted biology. Wu et al. report a TGF-beta receptor knockout effect on ICAM1, VCAM1 and KLF2 within the mouse study GSE134557. We split that study into artificial batches whose simulated shifts line up with genotype, then ask which methods recover the within-study knockout effect.

A third check asks whether digestion stress is shared across cell types within a donor, by correlating stress-program scores across cell types. If the stress is cell-type-specific, no donor-level correction can remove it. Future vasculitis cohorts would then need experimental fixes rather than software ones.

We will be explicit that these are atherosclerosis atlases standing in for vasculitis tissue. The file contains no vasculitis single-cell data. The purpose is to certify, before anyone pools small autoimmune vasculopathy cohorts, which corrections can be trusted and at what level of site–severity confounding they stop working.