potentialpaper

Guidance for Prior Change via Density Ratio Estimation

Yichen Zang, Jiun-Yi Lin, Song Liu

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. To overcome the limitations of evolving priors in SBI, we propose an unbiased test-time guidance framework via DRE, effectively decoupling the inference process from the training prior.

Abstract. Simulation-Based Inference (SBI) serves as a vital framework for parameter inference in scientific fields where simulators involve intractable likelihoods, yet while amortized generative models offer rapid posterior estimation, they are often restricted by the specific priors used during training, thereby limiting their flexibility as prior knowledge evolves. To address this prior dependency, PriorGuide was introduced as an inference-time guidance method, but due to its intractable formulation, it relies on Gaussian approximations of the reverse transition kernel and Gaussian mixture model fitting for the prior ratio, both of which introduce systematic bias. Motivated by these limitations, we propose an unbiased test-time guidance framework that leverages Density Ratio Estimation (DRE) to learn a score guidance term, effectively decoupling the inference process from the prior training. Moreover, our framework remains agnostic to the specific density ratio estimators, making it a general and flexible framework for handling prior changes. Experimental results across multiple tasks demonstrate that our method matches or outperforms PriorGuide on C2ST and MMD in most tasks while maintaining robustness even under limited overlap between the training and target priors. Furthermore, we apply our method to Bayesian updating for parameter inference from planetary light-curve data, where it also demonstrates strong effectiveness and robustness. Code is available at https://github.com/a-chenchen/dre-based-prior-guidance.

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
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

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

The paper proposes an inference-time guidance framework for simulation-based inference (SBI) that adapts pretrained amortized posterior models to new priors using density ratio estimation (DRE). Unlike PriorGuide, which relies on Gaussian approximations that introduce bias, the proposed method learns an unbiased score guidance term through DRE, providing a more flexible framework for handling prior changes. Experimental results demonstrate improvements over PriorGuide on several benchmark tasks and a real-world planetary light-curve inference application.

The reviewers’ main concerns can be summarized into the following themes:

  1. Computational cost and practical efficiency. Several reviewers questioned the claim that the method is purely a test-time adaptation approach, since it requires training a new density ratio estimator for each target prior. They requested a more thorough analysis of the additional computational overhead, including both training and inference time, and a fair comparison with PriorGuide.
  2. Theoretical assumptions and methodological justification. Reviewers pointed out that some theoretical claims rely on assumptions that are not explicitly stated, and identified inconsistencies in the derivation of the density ratio objectives. They suggested clarifying the assumptions, approximation errors, and theoretical limitations, as well as better justifying the claimed generality of the framework.
  3. Experimental evaluation. The empirical study could be strengthened with more comprehensive comparisons against additional baselines (e.g., retraining, sequential NPE variants, and FMPE), failure case analyses, and experiments on more challenging settings. Reviewers also requested more discussion of high-dimensional observations and the role of embedding networks, as well as additional visualization for the real-world application.

Overall, the reviewers found the problem important and the empirical results promising, but they believe the paper would benefit from stronger theoretical justification, more comprehensive experimental evaluation, and a clearer discussion of the computational trade-offs and methodological novelty.

Final justification

The rebuttal satisfactorily addresses the main reviewer concerns through clearer terminology, additional baselines, and a transparent discussion of failure cases. The remaining issues are limited and can be addressed in the camera-ready revision. Given the paper’s overall value and the predominantly positive reviewer assessment, I recommend acceptance.

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

The paper proposes an inference-time guidance framework for simulation-based inference (SBI) that adapts pretrained amortized posterior models to new priors using density ratio estimation (DRE). Unlike PriorGuide, which relies on Gaussian approximations that introduce bias, the proposed method learns an unbiased score guidance term through DRE, providing a more flexible framework for handling prior changes. Experimental results demonstrate improvements over PriorGuide on several benchmark tasks and a real-world planetary light-curve inference application.

The reviewers’ main concerns can be summarized into the following themes:

  1. Computational cost and practical efficiency. Several reviewers questioned the claim that the method is purely a test-time adaptation approach, since it requires training a new density ratio estimator for each target prior. They requested a more thorough analysis of the additional computational overhead, including both training and inference time, and a fair comparison with PriorGuide.
  2. Theoretical assumptions and methodological justification. Reviewers pointed out that some theoretical claims rely on assumptions that are not explicitly stated, and identified inconsistencies in the derivation of the density ratio objectives. They suggested clarifying the assumptions, approximation errors, and theoretical limitations, as well as better justifying the claimed generality of the framework.
  3. Experimental evaluation. The empirical study could be strengthened with more comprehensive comparisons against additional baselines (e.g., retraining, sequential NPE variants, and FMPE), failure case analyses, and experiments on more challenging settings. Reviewers also requested more discussion of high-dimensional observations and the role of embedding networks, as well as additional visualization for the real-world application.

Overall, the reviewers found the problem important and the empirical results promising, but they believe the paper would benefit from stronger theoretical justification, more comprehensive experimental evaluation, and a clearer discussion of the computational trade-offs and methodological novelty.

Final justification

