acceptodds
Published as a conference paper at NeurIPS 2026

Structure-agnostic Causal Representation Learning

Arman Behnam, Binghui Wang

Abstract

Causal representation learning aims to discover robust features by exploiting the causal structure underlying data generation. Existing methods require specifying the causal structure a priori, yet different structures demand fundamentally incompatible invariance constraints, and misspecification leads to representations that discard predictive information. We introduce SaCRL, a framework that jointly identifies the causal structure and learns the corresponding invariant representation without prior structural knowledge. Our approach formulates structure selection as a soft optimization over candidate invariances using HSIC-based violation metrics, with adaptive weights that automatically concentrate on the achievable structure. We provide theoretical guarantees for structure identification, invariance satisfaction, and out-of-distribution generalization. Empirically, SaCRL matches structure-specific oracles on synthetic and Colored MNIST benchmarks, achieves state-of-the-art accuracy on three DomainBed benchmarks (PACS, VLCS, OfficeHome), and degrades gracefully under structural misspecification and limited environment diversity. Code is available at: https://github.com/ax1375/sarl.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_352VOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper mainly aims to learn robust causal representations when the causal structure governing the data is unknown and may differ across variables or domains. Specifically, the paper proposes SaCRL, a structure-agnostic causal representation learning method that selects among canonical causal structures using HSIC-based invariance violations and a SoftMin weighting scheme.

Strengths and weaknesses

Strengths

  1. [Important] Clear motivation. The authors identify that causal assumptions may imply incompatible invariance constraints given different scenarios. As a result, choosing the wrong one can do harm to predictive information. Therefore, I agree with the authors that this is a meaningful research problem in causal representation learning.
  2. [Important] The performance of SaCRL is stably high in the reported results. Specifically, the performance gap between SaCRL and baselines in OOD accuracy (Table 2) is clear and it is strong evidence for the rationales behind SaCRL in causal representation learning.
  3. The authors also provide open-source implementations of the proposed method, which is clear and neat. I would applaud for the authors for their efforts in open research.

Weaknesses

  1. [Important] Seemingly limited evaluation scope. If I understood correctly, the paper seems to focus on the datasets in the PACS/VLCS domain, etc., it would also be interesting if the authors could consider extending the proposed method to some broader context, such as Bayesian Networks (BN). As there are a lot of BN datasets with known causal structures (though simulated), adding results on these datasets can further support the generalisability of the proposed method.
  2. [Important] Seemingly strong environment-diversity assumptions limit applicability. The core of the proposed method seems to require enough variation in P(X)P(X), P(X∣Y)P(X∣Y), and P(Y∣X)P(Y∣X) to distinguish structures. The authors also report that m=2m=2 environments can be unstable and m≥3m≥3 is needed for reliable identification. I am unsure if real-world datasets would easily satisfy this requirement for strong performance of SaCRL.
  3. I would suggest the authors to provide more discussion on how often SaCRL select the wrong structure on real data, as this would help practitioners and users to decide how much confidence they would invest when using SaCRL.
Questions
  1. [Important] Can the authors provide real or semi-synthetic datasets where the causal structure is independently known, rather than inferred only from weights?
  2. What happens when two candidate structures have close violation scores? Does SoftMin averaging help or produce ambiguous representations?
  3. How often does SaCRL select the wrong structure on real data, and is there a calibrated uncertainty estimate for structure selection?
Limitations

Yes, the authors have discussed the limitations of their work.

Paper formatting concerns

I did not seem to spot major formatting concerns in the paper.

1 comment

W1/Q1. Evaluations on semi-synthetic datasets with known causal structures.

We notice that our Experiment 1: Structure Identification is under synthetic benchmark with groudtruth causal DAG. We will add results on semi-synthetic datasets from published Bayesian networks (e.g., ASIA) in the interactive discussion phase.

W2. Strong environment-diversity assumption

