NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Noise Trips the Filter: Calibrating Filtered Monge-Ampère Solvers on Real Densities

Many problems in imaging and transport need the solution of the Monge-Ampère equation. This is a fully nonlinear equation that asks for a convex function $u$ whose Hessian determinant matches a prescribed density ratio. Its gradient $\nabla u$ is the optimal way to move mass from one distribution to another. When the solution has kinks or blow-ups, classical derivatives fail. Solvers therefore aim for the viscosity solution, a weak notion of solution that picks out the physically correct answer among many candidates. They reach it with monotone finite-difference schemes, meaning schemes in which raising a neighbor's value never lowers the discrete operator. Monotone schemes converge reliably but are only first-order accurate. Filtered schemes combine a high-order scheme with a monotone one and fall back to the monotone scheme only where the two disagree by more than a threshold $\epsilon$. Every published test of these solvers has used hand-built analytic solutions whose singularities are mathematically clean. Examples are cones, radial blow-ups and piecewise parabolas (Convergent Finite Difference Solvers for Viscosity Solutions of the Elliptic Monge-Ampère Equation in Dimensions Two and Higher; Convergent Filtered Schemes for the Monge-Ampère Partial Differential Equation).

This proposal tests a concrete prediction about what happens when such a solver meets a real density, such as an MRI slice or a scanned digit. Real densities carry high-frequency acquisition noise, near-zero background and sharp tissue boundaries. All of these inflate the disagreement between the high-order and monotone operators everywhere, not just at true singularities. We predict that a filter with a fixed threshold will then fall back to the monotone scheme on most of the grid, and its accuracy advantage will disappear without any visible error message. We will measure this failure. We will then replace the hand-tuned global $\epsilon$ with a spatially varying threshold set from an estimate of the local noise level. We will evaluate all of this with a benchmark design that supplies exact solutions while keeping the texture of real data.

Core Claim

The filtered scheme of Convergent Filtered Schemes for the Monge-Ampère Partial Differential Equation has the form $F_F(u) = F_M(u) + \epsilon\, S\big((F_A(u)-F_M(u))/\epsilon\big)$. Here $F_A$ is the formally second-order scheme, $F_M$ is the monotone wide-stencil scheme, and $S$ is a bounded filter that is the identity near zero and vanishes for large arguments. The scheme therefore uses $F_A$ only where $|F_A - F_M| \lesssim \epsilon$. On a real density, the discrete second differences of $u$ carry a noise floor that does not shrink the way the truncation error of a smooth function does. Our first claim is that on real-noise inputs, the fraction of grid points that fall back to $F_M$ (the fallback fraction) approaches one at practical resolutions. The observed convergence order then collapses from about two to about one. The file explicitly names this interaction as uncharacterized (Gap 1). The original authors also note that $\epsilon$ needs problem-specific manual tuning.

Our second claim is constructive. Let $\hat\sigma(x)$ be a local robust estimate of the noise-induced spread of $F_A - F_M$, obtained from a median absolute deviation of fine-scale wavelet coefficients of the density and propagated through the operator. We set

$$\epsilon(x) = \min\big(\epsilon_0(h),\ \kappa\, \hat\sigma(x)\big)\ \text{if that is below the cap, else } \epsilon_0(h),$$

where $h$ is the grid spacing, $\epsilon_0(h)\to 0$ is the vanishing threshold required by the original convergence proof, and $\kappa$ is a single constant fixed once across all datasets. More simply, $\epsilon(x)$ is $\kappa\hat\sigma(x)$, clipped above by $\epsilon_0(h)$. Because $\epsilon(x)$ never exceeds $\epsilon_0(h)$, the scheme stays "nearly monotone" in the sense of Froese and Oberman's proof. Convergence to the viscosity solution should therefore survive. We will check this argument carefully rather than assume it. Within that cap, the threshold adapts so that the scheme falls back where disagreement is unusually large relative to the local noise, not merely large in absolute terms.

