Many 3D reconstruction networks never output a mesh directly. They predict a UV position map: a regular 2D image whose pixels store the 3D coordinates of fixed points on a surface. Because every pixel always refers to the same anatomical point, such as the nose tip, an ordinary convolutional network can produce a full 3D face in milliseconds. These networks have no guarantees. A small perturbation of the input photo can, in principle, displace a landmark by centimetres or pull two neighbouring surface points apart, producing a torn or folded mesh.
We propose to formally certify such geometric properties. The certificate is a proof, not a statistical estimate, that for every input within a small pixel-perturbation budget, (a) each predicted vertex stays within a stated box and (b) adjacent surface points stay within a stated distance of each other. Doing this for a 256×256×3 output exposes two engineering obstacles. The first is that the verifier's internal bookkeeping explodes in memory, in the same way that convolution "lowering" explodes memory during ordinary training. The second is that smooth output activations, such as the sigmoid that squashes coordinates into range, loosen the proof. The proposal uses tools from the memory-efficient convolution literature to address the first obstacle and studies the second as a design trade-off.
Core Claim
Two things are needed to verify the geometric correctness of dense UV regressors at real resolution, and we claim they are now achievable. The first is to state properties as differences between output pixels, such as the 3D distance between neighbouring UV pixels, and bound the difference jointly rather than bounding each pixel separately. The second is to run backward bound propagation with implicitly lowered, support-restricted coefficient tensors.
Backward bound propagation is the family of verifiers, such as CROWN and its branch-and-bound descendants, that push linear upper and lower bounds from the output back toward the input. "Support-restricted" means the verifier stores, for each queried neuron, only coefficients inside its receptive field. "Implicitly lowered" means it computes addresses on the fly instead of materialising duplicated patch matrices. It also skips the inserted zeros that appear when bounds pass backward through transposed convolutions.
The specific new elements are three: joint difference specifications on UV maps, zero-space skipping in the backward bound pass through decoder upsampling layers, and a measured account of how much each activation choice in the decoder costs in certifiability.
Where This Sits
The verification side supplies the method. Formal Verification for Neural Networks with General Nonlinearities via Branch-and-Bound (GenBaB) extends linear bound propagation to sigmoid, tanh, sine and multiplications. It pre-computes good split points for curved activations and reuses initial linear bounds as shortcuts. Its evaluations, however, are small classifiers and small constraint graphs, with classification-margin readouts.
Two geometry-aware verifiers motivate the move to geometric outputs. IoUCert shows that re-expressing detector outputs in a better coordinate space ("corner space") avoids loose relaxations of sigmoid and exponential heads and tightens IoU bounds by over 50%. 3DVerifier certifies PointNet models with closed-form multiplication bounds, and it explicitly leaves dense or continuous geometric representations open. Neither handles a dense 2D field of coordinates, and neither handles properties that couple two output locations.
The lowering literature supplies the memory technique. Explicit image-to-column unrolling inflates memory by 2× to 4× according to High Performance Zero-Memory Overhead Direct Convolutions, and by up to 10× according to Characterizing and Demystifying the Implicit Convolution Algorithm. Two remedies exist. MEC removes vertical redundancy for an average 3.2× memory reduction, and CONVGEMM folds the address mapping into GEMM packing.
The closest structural analogue is BP-Im2col. It observes that the transposed and dilated convolutions of backpropagation can be up to 93% zeros, and it generates addresses of non-zeros on the fly, cutting backpropagation storage overhead by at least 74.78%. Backward bound propagation through a decoder's transposed convolutions has exactly this structure, with the added cost that it carries one coefficient map per queried neuron. We reuse BP-Im2col's idea in software inside the verifier. We do not claim new hardware.
The application regime is PRNet, which regresses a 256×256×3 position map with residual encoder blocks and a transposed-convolution decoder. PRNet is trained on 300W-LP and evaluated on AFLW2000-3D, and it guarantees nothing about robustness. A constraint on the memory argument should be stated up front. Verifier codebases may already store convolutional bound coefficients in patch form, but we found no reported result on Lacuna for patch-structured or implicitly lowered bound propagation. Our novelty therefore cannot rest on "patches" alone. It rests on zero-space skipping through upsampling, on difference specifications, and on the end-to-end UV certification.
Research Program
Specifications. For a UV position map $f(x)\in\mathbb{R}^{H\times W\times 3}$ produced from image $x$, the vertex-box property bounds each queried coordinate $f_{p,c}(x)$ over all $\|x-x_0\|_\infty\le\epsilon$. The non-tearing property bounds the distance between neighbouring pixels $p$ and $q$:
$$\max_{\|x-x_0\|_\infty\le\epsilon}\ \|f_p(x)-f_q(x)\|_\infty\ \le\ \tau_{pq}.$$
Here $\tau_{pq}$ is a tolerance set from the template edge length, for instance twice the clean-input edge length. We use the $\infty$-norm so that the specification stays linear in $f_p-f_q$. We bound $f_p-f_q$ as a single linear function propagated backward. This keeps the correlation between the two pixels, which share almost all upstream computation. Bounding each pixel separately and subtracting the intervals discards that correlation. Seam closure on surfaces with cuts is the same specification applied to distant pixel pairs that map to the same 3D vertex.
Verifier engine. We will extend a GenBaB-style bound propagator in three ways. Each queried neuron's coefficient tensor is stored only over its receptive-field support at each layer, with addresses computed implicitly in the manner of CONVGEMM rather than as an unrolled matrix. Backward passes through transposed convolutions skip structural zeros, in the manner of BP-Im2col. Queries are batched by spatial tile, so that many intermediate-bound computations share packed weights, following MEC's strip-sharing.
Activation study. We will train PRNet-architecture variants that differ only in the decoder nonlinearity: ReLU throughout, SiLU in the decoder, and sigmoid versus a clipped-linear output head. Each variant is verified with GenBaB's pre-optimized branching for its curved units. Following IoUCert, we also test re-parameterising the sigmoid head's output space before bounding. The result is a curve of accuracy (NME) against certified fraction for each activation choice.
Baselines
The naive reference is interval bound propagation, which pushes one box per neuron forward through the network. It uses almost no memory and is trivially scalable to 256×256 outputs. It cannot represent the correlation between $f_p$ and $f_q$, so on difference specifications it reduces to subtracting two intervals. It runs on the identical model, perturbation radius and hardware. The proposal beats it if it certifies non-tearing on substantially more test images at equal $\epsilon$.
The strongest existing method is GenBaB run in its standard dense-coefficient form, from Formal Verification for Neural Networks with General Nonlinearities via Branch-and-Bound. It is the only cited verifier that handles general nonlinearities with branch-and-bound. Its reported results are a rise from 4% to 60% verified instances on a CIFAR-10 4×100 sine network, and 22 of 23 instances verified on ML4ACOPF. There is no reported result on Lacuna for any UV regressor or dense-output network. We run it on the same GPU with the same time limit per property, the same branching budget and the same specifications. Wherever it runs out of memory we report that, and we also run it on reduced-resolution variants (64×64 and 128×128 position maps) where it fits.
Beating it means two things. The proposal must reach equal verified fractions at lower peak memory on the resolutions where both run. It must also produce non-vacuous certificates at 256×256, where dense GenBaB cannot run within the memory limit.
Two ablations isolate the key ingredients. The first keeps the joint difference specification but stores dense coefficients. This separates the memory contribution from the tightness contribution. The second keeps the memory machinery but bounds each pixel independently before subtracting. This measures how much tightness comes from the joint specification.
Why not just…?
Why not just use randomized smoothing? Certified Adversarial Robustness via Randomized Smoothing reaches 49% certified top-1 accuracy on ImageNet at $\ell_2$ radius 0.5, and it ignores architecture entirely. Its guarantee is probabilistic, however, and its classification form does not bound a continuous coordinate. Higher-Order Certified Robustness for Regression indicates that regression variants exist. These are a genuine competitor for landmark boxes, but they certify a smoothed model, not the deployed one, and need many forward passes per image. We will run a smoothed PRNet as a comparison point and report its certified landmark deviation and inference cost next to ours. If smoothing gives tighter bounds at comparable cost, we will say that the deterministic approach is only justified where a worst-case, deployed-model guarantee is required.
Why not just crop the network to each output pixel's receptive field and run an existing verifier? This is the most serious simple alternative, because support restriction is half of what we build. Cropping helps only while receptive fields are local. In PRNet's decoder every output pixel depends on the encoder bottleneck, and intermediate-bound computations for decoder neurons again span full feature maps, where transposed-convolution zeros dominate. We will measure per-layer coefficient memory under cropping alone. If cropping matches our peak memory, we will drop the memory contribution and keep the specification and activation results.
Why not just train an all-ReLU network, which mature verifiers already handle? This may well work for coordinate boxes. 3DVerifier reports that removing a nonlinear alignment module costs 7–9% accuracy, which suggests a cost, but that evidence comes from point clouds, not UV maps. The activation study measures this directly. If a ReLU decoder with a clipped-linear head matches the sigmoid variant's NME on AFLW2000-3D while certifying more, that is a useful negative result for smooth heads, and we will report it as such.
Proposed Experiments
We train all models on 300W-LP and evaluate accuracy on AFLW2000-3D using 2D and 3D NME. PRNet reports a better-than-25% NME improvement over prior methods, but the file gives no absolute value. We certify a fixed random subset of AFLW2000-3D test images under $\ell_\infty$ radii from 1/255 to 4/255. For each image we query the 68 landmark pixels for vertex boxes and a fixed sample of neighbouring UV pixel pairs, concentrated in high-curvature regions, for non-tearing. The metrics are certified fraction, median certified bound width in millimetres, peak GPU memory, and wall-clock time per property.
Three decisive checks determine the outcome. The first is whether the proposal certifies non-tearing at full 256×256 resolution, where dense GenBaB exhausts memory. The second is whether the joint-difference ablation shows that correlation-preserving bounds are materially tighter than subtracted intervals. If they are not, the specification idea fails. The third is whether the activation curve shows a real accuracy–certifiability trade-off rather than a free win for ReLU.
As a secondary test of seam closure, we will construct a seamed variant of the face position map by cutting along the template's vertical midline and placing the halves apart in UV space. Seam closure is then a non-tearing specification on distant pixel pairs, whose receptive fields overlap only near the bottleneck. This is the hardest case for both memory and tightness.
References
- Formal Verification for Neural Networks with General Nonlinearities via Branch-and-Bound
- IoUCert: Robustness Verification for Anchor-based Object Detectors
- 3DVerifier: efficient robustness verification for 3D point cloud models
- High Performance Zero-Memory Overhead Direct Convolutions
- Characterizing and Demystifying the Implicit Convolution Algorithm on Commercial Matrix-Multiplication Accelerators
- MEC: Memory-efficient Convolution for Deep Neural Network
- High Performance and Portable Convolution Operators for Multicore Processors
- BP-Im2col: Implicit Im2col Supporting AI Backpropagation on Systolic Arrays
- Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network
- Certified Adversarial Robustness via Randomized Smoothing.
- Higher-Order Certified Robustness for Regression