The requirement for environment diversity is intrinsic to the problem rather than specific to SaCRL. If P(X)P(X) is invariant across environments, I3\mathcal{I}_3 is untestable; if P(X∣Y)P(X \mid Y) is invariant, I1\mathcal{I}_1 is untestable; and if P(Y∣X)P(Y \mid X) is invariant, I2\mathcal{I}_2 is untestable. Therefore, any method that aims to distinguish these three invariances from observational multi-environment data necessarily requires diversity along all three axes. Assumption 6.1 makes this requirement explicit, whereas fixed-invariance methods (e.g., IRM, VREx, and CIRCE) effectively avoid it by assuming the target invariance a priori.

Empirically, Table 5 shows that SaCRL degrades gracefully as the minimum environment diversity δmin⁡\delta_{\min} decreases from 1.0 to 0.05. The performance gap over ERM remains positive even under the weakest diversity, indicating gradual degradation rather than a threshold failure.

Moreover, the assumption is checkable before training. The numerical rank of the diversity matrix DD indicates which invariances are distinguishable. A full-rank DD supports all three candidate structures, whereas a rank deficiency implies that some structures are observationally indistinguishable and the candidate set should be reduced accordingly.

We will revise the appendix to explicitly describe the construction of DD and the corresponding rank criterion, as the current presentation leaves the centering convention ambiguous. We will also report the measured ranks on the real-world benchmarks.

Q2. Close violation scores between two candidate structures

This is the regime our misspecification experiment isolates. The bidirectional-feedback DGP at α\alpha = 0.50 satisfies none of G1−G3\mathcal{G}_1- \mathcal{G}_3, so no candidate is correct and the violations are close by construction. The weights spread rather than collapsing onto a structure that doesn't hold. We add a finer sweep across the crossover, with hard selection as a comparison.

Table R-G

αα₁α₂α₃SoftMin OOD (%)Hard argmin OOD (%)perm p
0.400.407±0.0410.489±0.0800.104±0.05859.5±2.056.5±2.70.013±0.018
0.450.415±0.0730.478±0.1390.107±0.07566.2±1.562.5±2.90.011±0.012
0.500.421±0.0890.422±0.1430.157±0.07172.4±1.568.6±3.60.181±0.011
0.550.484±0.0790.417±0.1430.099±0.07779.8±2.076.5±2.20.033±0.039
0.600.549±0.0690.346±0.1260.105±0.07787.4±1.984.7±2.20.016±0.033

Across the sweep the weights track the interpolation direction, with α1\alpha_1 rising and α2\alpha_2 falling as the DGP moves from causal to anti-causal, and the two crossing at α=0.50\alpha = 0.50 where neither structure holds; the permutation test rejects invariance at every α\alpha, confirming that no canonical candidate is attainable anywhere on this interpolation, and SoftMin outperforms hard selection at every α\alpha, with the gap widest at the crossover where violation estimates are closest.

W3/Q3. Wrong-structure frequency and calibrated uncertainty

We do not claim a wrong-structure frequency on PACS, VLCS, or OfficeHome because the ground-truth causal structure is unavailable, and any such estimate would be inherently circular. Instead, we provide calibrated uncertainty measures whose reliability can be validated on datasets with known ground truth.

Due to the limited rebuttal period, we will report three quantities for each split during the interactive discussion phase: (1) the weight margin, α(1)−α(2)\alpha_{(1)}-\alpha_{(2)}; (2) the permutation-test pp-value for min⁡kVk\min_k V_k relative to the null threshold τα\tau_\alpha (Definition F.2); and (3) the agreement of the selected structure across random seeds. In addition, we calibrate the weight margin on synthetic datasets with known ground truth to obtain a margin-to-accuracy calibration curve, allowing practitioners to interpret the confidence of the selected structure on real benchmarks.

Reviewer_s9X3OpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
4
Quality
3
Significance
4
Read review
Summary

