potentialpaper

Environment-Robust Representation Learning with Empirical Bayes

Yuli Slavutsky, Matthew Shen, Bohan Wu, David Blei

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. An empirical-Bayesian variational method for prediction in multi-environment settings, that learns robust representations by modeling and marginalizing environment-effects.

Abstract. We consider multi-environment prediction problems. We assume the environments change the distribution of a latent variable, while the mechanisms generating observed covariates and targets remain stable conditional on that variable. For example, hospitals or clinical cohorts may differ in the prevalence of latent patient states, even though the relationships between those states, physiological measurements, and outcomes remain unchanged. Given a dataset from multiple environments, we formulate a Bayesian model for such problems and derive the corresponding variational objective. We show that this objective decomposes into per-environment terms and an additional cross-environment balancing term induced by the model's structure. We use an empirical Bayes method to set the prior and incorporate it into the objective. Based on this objective, we develop an amortized variational algorithm for posterior approximation, and use the resulting learned latent variables to form predictions in new environments. We study our approach through simulations and real-world studies of astronomical source identification, microbiome-based disease detection, and ICU sepsis prediction. Across these settings, our method outperforms previous approaches for prediction in new environments.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

The paper studies a multi-environment setting (finite set of environments in training, unseen environment in test/inference time) in which a parent latent variable only changes according to the environment and mechanisms remain stable. It develops a probabilistic latent variable approach with empirical Bayes VI for parameter inference. An average-case risk over environments is implied via the aggregated posterior over the latents that integrates over environments.

The reviews are all positive and the authors have responded to the questions raised within these reviews and addressed the majority of the concerns.

The work has many connections to Causality/Robustness/Transfer learning/domain adaptation/dataset shift literature (even Transportability from causality) and as some reviewers point out some of these connections are completely missing or should be better highlighted. In fact, in my own view, the language used in many cases points at causality (mechanisms, environments treated as exogenous distributions) and as there is prior work on robustness to exogenous (and mechanism) misspecification via e.g. worst case analysis with DRO or to transfer in multiple environments in Transportability/ External Validity, it would be good to better connect the work in general to all these areas highlighted above and by reviewers in order to better clarify the core contribution/differentiation (balancing terms? average env risk?) and the problem setting considered.

Final justification

This is a strong paper for NeurIPS, on a timely, important, area for machine learning research. The paper can also act as a bridge between multiple sub-communities at NeurIPS (Causal Rep. Learning, external validity, robustness, transfer learning, domain adaptation, risk/D.Making, Empirical Bayes/VI) with the expanded lit review and connections sections that were promised for the camera ready version of the paper by the Authors. I encourage the authors to incorporate all improvements and feedback from the Reviewers, and to expand their literature and discussion on the topics and areas identified by the reviewing group. This will strengthen the paper's positioning and downstream impact in the community. In terms of worst-case robustness (DRO style) to exogenous noise/innovations and mechanism misspecification have a look also at a relevant recent paper at ICML [1] from the CLR side of things.

[1] Felekis Y, Damoulas T, Giampouras P. Distributionally robust causal abstractions. ICML 2026.

Area Chair gcij · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper studies a multi-environment setting (finite set of environments in training, unseen environment in test/inference time) in which a parent latent variable only changes according to the environment and mechanisms remain stable. It develops a probabilistic latent variable approach with empirical Bayes VI for parameter inference. An average-case risk over environments is implied via the aggregated posterior over the latents that integrates over environments.

The reviews are all positive and the authors have responded to the questions raised within these reviews and addressed the majority of the concerns.

The work has many connections to Causality/Robustness/Transfer learning/domain adaptation/dataset shift literature (even Transportability from causality) and as some reviewers point out some of these connections are completely missing or should be better highlighted. In fact, in my own view, the language used in many cases points at causality (mechanisms, environments treated as exogenous distributions) and as there is prior work on robustness to exogenous (and mechanism) misspecification via e.g. worst case analysis with DRO or to transfer in multiple environments in Transportability/ External Validity, it would be good to better connect the work in general to all these areas highlighted above and by reviewers in order to better clarify the core contribution/differentiation (balancing terms? average env risk?) and the problem setting considered.