The rebuttal satisfactorily addresses the main reviewer concerns through clearer terminology, additional baselines, and a transparent discussion of failure cases. The remaining issues are limited and can be addressed in the camera-ready revision. Given the paper’s overall value and the predominantly positive reviewer assessment, I recommend acceptance.

2 comments
Authors · CommentOpenReview ↗

We thank the Area Chair for the summary! We now address all three issues raised in the AC comment and show where detailed responses can be found.

1. Computational cost and efficiency. We clarified that both our method and PriorGuide require additional per-prior training during test time. We provided a table comparing training and inference cost, showing ours is comparable or lower (see our response to Reviewer mVu7, Weakness 1 "computational cost").

2. Theoretical assumptions and derivation. We resolved the notational inconsistency and corrected it in our response (see Reviewer mVu7, Question 1), and showed KLIEP is an extended instance of Theorem 1 via a reparameterization, which justifies the claimed generality of our framework (see Reviewer 8fvn, Weakness 1). We also made the q≪pq \ll p assumption explicit and clarified the scope of the approximation errors (see Reviewer 8fvn, Weakness 2).

3. Experimental evaluation. We added a new baseline, importance-weighted score matching (WSM), and provided a performance comparison with our method (see Reviewer mVu7, Weakness 3). We also clarified how embedding networks can be integrated for high-dimensional observations (see Reviewer vXRB, Weakness 1); provided failure case analysis (see Reviewer mVu7, Weakness 2). We are committed to including the requested light-curve visualization in the final version.

Finally, we would also like to flag that we have corrected an implementation issue in the PriorGuide baseline. After correction, our method remains best or statistically tied on 8 of 10 tasks; the exception is Turin, which we discuss as a failure case attributable to its high observation dimensionality. Corrected tables are at the end of our response to Reviewer vXRB (see "Correction to the PriorGuide baseline").

We believe these responses have addressed the reviewers' concerns and are happy to provide any further clarification.

Authors · CommentOpenReview ↗

Dear Area Chair and Reviewers,

Thank you for the time and effort you have put into reviewing our paper. As the rebuttal deadline is approaching, we wanted to confirm that we remain fully available to address any remaining questions or concerns you may have. We are happy to provide further clarification if that would be helpful in the time remaining.

Thank you again for your consideration.

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

This paper studies test-time adaptation for diffusion-based amortized simulation-based inference (SBI) when the prior changes without requiring additional simulator calls. The authors decompose the target posterior score into the pretrained score and the gradient of a joint density ratio, which is estimated using either importance-weighted neural ratio estimation (NRE) or KLIEP. Across five SBI benchmarks and a sequential TESS light-curve application, the method is reported to be more robust than PriorGuide, particularly under low-overlap prior shifts.

Strengths and weaknesses

Strengths

  • The paper addresses an important limitation of amortized SBI: posterior estimators are typically tied to the prior used during training.
  • The score decomposition in Eq. (10), together with the change-of-measure argument in Proposition 1, provides a clear and modular framework for adapting to new priors without requiring additional simulations.
  • The empirical evaluation spans multiple posterior geometries, diverse distributional metrics, posterior predictive evaluation, and a real-world scientific application.

Weaknesses

  • Equation (17) yields g’(h⋆)=q/pg’(h^\star)=q/p, whereas Appendix D uses g’(h⋆)=q/(p+q)g’(h^\star)=q/(p+q) to recover the logistic NRE formulation. Consequently, the presented NRE and KLIEP objectives are not derived directly from Eq. (17). Instead, Appendix D effectively substitutes the solution of a different objective for the solution characterized by Eq. (17). This weakens the paper’s claim of theoretical generality.
  • The method assumes q(θ)=r(θ)p(θ)q(\theta)=r(\theta)p(\theta), which requires q≪pq \ll p. Moreover, the implemented estimator is subject to finite-sample error, optimization error, base-score approximation error, and SDE discretization error. The theoretical claims should therefore be stated with these assumptions and sources of approximation made explicit.
  • From an originality standpoint, the contribution appears primarily to be an adaptation of existing diffusion-based density-ratio guidance techniques to the specific setting of prior adaptation in SBI, rather than a fundamentally new methodological development.
  • The proposed estimators are trained using 50,000 simulator-generated pairs and 420,000 Simformer-generated pseudo-pairs, with up to 12,000 reported epochs, whereas PriorGuide requires no additional training. As a result, the comparison differs not only in methodology but also in the amount of training data and computational budget.
Questions
  1. Does the reported 12,000 epochs correspond to 12,000 full passes over the entire dataset of 470,000 training pairs, or does it instead refer to 12,000 optimization steps?
  2. Although the ratio estimator is described as observation-independent, does it nevertheless take (x) as an input?
  3. How does the proposed method compare against direct importance-weighted score fine-tuning under a matched computational budget?
Limitations

yes

Final justification

I thank the authors for their response. Although my assessment has become somewhat more positive, I will maintain my current score.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness:

1.

