potentialpaper

Trajectory-Consistent Dropout for Uncertainty Decomposition in Hamiltonian Neural Networks

Yuki Tachibana, S Roberts

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. Fixed-mask MC keeps one dropout mask per Hamiltonian rollout, enabling trajectory-consistent uncertainty decomposition that responds more strongly to OOD physics shifts.

Abstract. Hamiltonian Neural Networks (HNNs) produce stable long-horizon rollouts by integrating a learned Hamiltonian with a symplectic scheme. Monte Carlo dropout (Fresh-mask MC) conflicts with this per-trajectory interpretation because resampling the dropout mask inside a leapfrog integrator means successive sub-steps follow different subnetworks, so a single MC rollout no longer corresponds to any one sampled Hamiltonian. We propose trajectory-consistent dropout, implemented as Fixed-mask MC, where each stochastic rollout selects one mask from a finite bank and reuses it across the full integration path. This restores a coherent per-rollout Hamiltonian sample and makes uncertainty decomposition operational. Crossing the mask axis with an initial-condition ensemble separates epistemic uncertainty, the model's own, from aleatoric uncertainty, the sensitivity to the initial state. Experiments on classical dynamical systems show three benefits. First, sampled trajectories conserve energy better over long horizons, with 1.9--4.7 times less physical energy drift than fresh-mask rollouts. Second, the method achieves a better aleatoric-epistemic decomposition. Fixed-mask MC recovers the initial-condition noise closest to its true scale and has the best likelihood at that scale, whereas fresh-mask baselines fit a larger noise scale that absorbs model error into the aleatoric term. Third, because model error stays on the epistemic axis, epistemic uncertainty responds to distribution shift. Out of distribution on a coupled pendulum, the epistemic share of predictive variance rises by 0.32 for Fixed-mask MC but by only 0.03 for Fresh-mask MC, whose epistemic variance is about 19 times smaller. On a transverse-field Ising model the decomposition carries over to latent quantum dynamics, while predictive gains remain system-dependent. Fixed-mask MC thus gives trajectory-consistent, physically interpretable uncertainty from a single training run.

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:46 UTC.

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

This paper studies uncertainty quantification (UQ) in Hamiltonian neural networks. The authors propose fixed-mask Monte Carlo (MC) for dropout based UQ, where the Hamiltonian is fixed within each numerical rollout. This helps energy preservation and allows variance decomposition: the perturbed initial conditions lead to the aleatoric uncertainty, while the contribution from the fixed-mask dropout gives epistemic uncertainty. The performance is evaluated on several controlled dynamical systems.

Reviewers acknowledged that the paper tackles an interesting and underexplored issue, while they posed several concerns, including

  • Incremental contribution
  • Evaluated only on controlled systems
  • Unfair comparison
  • Clarity issues on the experimental setting

On the novelty, the assessment is diverse from incremental (RGje) to highly original (a8xK). On this point, I'd encourage the authors to argue how innovative the proposed method is. Other than that, reviewers gave a lot of constructive suggestions/questions, which the authors should address in the rebuttal.

Final justification

The authors addressed all of the reviewers’ concerns, most importantly those regarding the novelty of the work. All reviewers agreed that the paper should be accepted.


Note from PC: The appeal of hallucinated reference determination has been reviewed. The decision now reflects the outcome of the appeals process as well as the content of the reviews, scores, and meta-review.

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

This paper studies uncertainty quantification (UQ) in Hamiltonian neural networks. The authors propose fixed-mask Monte Carlo (MC) for dropout based UQ, where the Hamiltonian is fixed within each numerical rollout. This helps energy preservation and allows variance decomposition: the perturbed initial conditions lead to the aleatoric uncertainty, while the contribution from the fixed-mask dropout gives epistemic uncertainty. The performance is evaluated on several controlled dynamical systems.

Reviewers acknowledged that the paper tackles an interesting and underexplored issue, while they posed several concerns, including

  • Incremental contribution
  • Evaluated only on controlled systems
  • Unfair comparison
  • Clarity issues on the experimental setting

On the novelty, the assessment is diverse from incremental (RGje) to highly original (a8xK). On this point, I'd encourage the authors to argue how innovative the proposed method is. Other than that, reviewers gave a lot of constructive suggestions/questions, which the authors should address in the rebuttal.

Final justification

The authors addressed all of the reviewers’ concerns, most importantly those regarding the novelty of the work. All reviewers agreed that the paper should be accepted.


Note from PC: The appeal of hallucinated reference determination has been reviewed. The decision now reflects the outcome of the appeals process as well as the content of the reviews, scores, and meta-review.

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

This paper investigates the problem of principled uncertainty quantification in Hamiltonian Neural Networks (HNNs). The authors identify a critical structural mismatch between standard Monte Carlo (MC) dropout and classical numerical integration: resampling dropout masks at every integration time-step effectively creates a time-varying Hamiltonian. This destroys the symplectic structure of the integrator, leading to severe energy drift and the breakdown of the physics priors HNNs are designed to protect.