This work addresses the central challenge of discovering robust features by exploiting the underlying causal structure of data generation when that structure is not known a priori. The authors introduce SaCRL (Structure-agnostic Causal Representation Learning) to jointly identify the causal mechanisms governing the data and learn representations that satisfy the corresponding invariance constraints. Recognizing that different causal structures demand fundamentally incompatible invariance properties, the proposed method evaluates candidate structures using Hilbert-Schmidt Independence Criterion-based violation metrics. These metrics are integrated into a differentiable SoftMin objective with adaptive weights that automatically concentrate on the achievable structure during optimization. The paper provides theoretical guarantees for consistent structure identification, invariance satisfaction, and OOD generalization. Empirical evaluation demonstrates performance that matches structure-specific oracles and surpasses fixed-invariance baseline.

Strengths and weaknesses

Strengths:

I find this submission to be highly original, taking a significant step forward to move away from rigid, structure-specific invariant learning to an adaptive, structure-agnostic paradigm. The theory is comprehensive, providing solid finite-sample identification guarantees and OOD risk bounds. The authors show extensive empirical eval; demonstrating a +2.1 to +4.2 percentage point improvement over strong baselines across DomainBed benchmarks. Furthermore, the ablation studies and per-domain analyses (e.g., identifying anti-causal mechanics in PACS sketches vs confounded-descendant structures in realistic photos) provide intuitive validation.

Weaknesses:

There are a few gaps between the mathematical assumptions and practical implementation.

  1. A circularity loop in the conditioning for the confounded-descendant violation metric (V2V_{2}): The algorithm evaluates independence conditional on the current representation ϕ(X)\phi(X) while simultaneously updating ϕ(X)\phi(X) via gradient descent. This creates a volatile, non-convex optimization landscape that requires significant engineering interventions, such as multi-start initializations, to successfully stabilize.

  2. The theoretical guarantees assume exact HSIC computations. However, the practical algorithm relies on Random Fourier Features (RFF) to reduce computational complexity. The approximation error introduced by RFF spectral sampling is not rigorously integrated into the primary generalization bounds, leaving a gap between the theory and the scalable implementation.

  3. Ablation studies reveal that the method functions more like a continuous soft ensemble regularizer than a strict structural discoverer during intermediate epochs. When the SoftMin aggregation is replaced with a hard "arg min" selection, structure identification accuracy drops significantly from 89.0% to 79.5%.

Questions
  1. Circularity in Conditioning: How is the instability of conditioning on a shifting representation ϕ(X)\phi(X) mitigated beyond using multi-start initialization? Have you explored utilizing momentum-based encoders to stabilize the conditioning target during the evaluation of V2V_{2}?

  2. RFF Approximation Gap: Can you provide a remark or a bounded error analysis that formally integrates the RFF approximation error into the finite-sample structure identification bounds found in Theorem D.2?

Limitations

Yes

Paper formatting concerns

No

Final justification

The authors have sufficiently addressed the main concerns. I've kept my positive score.

1 comment

W1/Q1. Circularity in conditioning for V₂ and instability mitigation

Theorem D.2 and Corollary 1 are statements at the minimizer ϕn\phi_n, not along the trajectory: conditioning is on the converged representation, and conditional-HSIC consistency (Lemma 2) is applied at fixed ϕ\phi. The guarantee itself is not circular. Our strategies to mitigate instability include:

  • (i) ERM warm-start places ϕ0\phi_0 in the predictive class Φϵ\Phi_\epsilon and rules out the degenerate basin where all VkV_k = 0 with trivial accuracy (Prop.2);
  • (ii) temperature annealing β\beta: 1 →\rightarrow 50 prevents commitment while violation estimates are still noisy;
  • (iii) cross-fitted conditional HSIC (Appendix G.4) removes estimation bias from joint residualization and changes OOD accuracy by 0.1pp, indicating that this bias is not the dominant source of instability at our sample sizes.