Research Program

The work has three parts. The first is a benchmark that removes the main excuse for synthetic-only evaluation, namely that real data have no exact solution. We use real-texture manufactured solutions. We take a real density $g$, such as a normalized OASIS brain MRI slice or an MNIST digit. We pick an exactly known convex potential $u^\star$, either smooth or with a planted kink or cone singularity. We define the target density as the pushforward of $g$ under $\nabla u^\star$, which fixes the right-hand side $f = g / (\text{target}\circ\nabla u^\star)$ exactly. The solver then faces real acquisition noise, real near-zero backgrounds and real anatomical edges, while the true $u^\star$ is known. This allows the same $L^\infty$ and $L^2$ error-versus-$h$ convergence studies the synthetic literature relies on. To set the noise level independently of texture, we also add measured noise: the difference between two independently smoothed versions of the same scan, rescaled. Finally, we vary the density floor $\delta$ added to zero background regions. Zero density lies outside the theoretical guarantees (Numerical solution of the Optimal Transportation problem using the Monge-Ampère equation), so this tests how behavior degrades as $\delta\to 0$.

The second part is diagnosis. We instrument the fixed-$\epsilon$ filtered solver to record the fallback fraction, its spatial map and the observed convergence order. We record these on the classic synthetic test suite and on real-texture problems at matched singularity type. The third part is the calibrated filter described above. It is implemented as a drop-in change to the threshold inside the same damped Newton solver used by Convergent Finite Difference Solvers for Viscosity Solutions of the Elliptic Monge-Ampère Equation in Dimensions Two and Higher. We work mainly in 2D at $128^2$ to $1024^2$. A 3D extension at $64^3$ and $128^3$ on OASIS and LPBA40 volumes uses the multigrid acceleration of A multigrid scheme for 3D Monge-Ampère equations. Entropy enters as a competitor rather than a mechanism, through entropically regularized optimal transport, which is the standard fast alternative.

Baselines

The naive reference point is the purely monotone wide-stencil scheme of Convergent Finite Difference Solvers for Viscosity Solutions of the Elliptic Monge-Ampère Equation in Dimensions Two and Higher. It is guaranteed to converge to the viscosity solution at first order, and it is what the filtered scheme degenerates to when the fallback fraction is one. Any calibrated filter must clearly beat it on error at fixed grid size. If it does not, the filtering idea adds nothing on real data.

The strongest existing method is the fixed-$\epsilon$ filtered scheme of Convergent Filtered Schemes for the Monge-Ampère Partial Differential Equation, run in two versions. One uses the authors' default threshold scaling. The other is an oracle version whose global $\epsilon$ is grid-searched per problem against the known $u^\star$. The oracle uses information our method never sees, so matching it without labels counts as success and beating it counts as a strong result. No reported result on real data was found on Lacuna for this scheme. The file also gives no numerical error values for it on synthetic tests, so we will reproduce its synthetic accuracy before using it. All variants share the same stencil width, Newton solver, stopping tolerance and grid hierarchy. Each receives the same number of solver configurations in tuning: our $\kappa$ is chosen once on MNIST and then frozen, while the oracle gets a 20-point grid search per instance.

For the 3D setting we compare with FFT-OT (Volumetric Optimal Transportation by Fast Fourier Transform). It linearizes Monge-Ampère through a continuity method and replaces spatially varying coefficients by their global mean. The paper reports roughly 20 seconds at $128^3$ and a speedup of 130 times over power-diagram methods on a synthetic Gaussian mixture. It reports no numerical accuracy on its real CT and MRI examples. We will report wall-clock time on the same GPU together with transport error. We expect its constant-coefficient approximation to struggle at sharp tissue boundaries. For entropic optimal transport (Sinkhorn), no reported result was found on Lacuna. We will run it at several regularization strengths, matched in wall-clock time to our solver.