Equation (17) yields g′(h⋆)=q/pg'(h^\star) = q/p, whereas Appendix D uses g′(h⋆)=q/(p+q)g'(h^\star) = q/(p+q) to recover the logistic NRE formulation.

We thank the you for the careful reading. This is a notational inconsistency in our submission, which we clarify here.

The issue is that we used hh for two different quantities. In Eq. 17, hh is the pointwise variational variable; the raw discriminator output in Eq. 11 and Appendix D (the pre-sigmoid activation) is a distinct quantity, which we denote aa, with h=log⁡σ(a)h = \log \sigma(a).

With this distinction, the NRE row of Table 1 should read g(h)=−log⁡(1−eh)g(h) = -\log(1 - e^{h}) and h⋆=log⁡qp+qh^\star = \log\frac{q}{p+q}. Then g′(h)=eh1−ehg'(h) = \frac{e^{h}}{1 - e^{h}}, and setting g′(h⋆)=q/pg'(h^\star) = q/p gives h⋆=log⁡qp+qh^\star = \log\frac{q}{p+q} and hence a⋆=log⁡qpa^\star = \log\frac{q}{p}, the correct log-ratio.

So g′(h⋆)=q/pg'(h^\star) = q/p holds throughout, consistent with Eq. 17. The q/(p+q)q/(p+q) you observed is eh⋆=σ(a⋆)e^{h^\star} = \sigma(a^\star), the calibrated classifier output, not g′(h⋆)g'(h^\star).

We will add these corrections in the appendix in the revision!

Consequently, the presented NRE and KLIEP objectives are not derived directly from Eq. (17). Instead, Appendix D effectively substitutes the solution of a different objective for the solution characterized by Eq. (17). This weakens the paper’s claim of theoretical generality.

Building on the NRE clarification above, we now address KLIEP's relationship to Eq. 17.

We agree KLIEP does not fit Eq. 17 in the same pointwise manner as NRE, and we state this precisely: KLIEP is an extended instance. Its loss contains a global log-partition term Z=Ep(θt,x)[exp⁡a]Z = \mathbb{E}_{p(\theta_t,x)}[\exp a] that couples all states, but a reparametrization rewrites it exactly into an instance of Eq. 17.

Fix tt and write a=aψ(θt,x,t)a = a_\psi(\theta_t, x, t). Introduce the auxiliary variable

Z=Ep(θt,x)[exp⁡a],b=a−log⁡Z+1,Z = \mathbb{E}_{p(\theta_t,x)}[\exp a], \qquad b = a - \log Z + 1,

which is a simple change of variable and reparameterization. Since ZZ is constant in (θt,x)(\theta_t, x),

eb−1=eaZ,Ep(θt,x)[exp⁡(b−1)]=1.(∗)e^{b-1} = \frac{e^{a}}{Z}, \qquad \mathbb{E}_{p(\theta_t,x)}[\exp(b-1)] = 1. \tag{$\ast$}

Therefore

LKLIEP=Et[−Eq[a]+log⁡Ep[exp⁡a]]=Et[−Eq[b]+Ep[exp⁡(b−1)]]=Et[−Eq[b]+Ep[g(b)]],\mathcal{L}_{\mathrm{KLIEP}} = \mathbb{E}_t\big[-\mathbb{E}_{q}[a] + \log \mathbb{E}_{p}[\exp a]\big] = \mathbb{E}_t\big[-\mathbb{E}_{q}[b] + \mathbb{E}_{p}[\exp(b-1)]\big] = \mathbb{E}_t\big[-\mathbb{E}_{q}[b] + \mathbb{E}_{p}[g(b)]\big],

with g(b):=exp⁡(b−1)g(b) := \exp(b-1), using (∗)(\ast). This is exactly the variational form of Theorem 1, with a strictly convex generator gg.

This shows KLIEP is not a different objective substituted in: the change of variables is an exact rewriting of the KLIEP loss into the form of Theorem 1, from which the same optimality condition g′(b⋆)=q/pg'(b^\star) = q/p recovers the density ratio. Due to this finding, we have made the generality claim more precise in the revision: Theorem 1 covers ff-divergence estimators (NRE, Pearson χ2\chi^2, reverse-KL, Hellinger) as straightforward instances, while estimators with a self-normalization term such as KLIEP are recovered as extended instances of the same framework.

2.

The method assumes q(θ)=r(θ)p(θ)q(\theta)=r(\theta)p(\theta), which requires q≪pq≪p. Moreover, the implemented estimator is subject to finite-sample error, optimization error, base-score approximation error, and SDE discretization error. The theoretical claims should therefore be stated with these assumptions and sources of approximation made explicit.

Thank you for raising this point, and agree the assumptions should be stated explicitly. We first clarify the assumption of method and intended scope of our work.

Assumption of our method You are correct that q(θ)=r(θ)p(θ)q(\theta)=r(\theta)p(\theta) requires q≪pq≪p for the ratio to be well-defined, which is required for any density ratio estimation method, and we will clarify this in our paper. We note that this theoratically holds throughout our experimental setup: the training prior p is Gaussian in all tasks, so its density may be small but never zero over Rdℝ^d, and q≪pq≪p is automatically satisfied. The problematic case arises only when p has bounded support (e.g. a uniform prior), where q must not extend beyond the support of p. This is indeed a possible case and we will mention it in the final version.