Final justification

This is a strong paper for NeurIPS, on a timely, important, area for machine learning research. The paper can also act as a bridge between multiple sub-communities at NeurIPS (Causal Rep. Learning, external validity, robustness, transfer learning, domain adaptation, risk/D.Making, Empirical Bayes/VI) with the expanded lit review and connections sections that were promised for the camera ready version of the paper by the Authors. I encourage the authors to incorporate all improvements and feedback from the Reviewers, and to expand their literature and discussion on the topics and areas identified by the reviewing group. This will strengthen the paper's positioning and downstream impact in the community. In terms of worst-case robustness (DRO style) to exogenous noise/innovations and mechanism misspecification have a look also at a relevant recent paper at ICML [1] from the CLR side of things.

[1] Felekis Y, Damoulas T, Giampouras P. Distributionally robust causal abstractions. ICML 2026.

1 comment
Authors · CommentOpenReview ↗

Rebuttal summary

Dear AC,

Thank you for your meta-review.

We made a genuine effort to address every point raised by the reviewers. In particular, as detailed in our responses, we intend to add an additional related-work section making broader connections beyond the most directly related literature. In that section, we will discuss to causal representation learning that is not based on environment-balancing criteria, connection to mixed-effect models, and worst-case robustness approaches such as DRO.

Reviewer czh5OpenReview ↗
Rating
5/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 latent-variable modeling framework, and assumes the distributions of latent variables can be different according to different environments but the relationship between observed variables and latent states remains the same. In terms of inference, the authors proposed a variational Bayes framework, and compared its performance with alternative methods, applied to both simulated and real-world data.

Strengths and weaknesses

The motivation, methodology, and evaluation are clearly presented and well-organised.

One limitation of the paper is the lack of interpretability of the latent states. In addition, the proposed method is not compared against gold-standard approaches, such as MCMC-based algorithms, in terms of performance. Please see the Questions section below for further details.

Questions

How did the author decide the number of latent states? The authors should consider providing practical guidance on this.

Is it possible to interpret the latent states based on the practical context?

For the variational algorithm, have the authors compared the accuracy performance with gold-standard algorithms like MCMC? It'd be helpful to provide comparison in both computational time and accuracy.

Limitations

yes

Final justification

The authors have addressed my concerns, therefore I have raised my overall rating from 4 (borderline accept) to 5 (accept).

Formatting concerns

No major issues in formatting was noticed.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer,

Thank you for your review! Please see our responses below.

Interpretability and number of the latent states:

In reconstruction-oriented methods, such as variational autoencoders, the latent variable zz must retain enough information to reconstruct xx. This is not required in EBER: zz only needs to retain the information relevant for predicting the one-dimensional outcome yy. We therefore set dim⁡(z)=1\dim(z)=1 in all experiments. This gives zz a simple predictive interpretation as a scalar latent axis summarizing the variation in xx relevant to yy, after accounting for environment-specific differences.

Specifically, in the simulations latent states have interpretations by construction: In the parametric simulation zz s the true scalar branch-and-phase coordinate. The covariates provide noisy information about its phase and branch, and yy is generated from zz. In Colored MNIST the data-generating zz is one of four prototypes, each characterized by stable label, color, and digit tendencies. The learned latent state is intended to encode the parts in this prototype structure that are relevant for predicting yy.

In the real-data experiments, the interpretation is of course more modest. In the Quasar–star experiment zz can be interpreted as a latent astronomical source state mediating photometric measurements. In the Microbiome experiment zz should represent a disease-relevant microbiome state that is shared across cohorts. In the Sepsis experiment, a shared sepsis-risk state.

Variational learning compared to MCMC:

Generally, MCMC and variational inference can be compared as approximations to a fixed posterior distribution. However, EBER is an end-to-end representation-learning method: the network qθ(z;x,y,e)q_\theta(z;x,y,e) produces a local latent representation for each observation, while its parameters and the predictive networks are learned jointly by gradient optimization. The only possible comparison is after fixing all neural-network parameters, using MCMC to approximate p(z∣x,y,e)p(z\mid x,y,e) for some observations and compare it with qθ(z;x,y,e)q_\theta(z;x,y,e).

