potentialpaper

Neural Dual Bounds: Valid-by-Construction JGLP Warm-Starts for MAP and Constrained MAP

Akshay Vyas, Shivvrat Arya, Brij Malhotra, Tahrima Rahman, Vibhav Giridhar Gogate, Nicholas Ruozzi

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. A neural network outputs valid-by-construction JGLP warm-starts for MAP and constrained MAP inference, yielding dual gaps orders of magnitude tighter than zero-initialization across diverse PGMs.

Abstract. We present Neural Dual Bounds, a calibration-free framework that produces deterministic upper bounds for MAP inference in probabilistic graphical models using a single neural-network forward pass. The framework trains a network to output the edge messages of a mini-bucket style upper bound on a given join-graph decomposition in a self-supervised manner by directly minimizing a smooth dual objective. The output of this network can be used at test time to warm-start a standard JGLP optimizer. Across diverse benchmarks, this warm start yields dual gaps that are orders of magnitude tighter than those from zero initialization, with the largest gains in the early-iteration regime. We also apply our framework for the constrained MAP (CMPE) task, where neural warm starts with test-time adaptation are comparable to the adaptive baseline on Bayesian networks and achieve the tightest dual gaps, by one to two orders of magnitude, on the grid and segmentation families.

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

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

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

Good contribution on bounds for MAP in PGMs. It is an important topic with possible applications beyond PGMs. Reviewers are positive after discussions. It is important that authors apply the improvements to the paper as per discussions.

Final justification

All in agreement towards acceptance.

Area Chair j2nH · Meta-reviewOpenReview ↗
Final justification
All in agreement towards acceptance.
Read meta-review
Meta-review

Good contribution on bounds for MAP in PGMs. It is an important topic with possible applications beyond PGMs. Reviewers are positive after discussions. It is important that authors apply the improvements to the paper as per discussions.

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

The author trains an MLP to predict antisymmetric edge messages on a join-graph decomposition so that its output is a valid JGLP upper bound on MAP by construction, and uses this as a warm-start with replay-buffer test-time adaptation for constrained MAP to reach tighter dual gaps in fewer coordinate descent iterations.

Strengths and weaknesses

Strength: The validity-by-construction property is useful.

Weakness: First and foremost: The manuscript suffers from terrible readability. It is highly incoherent, with a chaotic layout that makes it impenetrable. The authors insert mathematical notations without proper context, and the text is constantly interrupted by overwhelmingly dense tables. The content self-contradicts and this leads to a highly muddled presentation of results.

  1. Author stated multiple times that 'neural warm-starts reduce the iteration-10 dual gap by up to six orders of magnitude relative to zero-initialized JGLP.' But it's the best case, not typical. Check grid40×40.f2 in Table 4 and Table 20.
  2. The MLP is trained per-graph and does not transfer across topologies which undermines the central amortization thesis, since the upfront cost only pays off over many queries on the same graph.
  3. The abstract claims NN+TTA "consistently achieve the tightest dual gaps across all iteration budgets against an adaptive baseline", where the adaptive baseline is JGLP+WS. Table 3 contradicts this: on BN_12, JGLP+WS beats NN+TTA at every budget, and likewise on BN_13. 4.The paper self-contradicts: p7 L277 quotes "BN_12 iter=10: JGLP+WS 0.020 vs NN+TTA 0.063," but Table 3 lists 0.063 vs 0.079.)
  4. The manuscript is unfinished, it refers to non-existent section 9.15/17, etc.
Questions

Please fix your claims, writing and results. Check if your result numbers are correct and your section references are consistent.

Limitations

The decision-relevant limitation (per-graph retraining) and the BN regime where the method loses to the no-learning JGLP+WS baseline are not framed as scope limits.

Final justification

All my major concerns are addressed, but the presentation style needs update, considering authors promised revisions, I would like to raise my score.

Formatting concerns

I don't see a clear violation of formatting policies.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed reading and answer in the order the points were raised. Where a concern is about wording rather than a result, we propose an alternative and welcome your view.

Readability.

A worked example and a notation table address the notation concern; the table layout is explained below, captions made uniform.

For the camera-ready:

  • A worked numerical example in Section 3 (also suggested by Reviewer JVef, to whom we give it in full): two clusters over three binary variables with MAP∗=13\mathrm{MAP}^* = 13 and unshifted bound 15, where two edge messages close the gap of 2 exactly, and the same step written as columns of AA. This addresses notation given without context.
  • A notation table before Section 3, covering λ\lambda, mm, AA, edim⁡e_{\dim}, λdim⁡\lambda_{\dim}, DD, DτD_\tau and D0D_0.
  • Table presentation. The main body carries three result tables (one for MAP, two for constrained MAP, split because four methods do not fit one width), and K=1K = 1 is already in the appendix, so the structure is close to minimal. A single column of Table 1 spans about nine orders of magnitude (9.12×10−99.12\times10^{-9} to 5.21 at iteration 10), because driving the dual gap across that range is what the method does, so we use decimal above a threshold and scientific below. We tried both uniform alternatives: all-decimal gives 0.00000000912, all-scientific turns 0.638±0.2380.638 \pm 0.238 into 6.38×10−1±2.38×10−16.38\times10^{-1} \pm 2.38\times10^{-1}. Each reads worse. The captions already give the metric, what varies across columns, the method abbreviations and the aggregation: Table 1 states the dual gap at fixed JGLP iterations, J = zero-init, N = neural-init, mean ±\pm std over 10 bin-0 seeds; several state the reading direction (Tables 5, 8, 9, 20). What is not uniform is that direction line: Table 1 gives it in the text (L205) rather than the caption. We will make it uniform, with the corrections below.