Momentum encoder. Following the reviewer's suggestion, we evaluate an exponential moving average (EMA) encoder, parameterized by mm, as the conditioning target for V1V_1 and V2V_2, with gradients flowing only through the online encoder. We observe similar results, suggesting that SaCRL is robust to the choice between an online encoder and an EMA target encoder.

Table R-E. EMA conditioning target. Synthetic G2\mathcal{G}_2, n = 2000, 5 seeds.

mStru. ID (%)OOD Acc (%)SD of α₂ tail
0 (current)89.084.2baseline
0.9989.484.3below baseline
0.99989.884.5below baseline

W2/Q2. RFF approximation gap

Thanks for the great comment! We revise the theorems below to integrate RFF approximation error.

First, we restate Theorem D.2 in terms of the faithfulness gap η\eta rather than δmin⁡\delta_{\min}.

Theorem D.2 (revised). Under Assumptions C.9–C.16, with η the faithfulness gap, P(k̂ₙ = k*) ≥ 1 − 6·exp(−n η² / 2048κ⁴).

Proof. We apply Lemma E.1 with radius η/8\eta/8 and a union bound over k ∈ {1,2,3}. On that event V_{k*}(φₙ) ≤ η/8 while Vk(ϕn)≥η/2−η/8=3η/8V_k(\phi_n) \ge \eta/2 - \eta/8 = 3\eta/8 for k≠k∗k \neq k^*, so the argmin} is k∗k^*.

Second, we revise the RFF corollary accordingly.

By Rahimi–Recht uniform convergence, D random features give sup-norm kernel error εD\varepsilon_D with D=Ω(εD−2⋅d⋅log⁡(n/δ′))D = \Omega(\varepsilon^{-2}_D \cdot d \cdot \log(n/\delta')) with probability 1−δ′1 - \delta'; propagating through the bilinear HSIC estimator gives ∣H^SICRFF−H^SIC∣≤Cκ2εD|\hat{\mathcal{H}}\text{SIC}_{\text{RFF}} - \hat{\mathcal{H}}\text{SIC}| \le C\kappa^2\varepsilon_D.

Corollary D.2′ (RFF identification). If D satisfies Cκ2εD≤η/16C\kappa^2\varepsilon_D \le \eta/16, then P(k^nRFF=k∗)≥1−6⋅exp⁡(−nη2/8192κ4)−δ′P(\hat{k}^{\text{RFF}}_n = k^*) \ge 1 - 6\cdot\exp(-n \eta^2 / 8192\kappa^4) - \delta', which holds for D=Ω(κ4η−2⋅d⋅log⁡(n/δ′))D = \Omega(\kappa^4\eta^{-2} \cdot d \cdot \log(n/\delta')).

Proof. Split the tolerance: sampling error ≤ η/16 by Lemma 1 with a union bound, RFF error ≤ η/16 by the above. Then Vk∗RFF≤η/8V^{\text{RFF}}_{k^*} \le \eta/8 and VkRFF≥3η/8V^{\text{RFF}}_k \ge 3\eta/8 for k≠k∗k \neq k^*. ∎

From practical perspective, required DD grows as η−2\eta^{-2}, so near-Markov-equivalent structures need more random features, not only more samples. We report approximation error against D; identification accuracy across D is in progress and will follow in the discussion phase.

Table R-D. RFF approximation error vs. exact HSIC. Synthetic, n = 2000.

Dmean ∥HSIC^RFF−HSIC^∥\|\widehat{\mathrm{HSIC}}_{\mathrm{RFF}} - \widehat{\mathrm{HSIC}}\|
1001.42e-3
2501.29e-3
5008.4e-4
10007.7e-4
20004.4e-4

The error decreases as 1/D1/\sqrt{D}: an 80× increase in DD reduces it by 8.04×, against 80=8.94\sqrt{80} = 8.94 predicted. At D=1000D = 1000, our default, the approximation error is well below the separation η\eta required by Corollary D.2′.