Scope of our contribution Our contribution is primarily methodological. Proposition 1 and Theorem 1 are population-level results: at the optimum and in the infinite-sample limit, the DRE objective recovers the exact joint density ratio and hence the correct guidance term. This establishes the soundness of our method, which underpins its empirical effectiveness demonstrated in our experiments.

We agree the practical algorithm involves additional two error sources. Finite-sample error and optimization error are introduced by our DRE estimator; a formal non-asymptotic analysis of these is beyond the scope of the present methodological contribution and is an important direction for future work. Base-score approximation error and SDE discretization error, by contrast, are inherent to the base diffusion model and shared by all diffusion guidance methods; they pertain to the general theory of diffusion models rather than to our guidance mechanism specifically.

3.

From an originality standpoint, the contribution appears primarily to be an adaptation of existing diffusion-based density-ratio guidance techniques to the specific setting of prior adaptation in SBI, rather than a fundamentally new methodological development.

We would like to clarify the novelty of the proposed method. Although we did not develop fundamentally new density ratio or diffusion generative models, our contribution is a DRE-based guidance framework for a specific Bayesian inference task: SBI prior adaptation. Our novelty is in how the prior update problem is formulated, not in a new estimator.

PriorGuide, the state of the art in this setting, approximates the intractable guidance term with systematic bias. In contrast, our key observation is that the prior guidance approximation need not be biased at all. It can be written as the gradient of a joint density ratio, which our framework estimates in an unbiased fashion. This is a novel reformulation of the problem, which can be solved using an existing tool (density ratio estimation).

The benefit of this formulation is also beyond conceptual. Proposition 1 enables reusing existing simulated data for training the guidance ratio. This is particularly beneficial as the simulations are considered heavy in SBI setting, while our unbiased density ratio estimate replaces PriorGuide's biased approximation. This improvement has a tangible impact on the empirical experiments: our method outperforms PriorGuide on almost all benchmarks.

4.

The proposed estimators are trained using 50,000 simulator-generated pairs and 420,000 Simformer-generated pseudo-pairs, with up to 12,000 reported epochs, whereas PriorGuide requires no additional training. As a result, the comparison differs not only in methodology but also in the amount of training data and computational budget.

We thank you for this observation. We first clarify a key premise: PriorGuide is in fact not entirely training-free. Priorguide needs to use a neural network to fit a gmm to the prior ratio.

In what follows, we analyze the training and inference cost of both methods.

Training and inference cost. We summarize the computational cost of both methods below:

Training data (per prior) Training (per prior) Inference (per posterior sample)
Ours existing training data of base model + augmented data via simformer (no new simulation) DRE training (12000 iters in the experiment) steps × (1 + 1)
PriorGuide samples from the new prior GMM fit training (20000 iters in the experiment) steps × (1 + K), K ≥ 1

Our (1 + 1) is one base-score call plus one DRE call per step; PriorGuide's (1 + K) is one prediction step plus K Langevin correction steps. Since PriorGuide's approximation incurs substantial bias at non-small diffusion times t, its Langevin correction (K ≥ 1) is usually necessary in practice. Our training cost is comparable, and our per-step inference cost is lower whenever PriorGuide uses Langevin correction. We will add this analysis to the revised version.

Questions:

1.

does it instead refer to 12,000 optimization steps?

Yes, it refers to 12,000 optimization steps, not full epochs over the dataset. The wording "epochs" was a typo, which we will correct in the revised manuscript.

2.

Although the ratio estimator is described as observation-independent, does it nevertheless take (x) as an input?

Yes. The ratio estimator takes xx as an input. The term "observation-independent" refers to the armotization over x: the estimator is not retrained for every new observation xobsx_{obs}. Because it is already sufficiently trained on many synthetic (θ,x)(\theta, x) pairs, it amortizes over the full x-space, so a single trained estimator can be applied to any xobsx_{obs} to estimate q(θ∣xobs)q(\theta | x_{obs}), without a per-observation training step.

3.

How does the proposed method compare against direct importance-weighted score fine-tuning under a matched computational budget?

We thank you for raising this important point. Due to the response-length limit, we refer to our response to Reviewer mVu7, Weakness 3 ("New Baseline"), where we added experimental results for this baseline weighted score fine-tuning (WSM).

Experimental Result Correction

After submitting the paper, we found and fixed an error in the PriorGuide baseline implementation. It affects only the PriorGuide results in the numerical experiments, not our method or the light-curve results. Full details and corrected tables are at the end of our response to Reviewer vXRB (see "Correction to the PriorGuide baseline").

Reviewer 8fvn · CommentOpenReview ↗

I thank the authors for their response. Although my assessment has become somewhat more positive, I will maintain my current score.

Authors · CommentOpenReview ↗

We thank the reviewer for taking the time to reconsider our rebuttal and for the positive feedback. We're glad it helped clarify the points raised. If there is any further question, we are happy to clarify them.

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