The numbers you flag as contradictory are addressed in point 3.

1. "Up to six orders of magnitude."

Six orders is a genuine best case, attained in each of the three settings we report; the wording did not convey the range. grid40×40.f2 is a degenerate model the paper already identifies. No numbers change.

We apologize for the confusion. The phrase was meant as the best case across the three settings the paper reports, and the introduction and conclusion did not make that clear. It is attained in each:

  • MAP: Table 17, Promedas_32 at iter 500, zero-init 2.18 vs neural-init 1.82×10−61.82\times10^{-6}.
  • CMPE, one constraint: Table 18, grid10×10.f5 at iter 100, M1 0.226 vs M2 1.14×10−71.14\times10^{-7}.
  • CMPE, two constraints: Table 2, grid10×10.f5 at iter 100, JGLP 0.406 vs NN 2.75×10−72.75\times10^{-7}.

On grid40×40.f2: the paper identifies this as a degenerate model. Section 4.1 (L209–L212) names it and grid10×10 as already within 10−810^{-8} of DLPD^{\mathrm{LP}} at mini-bucket construction at ii-bound 4, where no reparameterization can improve anything and the iteration-10 overshoot is round-off, not a training failure; Table 20 groups both under an explicit "Degenerate (MBE tight at LP; neural provides no benefit)" heading, and Table 16 marks those cells. With DLP=1478D^{\mathrm{LP}} = 1478, the iteration-10 values of 10−9.3410^{-9.34} and 10−3.3310^{-3.33} are relative errors of 3×10−133\times10^{-13} and 3×10−73\times10^{-7}, so both initializations sit at the LP optimum to six significant figures. Table 4 reports the same 37 models without that marking; we will add it, since this is the worst case the rewording below refers to.

The wording did not convey that the figure spans the three settings rather than describing typical behaviour. For the camera-ready we propose replacing both occurrences with a formulation stating the range explicitly:

Neural warm-starts perform comparably to zero-initialized JGLP in the worst case and up to six orders of magnitude tighter in the best case.

We are happy to adopt a different formulation if you prefer. The abstract states only "orders of magnitude tighter", without a figure, and we are glad to qualify that.

2. Per-graph training.

The Conclusion states this and names the GNN remedy; we will restate it as a scope limit. The regime we claim is set out from the paper's first sentence.

You are right that the network is trained per graph and does not transfer across topologies. We state this in the Conclusion (L342–L346), with the join-graph GNN as the natural remedy (the antisymmetric scatter AA is determined entirely by the join-graph structure, so much of the approach transfers without modification), but frame it there as future work rather than a scope limit. We will restate it as a scope limit in a Limitations section.

The regime we claim is set out from the opening sentence of the Introduction, which defines the setting as applications that repeatedly solve closely related inference problems on a fixed graph (L14–L18), and names the four we address: branch-and-bound node expansion, robustness certification, constrained planning, and bound-based parameter learning. Section 3 restates it, noting the method applies where a PGM has been fit to data and is used for repeated MAP queries (L127–L129), with the rationale of moving cost from test time to training time (L132–L137). Section 4.1 devotes a paragraph, "Amortized cost analysis," to when that cost is repaid.

This is also the standard regime for amortized inference, where per-model training is the norm: amortized variational inference trains a network per dataset, a query optimizer plans per schema. It is equally the norm in neural PGM inference: the MPE and CMPE solvers of Arya et al. (AISTATS 2024; NeurIPS 2024; AISTATS 2025) and the learned search heuristics of Malhotra et al. are all trained per model. Constrained MAP makes the query count concrete: a single CMPE solve runs 100 projected-gradient steps on μ\mu (L265), each with its own inner dual solve, so one solve is already a hundred queries against one graph. The network is moreover μ\mu-conditioned, covering {f−μg:μ≥0}\{f - \mu g : \mu \ge 0\} rather than a single parameter setting, and remains effective well outside its training range: across the 15 PGMs, 36% of K=1K = 1 and 25% of K=2K = 2 queries fall at μ>1\mu > 1, with maxima of 36.1 and 19.4.

Two properties bear on the cost-benefit balance. Training needs no LP solves and no JGLP-converged labels, minimizing the smooth dual directly (L140–L143), so the upfront cost is lower than for supervised amortization and deployment carries no solver dependency. And validity is independent of all of this: D(θ,Am)≥MAP∗D(\theta, Am) \ge \mathrm{MAP}^* holds for any output of any network on any graph, so a model applied outside its training regime loses tightness but never its guarantee.