W3. Soft ensemble regularizer vs. strict structural discoverer

Early in training, the violation estimates are computed from representations that are not yet predictive and are therefore inherently noisy. A hard argmin would commit prematurely to whichever candidate VkV_k happens to have the smallest estimated violation at that stage, making the optimization susceptible to irreversible errors. In contrast, the soft weighting serves as a continuation strategy that delays commitment until the representation becomes sufficiently informative.

Structure identification itself is a single hard decision made only after optimization has converged (Algorithm 1, final line). This final decision—not the intermediate soft weights—is the object governed by Theorem D.2. Thus, the soft weights should be viewed as an optimization mechanism, whereas the output of SaCRL remains a discrete structural decision whenever the evidence supports one.

Moreover, when the weights remain spread at convergence, this is an indication that none of the candidate structures adequately explains the data. In this case, forcing a hard selection would introduce systematic bias. For example, on the bidirectional DGP, which matches none of G1–G3\mathcal{G}_1\text{–}\mathcal{G}_3, SaCRL appropriately refrains from collapsing onto an incorrect structure while still outperforming ERM by 12.7 percentage points. This behavior reflects calibrated uncertainty rather than indecision.

Reviewer_JqH6OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper provides the method of selecting causal structure for representation learning. It considers 3 fixed structures, and proposes an optimization framework which jointly optimizes for the structure through constraints on representations, simultaneously minimizing worst-case prediction risk. To make the independence constraints differentiable, it leverages HSIC-based kernel metrics. The core theorem establishes conditions under which the structure can be recovered for a certain class of representations. The experimental study validates structure identification accuracy on synthetic data and compares OOD generalization on DomainBed benchmarks.

Strengths and weaknesses

The paper's methodological contribution is solid. The proposed approach of combining worst-case risk with HSIC-based violation metrics through SoftMin aggregation is feasible for the discrete combinatorial problem of structure selection. The core theoretical result (Theorem D.1) cleanly establishes the asymmetry that makes identification possible: under the true structure, a predictive representation achieves zero violation, while under wrong structures any predictive representation incurs irreducible violation. The temperature annealing provides a principled transition from exploration to hard selection, avoiding premature convergence to a wrong structure early in training. Together, these form a coherent and well-motivated framework.

The experimental validation of the core mechanism is thorough. Validation of structure identification with ground truth is performed mostly on synthetic data. Section 7.4 attempts to identify structure on PACS dataset, where no proper ground truth exists, and the assessment is only qualitative. Overall, in lack of a real ground truth for structure identification, the paper does a reasonable job in assessing the core claim of the method.

The DomainBed evaluation raises several concerns. First, the protocol uses frozen ResNet18 features with a learned MLP, while the method requires expressive enough representations. Under a shallow MLP on fixed features, it is unclear what part of the gain is achieved by the structure identification. It is also not clear whether experiment 3 uses the same exact setup as experiment 4 (ResNet with frozen features), or 4-layer CNN encoder as stated in section 7.1? Also, there are methods (e.g., SWAD [8]) that fine-tune the full backbone under the standard DomainBed protocol and achieve higher accuracy. An ablation on frozen vs. trained backbone would clarify how the method behaves with sufficient representational expressivity, and whether the gains from structure identification become more pronounced.

Finally, while the paper outlines a limitation of three canonical structures, the practical impact would deserve further discussion. The three-structure assumption rests on specific conditions (partial observability, acyclicity) that may not hold in deployment scenarios, so a clearer characterization of when practitioners should expect the framework to apply could be beneficial.

Questions
  1. Section 7.4 vs 7.5 protocol: Both experiments use PACS. Does Section 7.4 (structure identification, Table 3) use the same frozen ResNet18 + MLP setup as Section 7.5 (DomainBed accuracy, Table 4), or does it use the 4-layer CNN encoder described in Section 7.1? If different, the identified structures may not correspond to the representations used for the accuracy comparison.

  2. Frozen vs. fine-tuned backbone: Can the authors provide any results for the fine-tuned backbone on DomainBed, to see how the accuracy changes with backbone expressivity?