This article proposes a new framework for test-time guidance for diffusion-based SBI. It generalises the PriorGuide method by replacing the Gaussian mixture model and Gaussian approximations for the prior ratio and the reverse kernel transition with a Density Ratio Estimation (DRE). The new guidance is provided using two methods: a Neural ratio estimator (NRE) and KLIEP. The authors illustrate the method on a collection of toy models with in- and out-of-distribution settings.

The authors also include an example of planet light-curve posterior updates, which represents a sequential posterior-guidance problem, and propose an algorithm to address it based on the developed guiding methodology.

Strengths and weaknesses

Strengths

  1. The problem addressed by the authors is recurrent in scientific applications, particularly in parameter estimation problems with sequential data acquisition. So, improving prior guidance performance is a good contribution to the community.

  2. Overall, the paper is well written and clear.

  3. The authors provide a general DRE-based guidance framework, which is a nice contribution.

  4. The application of the proposed methodology to the scientific problem of the planet light curve.

Weaknesses

  1. In many scientific applications where SBI is used, the observations are high-dimensional, and the use of an embedding network becomes indispensable before the conditional density estimator. Could the authors comment and address the use of an embedding network in their proposed methodology?

  2. The training time of the discriminator for each guidance should be better evaluated in relation to the inference time. Could the authors provide a summary of the inference time and the discriminator training time? I believe that adding a comparison of the inference times for the different methods presented would clarify this point.

  3. It would be good for the authors to provide a figure showing some window observations one example of the Planet Light Curve inference

Questions

See weaknesses

Limitations

Yes

Final justification

Overall, I think this paper is a valuable contribution. The authors have addressed my questions and concerns and I have maintained my positive score of the paper.

Formatting concerns

No formatting concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness:

1

In many scientific applications where SBI is used, the observations are high-dimensional, and the use of an embedding network becomes indispensable before the conditional density estimator. Could the authors comment and address the use of an embedding network in their proposed methodology?

Thank you for raising this point. Our framework can indeed accommodate an embedding network. Given a pretrained embedding network NNemb\mathrm{NN}_{emb} mapping an observation to xemb=NNemb(x)x_{emb} = \mathrm{NN}_{emb}(x), we simply feed xembx_{emb} in place of the raw observation. The generalized objective in Eq. 17 then becomes

Et[−Ep(θt,θ0,x)[r(θ0) h(θt,NNemb(x),t)]+Ep(θt,x)[g(h(θt,NNemb(x),t))]],\mathbb{E}_t\left[ -\mathbb{E}_{p(\theta_t,\theta_0,x)}\big[ r(\theta_0)\, h(\theta_t, \mathrm{NN}_{emb}(x), t) \big] + \mathbb{E}_{p(\theta_t,x)}\big[ g\big(h(\theta_t, \mathrm{NN}_{emb}(x), t)\big) \big] \right],

The embedding therefore integrates cleanly into our framework, and we can now leverage the embedding features to train an effective guidance term.

2

The training time of the discriminator for each guidance should be better evaluated in relation to the inference time. Could the authors provide a summary of the inference time and the discriminator training time? I believe that adding a comparison of the inference times for the different methods presented would clarify this point.

We thank you for this suggestion! We would like to clarify that both our method and Priorguide require a training step for new prior, and under a fair comparison our method is in fact comparable or even more efficient.

Training cost. Our method and Priorguide both fit into the test-time-training paradigm: for each new prior, we train a lightweight DRE model (12,000 iterations in our experiments) and Priorguide trains a neural network to fit the GMM parameters matching the prior ratio (20,000 iterations in the experiments). Our training is therefore not an added training cost relative to PriorGuide.

Inference cost. At each diffusion step, our method calls the base score model once and the DRE model once, giving (1 + 1) network evaluations per step. PriorGuide instead performs one prediction step plus K Langevin correction steps, both invoking the base score model, giving (1 + K) evaluations with K ≥ 1. The cost per posterior sample is summarized below:

Training (per prior) Inference (per posterior sample)
Ours DRE training diffusion_steps × (1 + 1)
PriorGuide GMM fit training diffusion_steps × (1 + K), K ≥ 1

Since PriorGuide's approximation is substantially biased at non-small t, its Langevin correction (K ≥ 1) is necessary in practice, making its per-step inference cost usually higher than ours.

We will add this analysis to the final version.

3

It would be good for the authors to provide a figure showing some window observations one example of the Planet Light Curve inference

Thank you for the suggestion. We agree such a figure would improve clarity. Rebuttal submissions do not allow figures, but we commit to adding it to the revised version.

Correction to the PriorGuide baseline.

While preparing this response, we identified and fixed an implementation issue in our PriorGuide baseline that we want to flag proactively.

Our code builds on the official PriorGuide codebase, which we reused to keep the two methods aligned. That codebase applies a shortcut to estimate the prior ratio, but this is valid only when the base prior is uniform, in which case the prior ratio reduces to the target prior's density and no ratio estimation is needed. Since all of our settings use a non-uniform base prior, the ratio must be estimated instead; our original code inadvertently inherited this uniform-prior shortcut. We have corrected this by estimating the ratio with a numerically stable GMM fit, following the PriorGuide formulation.

