Objective-Aligned Amortized Inference for Offline Bayes-Adaptive MDP Model Learning
Toru Hishinuma, Kei Senda
NeurIPS 2026
Abstract. Learning latent environment representations from offline datasets is an important challenge for Bayes-adaptive Markov decision process model learning. A key difficulty is that offline datasets collected under heterogeneous protocols can differ in state--action visitation even when the underlying dynamics are identical. Visitation-decoupled objectives address this by evaluating transition predictive fit under a protocol-independent reference distribution via a change of measure. We show, however, that the resulting objective-induced invariances need not be inherited by amortized inference. An unconstrained encoder can depend on protocol-induced visitation variations that are invisible to the objective, a structural failure mode we term amortization mismatch. To address this issue, we formalize an objective-aligned design principle as an objective--inference compatibility condition: the encoder should factor through the objective-induced dataset signature. We instantiate this principle in multiple set-encoder families and, through targeted experiments, provide evidence that objective-aligned encoders improve posterior consistency and can mitigate downstream planning discrepancy across protocols.
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:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary
This paper presents a variational method to learn the latent environmental parameters of an MDP, that is robust to the policy or protocol that collected the data, suitable for offline meta RL. The method works using a deepset encoder of pools features of (s,a,s’) transitions weighted by the ratio of a reference distribution of (s,a) against empirical visitation counts (s,a), estimated from the data. This way, different policies acting in the same environment will still result in the same latent encoding, thus isolating encodings to represent only environmental differences between tasks, invariant to the data-collection protocol(s). Validation of theoretical findings including a didactic, pendulum, and halfcheetah tasks.
Main Strengths
Reviewers appreciated and though the following:
- Relevant: this paper addresses a relevant problem in Bayes-Adaptive MDPs and offline meta RL.
- Clear: the paper is relatively clear, well motivated, easy to follow, with some caveats (later addressed by authors).
- Novel: this seems an original and practical contribution, backed by theory and insights, first discovering and formally defining the amortization mismatch problem and provides a necessary and sufficient structural fix to avoid this confounding issue.
Main Weaknesses
Reviewers were originally concerned with the following:
- Reference policy concerns: concerns of zero weight in the references policy which would remove the term from the encoding (Reviewer
cp7r), or the general choice of reference policy especially in high dimensions (Reviewerk7us), which the authors clarify and resolve. - Limited empirical evaluations and ablations: some too obvious or limited seed(s), which the authors clarified and resolved for Reviewers
cp7randrg6e
Overall
The authors have been responsive to reviewer input, which has satisfied all reviewers (all reviewers raised their scores after the discussion period), which included clarifications, changes, and additional ablations.
Final justification
Accept
Uriamimous accept from reviewers. While there are some lingering concerns about the simplicity of experiments, there is no concerns over the more important aspects, such as the theory, empirical results, motivation, or novelty of this work; which the reviewers all appreciated. The authors have been highly responsive to reviews, to clarify and improve this work.
Read meta-review
Meta-review
Summary
This paper presents a variational method to learn the latent environmental parameters of an MDP, that is robust to the policy or protocol that collected the data, suitable for offline meta RL. The method works using a deepset encoder of pools features of (s,a,s’) transitions weighted by the ratio of a reference distribution of (s,a) against empirical visitation counts (s,a), estimated from the data. This way, different policies acting in the same environment will still result in the same latent encoding, thus isolating encodings to represent only environmental differences between tasks, invariant to the data-collection protocol(s). Validation of theoretical findings including a didactic, pendulum, and halfcheetah tasks.
Main Strengths
Reviewers appreciated and though the following:
- Relevant: this paper addresses a relevant problem in Bayes-Adaptive MDPs and offline meta RL.
- Clear: the paper is relatively clear, well motivated, easy to follow, with some caveats (later addressed by authors).
- Novel: this seems an original and practical contribution, backed by theory and insights, first discovering and formally defining the amortization mismatch problem and provides a necessary and sufficient structural fix to avoid this confounding issue.
Main Weaknesses
Reviewers were originally concerned with the following:
- Reference policy concerns: concerns of zero weight in the references policy which would remove the term from the encoding (Reviewer
cp7r), or the general choice of reference policy especially in high dimensions (Reviewerk7us), which the authors clarify and resolve. - Limited empirical evaluations and ablations: some too obvious or limited seed(s), which the authors clarified and resolved for Reviewers
cp7randrg6e
Overall
The authors have been responsive to reviewer input, which has satisfied all reviewers (all reviewers raised their scores after the discussion period), which included clarifications, changes, and additional ablations.
Final justification
Accept
Uriamimous accept from reviewers. While there are some lingering concerns about the simplicity of experiments, there is no concerns over the more important aspects, such as the theory, empirical results, motivation, or novelty of this work; which the reviewers all appreciated. The authors have been highly responsive to reviews, to clarify and improve this work.
- Rating
- 4/6
- Confidence
- 2/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 considers offline reinforcement learning under the BAMDP framework, where multiple datasets are collected from the same environment but under different protocols, so a naively trained latent representation can entangle the dynamics with the protocol. To remove this, the paper fixes a protocol-independent reference distribution and evaluates transition predictive fit under as a visitation-decoupled (VD) objective via a change of measure with weights , which are estimated from data. Under this scheme the data enters the objective only through a weighted empirical aggregate (the dataset signature in the paper) ; datasets with equal are indistinguishable to the objective, giving protocol-invariance by construction. The key observation is that this invariance is not automatically inherited by the amortized encoder , a failure termed amortization mismatch. The paper then gives a structural fix requiring the encoder to access data only through , shown to be a necessary and sufficient condition for the encoder to be objective-invariant. Experiments validates the failure and the the proposed approach can fix this on a toy construction, Pendulum, and HalfCheetah.
Strengths and weaknesses
Strength
- Quality: The paper is technically sound and accurate in describing its scope and contribution.
- Clarity: The paper is generally well written. The problem is clearly motivated, and the progression from the VD objective, to the dataset signature , to the amortization mismatch, to the factorization fix is easy to follow.
- Significance: The identification of amortization mismatch and the proposed fix is relevant to offline meta-RL, specifically BAMDP pipelines that couple a shift-corrected objective with an amortized set encoder.
- Originality: Being not closely following offline meta-RL, my judgement may be biased: the contribution seems to lie in using the VD objective to identify the gap and fix it from this perspective, the specific combination, and the framing of the problem itself, appear novel.
Weakness
- From a practical point of view, the main limitation of this change-of-measure scheme is that properly choosing the reference distribution seems quite tricky, especially in higher dimensions. Since this is not examined in the paper's experiments, I remain skeptical about whether the scheme would be useful in a scalable setting.
- Since is estimated from data, this seems cannot be easily used for a out-of-sample protocol even for the same environment as the estimator can be not reliable.
- The empirical evidence is somewhat weak: the empirical benefit seem only obvious on Pendulum: on HalfCheetah the authors report the planning gaps as noisier and without clean separation, but the aligned encoders can even attain lower absolute return. It is unclear that reducing the amortization mismatch translates into the downstream improvement that ultimately motivates the method.
Questions
- Could the authors clarify whether reducing the amortization mismatch is expected to improve downstream planning, or only posterior consistency?
- The main point of the reference is to ensure protocol invariance; however, it is defined as the empirical mixture of all datasets. This is understandable, but could the authors clarify how sensitive this choice is in terms of performance?
- Since the invariance holds only insofar as the weights are estimated accurately, how robust is the objective-aligned encoder to weight-estimation error in practice?
A demonstration of its usefulness in a scalable setting, together with addressing the above points, would make me reconsider my evaluation.
Limitations
Yes
Final justification
The rebuttal clarified the intended scope of the claims, the robustness of the Pendulum results, and the treatment of estimated weights. Although some concerns remain due to the limited experimental scope, I found the clarifications reasonable and have increased my score to 4.
Formatting concerns
The paper format is clean and I did not find any explicit formatting issues.
2 comments
I thank the authors for their detailed rebuttal, which clarified 1. the intended scope of the main claim 2. the robustness of the Pendulum results to the reference distribution and 3. the experimental treatment of estimated and stabilized weights. Although the second point only partially addresses my concern due to the limited experimental scope, I found the clarifications in general are reasonable and sound, and have therefore increased my score to 4.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This submission targets offline Bayes-Adaptive MDP (BAMDP) latent environment representation learning, where offline datasets are gathered under heterogeneous data collection protocols that induce inconsistent state-action visitation distributions even for identical underlying environment dynamics. Existing visitation-decoupled (VD) objectives apply importance-weighted measure transformation to eliminate protocol-caused visitation bias at the loss level by constructing objective-induced dataset signatures and defining objective-equivalent datasets. The core finding of this paper is a newly identified structural failure named amortization mismatch: VD objective’s inherent invariance over equivalent datasets cannot be automatically inherited by unconstrained amortized set encoders, which consequently entangle environment transition characteristics with irrelevant protocol-specific visitation features into learned latent variables. To fix this issue, the authors formalize a universal objective-aligned inference principle requiring encoders to compute latent posteriors solely from objective-induced dataset signatures, then instantiate this principle on two mainstream set encoder architectures: weighted DeepSet and residual attention-based set encoder with shared objective weights during feature aggregation. To cope with noisy practically estimated importance weights, a power-based weight interpolation strategy wα is proposed for numerical stabilization. The authors validate their theoretical findings sequentially across three experimental settings: synthetic toy linear-Gaussian BAMDP for theoretical sanity check, low-dimensional Pendulum with dual reset protocols, and high-dimensional HalfCheetah with divergent action sampling policies.
Strengths and weaknesses
Strengths: 1-This work resolves a critical open pain point in offline BAMDP and offline meta-RL: latent representation contamination from heterogeneous data collection protocols after applying visitation-decoupled loss. The proposed objective-aligned principle is architecture-agnostic and universally applicable to nearly all permutation-invariant set encoders widely used in meta-RL, providing a standardized structural constraint to avoid amortization mismatch for future relevant research.
2-The paper makes a distinctive original contribution by first discovering and formally defining amortization mismatch, a previously unreported structural gap between objective-level invariance and amortized encoder’s data dependency. Existing context shift mitigation methods in offline meta-RL only optimize policy-side representation stability rather than align encoder’s data dependence with loss function signature, which distinguishes this work from prior literature fundamentally.
Weaknesses: 1-The primary weakness on quality lies in limited ablation of alternative weight stabilization methods; the paper only adopts a naive power-law interpolation wα without benchmarking against mature weight calibration approaches like PSIS and stable balancing weights mentioned in discussion, and all downstream evaluations are restricted to open-loop CEM planning without closed-loop reinforcement learning test to verify real-world practical performance.
2- The paper sparsely elaborates the practical boundary of reference distribution ρ selection, with insufficient explanation about how reference choice impacts final alignment performance.
3-The only limited originality point is the weight interpolation trick, as power exponent tempering for importance weights is a common existing heuristic in importance sampling literature without novel mathematical innovation.
Questions
1-Could the authors add supplementary ablation experiments on classic discrete tabular MDP environments (e.g., GridWorld variants with configurable environment dynamics) to test the generalization of the objective-aligned principle? This ablation will confirm whether the proposed alignment constraint works universally beyond continuous control domains.
2-The paper mentions multiple advanced weight calibration algorithms (PSIS, stable balancing weights) in limitation section; can authors add a lightweight comparative ablation between these existing weight methods and their proposed wα interpolation under HalfCheetah setting? The comparison helps identify whether power-law tempering is the most suitable stabilization choice or just a convenient temporary heuristic.
3-Can authors design a simple data-driven adaptive selection rule for interpolation hyperparameter α based on effective sample size (ESS) of normalized weights, replacing the manually fixed α=0.8? This improvement removes empirical manual tuning and strengthens the engineering practicability of the proposed weight interpolation scheme.
Limitations
yes
Final justification
Having read the authors' rebuttal and other reviewers' comments, I raise my score to 4.
Formatting concerns
No noticeable formatting, anonymity or template violation issues against NeurIPS 2026 official formatting requirements.
2 comments
Rebuttal
Thank you for the thoughtful review. We appreciate your recognition of amortization mismatch as a previously unreported structural gap between objective-level invariance and amortized encoder dependence. We further appreciate your view of objective alignment as an architecture-agnostic design principle applicable across set-encoder families.
Response to Q1
Thank you for this suggestion. We conducted an experiment in a stochastic GridWorld. The latent environment descriptor controls the transition slip probability: the intended action is executed with probability , while each of the other three actions is executed with probability .
For each , we collected two offline datasets of transitions with . The protocols use identical transition dynamics and the same uniform-random behavior policy, but differ in their full-support reset distributions, given by . We use the mixture of the six finite-horizon state–action occupancy distributions as and compute the occupancy ratios exactly from the tabular transition model. This isolates amortization mismatch from density-ratio estimation and weight-stabilization error.
We compare three methods, all using the DeepSets architecture: an unconstrained encoder trained with the standard ELBO (ELBO + UE), an unconstrained encoder trained with the VD-ELBO (VD-ELBO + UE), and the objective-aligned encoder trained with the VD-ELBO (VD-ELBO + OAE). We use the same posterior-tracking metrics as in the Pendulum experiment, computed from posterior means z-scored within each method and seed.
| Method | Protocol drift | -sensitivity | Relative drift |
|---|---|---|---|
| ELBO + UE | |||
| VD-ELBO + UE | |||
| VD-ELBO + OAE |
Across five seeds, objective alignment reduced mean protocol drift by relative to VD-ELBO + UE, with the reduction observed in five seeds. Meanwhile, -sensitivity remained unchanged, showing that the reduction is not explained by posterior collapse.
These results provide additional evidence that the objective–inference compatibility principle is not specific to continuous-control environments or Gaussian transition models: the same qualitative effect is observed in a discrete tabular MDP with exact occupancy ratios. We will include the setup and seed-wise results in the revision.
Response to Q2
Thank you for raising this point. As stated in Sec. 4.7 and Appendix E.3, the HalfCheetah experiment studies weight interpolation between the unweighted and raw-weight endpoints as a way to stabilize the weighting while approximately preserving the intended alignment. Power-law tempering, , is used only as one existing convenient parameterization of this interpolation. The experiment examines whether weight interpolation can stabilize noisy estimated weights while retaining approximate objective alignment, rather than to establish power-law tempering as a novel or preferable stabilization method.
Building on this result, the next practical question is how the weights should best be constructed or stabilized in the presence of weight-construction noise, including whether methods such as PSIS or stable balancing weights are preferable to tempering. As stated in Sec. 6, we regard the development and comparison of these weight-construction and stabilization methods as an important direction for future work.
Response to Q3
Thank you for this suggestion. We would like to clarify that is not introduced as a manually tuned default hyperparameter of the proposed method. The HalfCheetah experiment reports a sweep over α to study the behavior of weight interpolation, and highlights as a relatively stable intermediate point in this diagnostic.
As discussed in Appendix E.3, ESS is a useful diagnostic of weight concentration, but it cannot by itself determine α. Decreasing α flattens the normalized weights and improves ESS, while moving the effective weighting farther from the raw ρ-specified VD semantics. An ESS-maximizing rule would favor aggressive interpolation irrespective of semantic fidelity. Similarly, a rule that selects the largest α satisfying an ESS threshold would still require the threshold itself to be chosen, and would replace rather than remove manual tuning.
A principled adaptive rule would need to balance weight stability against fidelity to the intended VD semantics, potentially using ESS together with balance, tail, or reference-predictive diagnostics. As stated in Appendix E.3, we regard the development of such a selection criterion as the next practical problem for weight interpolation and stabilization, rather than one resolved by a simple ESS-only rule.
Response to Weakness 1
We would like to clarify that, although the evaluation is not designed as a broad benchmark suite, the paper includes a layered set of ablations and mechanism-focused validations intended to rule out alternative explanations for the observed effect:
- Exact structural validation: The toy experiment constructs exactly objective-equivalent dataset pairs and directly tests whether the objective-induced invariance is inherited by amortized inference.
- Robustness beyond zero-weight perturbations: The positive-weight atom-splitting experiment preserves the same objective-induced dataset signature while changing dataset multiplicities, verifying that the observed mismatch is not specific to adding objective-zero-weight transitions.
- Robustness across encoder architectures: We evaluate both DeepSets and residual attention set encoders, testing whether the effect is specific to a particular set-encoder family.
- Isolation from density-ratio estimation error: The Pendulum experiments include both oracle and estimated occupancy ratios, separating amortization mismatch from errors in weight estimation.
- Robustness beyond one-step data collection: The Pendulum experiments include both (h=1) and (h=5), testing whether the effect persists when reset-induced visitation differences propagate through short trajectories.
- Posterior consistency: We measure protocol drift, -sensitivity, and relative protocol drift to test whether objective alignment reduces protocol-dependent posterior variation while preserving sensitivity to the environment descriptor.
- Downstream planning discrepancy: We test whether protocol-dependent posterior inconsistency propagates to a protocol gap in open-loop planning. We additionally report absolute returns to rule out the degenerate case in which a small planning gap arises because both protocol-conditioned planners fail similarly.
- Approximate alignment under noisy weights: The HalfCheetah study evaluates weight interpolation under noisy, heavy-tailed estimated weights through an $\alpha sweep together with ESS and tail diagnostics.
- (Discrete tabular validation (Response to Q1): The additional GridWorld experiment above tests the same qualitative mechanism in a discrete MDP with exact occupancy ratios.)
Together, these evaluations test whether the observed effect is an artifact of the exact dataset construction, zero-weight transitions, a particular encoder architecture, density-ratio estimation error, the (h=1) setting, posterior-only evaluation, or the continuous-control domain. All quantitative comparisons are evaluated across five seeds. The current evaluation is thus focused rather than broad, while providing substantial depth of mechanism-focused validation.
At the same time, we agree that the two directions raised in the review—alternative weight-construction methods and closed-loop RL—are valuable, as discussed in Sec. 6. Building on the layered mechanism-focused validation summarized above, these directions would broaden the practical applicability of the framework to more challenging weighting conditions and end-to-end decision-making settings. We regard them as important future directions.
Response to Weakness 2
Thank you for raising this point. In practice, should emphasize the state–action regions whose transition dynamics should be reflected in the inferred latent variable, while remaining sufficiently supported across the datasets being compared. If places too little mass on regions needed for downstream inference or decision-making, the inferred latent variable may fail to capture the relevant transition differences. Conversely, as support weakens in the regions emphasized by , the corresponding weights become less stable; when support is absent, importance weighting is undefined.
In our experiments, we use the empirical mixture over all datasets as a neutral reference under settings where support overlap is not a limiting factor. When overlap becomes critical, ρ may need to be restricted to the common-support region. As discussed in Sec. 6, emphasizing downstream-relevant regions is another choice, but how strongly to concentrate ρ while retaining sufficient coverage for generalization remains unresolved. We leave systematic reference design to future work.
We will make these practical considerations and their impact on alignment more explicit in the revision.
Response to Weakness 3
We agree that power-exponent tempering is a common existing heuristic and do not claim it as a novel contribution. As clarified in Response to Q2, is used only as a convenient parameterization of weight interpolation. The paper’s originality lies in identifying amortization mismatch, formulating the objective–inference compatibility condition, and deriving an architecture-agnostic design principle.
Thanks for the feedback. Having read the authors' rebuttal and other reviewers' comments, I raise my score to 4.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work proposes to "importance sample the features", rather than the loss, for meta-learning in RL under different exploration policies.
The problem tackled here concerns variational meta/offline reinforcement learning. In this setting, we have datasets gathered from different policies on different parameter instances of a task. The goal is to learn a model of this task, including latent parameters that capture the differences in dynamics in each of the tasks per dataset.
A typical solution is perhaps best described with variational autoencoders. We assume some prior over latent parameters θ , learn a model to output a posterior and a transition model , on the likelihood of the data and penalizing the posterior q for moving away from the prior p.
When the policies used to gather the data differ across the tasks, then the posterior q may accidentally capture in addition to the true underlying parameter of the task. For example, in similar tasks, data gathered with two different exploration strategies may lead to different values of θ. This, ideally, is avoided. A common technique to handling this, especially when seen as an issue of covariate shift, is weighting samples according to their likelihood of occurring under some unifying sample strategy (importance sampling, IS) I will denote the reference policy. Typically, this is applied to the loss objective.
First, this work defines "weighted empirical aggregate" of a dataset , , as the sum of the weighted data samples, objective-induced equivalence as when two datasets have the same aggregate, and observes that if two datasets have the same aggregate, then their objectives are also the same. The key observation is, then, that even when two datasets are objective-equivalent, this does not mean that models trained with variational inference will produce the same posterior, even when importance sampling. Here, they propose to apply importance sampling to the (embedding of the) input instead and show that, if this weighted empirical aggregate is equivalent between two data sets, then the models trained in this manner will produce the same posterior over θ.
The empirical evaluation consists of three analyses.
First, it is shown that their method is invariant (in inferring θ) to adding transitions to the dataset with zero probability under the reference policy in a linear-Gaussian dynamics problem.
Second, in a pendulum problem with different pendulum lengths and reset policies, it is shown that their model is less affected by the reset policy in their predictions of θ.
In the last experiment on halfcheetah, the effect of weight interpolation is shown. In particular, by raising the importance weights to some power ɑ, the influence of weights can be controlled.
Strengths and weaknesses
This work ticks most of the important boxes for a solid submission: it addresses a relevant problem (for a non-trivial part of the ICML community) in an original and practical approach backed by theory and insights. The paper is relatively clear and easy to follow, with some caveats I describe below.
My main concern relates to the utility of the proposed "weighted empirical aggregate" and my minor concerns are writing and the empirical evaluation.
I am not convinced of the utility of the defined "weighted empirical aggregate", which is the definition driving the motivation and solution of this work. In particular, it's biggest use seems to be when certain transition have zero probability of occurring under the reference policy. In this case, their contribution to the aggregate is removed: the weight is 0 and thus their representation and collapses.
Part of my concerns can be explained as not completely understanding its definition and usage. First, it is defined as a sum and, thus, should just result in a value? Second, the work is loose with terms such as "as a function of ", when clearly, the function does not take as input (but rather modifies it). Perhaps most importantly, it is extremely unlikely that any two datasets are objective-equivalent: the example shows how constructing a new dataset by adding a transition with zero probability causes for an amortization "mismatch" (which this work aims to resolve), but adding any transition with non-zero probability also creates a dataset that is not objective-equivalent (so the solution seems mostly applicable to non-zero transitions?). As a result, I question the impact of the conceptual / theoretical component of this work.
As a slide side remark: in many cases one may not even want to have objective-equivalence as, depending on how extreme the reference policy is, it may collapse significantly different data sets into one. Sure, we would like to avoid capturing details about the exploration policies in our model, but surely just completely ignoring data because the reference policy assigns zero probability to it sounds potentially problematic too..? Overall, I find that this work over promises on being invariant to exploration policies, and does not sufficiently discuss the nuances and downsides of being objective-invariant as defined in this work.
Unfortunately, I do not find that the empirical evaluation is strong enough to compensate for the (I perceive) weak theoretical part. While the first experiment shows zero-probability transitions do not affect the posterior, this is the obvious outcome of the proposed method (good, but not surprising and mostly handling the in my opinion uninteresting case of zero-probability reference policy). The last experiment shows a rather volatile impact of raising the weights to the power of (.7, .8, or .9). I would not have expected, or wanted, this to be so dependent on small changes in values and those are not discussed well enough. In particular, why does increasing the weight (from .8 to .9) lead to higher dependency of the exploration policy on the inference (I would have expected poorer performance somehow, at the worst)? Also, most of the results are limited to single seed: good for providing some insights, but insufficient for showing patterns. Lastly, while I initially liked the second experiments, given these observations I am now concerned they were cherry picked or otherwise specific result rather than a result that generalizes well.
Lastly, I have some concerns regarding the readability.
I do not really see how, or why, this is framed as Bayes-adaptive MDPs as defined by Duff (which is what I think of, anyways), and I did not see any citations I could use to read up on the setting formalized here. Similarly, I am not sure why this was framed as "amortization". This, again, may be my lack of background, but it seemed to me that we are considering just normal learning in meta/offline RL setting (which is fine!).
Lastly, the preliminaries are not supported by references, which is problematic for me because some formalisations do not match my expectations or background.
- Please consider citing the references used for the problem and BA-MDP formalization.
- Explain derivation to VD (?) objective in equation 4 that introduces term in right hand-side of .
Questions
- What is δ in equation 5 (the weighted empirical aggregate)?
- Why was the focus of this work on offline RL, as opposed to general meta learning? There is nothing specifically about RL in the solution, and this approach could be applied to, and explained from, the point of view of general meta learning.
- Exactly how large is the state space of the pendulum problem, and how truncated / concentrated is the Gaussian reset protocol (protocol A)? I think this is the most interesting experiment, and it is clearly a positive result. I am concerned that, just like with experiment 5.1, there is little overlap between the two protocols.
- Please explain the references that describe the used BA-MDP formulations and where equation 4 comes from?
- how do ɑ=0 and ɑ=1 look like in halfcheetah experiment?
- how do the "start" of the results 5.1 look like, from x=0 to x=2^5.
Limitations
The definition of "importance sample the features" captures fewer cases than perhaps implied.
Final justification
In particular, I appreciate that the reset policies were in the pendulum experiment were not extreme, that this work follows the literature closely in its reference to BAMDP, pointing out that 5 seeds were used (but more importantly, that there are standard error bars that I somehow missed the first time) and the definitions/usage of .
Other reviewers have raised some issues, of which particularly defining the reference distribution being an issue. Initially, if I remember correctly, I thought this was a reference policy, which I imagine is not too difficult to pick. However, picking a state-action visitation distribution seems indeed quite difficult. I am mentioning this, because otherwise I would have raised the score twice, given that so many of my concerns were addressed.
Formatting concerns
N/A
4 comments
Rebuttal
Thank you for the thoughtful review. We appreciate your recognition that the paper addresses a relevant problem through an original and practical approach.
Clarification on the weighted empirical aggregate and response to Q1
Here, denotes the Dirac measure at ; it is not a scalar. Eq. (5) sums weighted measures, not scalar values, and is itself a weighted empirical measure over transitions.
“As a function of ” means that the encoder output is determined only by , rather than by any additional information in the raw dataset . Since the VD objective also depends on the dataset only through , this construction yields the same posterior for datasets with the same .
Objective-equivalence is not limited to zero-weight transitions. The zero-weight example in Sec. 5.1 provides the simplest exact construction of the amortization mismatch for theoretical discussion; it neither implies that objective-equivalence requires zero weights nor does our method force the use of such an extreme reference in practice. Appendix C.2 provides a nonzero-weight construction, and the Pendulum and HalfCheetah experiments likewise do not rely on zero-weight transitions.
Response to "a slide side remark"
As clarified above, our method does not force the use of zero weights or an extreme reference. Thus, the failure mode described by the reviewer may arise from an inappropriate reference, but it is not an inevitable consequence of objective alignment.
As discussed in Sec. 6, designing the reference or the corresponding weights remains a practical issue, while the objective-alignment result applies to the reference-weighted objective induced by the chosen reference. The "downside of being objective-invariant" is that removing protocol-induced visitation variation requires this design choice and therefore carries the risk of practical problems if the reference is inappropriate.
Nevertheless, the need for reference design is an important practical caveat, but does not eliminate the practical promise of objective alignment. Our Pendulum and HalfCheetah results suggest that, with nonzero weights and without relying on an extreme reference, objective alignment can reduce sensitivity to protocol-induced visitation variation in practice.
Response to comments on empirical evaluation
We first clarify two points.
- The purpose of Sec. 5.1 is to constructively demonstrate a previously overlooked amortization mismatch: UE can produce different posteriors even when the VD objective is exactly unchanged. The zero-weight setting intentionally isolates this mismatch in a clear and exact construction.
- Most results are not based on a single seed. Figure 1 and Table 1 aggregate five seeds; the quantitative Pendulum and HalfCheetah results also use five seeds, with seed-wise results reported in Appendices D–E. Figures 2 and 3 show representative seed-0 visualizations; the other seeds are provided in the appendices.
The -sensitivity reflects the practical weight-construction issue discussed in Secs. 4.7 and 6 and Appendix E.3, rather than instability of the objective-alignment principle itself. In HalfCheetah, tempers noisy finite-sample density-ratio estimates. Increasing from to moves the effective weights closer to the raw estimates: decreases from to , while the mean maximum weight increases from to . Thus, a change of in produces a substantial change in the effective weight distribution and increases sensitivity to weight-estimation error, heavy tails, and support mismatch. Here, greater protocol dependence is itself poorer performance.
We do not regard this sensitivity as desirable. The sweep tests approximate objective alignment under stabilized noisy weights; it does not propose as a universal choice. Selecting requires balancing weight stability against fidelity to the raw -specified VD semantics and remains a practical open problem. As discussed in Sec. 6, improved weight stabilization and construction are important directions for future work. The and endpoints are discussed further in Response to Q5.
Regarding cherry-picking, Pendulum is evaluated across encoder architectures, estimated and oracle weights, and episode horizons, while HalfCheetah is evaluated across multiple values of and both architectures. Together with the five-seed results, the progression from the exact construction in Sec. 5.1 to fully overlapping-support Pendulum and higher-dimensional HalfCheetah shows that the reported pattern is not tied to a single seed or configuration. Detailed protocol-overlap information is provided in Response to Q3.
Response to Q2
The principle may extend beyond offline RL, but we focus on this setting for two reasons. In online RL, visitation changes dynamically with the policy, so our fixed-distribution formulation does not transfer directly. General meta-learning and meta-RL also cover broader problems, including arbitrary task variables, policy-side representations, and adaptation, whereas we specifically study latent representations of environment-dependent transition dynamics learned from offline data.
Response to Q3
The state and action spaces follow the standard Gymnasium Pendulum-v1 specification: , with , , observations , and actions in .
Protocol A uses and truncated to these ranges, retaining and of the untruncated masses; Protocol B uses uniform resets over the same ranges.
Both protocols use the same uniform action distribution. Thus, at , they have identical state–action support and differ only in density. Their joint reset-state overlap coefficient, , is approximately , while the estimated weights have . All of these quantities can be directly read off or computed from Appendix D.1 and the accompanying code.
Unlike the construction in Sec. 5.1, the two protocols have fully overlapping reset-state and action support and differ only in visitation density.
Response to Q4
We cite Ghavamzadeh et al. (2015) as a standard reference for model-based Bayesian RL and BAMDPs. It presents the framework as maintaining a posterior over unknown model parameters and includes Duff’s pioneering BAMDP setting. Our formulation likewise considers a posterior over latent model parameters, which is why we formulate our setting as a BAMDP.
The distinction is that Duff and much of the early BAMDP literature assume that the parameterization of the unknown model is specified in advance and focus on planning and control under the resulting belief state. We instead study the case where this latent parameterization, i.e., the parameterization of the unknown model, must itself be learned from offline data across environments. As discussed in Sec. 2, this is a setting within offline meta-RL. We use a VAE-style approach to learn this latent BAMDP representation, where amortized inference arises naturally as part of the representation learning.
Eq. (4) comes from this latent-variable learning formulation, rather than from the BAMDP literature. As in the standard latent-variable formulation underlying VAEs, exponentiating the weighted log-likelihood in Eq. (3) gives the likelihood term , which is then marginalized over the latent parameter.
We will make this connection more explicit in Sec. 2 by mentioning Duff’s pioneering BAMDP formulation alongside the existing discussion.
Response to Q5
For , all weights become uniform, so the method reduces to the unweighted ELBO+UE endpoint and remains protocol-sensitive. For , Appendix E.4 shows that the raw-weight objective-aligned encoder reduces the discrepancy between the two protocols in some seeds, but its behavior is less stable across seeds because the estimated weights are more heavy-tailed, motivating the intermediate choice.
Response to Q6
To directly answer the reviewer’s question, we evaluated using the same experimental setup and 5-seed protocol as Fig. 1. The table reports , matching the plotted central values.
| deepset: VD-ELBO+UE | deepset: VD-ELBO+OAE | res-attn: VD-ELBO+UE | res-attn: VD-ELBO+OAE | |
|---|---|---|---|---|
| 0 | -1.442 | floor | -1.602 | floor |
| 1 | -1.474 | floor | -1.634 | floor |
| 2 | -1.503 | floor | -1.663 | floor |
| 4 | -1.564 | floor | -1.725 | floor |
| 8 | -1.704 | floor | -1.867 | floor |
| 16 | -2.068 | floor | -2.233 | floor |
| 32 | -4.602 | floor | -4.276 | floor |
“floor” denotes OAE discrepancies that remain invariant up to numerical precision and are therefore shown at the plotting floor. These results confirm that the contrast shown in Fig. 1 persists over the requested lower- range: UE remains sensitive to objective-zero-weight transitions, whereas OAE remains invariant up to numerical precision for both architectures.
As a clarification of the UE trend, the fixed dataset contains 32 objective-zero-weight transitions from . At , both datasets share the same transitions from and contain the same number of independently sampled transitions from . The difference in the number of -transitions therefore vanishes at this point, leaving only finite-sample differences between the sampled -transitions. The observed minimum UE discrepancy at is thus consistent with the experimental construction.
Thank you for the clarifications; they have addressed my concerns sufficiently to raise my score. In particular, I appreciate that the reset policies were in the pendulum experiment were not extreme, that this work follows the literature closely in its reference to BAMDP, pointing out that 5 seeds were used (but more importantly, that there are standard error bars that I somehow missed the first time) and the definitions/usage of .
Other reviewers have raised some issues, of which particularly defining the reference distribution being an issue. Initially, if I remember correctly, I thought this was a reference policy, which I imagine is not too difficult to pick. However, picking a state-action visitation distribution seems indeed quite difficult. I am mentioning this, because otherwise I would have raised the score twice, given that so many of my concerns were addressed.
At the risk of sounding stupid: could you retry explaining the results in the table you provided? I was expecting that at n=0 that D and D' were the same, and that at n=k the only difference between D and D' were k zero-weight transitions. This should have resulted in a 'mismatch' of UE that starts at 'floor' at n=0 and monotonically increases with respect to n.
Clearly the experiment is doing something else, and it seems that the the mistmatch decreases until n=32, which you clearly attempt to explain, but it is unclear to me what is happening here.
Thank you for the careful follow-up and for taking the time to revisit both the manuscript and our response in detail. We greatly appreciate your careful consideration of our clarifications, and we are glad that they addressed your main concerns. We also appreciate your comment on the choice of the reference distribution. We agree that reference design is a central practical challenge for objective alignment, and we believe your comment accurately identifies one of the main directions for future work.
Clarification of Fig. 1 and the additional table
Thank you for pointing this out. We agree that this is a reasonable interpretation of the current wording. The actual construction was not sufficiently clear in either the current manuscript or our previous response.
The construction that may naturally be inferred from the current explanation is
Under this construction, at , so the UE discrepancy would be expected to start at the numerical floor and increase as zero-weight transitions are added.
In contrast, the construction actually used in the experimental code that generated Fig. 1 and the additional table is
Here, the two datasets share exactly the same transitions from , while and are independently sampled from the same irrelevant-region distribution. All transitions from receive zero objective weight.
Therefore, is not a comparison between identical datasets. While ,
contains 32 transitions from . As approaches 32, the difference between the numbers of -transitions contained in the two datasets decreases, and at , this count difference vanishes. Because and are independently sampled, the two raw datasets are still not identical, but the UE discrepancy is smallest at this point in the observed results.
The latter construction actually used in the experiment corresponds to the purpose of comparing the behavior of UE and OAE across different raw datasets belonging to the same objective-equivalence class. For every ,
because the two datasets share the same -transitions and all -transitions have zero objective weight. Nevertheless, UE can produce different posteriors in response to raw-dataset differences that are invisible to the objective, whereas OAE remains invariant up to numerical precision. This directly corresponds to the property examined in the paper: posterior invariance across objective-equivalent datasets.
However, the current manuscript does not explicitly state that the fixed dataset already contains , and its wording can therefore be read as the former construction, in which zero-weight transitions are successively added to form . In the revision, we will explicitly state the actual dataset construction in both the main text and the caption of Fig. 1.
Thank you again for the careful follow-up. Your comment has helped us identify where the experimental construction needs to be stated more clearly.
Supplemental results for alternative setting
For reference, we also evaluated the alternative construction that may be inferred from the current description, using the same five-seed protocol and evaluation range as Fig. 1. Specifically, we used
so that (). The results are shown below. As in Fig. 1, the table reports log 10 of the mean () across the five seeds.
| (N) | deepset: VD-ELBO+UE | deepset: VD-ELBO+OAE | res-attn: VD-ELBO+UE | res-attn: VD-ELBO+OAE |
|---|---|---|---|---|
| 0 | floor | floor | floor | floor |
| 1 | -4.538 | floor | -4.509 | floor |
| 2 | -3.818 | floor | -3.873 | floor |
| 4 | -3.264 | floor | -3.287 | floor |
| 8 | -2.693 | floor | -2.729 | floor |
| 16 | -2.125 | floor | -2.132 | floor |
| 32 | -1.531 | floor | -1.546 | floor |
| 64 | -0.990 | floor | -1.029 | floor |
| 128 | -0.466 | floor | -0.553 | floor |
| 256 | -0.026 | floor | -0.188 | floor |
| 512 | 0.336 | floor | 0.119 | floor |
| 1024 | 0.601 | floor | 0.342 | floor |
| 2048 | 0.774 | floor | 0.497 | floor |
| 4096 | 0.881 | floor | 0.602 | floor |
Under this construction, as expected, the UE discrepancy starts at the numerical floor at (N=0) and increases monotonically for both architectures as zero-weight transitions are added. In contrast, OAE remains at the numerical floor throughout the full range.
Thus, the expected trend is also observed under the construction anticipated in your comment. Although the actual construction used for Fig. 1 and this reference construction generate the raw datasets differently, both support the same conclusion: among datasets belonging to the same objective-equivalence class, UE can respond to raw-dataset differences that are invisible to the objective, whereas OAE remains invariant.
This additional experiment can be run using the existing code without any modification:
python -m experiments.toy.run_toy \
--epsilon 0.0 \
--NI_small 0 \
--NI_large_list 0,1,2,4,8,16,32,64,128,256,512,1024,2048,4096
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Thank you for the thoughtful review. We appreciate your recognition that identifying amortization mismatch is relevant to offline BAMDP pipelines, and that using the VD objective to expose and address this gap offers a novel perspective.
Response to Q1
To clarify the scope of the expected effects, we distinguish the following quantities:
Objective alignment directly targets posterior consistency by reducing protocol-induced posterior drift. Posterior consistency is therefore expected to improve, and this effect is clearly observed across our experiments.
A reduction in protocol-dependent posterior drift can also be expected to mitigate protocol-dependent planning discrepancy, because different protocol-conditioned posteriors can lead to different planning outcomes at the same environment parameter. This effect is less direct because it is mediated by the learned model and planner. Empirically, this expectation is clearly supported in Pendulum. In HalfCheetah, the planning-gap reduction is less pronounced than in Pendulum, but the results remain consistent with a mitigation effect.
In contrast, reducing amortization mismatch by objective-alignment alone does not directly imply an improvement in absolute planning return. This is because both protocol-dependent planning discrepancy and absolute planning return depend not only on latent inference, but also on transition prediction and planning, with these additional factors affecting absolute return more directly. For protocol-dependent planning discrepancy, transition-modeling error and planning variability shared by the two conditions can partially cancel in this comparison, and the discrepancy is more directly affected by protocol-dependent posterior drift. By contrast, these factors enter the absolute return of each planner directly. Consistent with this distinction, our experiments indicate that the effect on absolute return depends on how the improved latent inference interacts with the rest of the planning pipeline, rather than yielding a uniform change across settings.
Response to Q2
We agree that the choice of the reference distribution, and consequently the construction and stability of the corresponding weights, is an important practical issue, as discussed in Sec. 6.
To address the reviewer’s question within the constraints of the rebuttal phase, we conducted a sensitivity test on the protocol composition of ρ. The results confirm that the main empirical findings and claims remain unchanged across the tested mixture ratios.
Additional result: Sensitivity to the protocol composition of ρ
We varied the protocol composition of the reference distribution while keeping the offline datasets fixed. Specifically, we defined ρλ=λρuniform+(1−λ)ρtrunc, with uniform-protocol mass λ∈0.25,0.50,0.75. Within each protocol, the reference mass was distributed equally across the three environment parameters ξ∈0.7,1.0,1.3. The λ=0.50 condition corresponds to the equal mixture used in the main paper. For each reference mixture, we retrained the VD-ELBO with an unconstrained encoder (UE) and an objective-aligned encoder (OAE), using the same collected datasets across mixture conditions. We report relative posterior drift, ξ-sensitivity, and protocol-dependent planning discrepancy over five seeds.
Across all tested mixtures, OAE consistently reduced relative protocol drift while preserving essentially unchanged ξ-sensitivity. This shows that the improvement in posterior consistency is not specific to the equal-mixture choice λ=0.50, but persists across the tested protocol compositions of ρ.
OAE also yielded a smaller protocol-dependent planning gap than UE under every tested reference mixture. Thus, the reduction in protocol-dependent planning discrepancy observed in the main paper is likewise not specific to the equal-mixture reference.
Absolute returns remained in a broadly comparable range across the tested mixture settings and, as in Table 4, did not show a uniform improvement from OAE. The effect of objective alignment on absolute return therefore remains case-dependent, consistent with the conclusion of the main paper.
We will include this sensitivity analysis and the corresponding numerical results in the revision.
Response to Q3
The exact invariance result is established for the ideal setting in which the weights accurately implement the intended change of measure. As stated in Sec. 4.7, when accurate weights are available, the VD-ELBO with an objective-aligned encoder directly realizes the intended protocol-independent latent semantics. In practice, however, weights are estimated from data and may contain estimation noise or become heavy-tailed. We therefore use the same estimated or stabilized weights in both the VD-ELBO and the objective-aligned encoder, preserving their alignment under the implemented weighting while only approximately realizing the semantics induced by the ideal ρ.
We evaluate this practical setting in both experiments. In Pendulum, the qualitative posterior-alignment pattern is consistent across analytical oracle weights, classifier-estimated weights, and the less idealized h=5 setting. In HalfCheetah, where the estimated weights are substantially noisier and more heavy-tailed, the interpolation study suggests that stabilized weights can still yield approximate alignment. Taken together, these results show that the benefit of objective alignment remains visible under the estimated and stabilized weights considered in our experiments, while its fidelity to the intended ρ-defined semantics naturally depends on weight quality. Weight construction and stabilization therefore remain important practical issues, as discussed in Sec. 6.
Additional clarifications
C1: HalfCheetah evidence
We would like to clarify the HalfCheetah evidence along the three quantities distinguished in Response to Q1. The primary posterior-consistency effect is clear: OAE reduces relative protocol drift for both encoder families while preserving ξ-sensitivity. For protocol-dependent planning discrepancy, the reduction is less pronounced than in Pendulum, but the results remain consistent with a mitigation effect. Absolute return does not improve; as explained in Response to Q1, its effect depends on how the improved latent inference interacts with the rest of the planning pipeline.
Thus, the empirical benefit is not limited to Pendulum.
C2: New data-collection protocols
We interpret this concern as referring to the following setting: a new offline dataset, collected under a previously unseen data-collection protocol in the same environment, is provided for posterior inference.
For such a dataset, the weights are estimated relative to the fixed reference distribution ρ, and posterior inference is then performed using the resulting weighted dataset signature. The reliability of this weight estimation depends on sample size, support overlap, and weight stability. These are the same conditions that govern weight estimation for both the existing and newly provided offline datasets; the fact that the dataset is new does not by itself change the estimation problem.