pith. sign in

arxiv: 2502.07281 · v1 · pith:FXQZLK6Wnew · submitted 2025-02-11 · 💻 cs.LG

Supervised Contrastive Block Disentanglement

classification 💻 cs.LG
keywords invariancecontrastivecorrelationsdatasetsinterestperformancephenomenareal-world
0
0 comments X
read the original abstract

Real-world datasets often combine data collected under different experimental conditions. This yields larger datasets, but also introduces spurious correlations that make it difficult to model the phenomena of interest. We address this by learning two embeddings to independently represent the phenomena of interest and the spurious correlations. The embedding representing the phenomena of interest is correlated with the target variable $y$, and is invariant to the environment variable $e$. In contrast, the embedding representing the spurious correlations is correlated with $e$. The invariance to $e$ is difficult to achieve on real-world datasets. Our primary contribution is an algorithm called Supervised Contrastive Block Disentanglement (SCBD) that effectively enforces this invariance. It is based purely on Supervised Contrastive Learning, and applies to real-world data better than existing approaches. We empirically validate SCBD on two challenging problems. The first problem is domain generalization, where we achieve strong performance on a synthetic dataset, as well as on Camelyon17-WILDS. We introduce a single hyperparameter $\alpha$ to control the degree of invariance to $e$. When we increase $\alpha$ to strengthen the degree of invariance, out-of-distribution performance improves at the expense of in-distribution performance. The second problem is batch correction, in which we apply SCBD to preserve biological signal and remove inter-well batch effects when modeling single-cell perturbations from 26 million Optical Pooled Screening images.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Multi-Task Bayesian In-Context Learning

    cs.LG 2026-06 unverdicted novelty 6.0

    A transformer trained on sequences of prior and target tasks performs amortized Bayesian inference that adapts to new priors via in-context prefixes and matches oracle performance at much higher speed.

  2. scHelix: Asymmetric Dual-Stream Integration via Explicit Gene-Level Disentanglement

    cs.LG 2026-05 unverdicted novelty 5.0

    scHelix uses explicit gene-level partitioning into Anchors and Variants plus an asymmetric Align-Refine-Fuse dual-stream architecture to improve batch correction in scRNA-seq without over-correcting biological signals.