As enthusiastic users of MCMC ourselves, we relate to the suggestion :). However, because the representation here is learned jointly with the predictive model, it would not be meaningful: this would assess only the local posterior approximation, not the learned representation or the accuracy of the full procedure.

Reviewer mqMCOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The article introduces a new method for supervised learning featuring an underlying latent variable and environment that influences the latent variable, but not the relationship between the latent variable and the observations. The problem of predicting in an unknown environment is investigated, with the challenge of how to generalise to a new unobserved environment. The problem is approached methodologically with a conditional Bayesian formulation and defining a variational objective. A prior is also used and optimised in an empirical Bayes manner to help calibrate the objective to unobserved environments given the data. Empirical results on simulated and several real data sets are presented and discussed.

Strengths and weaknesses

The motivation for the problem specification is fairly clear. It seems very related to standard hierarchical Bayes or random effects in frequentist inference. It could be more clear what this method is contributing on top of established methods for this problem. Figure 1 helpful to lay out the problem specification.

The relevant conditional probabilities are not super intuitive but are reasonably well explained. Maybe having a running example would help to keep the reader in the loop. Possibly introduce the motivating example even earlier, like in the introduction, and make it more realistic, and sustain it as a running example through the article?

The variational methods could be explained better: it is not super clear why the relevant exact distribution is intractable, or why a variational approach is the best way to approach it. Section 3.1 introduces the neural networks very suddenly and they are not so well motivated. The variational parameters are modelled freely as a nonlinear function of the relevant data to be conditioned on via a neural net. Is this novel for this article? Is there a reference to where this might have been done before?

The summary around section 4 is helpful: it is good to build intuition as to how this model uses the data and differs from previous methods. The decomposition is good.

The empirical results are thorough. The summary of them “across all 5 experiments…” could perhaps go at the end, and feels a bit simplified and biased.

The reporting and summarising of the results is missing some necessary statistical rigour. A few too many statements of the nature “Our method was the best except in cases X, Y, and Z”, and claiming superior performance when statistical significance has not been demonstrated.

See 5.2: “Table 2 shows that EBER yields the lowest accuracy… among all methods”: this isn’t really true in a meaningful scientific way if you have a p-value of 0.140. There are a few such generalisations summarising the results that did not sit well with me, including “significant relative to all methods except X”, which is a very generous framing of the results.

Similarly, you don’t strictly speaking “report formal statistical significance levels”: the specification of the significance level should be done a priori, instead of picking your largest observed p-value and claiming they are all significant at that level. There is some post-hoc reasoning of this nature present.

The computational cost is referenced briefly in the discussion but is not nearly thorough enough.

Questions

The methodology make a clear distinction between the new environment having a significant influence but the same conditional mechanism generating the data: is this assumption testable? When do we know that this method is valid?

Do you have particular insights for each data set used as to why one method would outperform the other? Do they contain different sources of heterogeneity, or violate the assumptions made by the models in different ways?

At some point you train a whole neural net to learn the complex dependence under the hood of the variational approximation, but these details are not clear. Does this take a lot of compute or model tinkering/refinement?

How does this method relate to existing methods for this model paradigm like regular hierarchical Bayes of random effects or similar? What are the specific methodological contributions being made here?

Limitations

The methodology is not that well-motivated or explained relative to established methods.

The computational costs for the method are not clear, especially concerning the neural network used in the variational modelling.

It is not clear how generalisable the method is for a generic new inference problem, or when the assumptions underlying the model will hold.

Final justification

The authors gave a thorough and respectful response to my concerns. I have updated my score appropriately.

Formatting concerns

No major paper formatting issues.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer,

Thank you for your review! Please see our responses below.

Relation to hierarchical latent-variable models:

Indeed, environments can be viewed as random effects indexing different distributions p(z∣e)p(z \mid e), while p(x∣z)p(x\mid z) and p(y∣z)p(y \mid z) are shared. In fact, random-effect models can be viewed as an empirical-Bayes procedure: maximization of the complete likelihood includes optimization of the parameters of the random effect distribution, which is essentially optimization of the prior to match the likelihood.