3. The abstract's "consistently … across all iteration budgets", and the figures at p7 L277.

Thank you for both. The abstract should say "comparable" on Bayesian networks; the L277 figures came from the K=1K = 1 experiment. Corrected values below; the conclusion is unchanged.

On the abstract, our apologies. Table 3 shows the two comparable on the Bayesian networks rather than either dominating. At iteration 10 the values are 0.063 against 0.079 (BN_12), 0.059 against 0.067 (BN_13), 0.080 against 0.048 (BN_14, favouring NN+TTA) and 0.027 against 0.028 (BN_9), all well inside one standard deviation, and by iteration 100 NN+TTA is ahead on both BN_14 and BN_9. On the grid and segmentation families the separation is one to three orders of magnitude (Seg_14 9.02 against 0.098; grid10×10.f10 39.09 against 0.060). For the camera-ready we propose:

Neural warm starts with test-time adaptation are comparable to the adaptive baseline on Bayesian networks and achieve the tightest dual gaps, by one to three orders of magnitude, on the grid and segmentation families.

On p7 L277, thank you, and our apologies. It is an error copying figures out of the tables into the text: the numbers on these lines come from the K=1K = 1 experiment while the discussion concerns K=2K = 2 in Table 3. The second number in each pair on L277–L281 is the K=1K = 1 NN+TTA value, column M3 of Table 18: BN_12 0.063, Seg_14 0.096, Grids_28 19.2. The values the sentences should have carried, from Table 3, are:

  • BN_12 iter 10: JGLP+WS 0.063±0.0900.063 \pm 0.090 vs NN+TTA 0.079±0.1320.079 \pm 0.132
  • Seg_14 iter 10: JGLP+WS 9.02±5.239.02 \pm 5.23 vs NN+TTA 0.098±0.3210.098 \pm 0.321
  • Grids_28 iter 10: JGLP+WS 1044.89±857.501044.89 \pm 857.50 vs NN+TTA 97.37±129.2397.37 \pm 129.23

The point these sentences make is unaffected: the two are close on the Bayesian networks, while NN+TTA is ahead by one to three orders of magnitude on grids and segmentation, which is what Table 3 shows. We will correct the figures.

4. Section references that do not resolve.

These occur in the NeurIPS Paper Checklist, not in the main text or appendix.

Our apologies. They occur in the NeurIPS Paper Checklist, items 2 (Limitations), 4 (Reproducibility), 6 (Experimental setting) and 7 (Statistical significance), not in the main text or appendix. The numbers were entered manually against an earlier section numbering and not updated when the appendix was reorganized. "Proposition 7" in item 3 should likewise read "Proposition 1".

The intended targets are §9.15 → §4.1; §9.17 → Appendix B.14; §9.8–9.16 → Appendix B.5–B.13; §9.18 → Appendix B.15. We will correct them and generate these references from resolved labels so they cannot go stale.

5. Framing both as scope limits.

Both are addressed above; the camera-ready will state them together.

Per-graph retraining is point 2, and the Bayesian-network regime is point 3, where Table 3 shows the two comparable rather than one losing to the other; Appendix B (L409–L412) already states that split in the same terms. The Limitations section will carry both: the network is trained per topology, and λ\lambda-continuity is stronger where successive multiplier optima are close.

Reviewer aVNS · CommentOpenReview ↗

Thanks for the rebuttal, your idea is indeed creative and methodology is rather elegant, yet your ways of representation is overwhelming and buries the points you should be highlighting. However, it is hard to ignore the contribution and please: fix all numerical/inequality/reference inconsistency; rewrite and highlight your core contributions and corresponding results; qualify all best-case claims, etc. Overall this is a good paper with solid central idea, but not yet in a fully convincing or carefully finished form. Given your promised revisions, I would like to raise the score to 4.

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

The authors introduce a framework for producing valid and relatively tight upper bounds on the MAP density of probabilistic graphical models (PGMs) using amortized inference. This allows for efficient warm-starts for unconstrained MAP estimation and faster convergence for constrained MAP estimation where repeated solves are necessary. They benchmark their framework against competing baselines on a range of different PGMs, demonstrating an advantage for their methods.

Strengths and weaknesses

Strengths

  • Clear, we-written paper.
  • The valid-by-construction parametrization of the bounds is a clear, strong advantage over alternative methods.

Weaknesses

  • My largest complaint is that the results in Tables 1, 2, and 3 seem to lack a sufficient number of replicates in order to reveal a significant difference. Addressing this complaint persuasively would probably allow me to adjust my score upwards.
    • Where possible, I would suggest running on more replicates/random seeds until the standard deviation shrinks enough to separate the two methods. This should be cheap enough for the unconstrained MAP problems, I would guess?
    • Alternatively or in addition, a proper statistical test on the results would strengthen the argument. You may be able to use a paired test (paired by random seed) to increase the statistical power of the test.
