Attention-Based Neural Causal Models under Markov Equivalence
Adiba Ejaz, Yushu Pan, Hongshuo Yang, Elias Bareinboim
NeurIPS 2026
Abstract. Neural causal models can simulate interventions in complex, high-dimensional settings, but typically require a known causal graph. Observational data, however, generally identifies only a Markov equivalence class of graphs, represented by a CPDAG, and causal queries may vary across DAGs in that class. We introduce \textit{Masked Neural Causal Models }(NCMs), a provably expressive nonparametric framework for simulating and bounding interventional queries over all models compatible with a given CPDAG given observational data. We give an optimization objective in the space of Masked NCMs that asymptotically recovers the true bounds of the causal effect. To enable this optimization in practice, we introduce an attention-based architecture and a novel optimization strategy that recovers highly accurate bounds in discrete nonparametric settings.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies interventional queries in the common situation where observational data identify the causal graph only up to a Markov equivalence class, represented by a CPDAG. It introduces Masked Neural Causal Models, a nonparametric class that searches jointly over the graph structures consistent with the CPDAG and over neural mechanisms, together with an optimization objective that recovers lower and upper bounds on an interventional query. The approach uses an attention-based architecture with a search over topological orders, and is evaluated on discrete nonparametric benchmarks including a simulated Barley network.
The reviewers find the formulation appealing and the problem important and well motivated, but initially raised some concerns regarding incomplete evaluation (additional baselines and robustness), an open claim regarding whether fitted acyclic masks must lie in the equivalence class, and more extensive discussion of limitations.
The authors have provided an extensive rebuttal, which successfully addressed all the reviewers concerns, and after the rebuttal all reviewers are positive about acceptance.
The authors should add the additional experiments (robustness and enumeration baseline) and the proof supplied during the rebuttal to the revised manuscript, and more clearly articulate the distinct novelty of the proposed approach and its limitations, as they have done in their response. To the extent feasible, they should ideally also include more explicit guidance on the method's behavior when its assumptions are violated, e.g., in settings with incomplete knowledge of the underlying CPDAG (the additional experiments where the equivalence graph is learned using PC are relevant for this).
With these feasible additions, the paper will be good addition to the conference program.
Final justification
The meta-review contains the updated justification.
- Final justification
- The meta-review contains the updated justification.
Read meta-review
Meta-review
The paper studies interventional queries in the common situation where observational data identify the causal graph only up to a Markov equivalence class, represented by a CPDAG. It introduces Masked Neural Causal Models, a nonparametric class that searches jointly over the graph structures consistent with the CPDAG and over neural mechanisms, together with an optimization objective that recovers lower and upper bounds on an interventional query. The approach uses an attention-based architecture with a search over topological orders, and is evaluated on discrete nonparametric benchmarks including a simulated Barley network.
The reviewers find the formulation appealing and the problem important and well motivated, but initially raised some concerns regarding incomplete evaluation (additional baselines and robustness), an open claim regarding whether fitted acyclic masks must lie in the equivalence class, and more extensive discussion of limitations.
The authors have provided an extensive rebuttal, which successfully addressed all the reviewers concerns, and after the rebuttal all reviewers are positive about acceptance.
The authors should add the additional experiments (robustness and enumeration baseline) and the proof supplied during the rebuttal to the revised manuscript, and more clearly articulate the distinct novelty of the proposed approach and its limitations, as they have done in their response. To the extent feasible, they should ideally also include more explicit guidance on the method's behavior when its assumptions are violated, e.g., in settings with incomplete knowledge of the underlying CPDAG (the additional experiments where the equivalence graph is learned using PC are relevant for this).
With these feasible additions, the paper will be good addition to the conference program.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a masked neural causal model (NCM), a nonparametric neural framework for simulating and bounding interventional effects in structural causal models, compatible with partial knowledge of the underlying causal graph that matches the observational data (i.e., the graphs in the Markov equivalence class). Based on an optimization procedure and an attention-based architecture, the paper shows that masked NCM can represent any SCM subject to acyclicity and v-structure constraints, thereby recovering the interventional bounds in discrete settings.
Strengths and weaknesses
- Relaxes NCM's requirements of needing complete knowledge of the underlying causal graph
- Learns full mechanisms for sampling not only observational distributions but also interventional and counterfactual ones, fully covering Pearl’s causal ladder, not limited to linear Gaussian data or additive noise.
- Designed for discrete-only settings, which may represent an issue in cases with mixed and high-dimensional data.
- The Markovian assumption is usually unfeasible in many real-world settings, which may
- In some settings, it can be simpler to train a vanilla NCM by sampling the DAGs from the equivalence class rather than a masked NCM, and the current version of the work misses such a comparison.
Questions
- What is the result when using NCM and computing the bounds afterward?
- What would be the result if the CPDAG is also miss-specified?
- Many deep structural causal models would be a better fit for comparison with the masked NCM. Can the paper also specify the underlying assumptions that masked NCM experiments aim to address independently of a benchmark dataset, and present results for the evaluated approach, including NCM and other DSCM methods?
Limitations
- As the work is an extended version of NCM, it should compare the results with it.
- It should explicitly state the assumptions and goals that masked NCM experiments aim to analyze independently of the benchmark, and then evaluate performance by considering other DSCM methods.
- Mixed and multimodal data are not covered by masked NCM, and high dimensionality poses an issue for it.
Final justification
I have read the other reviews as well as the authors' detailed responses to the questions raised during the review and discussion phases. While I would still like to see an evaluation of the proposed NCM under non-standard causal analysis assumptions, or at least more explicit guidance on its behavior when these assumptions are violated—for example, in settings with incomplete or misspecified knowledge of the underlying CPDAG, the authors' responses have addressed my concerns to improve my overall assessment. I therefore raise my recommendation to borderline acceptance.
Formatting concerns
No
4 comments
Rebuttal: Sampled DAG baseline, robustness to CPDAG misspecification, and limitations
We thank the reviewer for their valuable feedback. Below, we address their concerns.
W3, Q1: Sampling DAGs + vanilla NCM
“In some settings, it can be simpler to train a vanilla NCM by sampling the DAGs from the equivalence class rather than a masked NCM, and the current version of the work misses such a comparison.”
We have already included this important baseline in the current version as the G-NCM method (lines 288-289, 329-330). The Attention E-NCM substantially outperforms this approach in accuracy (Figs. 1, 4). Additionally, upon reviewer XqB3’s suggestion, we also included a baseline that enumerates all DAGs in the MEC and trains a G-NCM for each; results can be found in our response to reviewer XqB3. This exhaustive enumeration baseline offers only modest improvement in accuracy over the sampling baseline at a sharp runtime cost, while still being less accurate than our proposed attention-based approach.
Q2: Misspecified and PC-learned CPDAGs
“What would be the result if the CPDAG is also miss-specified?”
We conducted two additional experiments evaluating the sensitivity of our approach given (a) controlled misspecification and (b) CPDAGs learned using the PC algorithm.
I. Controlled misspecification
We tested four types of misspecification for the Square graph: (i) addition of , (ii) addition of , (iii) deletion of , and (iv) misoriented CPDAG , , , .
| CPDAG setting | Method | Lower bound MAE | Upper bound MAE | Avg MAE |
|---|---|---|---|---|
| oracle / true MEC | Sampling G-NCM | 0.021375 | 0.012650 | 0.017013 |
| Attention E-NCM | 0.0097 | 0.0098 | 0.0098 | |
| (i) added | Sampling G-NCM | 0.017774 | 0.017839 | 0.017806 |
| Attention E-NCM | 0.0098 | 0.0104 | 0.0101 | |
| (ii) added | Sampling G-NCM | 0.024617 | 0.034029 | 0.029323 |
| Attention E-NCM | 0.0079 | 0.0071 | 0.0075 | |
| (iii) deleted | Sampling G-NCM | 0.082228 | 0.028098 | 0.055163 |
| Attention E-NCM | 0.0718 | 0.0110 | 0.0414 | |
| (iv) misorientation | Sampling G-NCM | 0.065313 | 0.024888 | 0.045101 |
| Attention E-NCM | 0.0741 | 0.0109 | 0.0425 |
We found the accuracy of our attention-based approach to change very little in (i) and (ii). In (iii) and (iv), accuracy degrades more sharply from MAE 0.0098 to MAE . This asymmetry is expected, since an overspecified model may still fit the observational data, whereas an underspecified or misoriented model can not. The Attention E-NCM remains the most accurate under each setting.
II. PC-learned graphs
We also evaluated the full pipeline in which the supplied CPDAG is estimated using PC. For each Chain and Square data-generating process, we estimated a CPDAG using causal-learn, a chi-squared conditional-independence test, and , at discovery sample sizes and .
Regarding CPDAG recovery accuracy: PC recovers the chain MEC correctly in all except one trial, where it incorrectly learns a collider graph. The square graph is more challenging, and PC never recovers the true MEC, though increasing sample size from to improves mean Structural Hamming Distance (SHD) from 3.20 to 2.60.
| CPDAG Setting | Graph | Method | Lower bound MAE | Upper bound MAE | avg MAE |
|---|---|---|---|---|---|
| oracle | chain | G-NCM (sampling / exhaustive) | 0.015649 | 0.011748 | 0.013699 |
| Attention | 0.0029 | 0.0045 | 0.0037 | ||
| square | G-NCM (sampling / exhaustive) | 0.021375 | 0.012650 | 0.017013 | |
| Attention E-NCM | 0.0097 | 0.0098 | 0.0098 | ||
| PC | chain | G-NCM (sampling / exhaustive) | 0.016897 | 0.042641 | 0.029769 |
| Attention | 0.0029 | 0.0338 | 0.0182 | ||
| square | G-NCM (sampling / exhaustive) | 0.055404 | 0.012904 | 0.034154 | |
| Attention | 0.0514 | 0.0100 | 0.0307 | ||
| PC | chain | G-NCM (sampling / exhaustive) | 0.015649 | 0.011748 | 0.013699 |
| Attention | 0.0029 | 0.0045 | 0.0037 | ||
| square | G-NCM (sampling / exhaustive) | 0.011719 | 0.017028 | 0.014374 | |
| Attention | 0.0091 | 0.0097 | 0.0094 |
At , errors increase relative to the oracle-input setting: from 0.00370 to 0.01820 on Chain and from 0.00980 to 0.03070 on Square. Attention E-NCM nevertheless remains more accurate than the fixed-DAG baseline for both graphs. At , Attention E-NCM’s errors return to approximately the oracle-CPDAG levels, including for the Square graph, where the PC algorithm never recovers the true MEC. These experiments provide evidence for the feasibility of our method given learned CPDAGs.
Continued in next comment.
Continuation of rebuttal.
Q3: Additional deep SCM baselines
“Many deep structural causal models would be a better fit for comparison with the masked NCM.”
We hope that our clarification of W3, Q1 above addresses how we include other DSCM baselines [27, 28] in our work. We welcome any recommendations for additional baselines that the reviewer believes to be insightful and relevant.
W1, W2, Limitations: discreteness, high-dimensionality, and Markovianity
“Mixed and multimodal data are not covered by masked NCM, and high dimensionality poses an issue for it.”
We would like to emphasize that discreteness and Markovianity are standard assumptions in the field. We inherit the discreteness assumption from G-NCMs [27, 28], the approach we build on, whose theoretical guarantees also rest on the assumption of discreteness. Moreover, these methods have been successfully applied to high-dimensional continuous (e.g., image) data despite this theoretical assumption [a, b]. Our attention-based architecture (Sec. 4.2) recovers bounds with high accuracy even given high-dimensional covariates (Fig. 2) and large graphs (Fig. 4) in our experiments.
“The Markovian assumption is usually unfeasible in many real-world settings.”
A vast literature in causal discovery assumes Markovianity, including widely used algorithms such as PC, GES, NoTears, and LinGAM, whose learned CPDAGs can be used in our approach. That being said, we agree Markovianity may not hold in many real-world settings, and will discuss this as a direction for future work.
Limitations
We address the NCM comparison, other DSCM baselines, and mixed / high-dimensional data above. Regarding the suggestion to
explicitly state the assumptions and goals that masked NCM experiments aim to analyze independently of the benchmark
we welcome any specific pointers to where the goals and assumptions of our experiments are unclear. The current manuscript specifies the data-generating process (lines 282-287) as well as the goal of recovering accurate bounds on the query, including in high-dimensional (Fig. 2) and large-graph (Sec. 5.2) settings.
Conclusion
We hope these clarifications have addressed the reviewer’s main questions about a vanilla G-NCM baseline, CPDAG misspecification, and comparison with DSCM baselines. We request the reviewer to reconsider our work in the light of the above.
[a] Pan, Y. and Bareinboim, E. Counterfactual image editing. ICML 2024.
[b] Li, M., Zhang, J. and Bareinboim, E. Causal Flow Q-Learning for Robust Offline Reinforcement Learning. ICML 2026.
Thank you for the detailed response and the substantial additional experiments. My main concerns have been addressed, and I will revise my score accordingly.
We are happy that our response addressed the reviewer's concerns, and thank them again for their thoughtful review and for revising their score.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes Masked Neural Causal Models to handle interventional queries when only observational data is available (without the DAG). The paper also supports these models theoretically using variants of prior theory. The results are validated on real and synthetic datasets.
Strengths and weaknesses
Strengths:
The paper is presented fairly well. The application is interesting and will be of interest to at least a significant portion of the NeurIPS audience.
Weaknesses:
There aren't any major weaknesses. But I wish there were more comparisons with other neural causal models. Also, as of now, there is not much to learn from this paper, as the individual components are mostly taken directly from prior works. If my understanding of the contributions is wrong, please correct me. Some typos and minor errors are listed below:
-
line 39: "compatible [with] the learned"
-
lines 38-40: intervening on X will affect Y in both the DAGs.
-
It might be better to expand "IDA" at least once in the paper. Of the three cited references in line 58, only one paper says what "IDA" stands for (and it is not the one that proposed "IDA").
-
line 89: Shouldn't it be dom(Pa_i) \cup(union) dom(U_i)?
Questions
- In the definition of SCM (lines 77-83), are unobserved variables considered? If not, the last line (about "Markovian") in the SCM paragraph in Sec. 2.2 is a bit misleading.
- Thm. 2 (which is taken from [30], Thm. 1) uses "tr(e^m)". But the original theorem uses "tr(e^{m\circ m})", that is, the matrix exponential after the Hadamard product with itself.
- Is it possible to compare with Causal-FM [a] or CausalPFN [b], as these models outperform Do-PFN?
- Is it possible to compare against other neural causal models (e.g., [27] or [28])?
[a] Ma et al., "Foundation Models for Causal Inference via Prior-Data Fitted Networks", ICLR 2026. [b] Balazadeh et al., "CausalPFN: Amortized Causal Effect Estimation via In-Context Learning", NeurIPS 2025.
Limitations
No. The paper checklist says the limitations are included, but the experiment mentioned as supporting the limitations and the discussion are missing.
Final justification
Since the authors have answered my concerns, I will keep my positive score.
Formatting concerns
No concerns
7 comments
Rebuttal: Novelty clarification, amortized and NCM baselines, and technical clarifications
We thank the reviewer for their positive assessment of our work. We appreciate the points about novelty, baselines, and notation and exposition. We address them below.
W1: Novelty and insight
“... there is not much to learn from this paper, as the individual components are mostly taken directly from prior works.”
We respectfully disagree with the reviewer on this point. First, we introduce a novel problem formulation of causal generative modeling when the causal graph is known only up to a Markov equivalence class. Prior work on NCMs in [27, 28] does not account for uncertainty in the graph structure, instead operating under a fully specified DAG. Prior CPDAG-based methods do not offer generative models capable of sampling interventional distributions [11, 12, 13]. Masked NCMs allow the structure and neural parameters to be optimized jointly while retaining the expressiveness and theoretical guarantees of standard NCMs.
Next, we also emphasize that the individual components are not taken directly from prior work, and wish to highlight two aspects:
- Parameterizing NCMs using attention mechanisms, and imposing structural constraints via a mask. In our work, these constraints come from a supplied CPDAG, but our parameterization can also incorporate a fully-specified DAG or prior knowledge of edges.
- RL-based search over DAGs that enforces acyclicity by design. This search strategy may be leveraged for optimization in DAG space for purposes besides bounding queries, e.g., for causal discovery.
W2: Typos and minor errors
We thank the reviewer for bringing these to our attention. We will make the suggested corrections and carefully review typos and notation for our final manuscript, if accepted.
Q1: SCM definition and unobserved variables
“In the definition of SCM (lines 77-83), are unobserved variables considered? If not, the last line (about "Markovian") in the SCM paragraph in Sec. 2.2 is a bit misleading.”
Our definition does include unobserved variables through . Generally, such unobserved variables need not be jointly independent and may affect more than one observed variable. So, this is the general definition of SCM. Still, as stated in lines 81-83, we restrict to Markovian SCMs where such independence holds. We hope this clarifies the meaning of Markovianity.
Q2: Matrix exponential in Thm. 2
“Thm. 2 (which is taken from [30], Thm. 1) uses . But the original theorem uses , that is, the matrix exponential after the Hadamard product with itself.”
We thank the reviewer for pointing this out. Since our masks are nonnegative by construction, we do not require the Hadamard product. We will state this as a separate proposition with proof, and describe it as an adaptation of [30], rather than an exact restatement of its theorem.
Q3: Comparison with Causal-PFN and Causal-FM
“Is it possible to compare with Causal-FM [a] or CausalPFN [b], as these models outperform Do-PFN?”
We initially selected Do-PFN because it was the closest amortized comparison available for estimating causal effects directly from observational data without being provided the true DAG. In contrast, Causal-PFN requires an adjustment set, and Causal-FM requires the user to specify the estimand type (frontdoor, backdoor, IV) and the identifying set. Moreover, Do-PFN does not assume identifiability, unlike the other methods, a key aspect shared with our framework.
From a practical point of view, the reviewer’s question motivated us to compare our method against Causal-PFN. The results below will also be included in the final manuscript. While Causal-PFN does significantly improve accuracy over Do-PFN, the Attention E-NCM has 5.9-18.7x lower MAE than Causal-PFN. In each case, the adjustment covariates provided to causal PFN is the set of observed variables excluding and .
| Graph | Method | Lower bound MAE | Upper bound MAE | Avg MAE |
|---|---|---|---|---|
| chain | CausalPFN | 0.0290 | 0.1093 | 0.0692 |
| Do-PFN | 0.3554 | 0.2587 | 0.3071 | |
| Attention E-NCM | 0.0029 | 0.0045 | 0.0037 | |
| 3-clique | CausalPFN | 0.0768 | 0.0487 | 0.0627 |
| Do-PFN | 0.1912 | 0.2143 | 0.2028 | |
| Attention E-NCM | 0.0110 | 0.0074 | 0.0092 | |
| kite | CausalPFN | 0.0858 | 0.0898 | 0.0878 |
| Do-PFN | 0.2573 | 0.2040 | 0.2307 | |
| Attention E-NCM | 0.0083 | 0.0072 | 0.0078 | |
| square | CausalPFN | 0.0830 | 0.0494 | 0.0662 |
| Do-PFN | 0.2213 | 0.2147 | 0.2180 | |
| Attention E-NCM | 0.0092 | 0.0134 | 0.0113 |
The Causal-FM models released and evaluated in the paper are trained on CATE estimation, while our experiments benchmark estimation of (equivalently, for binary ). Applying Causal-FM for our setting would, to our knowledge, require retraining their model.
Continued in next comment.
Continuation of rebuttal
Q4: additional neural causal baselines
“Is it possible to compare against other neural causal models (e.g., [27] or [28])?”
Indeed, references [27] [28] form the foundation of our work. These references consider estimation given a fully specified DAG, whereas we consider estimation given an MEC. As such, they are not directly comparable.
The G-NCM baseline in our paper is exactly the FF-NCM proposed in [27, 28], trained on different DAGs sampled from the MEC. Following reviewer XqB3’s suggestion, we also included a baseline that enumerates all DAGs in the MEC and trains a G-NCM for each; see our response to this reviewer for the results. In summary, the newly proposed attention-based method significantly outperforms both approaches in accuracy.
Limitations
We appreciate the reviewer’s recommendation to include a more detailed discussion of limitations, and will do so in our revised version.
Conclusion
We hope the above clarifications and additional experiments strengthen the reviewer’s positive assessment of the work. We thank the reviewer again for their thoughtful comments, and we would be happy to provide further clarification if needed.
Response from the reviewer
I thank the authors for their detailed response. Their answers have addressed all my concerns. But I wish to point out that RL for DAG discovery is not a new topic. See the related works section of "MARLIN: Multi-Agent Reinforcement Learning for Incremental DAG Discovery".
But I also have a general question about neural causal models. How are NCMs different from the decoder of an identifiable VAE?
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In generative modeling, observational data typically allow us to identify the causal graph only up to a Markov equivalence represented by a CPDAG. To allow for the ambiguity in the underlying Markov equivalence structure, the authors introduce Masked Neural Causal Models, a class of expressive non-parametric causal models that allow one to compute lower and upper bounds on interventional probabilities. In this direction, the paper proposes an optimization objective in the spaces of masked NCMs that asymptotically computes the true bounds. The authors propose an attention-based implementation that achieves strong performance on several discrete nonparametric benchmarks.
Strengths and weaknesses
Strengths
- The paper studies an important problem that is motivated by a real practical scenario: observation data, which are typically abundant, can only identify the causal graph up to a Markov equivalence, but interventional queries of interest require knowledge of the true structure.
- The theoretical framework is appealing and the proposed formulation, which reduces interventional bounds to constrained optimization, an insightful contribution. I liked how t combines search over causal graph structure together with search over neural mechanisms in a single formulation. I also liked how the formulation naturally incorporates the minimum and maximum bounds by just flipping a sign in the optimization objective.
- The attention-based implementation of masked NCMs and RL/topological-order search is an intuitive but clever idea with good novelty.
- The empirical evaluation compares against multiple baselines and is promising as a proof of concept.
- Extensive theoretical analysis that mostly looks correct.
Weaknesses
- Clarity could be improved. For instance, the neural causal models subsection in Section 2.2 defines exogenous variables to be continuous but elsewhere in the paper they are summed instead of taking the integral (e.g., in Definition 4). Theorem 3 supposedly optimizes over but then uses notation , without having first defined what that is.
- The loss involving observational valuations and interventional query targets is potentially confusing, especially because the interventional target is not real interventional data but an artificial direction used to push the query up or down. The paper would benefit from a clearer algorithmic description of the min-bound and max-bound procedures, including exactly what is sampled, what is intervened on, and how the bound direction enters the objective.
- There seem to be some quality issues in the theory. For the E-subspace, the authors note that "As it turns out, this constraint is not needed in order to derive optimal interventional bounds from CPDAGs (Def. 1) via masked NCMs." This seems to be based on the idea that under faithfulness, when the NCM fits the observational data, its induced DAG must fall under the Markov equivalence class. However, is that formally proved in the paper? I think the paper should try to prove "Any acyclic mask satisfying the constraints and exactly fitting a distribution faithful to E must automatically have the same adjacencies as E, and therefore must lie in the MEC.” (or something along these lines). But this was never shown formally to the best of my understanding.
- The main experiments assume knowledge of the true MEC. But in practice, the CPDAG can be learned with imperfect precision from finite data. Furthermore, the baselines are rather limited. G-NCM samples only 3 DAGs from the MEC, which is a small number. Do-PFN is not well tailored (as the authors themselves admit) due to its mismatch to their discrete non-parametric data-generating process. Additionally, there is no exhaustive MEC-enumeration baseline on the small graphs, even though those settings seem small enough to permit it. Finally, I feel that some key aspects were not covered: execution time, scaling with MEC size, sensitivity to hyperparams, robustness to CPDAG errors (and possibly more).
Questions
- Can the authors strengthen the empirical comparison with a more direct small-scale baseline? On the small MECs, exhaustive enumeration of all DAGs in the MEC would help determine whether the proposed masked/RL optimization is actually finding the extrema rather than merely outperforming weak graph sampling. This experiment should be feasible for the small graphs already used.
- Can the authors show that, under faithfulness, when the NCM fits the observational data, its induced DAG must fall under the Markov equivalence class? (see also my point above)
- Can the authors report execution time, sensitivity to hyperparams, robustness to CPDAG errors?
I would raise my score to at least a Weak Accept if the authors could address these questions.
Limitations
I feel the authors can add a dedicated limitations section covering, for instance:
- The method assumes the CPDAG/MEC is given and correct, but in practice it would be learned from finite observational data and may contain missing, extra, or wrongly oriented compelled edges.
- Since the method effectively searches over graph structures and neural mechanisms, the authors should discuss scaling with number of variables, MEC size, domain size, and number of causal queries.
- The experiments are mostly synthetic and discrete, with a simulated Barley-network example. The authors should acknowledge that real-world performance under model misspecification and CPDAG-estimation error remains untested.
Final justification
I have raised my score to accept. The paper addressed my main concerns as follows:
- The authors have shown convincingly that the induced DAG must fall under the Markov equivalence class, under their assumptions.
- The enumeration baselines provide some good evidence that the proposed masked/RL optimization is actually finding solutions close to the extrema.
- The runtime and hyperparameter studies are also useful. The Barley results support the claim that separate graph-constrained NCM training can become expensive even when the MEC itself is not enormous.
My main concern previously was theory, which has now been addressed. Furthermore, I feel that the paper studies an important problem that is motivated by a real practical scenario, while the theoretical framework is appealing and the proposed formulation, which reduces interventional bounds to constrained optimization, an insightful contribution.
Based on all that, I am eager to raise my score to 5.
Formatting concerns
No major issue noticed.
5 comments
Rebuttal: Updated theoretical results, misspecification and ablation experiments, and enumeration baseline
We thank the reviewer for recognizing our contributions and for offering concrete suggestions to improve our work. In light of the clarifications and new results below, we respectfully ask the reviewer to reconsider their assessment.
W1, W2: Clarity and notation
We thank the reviewer for noting these ambiguities.
Def. 4 applied to the neural parameterization would indeed use an integral. More generally, we will use a sum or integral depending on whether the exogenous variables are discrete or continuous. In Thm. 3, should be .
“The loss … is potentially confusing … is not real interventional data but an artificial direction”
The reviewer's interpretation is correct and matches lines 195–196. We use the query loss of Sec. 4 in [27, 28]. Our sampling follows Alg. 2 of [28], a subroutine in Alg. 1 of our work. Both methods begin by sampling exogenous ; they differ only in how the obs fitting and query terms are formed.
FFN. For the obs fit, we evaluate the NCM for and minimize its discrepancy from the data . To obtain the query , we replace the structural function of each by the constant , and evaluate using the intervened NCM. To maximize the query, we minimize the discrepancy between the generated query and a point mass at ; negate the sign to minimize. Attention. The obs term is the negative log-likelihood (NLL) of the batch, marginalizing by Monte Carlo. The query term adds or subtracts the sampled query probability directly in the loss/reward.
Because the two terms differ in scale and meaning, a hyperparameter balances them during training; see the ablation in Hyperparameter sensitivity. We will add explicit pseudocode for this procedure.
W3, Q2: Why a learned mask must belong to the supplied MEC
“Can the authors show that … the induced DAG must fall under the Markov equivalence class?”
We appreciate the opportunity to make this argument explicit.
Let be the true DAG, its CPDAG, and suppose is faithful to . Consider a masked NCM learned via the optimization in Thm. 3. Let denote the DAG induced by , and suppose that the masked NCM fits the observational distribution exactly.
We show that .
By Def. 5, cannot contain any adjacencies absent in . Therefore, the skeleton of is a subgraph of that of . Suppose it is a strict subgraph. Then, there is a non-adjacent pair in that is adjacent in E. Since are adjacent in , and is faithful to , and are not conditionally independent given any set of variables in . However, there exists a d-separating set for and in . Since the distribution induced by must be Markov w.r.t. (being matched by a standard SCM inducing by Thm. 1), this means and can be made conditionally independent in . This contradicts .
Thus, and have the same skeleton. It remains to show they have the same unshielded colliders. Any unshielded colliders in must be in by construction (Def. 5). Conversely, the non-collider constraint (Prop. 1) ensures that any unshielded colliders in are also unshielded colliders in . Since two graphs are Markov equivalent iff they have the same skeleton and unshielded colliders, this concludes the proof.
W4, Q1: Enumeration baseline
“Exhaustive enumeration of all DAGs in the MEC would help determine whether the proposed masked/RL optimization is actually finding the extrema.”
We thank the reviewer for this suggestion and have added this baseline. Exhaustive enumeration only modestly improves the average endpoint MAE over the sampling baseline by 2.6% on 3-Clique and 14.4% on Kite, while increasing runtime by factors of approximately 2.0 and 2.4, respectively. The competitiveness of sampling is consistent with the fraction of the MEC covered by sampling: the baseline covers the full MEC in all 30/30 runs for Chain and Square, and 50% of the 3-Clique MEC and 30% of the Kite MEC in each run.
| Method | Graph | Lower bound MAE | Upper bound MAE | Average MAE | Average time/run (s) |
|---|---|---|---|---|---|
| Enumeration | 3-Clique | 0.031062 | 0.05142 | 0.041242 | 263.51 |
| Enumeration | Kite | 0.033053 | 0.022411 | 0.027732 | 465.64 |
| Sampling (k=3) | 3-Clique | 0.026921 | 0.057744 | 0.042333 | 130.57 |
| Sampling (k=3) | Kite | 0.024995 | 0.039774 | 0.032384 | 194.45 |
Continued in next comment.
Continuation of rebuttal
W4, Q3A: Runtime
We thank the reviewer for requesting runtime results. The sampled G-NCM baseline is faster only for small graphs. On the 48-node Barley graph, the baseline takes 25.12h against 9.44h (FF E-NCM) and 16.70h (Attention E-NCM), so it is roughly 2-3x slower there, and less accurate than Attention E-NCM in that setting (Fig. 4). Below, we report average epoch duration and average total training time.
| Method / Graph | Chain: epoch (s) | Chain: total (min) | 3-Clique: epoch (s) | 3-Clique: total (min) | Square: epoch (s) | Square: total (min) | Kite: epoch (s) | Kite: total (min) | Barley: epoch (s) | Barley: total (hr) |
|---|---|---|---|---|---|---|---|---|---|---|
| Sampling G-NCM (k=3, 5 for Barley) | 2.83 | 18.65 | 2.62 | 17.21 | 2.91 | 18.71 | 3.17 | 20.54 | 361.77 | 25.12 |
| FF E-NCM | 4.12 | 56.12 | 3.85 | 45.97 | 3.58 | 46.58 | 4.55 | 64.65 | 306.3 | 9.44 |
| Attention E-NCM | 4.36 | 68.68 | 5.75 | 100.67 | 3.91 | 45.58 | 6.50 | 142.35 | 653.48 | 16.70 |
W4, Q3B: Hyperparameter sensitivity
We conducted additional experiments evaluating the sensitivity of Attention E-NCM to two key hyperparameters.
I. Query weight
The reward used during structure search has an observational-fit term and a query term: and $ \lambda_q\cdot s\log Q_{\theta,m}$ where is the target interventional query under the sampled mask , selects min or max, and penalizes poor observational fit under structure and parameters .
To test sensitivity to this balance, we fixed and swept $ \lambda_q\in$ {} on the Kite graph.
| 0 | 0.001 | 0.01 | 0.05 | 0.1 | 0.5 | 1 | 5 | |
|---|---|---|---|---|---|---|---|---|
| Lower MAE | 0.0829 | 0.1645 | 0.1294 | 0.0022 | 0.0011 | 0.0014 | 0.0014 | 0.0006 |
| Upper MAE | 0.0870 | 0.0055 | 0.0063 | 0.0054 | 0.0056 | 0.0064 | 0.0061 | 0.0064 |
| Average MAE | 0.0849 | 0.0850 | 0.0679 | 0.0038 | 0.0033 | 0.0039 | 0.0037 | 0.0035 |
For , the query signal is too weak to recover both extrema reliably. A sharp transition occurs at where the average endpoint MAE falls below , and each endpoint MAE is below . Performance then remains stable for the range . Thus, the Attention E-NCM is insensitive to the choice of provided it exceeds a certain threshold.
II. Exploration-entropy weight
In the RL objective, the entropy bonus $ -\beta_H H(q_\rho) $ encourages the structure policy to maintain a diffuse distribution over topological orders rather than committing prematurely to an order favored by initialization. We swept {0,0.05,0.5,5,50} on the Chain graph.
| Lower AE (mean) | Lower AE (worst) | Upper AE (mean) | Upper AE (worst) | Average AE (mean) | Average AE (worst) | |
|---|---|---|---|---|---|---|
| 0 | 0.0078 | 0.0272 | 0.0072 | 0.0310 | 0.0075 | 0.0291 |
| 0.05 | 0.0071 | 0.0141 | 0.00445 | 0.0153 | 0.0058 | 0.0148 |
| 0.5 | 0.0068 | 0.0140 | 0.00513 | 0.01618 | 0.0060 | 0.0151 |
| 5 | 0.0063 | 0.0115 | 0.0063 | 0.01982 | 0.0063 | 0.0157 |
| 50 | 0.0082 | 0.0123 | 0.00575 | 0.01254 | 0.0070 | 0.0124 |
Mean AE is nearly constant across the entire range, but the worst-case AE of is much larger than the others. An exploration bonus thus reduces sensitivity to random initialization, but its weight does not play a major role as long as it is positive.
W4, Q3C: Robustness to CPDAG errors and learned CPDAGs
We conducted two additional experiments:
- controlled misspecification of the true CPDAG; and
- CPDAGs learned from observational data via PC.
Results are in our response to Reviewer oARH. In summary, Attention E-NCM remains the most accurate method under controlled misspecification. With learned CPDAGs, accuracy is, in the majority of cases, comparable to the oracle-CPDAG level despite imperfect structure learning.
Limitations
Regarding CPDAG misspecification in limitations (i) and (ii): we discuss this above and will include it in the paper. Regarding scaling behaviour in (ii), we present scaling with the number of variables and MEC size for the Barley network (48 nodes, 96 DAGs in the MEC) in Sec. 5.2, also discussed above; we present results for larger domain sizes (8-dimensional covariates) in Fig. 2. Regarding real-world data in (iii), we adopt standard practice in causal discovery and inference evaluation and use expressive simulations due to absence of datasets with ground truth.
Conclusion
Above, we have added the requested theoretical and empirical results. We hope these additions directly address the reviewer’s concerns and support reconsideration toward acceptance.
Follow-up on rebuttal
We would like to respectfully check in to confirm that our rebuttal has resolved the reviewer's concerns. If not, we would greatly appreciate if the reviewer could share their concerns before the end of the discussion period.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for their careful meta-review. In our rebuttal, we address the concrete additions suggested by the reviewers, summarized below.
Stronger baselines.
Proof that any acyclic mask fitting a faithful distribution must lie in the equivalence class (requested by XqB3). We have included a full proof of this statement in our response to XqB3, Sec. W3, Q2.
Robustness to an imperfect CPDAG, runtime, and scaling. (requested by XqB3, oARH). We have added two experiments studying how well our method performs given (a) a synthetically misspecified CPDAG and (b) CPDAGs learned by the PC algorithm. Full results can be found in our response to oARH, Sec. Q2.
Novelty and clarity. We have addressed the novelty concerns of reviewer mUhm (Sec. W1), highlighting our novel (a) problem formulation, (b) attention-based parameterization of NCMs, and (c) RL-based search that enforces acyclicity by design. In our response, we highlight how (b) and (c) are techniques that can be used for other problems, including identification given a fully specified graph and causal discovery. We do not believe these to be “individual components are mostly taken directly from prior works,” and welcome any references that suggest otherwise. Our individual responses also address specific concerns about notation, definitions, the optimization procedure, and the matrix-exponential result.
Limitations. We address the limitations raised by reviewers in the individual responses and will add discussion in the paper of:
We believe we have addressed all the concerns raised by the reviewers. We thank everyone for a fruitful discussion in service of improving the quality of our work and are happy to provide further clarification.