The main distinctions of our approach from such models is that unlike standard hierarchical or random-effects models, EBER does not impose a pre-specified parametric form for how the observed covariates identify the environment. Instead, it flexibly estimates the conditional probabilities p(e∣x)p(e \mid x) with a classifier, and uses them as observation-specific weights for aggregating the environment-specific latent distributions.

We will add this discussion.

Explanation of the conditional probabilities:

We agree that additional continuity can help readers interpret the conditional distributions. Rather than moving the full technical example into the introduction, which we believe would obscure the high-level motivation, we will add a brief application-based preview in the introduction. Specifically, we will add the following example:


In astronomical source classification,p(e∣x)p(e\mid x) measures how plausible each observed sky region ee is for an object with measurements xx, while p(y∣x,e)p(y \mid x,e) predicts its class under that candidate region. After observing the class during training, these quantities determine the updated region weights p(e∣x,y)∝p(e∣x)p(y∣x,e)p(e \mid x, y) \propto p(e \mid x) p(y \mid x, e). For each region, p(z∣x,y,e)p(z \mid x,y,e) infers the latent zz from (x,y,e)(x,y,e). Averaging over yy yields a region-specific prior p(z∣x,e)p(z \mid x, e), and averaging over regions according to p(e∣x,y)p(e \mid x, y) or p(e∣x)p(e\mid x) gives the global posterior p(z∣x,y)p(z \mid x,y) or prior p(z∣x)p(z \mid x), respectively.


Tractability and variational approach:

In general, in a latent-variable models with an observed variable tt and latent variable ss, Bayes' rule gives p(s∣t)=p(t∣s)p(s)∫p(t∣s′)p(s′) ds′p(s\mid t) = \frac{p(t\mid s)p(s)}{\int p(t\mid s')p(s')\,ds'}. The denominator requires integrating over all possible values of ss, which for flexible nonlinear models, such as neural networks, is not available in closed form. In such cases, variational inference introduces a tractable approximation and fits it to approximate the exact posterior by maximizing an evidence lower bound. This is a standard approach, used for example in variational autoencoders.

In our case, the exact posterior is p(z∣x,y,e)∝p(z∣e) p(x∣z) p(y∣z)p(z \mid x,y,e) \propto p(z \mid e)\, p(x \mid z) \, p(y \mid z) and computing it requires the normalizing integral over zz, so the usual intractability arises.

The contribution of EBER is not the use of amortized variational inference. It is in (i) formulating a probabilistic model for prediction in unseen environments that explicitly models environment effects, (ii) introducing an empirical-Bayes construction in which the conditional prior p(z∣x)p(z\mid x) is formed by aggregating environment-specific latent distributions using observation-specific weights p(e∣x)p(e\mid x), and (iii) deriving the corresponding variational objective and its environment-balancing interpretation (showing there is a "correct" balancing regularizer in this setting).

Statistical tests and results:

The result summaries were intended to give readers who do not examine every experiment in detail an overview of the empirical pattern. Nevertheless, we accept your comments regarding the wording and will adjust it where needed.

However, the formal statistical analysis is not post-hoc. Across all experiments, we use the same family of one-sided comparisons between EBER and each baseline and apply the Benjamini–Yekutieli correction for multiple testing. The reported quantities are multiplicity-adjusted p-values, not significance thresholds selected after observing the results.

Computational costs:

EBER is more computationally expensive than competing approaches because it evaluates environment-specific components and aggregates them across the training environments. In this sense, addressing the statistical challenge of generalization to unseen environments entails additional computational cost. The paper makes this tradeoff explicit and reports runtime comparisons, including how EBER scales with the number of training environments. Please note that all methods remain computationally feasible in the settings studied, and training is performed offline.

We are happy to expand the discussion on this.

Testing the assumptions:

Since zz is latent, the stable mechanisms assumption is not directly testable from observational data alone. However, the prediction mechanism of EBER offers an indirect diagnostic: since the prediction combining training-environment components through p^(e∣x)\hat{p}(e \mid x) while retaining a shared p^(y∣z)\hat{p}(y \mid z), held-out environments can be used to verify the assumptions. If training is performed on a subset of the available environments, strong performance on the held-out ones would indicate that the assumptions hold, and in particular that the shared-mechanism p^(y∣z)\hat{p}(y \mid z) transfers.

Differences between datasets:

In the synthetic experiments the model is well specified:

  • In the parametric simulation the periodic coordinates reveal the phase of zz but not its branch, while the branch determines the label relationship. The noisy coordinate provides only partial branch information. The advantage of EBER is strongest when the branch cue is weaker or few environments are observed, since in contrast to other methods, it models environment-conditioned latent distributions and p(e∣x)p(e \mid x).

  • In Colored MNIST environments change only the mixture of latent prototypes, producing a spurious color–label association that reverses at test time and EBER explicitly models this mixture shift.

For the real-world datasets, the underlying explanations are of course less certain, but still offer valuable insights:

  • In the Quasar–Star experiment heterogeneity is associated with sky regions. Here the learned p(e∣x)p(e \mid x) assigns every test point primarily to one training environment whose feature distribution closely matches the test distribution. This is evidence that EBER’s gain is driven by observation-specific matching to a relevant training environment, and not from enforcing one invariant representation across all regions.

  • In the microbiome and sepsis experiments, the latent-mixture and stable-mechanism assumptions are plausible but not certainly true. EBER performs best, but VREx is competitive in microbiome and IRM in sepsis, suggesting that generic risk balancing and invariant-feature learning may capture (each in a different case) relatively large parts of the heterogeneity in these datasets.

Complexity of the variational approximation:

EBER does not train a separate large network or optimize variational parameters for each observation; it uses one small amortized encoder (a small CNN for Colored MNIST and linear or one-hidden-layer networks of width at most 32 for all other experiments), trained jointly with the rest of the model, so no substantial model-specific tinkering was required.

Reviewer BVuCOpenReview ↗
Rating
6/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the problem of multi-environment prediction where one observes data from multiple environments for training (environment labels known at training time) and aims to predict the response of a new observation from an unknown environment.

The paper assumes that a latent variable Z governs the distribution of observed covariates X and response Y (there are no direct causal links between X and Y). The distribution of this latent variable can differ across environments, but the mechanisms generating the observed covariates and response are stable.

The proposed method is a Bayesian probabilistic model, where the prior is not pre-specified, but data-driven. The authors show that the variational objective they propose can be written in an environment-balancing form, connecting with many existing out-of-distribution generalization methods in the literature.

Empirical results include experiments ranging from fully simulated to fully real cases, and the proposed method is compared with relevant competitors.

Strengths and weaknesses

Strength

  1. The paper is overall very well-written and easy to follow.
  2. The setting and method are communicated clearly and honestly.
  3. The proposed method is very relevant for prediction tasks where complex covariates are involved and heterogeneity is present.
  4. The experiments are well conducted, and relevant methods are compared against.

Weakness

  1. My main concern is regarding the assumption of stable mechanisms; this doesn't seem to be testable with real data, and it is possible that both the latent variable's distribution and the mechanisms generating X and Y differ across environments.