Questions
  • Related to the above: have you run any statistical test to see which off the favorable results are statistically significant? The differences in mean look promising but the standard deviations are large. Statistical tests showing significance and/or an increase in the number of replicates to shrink the standard deviations would likely allow me to increase my score for significance, and potentially move my assessment from "borderline accept" to "accept".
  • You briefly describe the wall-clock time in the Amortized cost analysis paragraph of Section 4.1. Can you elaborate on the wall-clock time for a realistic application where the difference is significant, e.g. constrained MAP? Obviously this depends on problem size, but the paper would be stronger if e.g. you show your method can solve some realistic constrained MAP problem in, say, 9 seconds instead of 60. Augmenting Tables 2 and 3 with wall-clock time may be another way to show this.
  • Can you elaborate on the Test-time adaptation paragraph? I guess it's explaining why TTA is necessary for the amortized NN approach to work, but I think it could be worded more clearly.
  • Is the placement of "Proposition 1" on line 145 a typo? If not, shouldn't it be followed by a proof (or a statement that the proof can be found in the appendix)? Also, minor note: "bounf" on line 243 should be "bound".
Limitations

The biggest unaddressed limitation is that the results, while promising, lack enough runs to exhibit clear significance.

Final justification
  • The authors addressed my main concerns regarding significance -- that the number of replicates was too small to adequately assess the strength of their proposed method. They added replicates for the unconstrained MAP problems (as these are cheap to run), and found statistically significant results on 11/15 problems (9/15 favoring their method, 2/15 favoring the baseline). They have also agreed to run further replicates of the constrained MAP problems for camera-ready.
  • The authors have also provided a proof of Proposition 1, which was missing before.
  • I think the paragraph explaining test-time-adaptation still needs re-writing for clarity, but this is more of an editorial note than a concern with the paper's contributions.

In light of these changes, I am increasing my score from 4 to 5.

Formatting concerns

None.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a specific and actionable review. We have run the replicates and the paired test suggested, and report both below with the wall-clock analysis and clarifications.


W1 and Q1. Replicates and a statistical test.

Table 1 now runs at 100 seeds. The paired test separates 11 of 15 models at iteration 10, nine favouring the warm start, effects up to 8.6×.

You are right, and your diagnosis of why is right too: this is cheap for the unconstrained MAP problems. Table 1 now runs at 100 seeds per (PGM, evidence-bin).

What the extra seeds buy is precision on the mean: the standard error falls by a median factor of 3.03, against 10=3.16\sqrt{10} = 3.16 ideal. The standard deviation measures the instance distribution rather than the sample size, so it stays put (median ratio 1.04 zero-init, 1.00 neural-init). That is why the paired test you proposed is the instrument that separates the methods, and it does.

Iteration-10 cells, 10 seeds then 100:

PGM zero-init, 10 → 100 neural-init, 10 → 100
Seg_16 1.93 ± 0.40 → 1.88 ± 0.51 0.42 ± 0.27 → 0.38 ± 0.38
Seg_14 0.19 ± 0.05 → 0.35 ± 0.27 0.02 ± 0.02 → 0.12 ± 0.17
BN_12 0.64 ± 0.24 → 0.53 ± 0.25 0.37 ± 0.18 → 0.30 ± 0.18
BN_13 0.47 ± 0.12 → 0.47 ± 0.13 0.26 ± 0.09 → 0.27 ± 0.10

The paired test. Some evidence configurations are harder than others, and both methods see the same ones. An unpaired comparison counts that shared difficulty as noise in each method separately, hiding the difference between them; pairing by seed subtracts it. For each seed ss we take the log-ratio of the two gaps, δs=log⁡10(Js/Ns)\delta_s = \log_{10}(J_s/N_s), with JsJ_s and NsN_s the zero-init and neural-init gaps. We report its median, a 95% interval from resampling the seeds (BCa bootstrap), and a Wilcoxon signed-rank test on the paired differences; neither assumes normality. At iteration 10, 11 of 15 models are significant at α=0.05\alpha = 0.05: nine favour the neural warm-start and two favour zero-init.

PGM median δ\delta 95% CI factor win rate
Seg_14 +0.932 [+0.754, +1.094] 8.6× 97%
Seg_16 +0.783 [+0.696, +0.903] 6.1× 100%
BN_13 +0.244 [+0.231, +0.273] 1.8× 100%
BN_12 +0.230 [+0.212, +0.258] 1.7× 100%
BN_14 +0.200 [+0.157, +0.232] 1.6× 96%

The median across all 15 is +0.070+0.070, a factor of 1.17. The two losses, grid10×10.f10 (−0.060-0.060, 31%) and Grids_28 (−0.000-0.000, 43%), we report rather than omit; on the former the mini-bucket start is already at the LP optimum on many seeds, so nothing is left to close.

One caution we would rather state ourselves: at iteration 500 the median δ\delta is near zero on 11 of 15 models yet most stay nominally significant, since extra seeds resolve differences far below what matters for a bound. We let effect size, not the pp-value, carry the claim. We have not applied a multiple-comparison correction as a headline, since the family over which to correct is not well defined across heterogeneous models; we are glad to report any you prefer, or a permutation test.