To resolve this, the authors propose "trajectory-consistent dropout" (Fixed-mask MC), which samples a single dropout mask per rollout and keeps it strictly constant across all integrator steps. This ensures that each sampled trajectory remains governed by a coherent, time-independent Hamiltonian. Furthermore, by evaluating these fixed masks across an ensemble of perturbed initial conditions, the authors utilize the law of total variance to cleanly decouple the total predictive uncertainty into two distinct components: aleatoric uncertainty (the chaotic sensitivity to imprecise initial conditions) and epistemic uncertainty (the model's ignorance of the underlying physics).

Key Contributions:

  1. Theoretical Insight: Identifying the mathematical conflict between step-wise MC dropout and the preservation of symplectic structure in neural Hamiltonian systems.
  2. Methodology: Proposing a computationally cheap, single-model approach (Fixed-mask MC) that restores physical consistency for long-horizon trajectory rollouts.
  3. Uncertainty Decomposition: Formulating an initial-condition noise ensemble that leverages the law of total variance to isolate epistemic uncertainty.
  4. Empirical Validation: Demonstrating the method's effectiveness across a complexity ladder of conservative systems (coupled pendulum, spring chain, and latent quantum dynamics via TFIM), showing that it mitigates energy drift and serves as a highly reliable indicator for out-of-distribution (OOD) physical parameters.
Strengths and weaknesses

1. Summary and Contributions

This paper addresses a fundamental friction between modern deep learning uncertainty estimation and classical geometric numerical integration. The authors identify that applying standard Monte Carlo (MC) dropout step-wise within a Hamiltonian Neural Network (HNN) inadvertently models a time-dependent Hamiltonian (H(q,p,t)H(q, p, t)). Because ∂H∂t≠0\frac{\partial H}{\partial t} \neq 0, this destroys the symplectic structure of the integrator, leading to severe, unbounded energy drift.

To resolve this, the authors propose "Fixed-mask MC" (trajectory-consistent dropout). By freezing the dropout mask for the entirety of a temporal rollout, the method restores time-translation symmetry, yielding a coherent, time-independent Hamiltonian system. By evaluating these fixed masks across an ensemble of perturbed initial conditions, the authors elegantly apply the law of total variance to decompose predictive uncertainty into aleatoric (sensitivity to initial conditions) and epistemic (model ignorance) components.

2. Originality

The originality of this paper lies not in inventing HNNs or dropout, but in diagnosing and curing their silent incompatibility. Viewing step-wise dropout through the lens of analytical mechanics—specifically as a stochastic parametric perturbation (or "heating") that breaks energy conservation—is a highly original and profound framing. The authors successfully repurpose a standard regularization tool into a physically compliant operator. Furthermore, using the epistemic fraction (α\alpha) as a normalized alarm for physical out-of-distribution (OOD) dynamics is a novel contribution to reliability in physics-informed machine learning.

3. Quality (Technical Rigor & Experimental Design)

The technical quality of the paper is exceptionally high, particularly in its principled refusal to take mathematical shortcuts.

Addressing Physical Constraints: The authors are to be commended for avoiding the common pitfall of using "soft constraints" (penalty terms in the loss function) to enforce symmetries, such as preserving the norm in the Transverse-Field Ising Model (TFIM) experiment. As soft constraints inevitably pollute the pure energy landscape and fail over long integration horizons, relying purely on the symplectic properties of the Leapfrog integrator is the correct, rigorous choice. The paper transparently reports the resulting norm drift (e.g., 0.1110.111 for Fixed-mask MC), honestly presenting it as a metric of the model's structural limitations rather than hiding it behind a regularization hack.

Experimental Ladder: The progression from the Coupled Pendulum to the Spring Chain and finally the TFIM provides a rigorous "complexity ladder." By conditioning the HNN on explicit physical parameters (e.g., the mass ratio rr), the authors perfectly demonstrate how the model learns non-linear physical interactions rather than static constants. When queried with OOD parameters, the epistemic variance reliably spikes.

4. Clarity

The manuscript is remarkably clear. The distinction between aleatoric and epistemic uncertainty is often mathematically muddy in applied literature, but Equation 4 (the total variance decomposition) provides a surgical separation: Ez0[Varm]+Varz0[Em]\mathbb{E}_{z_0} [Var_m] + Var_{z_0} [\mathbb{E}_m]. The physical intuition—that varying the mask explores the hypothesis space while varying the initial state explores the phase space—is communicated effectively and backed by unambiguous visualizations.

5. Significance

The significance of this work extends well beyond HNNs; it provides a blueprint for deploying neural surrogate models in safety-critical scientific and engineering contexts.

Crucially, the proposed uncertainty decomposition mechanism handles both explicit and implicit OOD scenarios. If a system is perturbed by an unmodeled, hidden variable (a common reality in physical deployment), the resulting trajectory will conflict with the learned dynamics. Because Fixed-mask MC will generate diverging rollouts among its internal hypotheses when faced with this anomaly, it inherently functions as an anomaly detector for unmodeled dynamics. This capability—allowing a physical model to essentially say "I do not recognize these dynamics"—is vital for the adoption of AI in closed-loop control and long-horizon forecasting.

6. Weaknesses and Limitations

While the paper is robust, it is important to note that freezing a biased mask in a highly complex or chaotic system (like the TFIM) locks the model into an imperfect Hamiltonian for the entire rollout. This naturally results in slightly degraded point-prediction accuracy and measurable norm drift compared to heavily engineered, domain-specific models (e.g., strict U(1)U(1) equivariant networks). However, the authors adequately acknowledge this trade-off: sacrificing marginal point-prediction accuracy to gain calibrated, interpretable uncertainty bounds is a highly justified exchange for the target problem domain.

Questions

1. Theoretical Framing: Dropout as a Time-Dependent Perturbation The paper correctly identifies that standard step-wise MC dropout breaks the symplectic structure. I strongly suggest making the underlying physical mechanism mathematically explicit in the text. Standard MC dropout effectively introduces a stochastic, time-varying perturbation to the Hamiltonian, H(q,p,t)=H0(q,p)+ϵ(t)H(q, p, t) = H_0(q, p) + \epsilon(t). Because ∂H∂t≠0\frac{\partial H}{\partial t} \neq 0, time-translation symmetry is broken, resulting in unbounded energy drift (stochastic heating). Conversely, Fixed-mask MC reduces this to a constant perturbation, H(q,p)=H0(q,p)+ϵH(q, p) = H_0(q, p) + \epsilon.

  • Action: Could you briefly formalize this ϵ(t)\epsilon(t) vs ϵ\epsilon distinction in Section 2 or 4? Explicitly framing standard dropout as an artificial parametric drive that violates time-translation symmetry would greatly strengthen the theoretical motivation.

2. Implicit OOD Experiment: Unmodeled Dynamics / Hidden Variables In the current OOD experiments, the altered physical parameter (e.g., mass ratio rr) is explicitly provided to the conditioned network as an input. However, a major challenge in physical deployments is unmodeled dynamics, where an underlying parameter changes, but the model is blind to this change.

  • Action: I suggest a lightweight, computationally cheap experiment (e.g., on the Coupled Pendulum). Generate a test trajectory where a physical parameter is altered (e.g., mass ratio shifted), but do not provide this parameter shift as an input to the network. Instead, force the network to predict the trajectory using the default parameter.
  • Question: Does the epistemic fraction (α\alpha) still spike when faced with this "implicit OOD" trajectory? Demonstrating that Fixed-mask MC can act as an anomaly detector for hidden physical variables would significantly broaden the method's practical appeal.

3. Norm Drift and U(1)U(1) Invariant Architectures in TFIM The authors honestly report the norm drift (0.1110.111) for the TFIM experiment, which occurs because the standard MLP does not naturally preserve the global phase rotational symmetry (the U(1)U(1) invariance corresponding to ∣∣ψ∣∣2=1||\psi||^2=1).

  • Action/Question: Could the authors add a brief discussion on how Fixed-mask MC would interact with a strictly invariant network architecture? If the network were constrained to only take rotationally invariant features as input, would Fixed-mask MC maintain its excellent epistemic decomposition while driving the norm drift strictly to zero? I do not require a full new suite of TFIM experiments, but an ablation or a dedicated discussion paragraph in the limitations/future work would clarify whether the norm drift is a limitation of the dropout method itself or merely the chosen MLP backbone.

4. Explicit Verification of Learned Symmetries via Poisson Brackets While the paper evaluates the consequences of symmetry breaking through trajectory integration (e.g., measuring energy drift for time-translation symmetry, and norm drift for U(1)U(1) symmetry), it relies on functional rollouts rather than probing the learned representation itself.

  • Action/Question: Because HθH_\theta is fully differentiable, the authors could explicitly check if the learned Hamiltonian respects the true continuous symmetries of the system by computing the Poisson bracket {Hθ,C}\{H_\theta, C\} across the phase space, where CC is a known conserved quantity (e.g., the generator of the symmetry). Does Fixed-mask MC inherently encourage the learned function to maintain {Hθ,C}≈0\{H_\theta, C\} \approx 0 better than a standard deterministic HNN or standard dropout? Adding a brief evaluation or discussion on how trajectory-consistent dropout impacts the fundamental symmetries of the learned vector field (independent of the integrator) would significantly strengthen the theoretical depth of the representation learning claims.
Limitations

I suggest adding a brief "Limitations and Broader Impacts" paragraph addressing the following constructive points:

  • Applicability to Non-Conservative Systems: The mathematical guarantees (Proposition 1) strictly hinge on conservative dynamics. The authors should explicitly state whether this method breaks down, or how it might need to be modified, when applied to open, dissipative systems (e.g., Port-Hamiltonian architectures), which are incredibly common in real-world engineering deployments.
  • Dimensionality Scaling and Sampling Efficiency: While the TFIM experiment is a brilliant proof-of-concept for latent quantum dynamics, the phase-space dimensionality scales exponentially with the number of spins. The authors should briefly discuss the limitations of sampling efficiency—specifically, whether the number of required fixed masks to reliably estimate the epistemic variance becomes computationally prohibitive in truly macroscopic, high-dimensional systems.
Final justification

The authors provided a thorough and convincing rebuttal, directly addressing my feedback by successfully running both the implicit-OOD anomaly detection and Poisson bracket experiments with rigorous controls. The newly generated empirical results compellingly validate the Fixed-mask MC method by demonstrating its superiority in early detection of hidden physical shifts and its ability to better preserve fundamental geometric symmetries compared to standard dropout. I will maintain my ratings.

Formatting concerns

NO

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for an exceptionally thorough review, and in particular for articulating the contribution as diagnosing and curing a silent incompatibility between step-wise dropout and geometric integration. We implemented the suggested implicit-OOD experiment (Q2) and the suggested Poisson-bracket diagnostic (Q4) during the response period. Both come with auditable controls: a k=0 leakage self-check that lands in the chance band, and a ground-truth check whose bracket residual sits at the pipeline's numerical floor.

Notation: ‘Fixed-mask’ MC is the proposed trajectory-consistent scheme, with one dropout mask retained per rollout. ‘Fresh-mask’ MC is per-evaluation resampling - ‘Standard MC’ in the submission. We will make this clearer throughout.

Q1, formalizing the time-dependent perturbation: We will add this formal contrast to Section 2 or 4, as suggested. Fresh masks produce H_k(z) = H(z; m_k), a stochastic, step-varying perturbation that breaks time-translation symmetry within a rollout, consistent with the reviewer's stochastic-heating interpretation. A fixed mask instead gives H_k(z) = H(z; m) for all stages, yielding a constant perturbation for which the standard per-Hamiltonian backward-error argument applies. We will make clear that this is a rollout-level statement about the composite discretisation. Each individual step remains symplectic with respect to its instantaneous generator, so the composite map is also symplectic. What fails under fresh masks is therefore not symplecticity, but the interpretation of the entire trajectory in terms of a single modified Hamiltonian.

Q2, implicit-OOD detection of hidden parameters: We implemented exactly the suggested experiment on the Coupled Pendulum using a leakage-controlled protocol: a hidden mass-ratio shift never revealed to the network, a detector receiving only a revealed prefix of length k and a shared, ratio-independent initial-condition pool across all conditions. Two checkable controls anchor the result. At k=0, the pooled AUROC is 0.506, within the [0.43, 0.57] chance band, confirming the absence of leakage. The reviewer also asks whether the epistemic fraction still spikes. We observe that it does, but only modestly. Detection rises from chance at k=0 to a peak AUROC of 0.652 at k=10 for Fixed-mask MC. Fresh-mask MC performs similarly (peak of 0.643). Detection based solely on predictive uncertainty is therefore weak for both schemes at zero observations, and we present this as a challenging open problem rather than a capability either method can claim. We will make this clear.

The useful result is that the sampling itself provides a more effective detection statistic than predictive variance. Under Fixed-mask MC, each retained draw (m) defines a persistent sampled Hamiltonian H_m, allowing H_m to be evaluated pointwise along the k revealed states and scored by its temporal variation. This requires no forecasting, integration, or future observations. Each method is evaluated under its native sampling semantics. For Fresh-mask MC, the corresponding score necessarily aggregates independent per-evaluation draws because no persistent H_m exists, making this a consequence of the sampling rather than a tuning choice. We present these findings as exploratory and, at present, limited to comparing the two sampling approaches. Two additional controls could isolate the mechanism further: a deterministic HNN baseline evaluated with the same statistic, and a Fresh-mask baseline evaluated using a single frozen draw. We would be happy to include both if the reviewer considers them valuable.

For hidden shifts within the training range, Fixed-mask MC achieves better detection at short observation horizons. The drift statistic results, reported as mean AUROC across 10 seeds, are shown below. Stars mark cells that differ significantly under paired two-sided t-tests with Holm correction, and every significant cell favours Fixed-mask MC.

Anchor ratio Method k=2 k=3 k=5 k=8 k=10
0.75 Fixed-mask MC 0.800* 0.811* 0.827* 0.840* 0.850*
0.75 Fresh-mask MC 0.636 0.693 0.761 0.808 0.825
1.0 Fixed-mask MC 0.865* 0.848* 0.832* 0.814 0.828
1.0 Fresh-mask MC 0.644 0.704 0.768 0.807 0.828
1.5 Fixed-mask MC 0.668* 0.668 0.668 0.689 0.711
1.5 Fresh-mask MC 0.616 0.653 0.696 0.726 0.742

The advantage is greatest for the shortest prefixes, where early detection of a hidden shift is most valuable, and narrows as more of the trajectory becomes available. Energy- and conservation-law-based signatures have previously been used for anomaly detection in Hamiltonian systems, so our novelty claim is limited to the connection with the sampling approach. The diagnostic is computed entirely from observed states and is independent of the epistemic-fraction claim that we narrow in response to Reviewer RGje; nothing here reinstates that claim. We will add both the benchmark and the diagnostic to the revision, and we thank the reviewer for suggesting the experiment.

Q3, norm drift and invariant architectures: We are happy to add this discussion. The MLP backbone enforces no norm symmetry, so some residual drift is architectural, and an invariant backbone is the natural way to remove that source. Fixed-mask sampling is nevertheless complementary to invariant architectures. If every sampled subnetwork respects the symmetry by construction, the same trajectory-consistency rule preserves one coherent symmetry-respecting model sample per rollout, and the decomposition still applies because the mask axis and the initial-state axis are orthogonal to the backbone choice. We note that invariance of the full network does not survive masking automatically, because independent dropout on symmetry-related channels can break the architecture's equivariance, so masks would need to be tied across those channels. Subject to this condition, we expect the backbone-attributable norm drift to be largely eliminated, though exact invariance of every masked subnetwork and the absence of residual numerical drift would still need empirical verification.

Q4, Poisson-bracket verification of learned symmetries: We agree the bracket residual probes the learned representation directly, independent of integrator effects. We ran it on the TFIM, where the global phase symmetry supplies exactly the kind of generator the reviewer points to, G(q, p) = sum_i (q_i^2 + p_i^2), and the norm drift raised in the previous point is the rollout-level consequence of the same symmetry. We evaluated the normalized bracket residual across sampled phase-space states for a deterministic HNN, Fresh-mask MC, and Fixed-mask MC. As a validity check, the exact ground-truth Hamiltonian yields a residual at the pipeline’s numerical floor (floating-point precision). On the reviewer's direct comparison question, the deterministic HNN attains the smallest residual of the three conditions, so we do not claim that either sampling scheme improves pointwise symmetry preservation over a deterministic HNN. Between the two dropout sampling schemes, Fixed-mask MC does significantly better. On an extended 10-seed pool trained under the identical configuration during the response period and analyzed as one planned comparison, mean paired (log) difference is −0.171 with bootstrap 95% CI [−0.245, −0.094] and paired t-test p=0.0020 at df=9. This is approx. a 16% smaller bracket residual in geometric-mean terms. We will add this 10-seed analysis to the paper, replacing the 3-seed one. We will add these various results and diagnostics to the revision.

Limitations, non-conservative systems and sampling efficiency: Proposition 1 applies to the stated conservative, separable setting under leapfrog. The trajectory-consistency principle may transfer to port-Hamiltonian systems by holding uncertain parameters fixed over a trajectory segment, but the resulting guarantee would concern passivity or bounded dissipation rather than exact energy conservation, a distinct claim we have not derived - we will make this clear and consider this as possible future work. Regarding the dimensionality and mask counts, we separate state-space growth (exponential in spin count for the TFIM) from MC estimation error. For the latter, convergence curves show OOD MSE converged by M=5 masks (under 1% deviation from M=50) with Var_epi noise of 6% at small M and no systematic bias. We note that these curves characterize the systems studied, and we make no claim that such mask counts suffice for macroscopic systems, where state-space growth dominates. We will make this clear in any updated version.

Thank you again for your insightful comments - we will use these to make improvements to the paper. We welcome further questions in the discussion period.

Reviewer RGjeOpenReview ↗
Rating
4/6
Confidence
3/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 work introduces a way to obtain uncertainty estimates for Hamiltonian Neural Networks based on a fixed dropout mask. The paper shows that sampling the dropout mask at every leapfrog integration step makes the Hamiltonian not constant and therefore the integrator not symplectic. Coupled pendulum, spring-chain and transverse-field Ising experiments are reported, showing improvements over ensembles and MC dropout.

Strengths and weaknesses

Strengths

The paper is clearly written and well-structured, with an empirical evaluation coherent with the paper’s narrative. The authors are honest about the limitations of their approach, explicitly flagging cases where fixed-mask dropout does not win and avoiding overclaiming. Overall, I find this submission to be an honest piece of work that would give practitioners clear and actionable guidance on a real implementation pitfall in Hamiltonian neural networks, but better suited for a workshop venue than the main conference (see below).

Weaknesses

The main weakness is that the core idea is closely related to locked dropout for a recurrent network, which the authors acknowledge. The conceptual step from fixing masks across RNN timesteps to fixing them across leapfrog steps is narrow, and the Hamiltonian context adds motivation but does not substantially change the mechanism. Proposition 1 is largely tautological: if the mask is fixed, the leapfrog integrator is symplectic for that fixed Hamiltonian; this follows almost directly from standard backward error analysis and would hold for any fixed parametrisation, not just dropout. Finally, the paper assumes MC dropout is the natural UQ baseline for neural Hamiltonian systems without establishing this, which limits the practical relevance of the contribution. Overall, I find this submission to present a clean and useful observation that would be better suited for a workshop venue than the main conference.

Questions

Table bolding is misleading. I would bold either the mean or (better) do a statistical analysis and bold only the significant results, which are better. Like this, for example, the Spring chain has 6.164±4.299, indicating high instability of the model, but still getting bold vs MC dropout 4.769±0.033 (which has a reasonable std).

From Table 7, I can see you used 10 samples for standard MC dropout and 100 for locked dropout. Are these values only for efficiency comparison or also the ones you used for uncertainty estimates in the main text? In that case, it would be fair to compare uncertainty with the same number of MC samples.

In the paper, you interpret a rising α\alpha as evidence that Fixed-mask MC better detects model uncertainty OOD. But α=Varepi/(Varepi+Varalea)\alpha = Var_{epi}/(Var_{epi} + Var_{alea}) is a ratio, and from Table 10, Fixed-mask MC has structurally lower VaraleaVar_{alea} than Standard MC. This happens not because it is more accurate at detecting epistemic uncertainty, but because fixing the mask mechanically removes within-rollout noise that would otherwise inflate VaraleaVar_{alea}. Looking at Table 4, VarepiVar_{epi} actually increases at a comparable rate OOD for both methods (~6x for Fixed-mask, ~7x for Standard MC), i.e., it seems the suppressed denominator that makes α\alpha look more impressive. Do you agree?

Limitations

Yes

Final justification

The authors’ response clarified an aspect of the contribution that I had initially underestimated. In particular, demonstrating the incompatibility between dropout and geometric integration, quantifying its practical cost, and proposing a workable solution together constitute a meaningful contribution. As I am not deeply familiar with the HNN literature, I had not previously appreciated the severity or practical relevance of this issue. I also found the core idea interesting, and the paper was generally easy to follow even from a non-expert perspective.

The clarification that the paper will explicitly show how the dropout mask contract materially affects trajectory-level behavior within a widely used family of single-model uncertainty methods further strengthens the paper’s significance. At the same time, I still find Proposition 1 somewhat tautological, which prevents me from taking a stronger positive position. I have therefore assigned a borderline accept. Since my confidence in evaluating this work is relatively low, I also prefer that my assessment be weighted less heavily in the final decision.

Formatting concerns

No Paper Formatting Concerns

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful review that has helped us refine our work.

Notation: Fixed-mask MC is the proposed scheme, with one dropout mask retained per rollout. ‘Fresh-mask’ MC is per-evaluation resampling - ‘Standard MC’ in the submission. We will make definitions and discussions clearer in the revised paper.

W1, novelty relative to locked dropout: We agree that the masking mechanism itself is not new. It belongs to the family of schemes (e.g. Merity et al., 2018, Gal and Ghahramani, 2016b) - we will make this more explicit. However, we believe we introduce innovation in three areas. Firstly, we address a different failure mode - in the RNN setting, freezing is a regularization choice with no structural modifications. In leapfrog-integrated HNNs however, per-step resampling changes the rollout generator such that each step is associated with a generator which is symplectic. As the combination of symplectic maps is also symplectic, the use of fresh masks retains symplecticity. However, the composite mapping is not from a single Hamiltonian, so backward-error analysis is not viable. Fixing the mask allows this to still hold per sampled model. Secondly, the fixed mask enables a decomposition that has no direct analogue in RNNs. By crossing sampled masks with initial-condition perturbations under the law of total variance, it separates epistemic and aleatoric uncertainty. In contrast, the locked-dropout literature lacks the phase-space dimension required for such a decomposition. Thirdly, this difference leads to measurable improvements: on the Coupled Pendulum task, it reduces energy drift by 0.100 across ten random seeds (paired reduction; Holm-adjusted p < 0.001), with the Spring Chain exhibiting the same trend in the submitted results (Table 1). Regarding the suggestion that the work is better suited to a workshop, we believe the contribution should be judged on what it demonstrates, not on the novelty of the masking mechanism alone. We identify a previously overlooked incompatibility between dropout and geometric integration, quantify its cost, and provide a practical solution, which the reviewing guidelines recognise as a meaningful contribution in its own right.

W2, Proposition 1: We agree and will present the argument in the correct logical order. Once the mask is fixed, the leapfrog integrator is symplectic for the corresponding fixed Hamiltonian by construction. Under the standard smoothness and step-size assumptions, backward error analysis then guarantees the existence of a nearly conserved modified energy. We will therefore recast Proposition 1 as a corollary that explicitly states these assumptions and emphasises that the key contribution lies in the contrast between fixed and freshly sampled masks, rather than in the underlying geometric integration theory itself.

W3, MC Dropout as the Baseline: We agree that the original manuscript asserted this point rather than fully justifying it. In the revision, we will remove the phrase "natural baseline" and instead explain the rationale explicitly. The motivation is practical. Dropout is the uncertainty mechanism that practitioners commonly use in HNNs, and standard implementations resample the dropout mask at every forward evaluation during a rollout. As a result, fresh-mask MC dropout is not simply a convenient baseline but the default behaviour of off-the-shelf implementations, and therefore the failure mode that our paper seeks to diagnose. Within this class of methods, the comparison is tightly controlled. All methods use the same architecture, dropout rate, integrator, training data, and optimisation budget, differing only in the mask contract. Furthermore, each model is trained under the same mask contract used at inference, ensuring a like-for-like comparison. The evaluation also extends beyond MC dropout: we include Concrete Dropout, Variational Dropout, and deep ensembles as a more computationally expensive reference. We will replace the original claim with a narrower and more defensible one. Rather than claiming MC dropout is the definitive HNN uncertainty benchmark, we show that the mask contract materially affects trajectory-level behaviour within the most widely used family of single-model uncertainty methods, a practical insight that motivates the comparison more than the baseline itself does.

Q1, Table Bolding and Statistical Support: We agree. In the revision, we will remove the bold formatting and instead report paired effect sizes together with confidence intervals. Our primary analysis uses two-sided paired t-tests on seed-level means, with Holm correction applied within each predefined family of comparisons. For the extended 10-seed evaluation, every significant claim reported in the table below is also confirmed by a paired permutation test. By contrast, with only 3 seeds the outcome depends on the choice of statistical test, and we therefore make no significance claims for the submitted 3-seed results.

Comparison (Coupled Pendulum) Seed pool Paired advantage of Fixed-mask MC 95% bootstrap CI Primary paired t-test
OOD MSE Extended (n = 10) +0.114 [0.069, 0.168] p = 0.0022, Holm-adjusted p = 0.0043
Mean energy drift Extended (n = 10) +0.100 [0.088, 0.112] Holm-adjusted p < 0.001
Ensemble NLL (ID / OOD; Table 1 metric) Extended (n = 10) +0.121 / +0.301 [0.106, 0.136] / [0.210, 0.385] Holm-adjusted p < 0.001 for both
ID MSE Extended (n = 10) No difference established CI includes zero p = 0.132 (no claim)

The extended evaluation comprises 7 additional random seeds (45–51), trained using the same experimental configuration. We make four clarifications. First, the 3-seed OOD MSE improvement is +0.122 and we continue to report that estimate without a confidence interval. Second, Holm correction is applied separately within each predefined family of hypotheses: (i) the MSE and energy-drift comparisons at each seed pool (OOD MSE, ID MSE, mean drift, and final drift), (ii) the ensemble NLL comparisons, and (iii) the 6 variance-decomposition comparisons discussed in Q3. The submitted and extended seed pools are analysed independently and are never combined within the same multiple-testing correction. Third, the size of the extended evaluation was fixed in advance at ten seeds and analysed only once. Finally, the NLL analyses apply the same paired statistical framework to a metric already reported in Table 1.

Q2, MC sample counts: Table 7 values are for the inference-cost profile only, not the main-text sampling protocol. Our comparisons use matched counts within each system, for the Coupled Pendulum 10 MC samples for OOD rollout evaluation, 50 for IC-ensemble metrics with 20 state-preparation replicas. A convergence check shows OOD MSE is already converged at M=5 masks (< 1 percent change vs M=50) for both methods. We will state the matched counts and clarify Table 7's caption.

Q3, epistemic-fraction denominator critique: We agree. As the reviewer notes from Table 4, absolute Var_epi grows at a comparable rate OOD for both methods (5.9x Fixed-mask MC, 7.3x Fresh-mask MC), so the rise in α_epi is largely a denominator effect. Sweeping the IC-noise scale from 0 to 4x the validation-selected value (3 seeds) shows this directly: α_epi falls from 1.0 at sigma=0 to 0.038 at 4x (Fixed-mask MC, OOD) while absolute Var_epi moves only about 1.7x (0.0328 to 0.0569, in the sweep pipeline). Note that the IC noise sweep was performed excluding t=0 for enhanced interpretability. The revision will lead with absolute Var_epi (excluding t = 0) and demote the fraction to a secondary summary.
Reallocation of uncertainty remains consistent across every noise level tested. Fixed-mask MC exhibits higher absolute epistemic variance at every value of sigma and on both the ID and OOD splits (e.g. at sigma = 1x, OOD: 0.0349 versus 0.0086 in the sweep pipeline). The 10-seed analysis shows lower aleatoric variance and lower total variance on both splits, indicating that Fixed-mask MC is not simply a noisier estimator. We believe that, with per-evaluation resampling, variation introduced by the dropout masks is absorbed into the ensemble of trajectory replicas and is therefore attributed to the aleatoric component. This artificially inflates Var_alea while reducing Var_epi. The fixed-mask contract removes this source of misattribution, producing a cleaner separation between epistemic and aleatoric uncertainty, consistent with the improved NLL observed for Fixed-mask MC. Two caveats. First, all 6 comparisons in this family yield a permutation p of 0.0019 and Holm-adjusted p of 0.0114. Since 0.0019 is the minimum attainable two-sided p for the exhaustive paired sign-flip test with 10 seeds (2/1024), it marks the resolution limit of the test rather than a precisely estimated significance level. Second, this family was evaluated using permutation tests only, without confirmation from paired t-tests. We thus present the result as robust evidence of a persistent and physically interpretable uncertainty-attribution effect, rather than as evidence that Fixed-mask MC is universally superior at modelling epistemic uncertainty.

Thank you again for your insightful comments - we will use these to make improvements to the paper. We welcome further questions in the discussion period.

Reviewer RGje · CommentOpenReview ↗

Response

I thank the authors for their thorough response. I agree that demonstrating the incompatibility between dropout and geometric integration, quantifying its impact, and proposing a practical solution constitute meaningful contributions. As I am not deeply familiar with the HNN literature, I had not appreciated the severity of this issue at first.

In light of this clarification, as well as the paper’s proposed claim that it “shows that the mask contract materially affects trajectory-level behavior within the most widely used family of single-model uncertainty methods,” I will increase my score.

Authors · CommentOpenReview ↗

Thank you for the updated assessment

We sincerely thank the reviewer for the close engagement and the updated assessment. The claim will appear in the revised paper as phrased in our response, along with the clarifications discussed in this thread.

Reviewer XwgeOpenReview ↗
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 uncertainty estimation in Hamiltonian neural networks with MC dropout. It proposes Fixed-mask MC, which keeps the dropout mask fixed within each numerical rollout to preserve a coherent sampled Hamiltonian and enables a variance decomposition over masks and perturbed initial conditions. Experiments on several controlled dynamical systems evaluate trajectory consistency, uncertainty behavior under distribution shift, and predictive performance.

Strengths and weaknesses

Strengths:

The paper studies an interesting and relatively underexplored issue in uncertainty estimation for Hamiltonian neural networks: how dropout-induced stochasticity interacts with numerical integration at the trajectory level.

Weaknesses:

  1. The evaluation relies on controlled Hamiltonian systems and parameter shifts to construct OOD settings. While this design isolates the method’s mechanism, it does not capture practical factors such as measurement noise, model mismatch, partial observability, or external forcing. More realistic simulations or discussion of these factors would strengthen the empirical claims.

  2. The uncertainty decomposition attributes mask variation and initial condition perturbations to epistemic and aleatoric uncertainty, respectively. While this interpretation is intuitively reasonable, it remains related to the specific modeling choices used in the experiments. Further discussion or sensitivity analysis would be helpful.

  3. Fixed masks ensure that each rollout corresponds to one sampled Hamiltonian and therefore provide a clearer physical interpretation at the trajectory level. However, it remains unclear how much this consistency benefits practical physical inference or downstream decision making beyond the reported energy drift and uncertainty measures.

Questions

Please see weakness

Limitations

The evaluation is limited to controlled Hamiltonian systems, and the practical robustness and downstream value of the proposed uncertainty decomposition under more realistic sources of uncertainty remain to be established.

Final justification

A technically solid paper so I would like to maintain my positive score.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for highlighting that the paper addresses "an interesting and relatively underexplored issue", the interaction of dropout-induced stochasticity with numerical integration at the trajectory level. We address the three weaknesses below, including a new sensitivity analysis directly responding to point 2 and a new exploratory result relevant to point 3. We will also fix the notation, to make clearer what we mean by ‘Fixed-mask’ and ‘Fresh-mask’ MC dropout. ‘Fresh-mask’ MC is per-evaluation resampling - ‘Standard MC’ in the submission.

W1, controlled systems versus realistic uncertainty sources: The observation that the design "isolates the method's mechanism" is exactly right: the contribution to a trajectory-level sampling principle and its interaction with geometric integration and controlled Hamiltonian systems provide a setting where that interaction can be measured without confounding factors. We fully agree that the paper should engage more fully with deployment-relevant considerations. Taking the reviewer's second suggestion, discussion rather than new simulations, the revision will add a dedicated limitations section covering measurement noise along the trajectory, partial observability, external forcing and model mismatch, together with the dissipative case raised in another review.

W2, decomposition tied to modelling choices: We ran the suggested sensitivity analysis, sweeping the IC-noise scale over 0, 0.25, 0.5, 1, 2, and 4 times the validation-selected value, for both methods and both splits on the submitted 3 seeds. The decomposition behaves as expected: Var_alea is exactly 0 at sigma=0, is monotonically non-decreasing in sigma for every method and split and Var_total = Var_epi + Var_alea holds to floating-point precision throughout. The epistemic component is robust to this modelling choice: absolute Var_epi moves only about 1.7x across the full sweep (Fixed-mask MC, OOD, 0.0328 to 0.0569), and method orderings on absolute Var_epi are preserved at every scale tested (at sigma=1x, OOD: 0.0349 versus 0.0086). The epistemic fraction (computed excluding t=0), being a ratio, is naturally more sensitive, falling from 1.0 at sigma=0 to 0.038 at 4x.

The t=0 entry of every rollout is the given initial condition, copied across dropout masks without invoking the model, so both variance components are identically zero there and the ratio is undefined rather than informative. In the updated version we exclude t=0 from the α_epi average, so the σ=0 endpoint reads exactly 1.0. This is a convention on a degenerate timestep, not a property of the decomposition or of the perturbation model, and it leaves the absolute components untouched.

The revision will clarify that the decomposition is operational and conditioned on the chosen perturbation model, emphasise the scale-robust absolute components and present the fraction as a secondary summary. A 10-seed re-evaluation at the validation-selected scale confirms that the Var_epi ordering is robust to seed choice (paired permutation p=0.0019, Holm-adjusted p=0.0114). It also shows the effect is not simple variance inflation: Relative to Fresh-mask MC, Fixed-mask MC has higher Var_epi on both splits while simultaneously showing lower Var_alea and lower Var_total, so it is not merely the noisier estimator. Under per-evaluation resampling, mask variation is folded into the replica ensemble and attributed to the aleatoric component, which is the attribution failure the fixed-mask contract removes. One result is independent of the decomposition altogether: the ensemble Gaussian NLL already reported in Table 1 evaluates predictive distributions directly, so it does not depend on the epistemic/aleatoric attribution, and Fixed-mask MC's lower NLL is statistically supported on both splits at 10 seeds (paired t-tests, Holm-adjusted p<0.001).

W3, practical inference and downstream decision value: The practical benefit of this consistency is that each rollout corresponds to a single coherent dynamical hypothesis, giving the two uncertainty classes distinct, actionable interpretations. High variation across sampled Hamiltonians indicates uncertainty in the model class within that regime, suggesting the need to collect additional data, revise the dynamics model, or abstain. High sensitivity to state preparation suggests improving sensing, filtering, or state estimation. Fresh-mask sampling cannot support the former because no individual rollout corresponds to a single hypothesis about the dynamics. Beyond this distinction, recent experiments demonstrate measurable decision value. Because each Fixed-mask rollout carries a persistent sampled Hamiltonian H_m, evaluating H_m along a short observed prefix yields a hidden-parameter anomaly score that requires neither forecasting nor future observations. In a leakage-controlled protocol (details in response to Reviewer a8xK), this score detects hidden mass-ratio shifts significantly better than Fresh-mask MC at short observation horizons, for example achieving an AUROC of 0.865 versus 0.644 with two revealed states at anchor mass ratio 1.0 (Holm-corrected paired tests and 10 seeds). We present this as an exploratory, short-horizon result, but it demonstrates a concrete decision-relevant capability that per-evaluation resampling cannot provide, because no persistent H_m exists in that setting. The cost side is unchanged. Fixed-mask MC and Fresh-mask MC differ only in when the mask is drawn, so at equal M the sampling cost is the same, and our OOD MSE point estimates differ by under 1 percent between M=5 and M=50. The practitioner rule we will add to the revision is therefore simple. Hold the mask fixed for any quantity read along a trajectory, such as energy drift, bracket residuals, or a per-rollout hypothesis score, and read high mask-axis variance as a signal to collect more data or abstain rather than to improve sensing. The reviewer is right that our evidence for downstream value is indirect. We report a trajectory-level diagnostic rather than task-level outcomes, and the revision will state this scope explicitly. The exploratory detector result above is a first step in that direction. The revision will also state the associated sampling cost and provide a ‘rule of thumb’.

Thank you again for your insightful comments - we will use these to make improvements to the paper. We welcome further questions in the discussion period.

Reviewer Xwge · CommentOpenReview ↗

I thank the authors for addressing my concerns and I will maintain my positive score.

Authors · CommentOpenReview ↗

We thank the reviewer for their careful review and constructive engagement during the discussion period. We’re glad our responses addressed the concerns, and we greatly appreciate the time invested in our submission.

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

Missing a submission?

Loading the discussion…