Root-Tracking Newton Iteration for the Bethe Permanent

The permanent of an $n \times n$ matrix $A$ sums $\prod_i A_{i,\sigma(i)}$ over all $n!$ permutations $\sigma$ — equivalently, it counts weighted perfect matchings in a bipartite graph. It is the canonical hard counting problem: exact evaluation is $\mathbf{\#P}$-hard even for positive semidefinite inputs, and the polynomial itself is complete for the algebraic class $\mathbf{VNP}$. Because exact computation is out of reach, the practical frontier is deterministic approximation with a multiplicative ratio of $c^n$ for a small constant $c$ — "simply exponential" rather than the factorial $n! \approx (n/e)^n$ looseness of naive bounds. The tightest such result for non-negative matrices writes the permanent as a matching partition function and bounds it by the Bethe approximation, a variational quantity $\mathrm{bethe}(A)$ borrowed from statistical physics: $\mathrm{per}(A) \le \sqrt{2^n}\,\mathrm{bethe}(A)$, with $\sqrt{2^n} \approx 1.414^n$ provably the best possible deterministic constant for this estimator A Tight Analysis of Bethe Approximation for Permanent. The bottleneck hiding behind this guarantee is that nobody knows how to find the Bethe stationary point quickly in general: message passing oscillates, and the only polynomial-time guarantee in the literature — projected gradient descent taking $2^{O(\Delta)} n^2 \epsilon^{-4} \log^3(n/\epsilon)$ iterations to reach an $\epsilon$-approximate stationary point — holds only for binary graphical models of degree $\Delta = O(\log n)$ Complexity of Bethe Approximation. The permanent's factor graph has degrees up to $n$, so for dense matrices this guarantee is vacuous.

Meanwhile, algebraic complexity theory has spent a decade building exactly the machinery for solving structured polynomial systems fast: Newton iteration over rings of formal power series, where each step doubles the number of correct series coefficients, so only a logarithmic number of steps is needed. This proposal imports that machinery across the algebraic–continuous divide. The core observation is that the Bethe stationary conditions, once written in scaling variables, form a structured polynomial system, and that the stationary point is an algebraic function of the matrix entries — an object that power-series root tracking is designed to compute with quadratic convergence and controlled circuit complexity. No work in the retrieved literature makes this crossing: the closure papers stay in the exact circuit model and explicitly do not analyze numerical approximation ratios, while the approximation papers use gradient descent or convex relaxations and never touch root iteration.

Core Claim

I claim that an all-roots Newton iteration over formal power series — the same technique that proved $\mathbf{VF}$, $\mathbf{VBP}$, and $\mathbf{VNP}$ closed under factoring Discovering the Roots: Uniform Closure Results for Algebraic Classes Under Factoring — can be adapted to compute the Bethe stationary point of a non-negative matrix deterministically, with iteration count polynomial in $n$ and logarithmic in $1/\epsilon$, replacing the $\epsilon^{-4}$ dependence of gradient descent and escaping its low-degree restriction. The construction is a homotopy: interpolate $A(t) = (1-t)\,J + t\,A$ from the all-ones matrix $J$, at which the stationary scaling is trivially uniform, and expand the stationary point as a formal power series in $t$, tracked to $t = 1$ by the matrix recurrence. If $D$ series coefficients suffice for $\epsilon$-accurate scalings, quadratic precision doubling means only $O(\log D)$ iteration steps, and I expect $D = O(\log(1/\epsilon))$, giving an overall count of the form $\mathrm{poly}(n) \cdot \log(1/\epsilon)$ under a nondegeneracy condition (the Jacobian stays invertible along the path). Three deliverables follow. First, the algorithm itself, plus a certified output: the solver returns $\mathrm{bethe}(A)$ and hence the deterministic sandwich $\mathrm{per}(A) \le \sqrt{2^n}\,\mathrm{bethe}(A)$ of Anari and Rezaei, who resolved Gurvits's conjecture and proved the constant tight. Second, a structural theory of the stationary point as an algebraic function: bounds on the arithmetic circuit size (a straight-line program using only additions and multiplications) of its truncated power series, in the style of Bläser and Jindal, who showed that the "witness" polynomial underlying a symmetric polynomial can be reconstructed from a circuit by truncated power-series substitution with only polynomial overhead, $L(f) \le \tilde{O}(d^2 L(f_{\mathrm{Sym}}) + d^2 n^2)$ On the Complexity of Symmetric Polynomials. Third, an honest treatment of degeneracy: when Bethe branches collide along the homotopy, classical Newton breaks down, and I propose a Puiseux-series fallback whose exponential overhead is confined to a branch-multiplicity parameter while staying polynomial in $n$ — mirroring the philosophy of fixed-parameter debordering, where exact Waring rank is bounded by $\binom{2r-2}{r-1} \cdot d$ so that all exponential dependence sits in the border rank $r$ and only linear dependence sits in the degree $d$ Fixed-Parameter Debordering of Waring Rank.

The division of labor among the four directions is deliberate. Closure results supply the core mechanism (the simultaneous all-roots recurrence, built precisely because classical Newton fails at high-multiplicity roots). Witness polynomial complexity supplies both the precedent (Bläser–Jindal's extraction of an algebraic function as a small-circuit truncated series) and the degeneracy philosophy (debordering). Simply exponential approximation supplies the application regime and the guarantee to match. The permanent supplies the object, the benchmarks, and the downstream consumer: tighter deterministic bounds are exactly what nesting importance sampling needs.

Research Program

The first work package formalizes the stationarity structure. For the bipartite matching model, the Bethe free energy is a function of per-row and per-column scaling variables; I will verify that its first-order conditions, after exponentiating the entropic terms, reduce to a system of monomial equations in these variables — a structured polynomial system whose coefficients are polynomials in the entries of $A$. If this reduction instead reveals that the Bethe point coincides with an ordinary Sinkhorn scaling solvable by matrix balancing, that is itself a publishable simplification, and the experiments below would settle it within months; I state this collapse scenario openly because it is the main way the idea could be absorbed by something simpler.

The second package builds the homotopy solver. Starting from the uniform stationary point at $t = 0$, each all-roots Newton step doubles the truncation degree of the power series for every stationary branch simultaneously, using the matrix recurrence of the closure work rather than scalar Newton on one branch; branches that collide are handled by Puiseux expansions whose ramification index becomes the fixed parameter. The output at $t = 1$ is a certified stationary point plus the Bethe value, and with it the $\sqrt{2^n}$ sandwich. In parallel, I will bound the arithmetic circuit size of the degree-$D$ truncation, aiming for $\mathrm{poly}(n, D)$, so the whole pipeline is deterministic with controlled bit complexity — the continuous analog of asking, as closure results do for factors, whether solving a structured system costs only polynomial overhead.

The third package connects downstream and sideways. Downstream, the certified Bethe value becomes a nesting upper bound inside the importance-sampling loop of DEEPNIS, whose authors prove bounded importance weights only because deterministic nesting bounds exist, and who report being up to 115 times faster than deep rejection sampling on the cage5 matrix at tolerance $\epsilon = 0.005$ Estimating the Permanent by Nesting Importance Sampling. Sideways, two exploratory arms: the degree-$M$ Bethe cover hierarchy, whose finite-$M$ values are currently computationally intractable, making the $M$-cover sum itself a target for the same root-tracking formulation at small $M$ Degree-M Bethe and Sinkhorn Permanent Based Bounds on the Permanent of a Non-Negative Matrix; and symmetric instances (power-grid matrices, Laplacians of trees, whose permanents are governed by vertex degrees The Laplacian Permanents and Laplacian Ratios of Trees), where witness-style compression of the symmetric scaling system could shrink the problem before any continuous solver runs.

Baselines

The do-nothing reference point is the trivial deterministic bracket: rescale $A$ to doubly stochastic form and invoke the Van der Waerden bound $n!/n^n \approx e^{-n}$, which costs almost nothing but is factorially loose. A second naive reference is loopy belief-propagation message passing, the natural first attempt at the Bethe fixed point, which is known to oscillate on loopy graphs Complexity of Bethe Approximation, and the naive row-product bound, which the DEEPNIS authors note converges quickly in practice but carries no provable variance guarantee Estimating the Permanent by Nesting Importance Sampling. The strongest existing competitor for the core question is Shin's projected gradient descent with time-varying projections, the only method in the retrieved literature with a proven iteration bound for approximate Bethe stationary points, namely $2^{O(\Delta)} n^2 \epsilon^{-4} \log^3(n/\epsilon)$ iterations Complexity of Bethe Approximation. I will reimplement it, run it on the identical matrix instances and the same $\epsilon$ grid ($10^{-1}$ through $10^{-6}$) on the same hardware, with a matched step-size tuning budget, and count iterations to $\epsilon$-stationarity and wall-clock time; beating it means reaching a stationary point of equal or better free-energy value with an iteration count that scales like $\log(1/\epsilon)$ rather than $\epsilon^{-4}$, and reaching stationary points at all on dense instances where its degree-restricted guarantee does not apply. For the downstream sampler comparison the strongest baseline is DEEPNIS with the depth-16 extended Huber bound plus Sinkhorn balancing Estimating the Permanent by Nesting Importance Sampling, run unchanged except that my Bethe-based nesting bound replaces the Huber bound, with sample budgets and target $(\epsilon, \delta)$ matched; the bar to beat is its reported performance, including the up-to-115× speedup over DeepAR on cage5 at $\epsilon = 0.005$ — the file reports no per-instance runtime numbers beyond that, so all baselines will be regenerated locally. The key ablation isolates the proposal's central ingredient: the same homotopy run with single-branch classical Newton instead of the simultaneous all-roots recurrence, and run with plain fixed-point iteration instead of Newton, so that the value of tracking all branches and of quadratic convergence are each measured separately.

Why not just…?

Why not just run Sinkhorn balancing? It is convex, nearly linear-time, and already gives a deterministic lower bound route. But it optimizes a different, entropic objective, and the evidence says it is not a panacea: on random Bernoulli matrices it hurts the performance of rejection sampling rather than helping Approximating the Permanent with Deep Rejection Sampling, while the Bethe value carries the certified $\sqrt{2^n}$ sandwich that Sinkhorn's bound lacks A Tight Analysis of Bethe Approximation for Permanent. Still, this is the alternative I take most seriously: if work package one shows the Bethe stationary point of the permanent model collapses to a Sinkhorn-type scaling, the proposal collapses with it — into a cleaner positive result, which the formalization experiments would establish in the first months.

Why not just use randomized samplers for $(1+\epsilon)$ accuracy? Because samplers do not remove the need for this work — they consume it. DEEPNIS achieves its rigor and its 115× speedup only because deterministic nesting bounds exist to keep importance weights bounded Estimating the Permanent by Nesting Importance Sampling, and derandomizing permanent estimation is an explicitly stated open goal, pursued for non-negative matrices via $\epsilon$-biased sets and still failing for matrices with negative or complex entries Generalizing and derandomizing Gurvits's approximation algorithm for the permanent. I am honest that for pure accuracy, randomized methods win; the claim under test is that raising the deterministic ceiling — a fast, certified Bethe solver — also lifts the samplers built on top of it, and the downstream experiment measures exactly that.

Why not just use classical Newton iteration or a generic polynomial-system solver? Classical Newton is precisely what the closure literature had to abandon: it fails at high-multiplicity and colliding roots and blows up intermediate degrees, which is why the all-roots matrix recurrence was invented Discovering the Roots: Uniform Closure Results for Algebraic Classes Under Factoring, and Bethe phase transitions are exactly where branch collisions are expected. Generic homotopy-continuation software, which a reviewer might reasonably name, has worst-case exponential behavior, exploits none of the matching structure, and offers no circuit-size or bit-complexity guarantee; my degeneracy census experiment will measure how often the structured path actually passes near a singularity, which is the empirical way to settle whether the extra machinery earns its cost.

Proposed Experiments and Decisive Checks

All experiments use the benchmarks documented in the file: the Network Data Repository instances ENZYMES, cage5, and bcspwr01 used by the permanent-sampling papers The Network Data Repository with Interactive Graph Analytics and Visualization, plus the synthetic ensembles — staircase matrices, random Bernoulli matrices $\mathcal{B}(n,p)$ with $p < 1/5$, and Gaussian-derived positive semidefinite matrices, the ensemble on which the low-rank relaxation of Yuan and Parrilo observed average solution ranks far below the theoretical $O(\sqrt{n})$ Maximizing Products of Linear Forms, and The Permanent of Positive Semidefinite Matrices. The first experiment is a degeneracy census: run the homotopy on every instance and log the conditioning of the Jacobian along the path, quantifying how rare branch collisions are and how often the Puiseux fallback fires. The second is the solver bake-off against gradient descent and message passing: the decisive plot is iterations versus $1/\epsilon$ on a log-log scale, where a slope near zero for my solver against a slope near four for gradient descent would confirm the quadratic-convergence claim, alongside the realized certified ratio $\mathrm{per}(A)/\mathrm{bethe}(A)$ checked against the $\sqrt{2^n}$ ceiling. The third swaps my Bethe nesting bound into the DEEPNIS loop and asks for a median wall-clock improvement on Bernoulli and staircase families — the regimes where Sinkhorn preprocessing is known to degrade performance and where deep bounds cut runtimes from over $10^4$ seconds to seconds or minutes Approximating the Permanent with Deep Rejection Sampling — without regression on the repository instances. The fourth, exploratory experiment attacks finite-$M$ covers at $M = 2, 3$ on small matrices against brute-force cover enumeration: either a tractable algorithm emerges, or the failure pattern sharpens the intractability boundary that the cover paper currently only observes Degree-M Bethe and Sinkhorn Permanent Based Bounds on the Permanent of a Non-Negative Matrix. The scope is deliberately bounded: I am not claiming a deterministic fully polynomial approximation scheme, which remains a major open problem for both PSD and non-negative matrices Simply Exponential Approximation of the Permanent of Positive Semidefinite Matrices; I am claiming a way to compute, certify, and structurally understand the best deterministic estimator we already have. That the exact-circuit world and the continuous-approximation world have never exchanged their strongest tools — the former protecting the permanent's factors inside $\mathbf{VNP}$ Closure Results for Polynomial Factorization, the latter sandwiching it between convex relaxations — is precisely the gap this proposal fills, with root tracking as the bridge.