Why Tables 2 and 3 stay at 10 seeds. We used 10 throughout for consistency across the three tables. Each CMPE cell runs a 100-step multiplier trajectory with an inner JGLP solve at every step, so raising those is not feasible now. Appendix B.15 reports a seed-subset check there: recomputing the win rate on subsets moves it by at most 4 percentage points, evidence those summaries are not driven by one outlying seed. We will raise the CMPE count for the camera-ready.

A point that supports your diagnosis. The large standard deviations come mainly from the baseline: averaged across the 15 models at iteration 10, zero-init is 0.754 against 0.707 for neural-init (medians 0.514 against 0.379), and the baseline is the noisier arm on 15 of 15. JGLP's sensitivity to its starting point is what the warm start removes, so the asymmetry is part of the result, not only a measurement problem.

Q2. Wall-clock for a realistic application, e.g. constrained MAP.

Tables 10 and 11 already give per-PGM CMPE wall-clock, speedups of 6.7 to 12.9×. We add the cost of test-time adaptation, which those tables do not isolate.

Wall-clock timings for constrained MAP are in the paper: Table 10 (single constraint, 50 multiplier steps) and Table 11 (two constraints) give per-PGM wall-clock for JGLP against the neural method, speedups of 6.7 to 12.9×. They belong in Section 4.1 beside the amortized cost analysis, where we will reference them.

TTA adds a fine-tuning step at each multiplier step, drawing a batch from the replay buffer and taking gradient steps on the offline objective. Its cost is backpropagation through the network, scaled by inner steps and batch size. At batch size 0 it reduces to the NN column already in Tables 2 and 3: one forward pass, no update. At batch size BB with SS inner steps the added cost is B×SB \times S backward passes per step, which for a large network can exceed the JGLP solve it shortens.

We measured this on a small graph (grid10×10.f5, λdim⁡\lambda_{\dim} 1,982) and a large one (Seg_18, λdim⁡\lambda_{\dim} 7,174), idle machine, S=10S = 10, median of 15 rounds. One JGLP iteration costs 4.4 and 17.6 ms; a forward pass 0.29 and 0.35 ms; the TTA update 63 and 232 ms at B=5B = 5, 95 and 276 ms at B=20B = 20.

Two refinements. First, B×SB \times S overstates the dependence on BB: the buffer is one batched pass per inner step, not BB separate ones, so t=c0+c1Bt = c_0 + c_1 B fits with c0=56c_0 = 56 and 227 ms, 59% and 82% of the B=20B = 20 total. Quadrupling the batch costs only 50% and 19% more. Second, break-even depends as much on how coarse the target is as on graph size. At a 10−110^{-1} target on Seg_18, B=20B = 20 costs 276 ms against 413 ms of JGLP saved, a net saving of 137 ms per query, break-even near B≈71B \approx 71. On grid10×10.f5 the fixed 56 ms exceeds the 20 ms saved, so no B≥5B \ge 5 breaks even. At 10−310^{-3} the adapted network needs more iterations than zero-init on both. Break-even wants a large graph and a coarse target.

The framing we will adopt is bound quality at a fixed iteration budget, what a branch-and-bound node expansion spends, with the wall-clock trade stated as a function of batch size.

Q3. The test-time adaptation paragraph.

Rewritten below, separating why adaptation is needed from what it does.

Why. Offline training samples μ∼U(0,1)\mu \sim U(0,1), but projected gradient descent on μ\mu at test time is unconstrained above and routinely leaves that range: across the 15 models, 36% of K=1K = 1 and 25% of K=2K = 2 queries fall at μ>1\mu > 1, maxima 36.1 and 19.4. A frozen network there predicts messages fitted to a different Lagrangian; validity is unaffected, since Proposition 1 does not depend on the weights, but tightness degrades. TTA is therefore online distribution adaptation rather than specialization.

What. After each multiplier step we append the query to a FIFO replay buffer of capacity 20 and take 10 gradient steps on the offline objective. No labels, no validation split; the JGLP-converged messages are discarded, so the only state carried across steps is the network weights.

Q4. Proposition 1, and the typo at L243.

The placement is deliberate. The proof is short and given here in full; it will appear inline in the camera-ready.

The placement is not a typo: Proposition 1 sits after Eq. (7) because it licenses training on the surrogate, since we minimize DτD_\tau yet every network output still certifies a bound on MAP∗\mathrm{MAP}^\ast. You are right that it should carry a proof.

Step 1 (D≥MAP∗D \ge \mathrm{MAP}^\ast). Fix any complete assignment xx. Each edge contributes λαβ\lambda_{\alpha\beta} to one cluster and λβα\lambda_{\beta\alpha} to the other, both at the same separator sub-assignment since xx is one global assignment, so by Eq. (5) the pair cancels and

∑αθˉCα(xCα,λ)=∑γθγ(xγ).\sum_{\alpha} \bar\theta_{C_\alpha}(x_{C_\alpha}, \lambda) = \sum_{\gamma} \theta_\gamma(x_\gamma).

Replacing each cluster term by its maximum only increases the sum, so DD bounds the score of every xx, hence MAP∗\mathrm{MAP}^\ast.