Limitations

Yes

Paper formatting concerns
Final justification

Rebuttal addressed my main empirical concern, namely that the experiments were performed on a frozen backbone, and fine-tuning regime slightly increases quality further. With that, I've decided to raise my score to 4.

1 comment

W1/Q1. Section 7.4 (Table 3) vs. 7.5 (Table 4) protocol

The two tables use the same model: ResNet18 + an mlp encoder with hidden dims [256, 128].

W2/Q2. Frozen vs. fine-tuned backbone

We first clarify that our intent to freeze the model was to hold representation capacity fixed so that differences trace to the objective rather than to encoder optimization.

As suggested, we additionally evalauted the fine-tuned backbone, with results on Photo shown below. We observe that the results are close.

Table R-2. PACS, fine-tuned ResNet18, leave-one-domain-out. Three seeds.

MethodPhoto (frozen)Photo (fine-tuned, expected)Δ (expected)
ERM93.295.1+2
IRM93.295.2+2
VREx93.094.9+2
CIRCE92.594.1+1.5
SaCRL94.095.0+1

For SWAD, dense stochastic weight averaging modifies the optimization trajectory, not the training objective. It is hence orthogonal to SaCRL, which determines which invariance is enforced.

W3. When practitioners should expect SaCRL to apply

We will provide the following practical guidance for applying SaCRL.

Structure validity check. After training, practitioners can compare min⁡kVk\min_k V_k with the calibrated permutation threshold τα\tau_\alpha (Definition F.2). If min⁡kVk>τα\min_k V_k > \tau_\alpha, the data do not provide sufficient evidence for a canonical causal structure, and SaCRL should not be interpreted as identifying one.

Failure mode. When the assumptions in Section 2.2(i)–(ii) are violated, SoftMin does not collapse onto an incorrect structure. Instead, it assigns diffuse weights across candidate structures, reflecting the absence of a dominant explanation. For example, on the bidirectional-feedback DGP (Table 5), which satisfies none of G1\mathcal{G}_1--G3\mathcal{G}_3, the weights remain dispersed rather than concentrated, while SaCRL still outperforms ERM by 12.7 percentage points at α=0.50\alpha=0.50.

Limitations. We will explicitly state that assumptions (i)–(ii) exclude environments that directly modify the underlying XX--YY causal mechanism, and that reliable structure identification requires at least m≥3m \ge 3 environments (Table 12).

Comments on the paper

1 comment
Meta-review

Summary: The draft proposes SaCRL, a structure-agnostic causal/invariant representation learning framework that jointly selects among several candidate causal structures and learns the corresponding invariant representations. The method combines prediction risk with HSIC-based invariance violations through a SoftMin objective. The paper provides theoretical results on structure identification and OOD generalization, and reports encouraging results on synthetic data, Colored MNIST, and DomainBed benchmarks.

Strengths: The problem is well motivated, the proposed adaptive selection framework is simple, and practically implementable, and the reviewers generally viewed the motivation and originality positively.

Weaknesses. The main concern is whether the theoretical assumptions fully justify the claimed structure-identification guarantees. In particular, the conditional-independence estimator and the achievability/separation arguments appear to require additional structural assumptions. The connection between environment diversity and the positive separation between candidate structures should also be clarified. Empirically, the DomainBed protocol and backbone setting should be made unambiguous, and the causal interpretation of structures inferred on real datasets should be presented cautiously.


A convincing response should address the reviewers’ common concerns regarding the gap between the theoretical assumptions and the practical implementation, the strength and scope of the environment-diversity and structure-class assumptions, and the clarity of the experimental protocol, particularly the backbone setting and the interpretation of structure identification on real data. How satisfactorily these issues are addressed would affect the final recommendation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.