This affects only the PriorGuide baseline in the numerical experiments and none of the light-curve results. The corrected C2ST scores are below; the full set of updated metrics will appear in the final version.

C2ST — ID (↓, lower is better)

Task Simformer +SIR PriorGuide Ours (NRE-A) Ours (KLIEP)
Two Moons 0.79(0.02) 0.85(0.01) 0.68(0.01) 0.69(0.01) 0.69(0.01)
SLCP 0.83(0.04) 0.90(0.02) 0.82(0.04) 0.81(0.05) 0.81(0.05)
Gaussian Linear 6D 0.73(0.05) 0.85(0.04) 0.55(0.01) 0.54(0.01) 0.54(0.01)
OUP 0.52(0.02) 0.68(0.01) 0.53(0.03) 0.51(0.01) 0.51(0.01)
Turin 0.84(0.02) 0.91(0.01) 0.53(0.02) 0.57(0.03) 0.55(0.03)

C2ST — OOD (↓, lower is better)

Task Simformer +SIR PriorGuide Ours (NRE-A) Ours (KLIEP)
Two Moons 0.69(0.06) 0.80(0.04) 0.71(0.06) 0.72(0.06) 0.72(0.06)
SLCP 0.87(0.05) 0.93(0.03) 0.80(0.05) 0.78(0.04) 0.80(0.05)
Gaussian Linear 6D 0.70(0.06) 0.83(0.05) 0.69(0.08) 0.58(0.05) 0.60(0.05)
OUP 0.60(0.08) 0.72(0.04) 0.65(0.10) 0.54(0.04) 0.54(0.04)
Turin 0.99(0.00) 1.00(0.00) 0.53(0.02) 0.71(0.05) 0.73(0.05)

Bold = best or statistically indistinguishable from best.

After correction, our method remains best or statistically tied on 8 out of 10 tasks. The exception is Turin, where corrected PriorGuide now outperforms our method; we will update these numbers and add a failure analysis of this case in the final version. We thank you for your patience.

Reviewer vXRB · CommentOpenReview ↗

Thanks for the answers, I maintain my score.

Authors · CommentOpenReview ↗

Thank you!

Thank you for your time and thoughtful review. We're glad the responses addressed your concerns, and we'll incorporate them into the revised version.

If any further question arises, please do not hesitate to comment and we are happy to respond during the discussion period.

Reviewer mVu7OpenReview ↗
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 work studies prior adaptation for amortized SBI, where a diffusion-based posterior estimator trained under one prior should be adapted to a new prior. The proposed method rewrites the target posterior score as the original diffusion-based SBI score plus the gradient of a diffusion-space joint density ratio, and estimates this ratio using DRE methods such as NRE and KLIEP. The derived importance weighting strategy allows the ratio estimator to reuse existing simulations.

Strengths and weaknesses

Strengths.

  • The paper is well-structured, and the narrative flows smoothly.
  • I like how the methodology is presented; introducing a practical instantiation first (Section 3.3) before formalizing the general framework (Section 3.4) makes the core concepts easy to follow.

Weaknesses.

  • To my understanding, the method is not purely test-time in the same sense as PriorGuide, as it requires "training" a new ratio estimator. The manuscript would be strengthened by an explicit analysis of the computational overhead, particularly regarding how its training/inference costs scale compared to PriorGuide.
  • The method's efficacy inherently relies on the DRE quality; as this is a known difficult problem under complex setups, the proposed method will likely suffer from the same failure cases. From this perspective, it would be beneficial to provide a dedicated failure analysis; for instance, a notable immediate observation is that the method does not perform particularly well on the Two Moons benchmark.
  • The empirical evaluation could be more comprehensive. Including comparisons against retraining, sequential NPE variants, or FMPE [5] would provide a much stronger and more complete empirical narrative.
Questions
  • To my understanding, plugging g(h)=log⁡(1+eh)g(h) = \log{(1+ e^{h})} into Eq. (17) gives −Eq[h]+Ep[log⁡1+eh]-\mathbb{E}_{q}[h] + \mathbb{E}_{p}[\log{1 + e^{h}}], which is not the Eq. (11). Could you clarify this?
  • Overall, since the experiments are conducted on synthetic tasks where a tractable likelihood is sometimes available, it feels like this could be leveraged to evaluate if the derived guidance truly achieves the intended prior adaptation. I was wondering if the authors have already attempted or considered such assessment.
Limitations

Yes.

Final justification

The authors provided appropriate responses to my concerns, which are well within a manageable scope for the camera-ready revision. I particularly appreciate their clear clarification of the term 'training,' the inclusion of additional baselines, and especially their candid reporting of failure cases. Since they have committed to making these updates, I maintain my initial positive evaluation.

Formatting concerns

No major concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness:

1. Computational Cost

To my understanding, the method is not purely test-time in the same sense as PriorGuide, as it requires "training" a new ratio estimator. The manuscript would be strengthened by an explicit analysis of the computational overhead, particularly regarding how its training/inference costs scale compared to PriorGuide.