Step 2 (Dτ≥DD_\tau \ge D). Let MαM_\alpha be the maximum reparameterized entry of cluster α\alpha and nαn_\alpha its number of configurations. The sum ∑yexp⁡(θˉCα(y,λ)/τ)\sum_y \exp(\bar\theta_{C_\alpha}(y,\lambda)/\tau) contains exp⁡(Mα/τ)\exp(M_\alpha/\tau) and all terms are positive, so τlog⁡\tau\log of it is at least MαM_\alpha; summing over clusters gives the claim. That same sum has nαn_\alpha terms, none larger than exp⁡(Mα/τ)\exp(M_\alpha/\tau), which gives

0≤Dτ−D≤τ∑αlog⁡nα.0 \le D_\tau - D \le \tau\sum_{\alpha} \log n_\alpha.

The surrogate gap is O(τ)O(\tau), the quantitative form of "Dτ→DD_\tau \to D" at L144, and why annealing τ\tau is safe.

Neither step uses a property of the network: Step 1 needs only that λ\lambda is antisymmetric, which AA enforces by construction, Step 2 only τ>0\tau > 0. Validity belongs to the parameterization; only tightness depends on training. Section 4.2 applies the same argument at each μ\mu, so the CMPE bound holds at every step of the trajectory.

Thank you also for "bounf" at L243, which should read "bound".

Limitations. The run count is addressed above. The 100-seed MAP table and the paired analysis are our answer; Appendix B.15 gives the seed-subset evidence for CMPE, and we will raise that count for the camera-ready. If the analysis is not in the form you had in mind, whether a different test, effect size, or scatter plots, we would gladly produce it.

Reviewer PecT · CommentOpenReview ↗

Thank you for your response.

Q1

Yes, I should have written "standard error" instead of "standard deviation". I would suggest reporting the mean and standard error (or bootstrapped confidence intervals) in your tables, instead of mean and standard deviation, just to make it apparent that the difference is significant. Alternatively, you could report p-values from your Wilcoxon signed-rank test. In any case, the tables will be more legible if you bold the cells where one method outperforms another.

Thank you also for running further replicates of the unconstrained MAP problem and including statistical significance results, I think this strengthens your argument. I understand there is not enough time to run additional replicates for the constrained MAP problems at this point.

I don't think a cross-task comparison with multi-comparison correction is necessary, since you can show the effect size and/or statistical significance is meaningful on 9 out of 15 tasks that seems enough to show the advantage of your method, qualitatively speaking.

Q2

Thanks for calling my attention to Table 10. Yes, I think referencing them alongside the amortized cost analysis, as an example of concrete wall-clock advantage, will strengthen your argument.

Q3

Thanks for your response. I still think the paragraph needs some editing for clarity but I trust you to accomplish this.

Q4

Yes, I was just confused about placement because the proposition was stated with no reference to the proof. Thank you for providing the proof here, I agree it should accompany the proposition in the main body of the paper.

Given that you have addressed my main concerns with the significance of your results, and are willing to add replicates for the constrained MAP problems for camera-ready, I feel comfortable raising my score to 5.

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

This paper considers (approximate) MAP (or MPE) inference in probabilistic graphical models (PGMs). The paper proposes a principled way to integrate neural networks with approximate inference, and in particular, a way to boost the accuracy/efficiency of inference, while retaining the desirable properties of the inference algorithms (i.e., upper bounds). The paper considers a joingraph-based generalization of a dual decomposition algorithm, and proposes to train a neural network to predict (given the probabilistic graphical model + observed features) cost-shifting messages that obtain tight bounds. A neural network can be trained to do this by directly optimizing the bound for a given PGM, in a self-supervised fashion, without requiring any labeled data. The parametrization of the cost-shifting messages guarantees that the neural network's prediction lead to a valid upper bound. The dual-decomposition algorithm can be seeded with this prediction, and tighten the bound to optimality, but more efficiently than starting with a neutral initialization.

Strengths and weaknesses

The paper is clear and well-written. I find this to be an elegant way of integrating neural networks and probabilistic inference, that boosts the performance/efficiency of approximate inference, while retatining all of the desirable properites of the coupled approximate inference algorithm (e.g., monotonic tightening of upper bounds). Another key point is that the proposed approach does not require any labeled data, but optimizes the bound directly. This is in contrast to the numerous proposals to use neural networks to perform different types of (approximate) inference in PGMs, that rely on labeled data, and cannot provide any guarantees.

There were a few minor typos, e.g., in the abstract it says ".. by directly minimizing the a smooth dual objective." I guess the "the" should be dropped. There are other small typos like this.

Having a small but concrete numerical example of dual-decomposition/cost-shifting, and how the neural network integrates with it, could perhaps benefit readers who are not as familiar with dual decomposition and related approaches. This is a minor suggestion.

Another empirical question is to what extend does the architecture of the neural network affect the performance of the approach? Was there an attempt to optimize the architecture? How much does the approach depend on the number of training examples used? DOes the performance plateau at some point? Does the neural network eventually learn the optimal bounds of its training examples?

Questions