Three ablations isolate the key ingredient. In the first, the spatially varying $\epsilon(x)$ is replaced by a global $\epsilon$ set from the mean noise estimate; this asks whether locality matters. In the second, the noise estimate is replaced by a random field with the same mean; this asks whether the estimate carries information. In the third, the cap $\epsilon_0(h)$ is removed; this asks whether the convergence guarantee costs accuracy.

Why not just…?

Why not just denoise the density first and run the standard filtered scheme? This is the most serious threat, and we treat it as a co-equal arm rather than a strawman. Pre-smoothing with a Gaussian or nonlocal-means filter lowers the noise floor. However, it also changes the problem being solved: it blurs the true edges and any planted singularity. The error is then measured against a $u^\star$ for a different density. The real-texture benchmark lets us measure both effects. If the best pre-smoothing bandwidth, tuned with the oracle's budget, matches the calibrated filter on error against $u^\star$ and on fallback fraction, we will report that the simpler fix suffices and narrow our claim to the diagnostic finding.

Why not just tune $\epsilon$ by hand per problem? This is exactly the oracle baseline. On real data there is no $u^\star$ to tune against, so hand-tuning can only target proxy quantities such as pushforward residuals. The experiments check whether those proxies select good $\epsilon$ values. If a residual-based global $\epsilon$ search matches our method, the case for spatial calibration reduces to cost.

Why not just use entropic optimal transport (Sinkhorn)? Sinkhorn handles noisy, discrete and zero-mass densities without meshes. However, Volumetric Optimal Transportation by Fast Fourier Transform notes that entropic regularization blurs the transport map, which matters exactly where anatomical edges carry the signal. We will measure this as map error against $\nabla u^\star$ near planted kinks, at matched time, rather than asserting it.

Why not just accept the monotone scheme? If the fallback fraction really goes to one on real data, then today's filtered solvers already behave like the monotone scheme on real data, and practitioners are paying for a feature they do not get. The question is whether recovering the high-order regime is worth the work. The answer is the accuracy gap at fixed $h$, which the first experiment measures directly.

Proposed Experiments

The first experiment is diagnostic and can falsify the premise. We run the fixed-$\epsilon$ filtered scheme on the published synthetic suite and on real-texture manufactured problems built from MNIST digits and OASIS slices, with matched singularity type, sweeping $h$. We report fallback fraction and the observed order (the slope of $\log L^\infty$ error against $\log h$). The premise holds if the synthetic order is near two with low fallback fraction, while the real-texture order drops toward one with fallback fraction above, say, 0.8 at $h \le 1/256$. If real-texture problems keep a low fallback fraction, Gap 1 is not real and the project stops there.

The second experiment is the main comparison. On held-out real-texture problems from LPBA40 slices, which come from a different scanner than the OASIS data used during development, we compare the calibrated filter, the oracle filter, the default filter, the monotone scheme, the best pre-smoothing arm and Sinkhorn. We report three things: error against $u^\star$ and against $\nabla u^\star$ in bands around planted singularities; the fraction of grid points where the discrete Hessian of $u$ violates convexity; and Newton iterations to convergence. Success means the observed order recovers to at least 1.5 with $\kappa$ frozen from MNIST, and that error falls within a small factor of the oracle while staying below the monotone scheme at every $h$. Because LPBA40 shifts the noise statistics, this is the test of whether a calibrated threshold transfers across acquisition protocols where a hand-tuned one would not. The question is borrowed from the cross-dataset audit in Deep Learning in Medical Image Registration: Magic or Mirage?, here applied to a numerical solver rather than a learned model.

The third experiment varies the density floor $\delta$ and the injected noise amplitude. It maps where the calibrated scheme, the ablations and FFT-OT (Volumetric Optimal Transportation by Fast Fourier Transform) break down in 3D at $128^3$, reporting time and pushforward error. The decisive check across all three experiments is a single comparison on held-out scanners: whether calibrated thresholds recover second-order behavior that fixed thresholds lose, and whether the best tuned pre-smoothing fails to do the same.