We thank you for this observation and agree that clarifying the computational profile strengthens the paper. We would like to clarify that neither our method nor Priorguide is purely test-time; both require a training step for new prior, and under a fair comparison our method is in fact comparable or even more efficient.

Training cost. Our method and Priorguide both fit into the test-time-training paradigm: for each new prior, we train a lightweight DRE model (12,000 iterations in our experiments) and Priorguide trains a neural network to fit the GMM parameters matching the prior ratio (20,000 iterations in the experiments). Our training is therefore not an added training cost relative to PriorGuide.

Inference cost. At each diffusion step, our method calls the base score model once and the DRE model once, giving (1 + 1) network evaluations per step. PriorGuide instead performs one prediction step plus K Langevin correction steps, both invoking the base score model, giving (1 + K) evaluations with K ≥ 1. The cost per posterior sample is summarized below:

Training (per prior) Inference (per posterior sample)
Ours DRE training diffusion_steps × (1 + 1)
PriorGuide GMM fit training diffusion_steps × (1 + K), K ≥ 1

PriorGuide's approximation incurs substantial bias at non-small diffusion times t, so Langevin correction is necessary for stable performance (K ≥ 1 in practice). Except in the special case where the prior ratio admits a closed-form GMM solution (e.g. a uniform-to-Gaussian shift, requiring no fitting), our method has comparable training cost and lower inference cost. We will add this analysis to the final version.

2. Failure Analysis

it would be beneficial to provide a dedicated failure analysis; for instance, a notable immediate observation is that the method does not perform particularly well on the Two Moons benchmark.

Thank you for this suggestion! We will include a dedicated failure analysis in the final version, along with additional experiments supporting the explanation below.

For the Two Moons failure case, we examined the effective sample fraction ESS/N of the importance weights w(θ)=q(θ)p(θ)w(\theta) = \dfrac{q(\theta)}{p(\theta)}, defined as

ESS/N=(∑i=1Nwi)2N∑i=1Nwi2,\mathrm{ESS}/N = \frac{\left(\sum_{i=1}^{N} w_i\right)^2}{N \sum_{i=1}^{N} w_i^2},

Intuitively, ESS/N is close to 1 when the weights are nearly uniform (i.e., qq and pp assign almost the same density across the posterior support) and close to 0 when a few samples dominate. Notably, only this two moons task has ESS/N on posterior support close to 1, indicating that the prior ratio is nearly constant over the posterior support. This does not mean q and p are globally similar: they still differ substantially over the parameter space. Rather, the posterior happens to concentrate in a region where the ratio is nearly flat. In this regime, where the ratio varies little within the posterior support, any guidance mechanism mainly contributes its own approximation error (DRE for ours, GMM-fit for PriorGuide) rather than effective guidance. This explains the bad performance in Two Moons OOD task.

We will include this analysis in the dedicated failure analysis in the final version.

3. New Baseline

The empirical evaluation could be more comprehensive. Including comparisons against retraining, sequential NPE variants, or FMPE [5] would provide a much stronger and more complete empirical narrative.

We thank you for the suggestion, and address the three comparisons in turn.

Retraining and FMPE. These represent an idealized performance rather than a competing method, since both require re-running the simulator under the target prior, which is precisely the cost our post-training adaptation is designed to avoid. These idealized performance are reported in our paper: for OUP and Turin, the reference posteriors used to compute all C2ST scores are themselves obtained from a diffusion model trained on one million simulations (Appendix F.1), so our reported scores directly reflect the difference compared to this retraining oracle.

Sequential NPE variants. These refine an estimator for one specific observation and require that observation during adaptation. Our method instead adapts to a new prior once, yielding an amortized estimator usable for any future observation. This is a different cost structure and setting, so it might be difficult to perform a direct comparison on equal footing.

Additional baseline. The appropriate comparison set is therefore other simulation-free post-training adaptation methods (PriorGuide and SIR), which we already report. That said, we also added a further simulation-free baseline: weighted score matching (WSM). WSM keeps the base score sbases_{\text{base}} frozen and learns an additive score correction network uu via a prior-ratio-weighted denoising score matching loss:

L(u)=Et,p(θt,θ0,x)[q(θ0)p(θ0)∥sbase(θt,x,t)+u(θt,x,t)−∇θtlog⁡p(θt∣θ0)∥2]\mathcal{L}(u)=\mathbb{E}_{t,p(\theta_t,\theta_0,x)}\left[\frac{q(\theta_0)}{p(\theta_0)}\left\Vert s_{\mathrm{base}}(\theta_t,x,t)+u(\theta_t,x,t)-\nabla_{\theta_t}\log p(\theta_t\mid\theta_0)\right\Vert^2\right]

Since it reweights the base model's own samples by the prior ratio, WSM is simulation-free and matches the setting of our method, making it a fair baseline (trained for 10,000 iterations) rather than a retraining oracle.

OUP