I raised some minor questions in my review, but no significant questions or concerns.

Limitations

yes

Final justification

The proposed approach is a relatively elegant use of neural networks to improve the quality and efficiency of probabilistic inference. The approach gains the advantages that neural networks provide (via self-supervised learning) while retaining the advantages of probabilistic inference (formal bounds).

Formatting concerns

no concerns

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the close reading, and for four empirical questions that each led to new experiments. We report these below, with results already in the paper that bear on them.

1. Typos.

Will be corrected, with a full pass over the manuscript.

Thank you. The abstract should read "minimizing a smooth dual objective". This and the other minor typos will be corrected in the camera-ready.

2. A concrete numerical example of dual decomposition and cost-shifting.

We agree this would help readers new to dual decomposition. It follows in full and will be added to Section 3.

Three binary variables X1,X2,X3X_1, X_2, X_3 and two clusters sharing X2X_2:

f₁(X₁,X₂) value f₂(X₂,X₃) value
(0,0) 2 (0,0) 8
(0,1) 5 (0,1) 1
(1,0) 1 (1,0) 4
(1,1) 7 (1,1) 6

MAP∗=13\mathrm{MAP}^* = 13, at (1,1,1)(1,1,1), where f1(1,1)+f2(1,1)=7+6f_1(1,1) + f_2(1,1) = 7 + 6. The unshifted bound (Eq. 3) lets each cluster maximize independently: max⁡f1=7\max f_1 = 7 prefers X2=1X_2=1, max⁡f2=8\max f_2 = 8 prefers X2=0X_2=0, giving D0=15D_0 = 15. The gap of 2 is exactly their disagreement on the shared variable.

Cost-shifting (Eq. 4) moves mass along that shared variable, with one message per value of X2X_2:

f1′(X1,X2)=f1(X1,X2)−m(X2)f_1'(X_1,X_2) = f_1(X_1,X_2) - m(X_2) and f2′(X2,X3)=f2(X2,X3)+m(X2)f_2'(X_2,X_3) = f_2(X_2,X_3) + m(X_2)

Taking m=(m(0),m(1))=(−2,+1)m = (m(0), m(1)) = (-2, +1):

f₁' value f₂' value
(0,0) 2−(−2) = 4 (0,0) 8+(−2) = 6
(0,1) 5−(+1) = 4 (0,1) 1+(−2) = −1
(1,0) 1−(−2) = 3 (1,0) 4+(+1) = 5
(1,1) 7−(+1) = 6 (1,1) 6+(+1) = 7

D(m)=6+7=13=MAP∗D(m) = 6 + 7 = 13 = \mathrm{MAP}^*, so this reparameterization closes the gap exactly.

Validity does not depend on choosing mm well. At any complete assignment what one cluster subtracts the other adds: at (1,1,1)(1,1,1) the total is (7−m(1))+(6+m(1))=13(7 - m(1)) + (6 + m(1)) = 13 for every mm. The joint is preserved (Eq. 5), and since a sum of per-cluster maxima is at least the value at any assignment, D(m)≥MAP∗D(m) \ge \mathrm{MAP}^* for every mm, trained or not. A poor mm gives a loose bound; it cannot give an invalid one.

The network enters at exactly one point. The cluster tables are flattened into a vector of length λdim⁡=8\lambda_{\dim}=8 and the messages into a vector of length edim⁡=2e_{\dim}=2, and the reparameterization is the single linear map θ′=θ+Am\theta' = \theta + Am of Section 3, with A∈{−1,0,+1}8×2A \in \{-1,0,+1\}^{8\times 2}:

position entry X₂ m(0) m(1)
0 f₁(0,0) 0 −1 0
1 f₁(0,1) 1 0 −1
2 f₁(1,0) 0 −1 0
3 f₁(1,1) 1 0 −1
4 f₂(0,0) 0 +1 0
5 f₂(0,1) 0 +1 0
6 f₂(1,0) 1 0 +1
7 f₂(1,1) 1 0 +1

Each column places −1-1 on the entries of one cluster consistent with a given separator value and +1+1 on its neighbour's, so a complete assignment picks up one of each and they cancel. The network (L194–L196) outputs only mm. AA is fixed by the join-graph structure and the per-cluster maximization is parameter-free, so the guarantee is carried by the architecture rather than by training accuracy.

3. Does the architecture affect performance? Was there an attempt to optimize it?

Architecture is a second-order effect. Appendix B.13 (Table 15, L510–L511) already reports ±2pp across a 3× width range, and a new twelve-configuration sweep confirms it. The output parameterization is the more consequential choice.

We did not undertake a systematic architecture search; the reported configuration was selected early and retained. Appendix B.13 already contains the closest ablation (Table 15, L510–L511): at 256/256/128 and 768/768/512 the win rate moves by at most two percentage points from the 512/512/256 default.

We have since run a wider sweep over depth ∈{2,3,4}\in \{2,3,4\} and width ∈{128,256,512,1024}\in \{128,256,512,1024\}, output dimension fixed by edim⁡e_{\dim}, on one model per family, 30 seeds per configuration, spanning 180k to 4.5M parameters:

model iteration-10 improvement over zero-init (log₁₀) spread
BN_13 0.259 to 0.358 0.099
Seg_14 0.870 to 1.254 0.385
Grids_29 0.010 to 0.023 0.013

The within-family spread across the whole sweep, at most 0.385, is smaller than the gap between families, 0.02 on Grids_29 against 1.25 on Seg_14, so the benchmark determines the gain considerably more than the network does. The practical consequence is favourable: on all three families the best configuration is smaller than the default, so fewer parameters suffice at lower training cost.

The more consequential axis is the output parameterization rather than the hidden layers. The edge-message space is half the cluster-table space (Table 14 lists edim⁡e_{\dim} and λdim⁡\lambda_{\dim} for all 40 models), and this is not merely compression: {Am:m∈Redim⁡}\{Am : m \in \mathbb{R}^{e_{\dim}}\} is exactly the set of reparameterizations JGLP's cost-shifting updates can produce, since each such update is itself a shift on one edge separator and therefore a column of AA. Predicting cluster tables directly leaves that subspace and forfeits the guarantee, which is what Section 4.1 measures (L223–L227): 94% neural-better with edge messages against 0% with direct prediction. Both will appear in the camera-ready.

4. How much does performance depend on the number of training examples? Does it plateau?

Yes. The bound produced by the forward pass improves steeply with training data and plateaus between 150 and 250 configurations. After JGLP refinement the dependence saturates earlier still, which is the warm start doing its job. Checked across nine models.

The reported MAP models are trained on evidence configurations sampled at observation ratios from 10% to 90% (L199–L200), drawing a fresh configuration for each sample rather than cycling a fixed pool (Appendix B.13). For constrained MAP the training set is 100 evidence configurations × 50 values of μ∈[0,3]\mu \in [0,3] (L247). We held the training configuration fixed across benchmarks so that comparisons are not confounded by per-model tuning.

We have since varied the size of that pool with the total number of gradient steps held fixed, so that every size receives an identical compute budget and only the diversity of the pool varies. Measured on the bound from the forward pass alone, before any JGLP iteration, the dependence is steep and monotone (NN = distinct evidence configurations, one per training example; gap to DLPD^{\mathrm{LP}}, lower is tighter):

model N=10 25 50 100 150 250 plateau
BN_13 1.78 1.24 0.94 0.77 0.73 0.69 N=250
Seg_14 2.89 1.50 1.04 0.65 0.54 0.43 N=250
Grids_29 19.43 13.15 9.42 8.05 7.68 7.56 N=150

Between 10 and 250 the standalone bound tightens by 2.6× on BN_13 and Grids_29 and 6.7× on Seg_14. Taking the plateau as the smallest size within 5% of the value at the largest pool trained, it falls between 150 and 250. The reported models, sampling fresh configurations throughout, sit above that.

Measured after JGLP refinement instead, the dependence saturates earlier still: across the nine models swept, varying the pool size leaves the iteration-10 improvement unchanged to within a median of 4%. This is the warm start working: the iterations absorb what the network leaves, so the refined bound is less budget-sensitive than the raw prediction.

To check this is not an artefact of model choice, we extended to nine models spanning the full range of improvement in Table 4, from +1.27 to −3.83, chosen by a rule fixed before the runs. The saturation is consistent across all of them. Appendix B.13 shows the same from another direction: a fixed 8,000-sample dataset and on-the-fly sampling give identical win rates (Table 15, 72% in both cases).

This matters because training examples are inexpensive here. For MAP the loss is the bound itself, so an example requires only an evidence configuration and forward passes through the smooth dual, with no LP or JGLP solve in the loop (L140–L143). For constrained MAP the reported pipeline supervises against LP-optimal messages (L53–L55); Appendix B.20 reports an LP-free variant trained on the DτD_\tau loss alone that reaches comparable quality (Table 22).

5. Does the network eventually learn the optimal bounds of its training examples?

In principle yes, given sufficient capacity and data. In practice a small residual amortization gap remains, and it is precisely what the JGLP iterations close.

In principle it should. The optimal message vector is a deterministic function of the input, so with sufficient capacity and enough training configurations nothing prevents the network from matching it. In practice the space of evidence configurations grows exponentially in the number of variables, so a fixed-size network trained on a finite sample retains a residual gap.

We measured this directly: the gap between the network's bound and the per-instance DLPD^{\mathrm{LP}} on instances it was trained on, relative to the same gap on unseen ones:

model training gap ÷ held-out gap
BN_13 0.98
Seg_14 0.93
Grids_29 0.94

The ratios sit at or near 1, and on some individual settings they exceed it. The residual is therefore an amortization gap, one set of weights serving an entire evidence distribution, not a failure to generalize; this is consistent with question 4: beyond the plateau identified there, the binding constraint is model capacity rather than sample count. It is also what the framework is built around: this residual is what the subsequent JGLP iterations close, which is why the network is presented as a warm start rather than a replacement, and why the bound it produces is valid at every point along the way.

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

Missing a submission?

Loading the discussion…