Questions
  1. The distribution change in the latent variable Z can induce covariate shift (p(x∣e)p(x|e)), label shift (p(y∣e)p(y|e)), and concept shift (p(y∣x,ep(y|x, e)) in the observed space, right? This doesn't seem to be explicitly mentioned, but I think it connects to the transfer learning and domain adaptation literature, where representation learning is not considered.
  2. Does the environment variable need to have finite support?
  3. Does the test environment need to be sampled from the same environment distribution as the training data p(e)p(e), both in theory and in practice? Perhaps the authors can discuss this explicitly.
  4. If the training data does not have environment labels, is it valid to first perform clustering and then apply EBER?
  5. How does EBER perform under model mis-specification? In particular, regarding the assumption that the mechanisms generating X and Y are stable across environments. I'm wondering also if (at least in some cases) changes in the mechanisms can be viewed as changes in the distribution of Z (so mechanisms can still be considered unchanged), then EBER would still be applicable.
  6. Related to 5, I wonder if the authors can comment on whether one can assess the validity of the stable mechanisms assumption in practice, or if this needs to be justified by domain knowledge.
  7. 'Bayes-x' is not defined, but from the context it seems to be the Bayes-optimal predictor, and referred to as 'oracle' in some places.
  8. Minor: NLL is perhaps 'negative log likelihood', also not mentioned in the main text.
Limitations

Some limitations were discussed, but I think the authors should also address whether the assumption of stable mechanisms is realistic or not.

Final justification

I thank the authors for their clarification and explanation. I think the rebuttal adequately addressed my concerns. Given the quality of the paper and the answers to my questions, I have raised my score.

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer,

Thank you very much for your review.

Our setting assumes that the environment change the latent variable through p(z∣e)p(z\mid e) so that given the latent zz, the data is stable, so we have p(x∣z)p(x \mid z) and p(y∣z)p(y \mid z), not p(x∣z,e)p(x \mid z, e) and p(y∣z,e)p(y \mid z, e). Since zz is latent, this indeed is not directly testable from observational data alone.

Aside from scientific applications where this is the common scientific assumptions (as is the case in the applications in the paper), the prediction mechanism of EBER offers an indirect diagnostic: since the prediction combining training-environment components through p^(e∣x)\hat{p}(e \mid x) while retaining a shared p^(y∣z)\hat{p}(y \mid z), this can be verified on held-out environments. If we train on a subset of the available environments and predict on the held-out ones, strong performance would indicate that all the assumptions (please see our response to Q3) hold, including that the shared-mechanism p^(y∣z)\hat{p}(y \mid z) transfers.

We agree that this is an important point, and will add a corresponding discussion.

As for your questions:

Q1: In the EBER model we have p(x∣e)=∫p(x∣z)p(z∣e) dzp(x\mid e) = \int p(x\mid z)p(z\mid e)\,dz, p(y∣e)=∫p(y∣z)p(z∣e) dzp(y\mid e) = \int p(y\mid z)p(z\mid e)\,dz, and p(y∣x,e)=∫p(x∣z)p(y∣z)p(z∣e) dz∫p(x∣z)p(z∣e) dzp(y\mid x,e) = \frac{\int p(x\mid z)p(y\mid z)p(z\mid e)\,dz} {\int p(x\mid z)p(z\mid e)\,dz}.

So yes, changing only p(z∣e)p(z\mid e) can induce a shift in any of these distributions, even though the latent mechanisms p(x∣z)p(x \mid z) and p(y∣z)p(y \mid z) remain stable. Each of these has been studied extensively, and we would be happy to add an expanded related-work discussion in the appendix making broader connections.

The main point is that our model both unifies these three forms of shift, and restricts them: in our model they arise from changes in p(z∣e)p(z \mid e), rather than through direct arbitrary changes in p(x∣e)p(x \mid e), p(y∣e)p(y \mid e) or p(y∣x,e)p(y \mid x,e). This shared structure is precisely what allows EBER to learn from the training environments how the environment affects the latent distribution.

Q2: Not at the population level: e∼p(e)e \sim p(e) may have infinite, or even continuous support. Our analysis and method are not specific for a discrete environment indicator (although this is the common case). The environment ee can also be represented as multi-dimensional features describing it.

Q3: In theory, yes. Immediately before Eq 2 the paper says "We assume that the new observation follows the same probabilistic model" and the target p(y∣x)p(y \mid x) is defined by marginalizing over that same p(e)p(e). We are happy to emphasize this more.

In practice, except the parametric simulation which explicitly samples training, validation, and test environments independently from the same environment population, our other experiments (colored MNIST, quasar–star, microbiome and sepsis) use fixed held-out environments. As in our response to the weakness you listed, held-out predictions can provide evidence that the assumptions hold.

Q4: Unfortunately, generally no. The resulting clusters may not correspond to the environment. They may instead separate nuisance variation in xx. Moreover, estimating p(e∣x)p(e\mid x) is then tautological. However, if we do have access to p(e∣x)p(e\mid x) instead, or a way to verify that the clusters indeed learn environments, for example in repeated-sample groups settings, then a modified version of EBER (that relies on the true p(e∣x)p(e\mid x)) might do even better.

Q5: EBER has no guarantees for arbitrary changes in p(x∣z,e)p(x \mid z, e) and p(y∣z,e)p(y \mid z, e). In this case, its shared predictor and its aggregation over training-environment components may generalize poorly to a held-out environment. But your point regarding re-expressing mechanism changes is correct. A mechanism change relative to one latent variable zz can sometimes be expressed as a distributional change in a richer latent variable uu. For example, if a measurement regime rr changes how xx is generated, we could define u=(z,r)u=(z,r). Then the environment would change p(u∣e)p(u \mid e), while p(x∣u)p(x \mid u) would remain stable.

Note, however, that EBER is not with respect to some pre-defined identity of zz. It is applicable whenever there exists some zz (which can and should be uu in the example above) so that p(x,y∣e)=∫p(x∣z) p(y∣z) p(z∣e) dzp(x,y \mid e) = \int p(x \mid z)\, p(y \mid z)\, p(z \mid e)\, dz.

Q6 + Q7 + Q8:

We addressed Q6 in our response to the listed weakness. Thank you for noticing 7 and 8! We will add the acronym specification and explicitly say it is optimal Bayes.

Reviewer re39OpenReview ↗
Rating
6/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors introduce a novel multi-environment prediction method that leverages tools from the empirical Bayes literature. The problem is well motivated, the paper is well written and clear, and the related work is cited correctly. In summary, the proxy covariate is used to infer the prior probability of an environment. I appreciated that the authors provided a simple, well-chosen motivating example in Section 2.

The paper introduces a modification of the standard ELBO for variational inference in the multi-environment setting. My understanding is that the approach amounts to a kind of covariate-modulated VEB, where the proxy covariate plays the role of prior learning for the environment (cf. Ignatiadis and Wager, 2019; Denault et al., NeurIPS 2025).

I like the paper and think it should be accepted at NeurIPS.

My one concern is the reliance on amortized inference. As I understand it, amortized inference invests substantial effort in learning the mapping from data to posterior/prior, but its downstream reliability depends on simulating the generative process correctly, or at least not too far from the truth.

Could the authors comment on whether this is a potential limitation, and if so, how sensitive the method is to misspecification of the assumed generative model?

Strengths and weaknesses

see above

Questions

see above

Limitations

See above, I think that the limitations could be presented a bit more clearly, for example having a small paragraph, but given the 9 pages limit I understand that it is hard to manage

Formatting concerns

na

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer,

Thank you very much for your review.

Regarding your question about amortization:

Rather than learning separate variational parameters μxi,yi,ei\mu_{x_i,y_i,e_i} and σxi,yi,ei\sigma_{x_i,y_i,e_i} for every observation, EBER amortizes inference by learning a function gθg_\theta that maps triplets (x,y,e)(x,y,e) to their corresponding parameters: gθ(x,y,e)=(mux,y,e,σx,y,e)g_\theta(x,y,e) = (mu_{x,y,e}, \sigma_{x,y,e}). The function gθg_\theta is parametrized as a neural network that is learned on the observed (not simulated) data, through the variational objective.

The usual concern with amortization is whether the chosen neural-network class can represent the mapping from (x,y,e)(x,y,e) to the variational parameters. Nevertheless, this is a common practice, even when the latent space needs to allow full reconstruction of xx (for example in VAEs).

In our case, zz does not need to capture xx entirely (as is the case in reconstruction), but only the information relevant for predicting a one-dimensional yy. Therefore, in practice in all the experiments we set the dimension of zz also to 1, so the small networks we used (in the parametric, quasar–star, microbiome, and sepsis experiments, a linear or one-hidden-layer MLP with dimensions of 32 or less, and in colored-MNIST a small two-block CNN) have relatively large capacity for this target.

Luckily, in the camera ready version there will be an additional page, so we will expand our explanation about the amortization :)

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

Missing a submission?

Loading the discussion…