Model C2ST (ID) ↓ C2ST (OOD) ↓
Simformer 0.52(0.02) 0.60(0.08)
PriorGuide 0.53(0.03) 0.65(0.10)
Ours (NRE-A) 0.51(0.01) 0.54(0.04)
Ours (KLIEP) 0.51(0.01) 0.54(0.04)
WSM 0.55(0.06) 0.56(0.07)

Turin

Model C2ST (ID) ↓ C2ST (OOD) ↓
Simformer 0.84(0.02) 0.99(0.00)
PriorGuide 0.53(0.02) 0.53(0.02)
Ours (NRE-A) 0.57(0.03) 0.71(0.05)
Ours (KLIEP) 0.55(0.03) 0.73(0.05)
WSM 0.61(0.04) 0.82(0.07)

Bold = best or statistically indistinguishable from best.

Our method consistently outperforms WSM on both benchmarks. On Turin, PriorGuide outperforms our methods; we attribute this to the high dimensionality of x in this task, which makes the DRE fit harder, and we will include this in the failure analysis. A natural remedy is to compress x with an embedding network, a standard technique in SBI. We will discuss this direction in revision and is an interesting future work.

Questions:

1

To my understanding, plugging g(h)=log⁡(1+eh)g(h) = \log(1+e^h) into Eq. (17) gives −Eq[h]+Ep[log⁡(1+eh)]-\mathbb{E}_q[h]+ \mathbb{E}_p[\log(1+e^h)], which is not the Eq. (11). Could you clarify this?

This is indeed a confusion caused by inconsistent notation on our part, and we apologize for it.

The hh in Eq. 11 and the hh in Eq. 17 are not the same quantity. The hh in Eq. 11 is in fact the direct output of the unconstrained neural network, and should be denoted aa; its relationship to the pointwise variable hh in Eq. 17 is h=log⁡S(a)h = \log S(a). The reason the log⁡S\log S transformation is needed is that the generator gg below has domain (−∞,0)(-\infty, 0), and log⁡S\log S maps R\mathbb{R} precisely onto (−∞,0)(-\infty, 0).

Accordingly, the generator corresponding to NRE in Table 1 (Appendix D.2) should be corrected to g(h)=−log⁡(1−eh)g(h) = -\log(1 - e^{h}). With this correction, Eq. 11 and Eq. 17 become fully consistent: substituting h=log⁡S(a)h = \log S(a) gives g(h)=−log⁡(1−S(a))g(h) = -\log(1 - S(a)), so the general objective −Eq[h]+Ep[g(h)]-\mathbb{E}_q[h] + \mathbb{E}_p[g(h)] reduces exactly to

−Eq[log⁡S(a)]−Ep[log⁡(1−S(a))],-\mathbb{E}_q[\log S(a)] - \mathbb{E}_p[\log(1 - S(a))],

which is the logistic NRE loss in Eq. 11.

2.

Overall, since the experiments are conducted on synthetic tasks where a tractable likelihood is sometimes available, it feels like this could be leveraged to evaluate if the derived guidance truly achieves the intended prior adaptation. I was wondering if the authors have already attempted or considered such assessment.

Thank you for this suggestion!

We verify on Gaussian Linear (6D), under ID and OOD. Its likelihood is Gaussian and the target prior is a (mixture of) Gaussian, so the guidance term has a closed form. We take this closed form as an analytic oracle, the target that ideal prior adaptation should recover, so each method's gap to it quantifies the fidelity of the guidance. Results:

C2ST (ID) C2ST (OOD)
Simformer 0.734(0.048) 0.704(0.061)
PriorGuide 0.552(0.012) 0.689(0.076)
Ours (NRE-A) 0.538(0.011) 0.582(0.047)
Ours (KLIEP) 0.540(0.015) 0.603(0.053)
Analytic (Oracle) 0.511(0.006) 0.551(0.030)

The analytic oracle performs best, with our methods (NRE / KLIEP) close behind. The oracle and our methods use the same base diffusion model, differing only in whether the guidance term is exact or learned. So the results show our estimated guidance is very close to the theoretical guidance term. We will add this verification to the revised version.

Experimental Result Correction

After submitting the paper, we found and fixed an error in the PriorGuide baseline implementation. It affects only the PriorGuide results in the numerical experiments, not our method or the light-curve results. Full details and corrected tables are at the end of our response to Reviewer vXRB (see "Correction to the PriorGuide baseline").

Reviewer mVu7 · CommentOpenReview ↗

Thank you for providing a detailed response. I will keep my initial positive assessment.

Authors · CommentOpenReview ↗

Thank you for your time and thoughtful review. If any further question arises, we are happy to clarify them.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Summary of Rebuttal

We thank all reviewers and the Area Chair for their constructive feedback. We believe this process has substantially strengthened our paper.

  • We provided a detailed comparison of training and inference costs, showing that our method is comparable to or more efficient than PriorGuide.
  • We resolved the theoretical generality issue of our framework.
  • We expanded the experimental evaluation with a new baseline (WSM) and presented a failure case analysis.
  • We explained how our framework can be extended to high-dimensional observations via embedding networks.

We are committed to incorporating the requested light-curve visualization and all clarifications into the final version.

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

Missing a submission?

Loading the discussion…