Author manuscript · submitted for peer review

Submitted to Computational and Applied Mathematics; not accepted or published. This live HTML/PDF revision differs from the published v2.0.0 archive.

Author-manuscript revision: · manuscript f4010fcb9677
Website source: a2448c9e9377

Download the PDF · Versions and archives

On narrow screens, swipe or scroll wide equations and tables to read them in full.

Fixed-site inverse fitting of power-diagram weights from pairwise separator data

Ivan Yu. Chernyshov
(Independent researcher, Moscow, Russia)

Abstract

Local estimates of where selected pairs of objects should be separated need not define a consistent spatial partition. We develop a reproducible framework for fitting such data with a power (Laguerre) diagram, whose cells are determined by fixed points, called sites, and one adjustable weight per site. Each observed separator position specifies a weight difference. We characterize when the observations admit an exact fit and which weight differences they determine, and reconcile inconsistent data by weighted least squares.

A fitted separator need not form a shared cell face. We therefore check whether cells share a face and whether it contains the separator’s intersection with the line through their sites. For an interior intersection point, its in-plane distance to the face boundary defines centered clearance. The framework is implemented in the Python package pyvoro2.

Synthetic experiments recover identifiable weight differences from exact compatible data and examine missing and noisy observations. For 100 molecules, we fit separators predicted from atomic density profiles and compare them with reference separator positions and atom pairs derived from the Quantum Theory of Atoms in Molecules. The experiments show that improved fitting need not improve agreement with an independent reference. Among nonbonded pairs passing the local face test, centered clearance ranks reference pairs better than pair distance or face area in the pooled benchmark.

ivan.chernyshoff@gmail.com Keywords: Power diagrams, inverse problems, pairwise separators, graph Laplacians, geometric realization

MSC2020: Primary 65D18; Secondary 52C22, 65F20

Acknowledgments. The author thanks Chris H. Rycroft for feedback that improved the exposition and his mother for unconditional support during a difficult period.

Author contributions. Ivan Yu. Chernyshov (ORCID: 0000-0002-4452-2025) conceived the study, developed the software, performed the analyses, and wrote the manuscript.

1 Introduction

Spatial partitions represent physical structures by assigning regions to their constituent objects. In polycrystalline materials, these regions describe grain shapes and neighbor relations (Spettl et al., 2016; Bourne et al., 2025). In molecular structures, atomic regions are used to estimate volumes and packing (Richards, 1974), or to assign electron populations (Bader, 1990). Simple geometric models describe these regions through a small set of parameters, which must be chosen from the available information about the structure.

A simple and widely used model is the ordinary Voronoi diagram (Okabe et al., 2000). Given distinct points p1,…,pnp_{1},\ldots,p_{n} in Euclidean space ℝd\mathbb{R}^{d}, called sites, the cell of each site consists of the points no farther from it than from any other site. For two sites, their boundary is the set of equidistant points, forming the hyperplane perpendicular to the segment joining them at its midpoint. With more sites, shared faces are portions of these bisecting planes. Once the sites are fixed, the division is therefore fixed.

A power diagram, also called a Laguerre diagram, allows the boundaries to move by adding one real scalar weight wiw_{i} to each site (Aurenhammer, 1987). It assigns each point to a site that minimizes the power distance

πi⁢(x)=‖x−pi‖2−wi.\pi_{i}(x)=\|x-p_{i}\|^{2}-w_{i}.

Equal weights recover the ordinary Voronoi diagram. When two power distances are equated, the quadratic terms cancel, leaving a hyperplane with the same orientation as the Voronoi bisector. We call this plane the pairwise separator. Changing the weight difference translates it along the line through the sites, as Figure 1 illustrates. Cell boundaries remain piecewise planar.

Figure 1:  Equal-weight (Voronoi) and unequal-weight power diagrams for the same two sites.
Figure 1: Equal-weight (Voronoi) and unequal-weight power diagrams for the same two sites. (a) Equal weights place the boundary at the midpoint. (b) Increasing wjw_{j} moves it toward pip_{i} and enlarges the cell of pjp_{j}. Both panels use the same sites and scale. With only two sites, the entire pairwise separator is a shared boundary. Rendered using AI-assisted code; see the AI declaration.

To represent a measured or prescribed structure, the parameters must be inferred from the available data. The resulting inverse problems differ in their inputs. A supplied Laguerre tessellation can be inverted to recover a generating representation (Duan et al., 2014), while segmented images provide interfaces to which a Laguerre approximation can be fitted (Spettl et al., 2016). Aggregate constraints offer another route: cell volumes can be prescribed at fixed sites (Aurenhammer et al., 1998; Bourne et al., 2020), or combined with centroid data to recover or fit a tessellation (Bourne et al., 2025). Mesh-construction methods instead start from prescribed elements, such as edges or triangles. Alexa (2020) adjusts weights at fixed sites to enforce the required cell intersections, when feasible. Bogiokas et al. (2025) allow additional sites so that prescribed elements can be represented as unions of smaller ones.

In this work, the inputs are fixed sites and scalar dividing positions for selected pairs. Each position is a coordinate on the full line through its pair of sites and specifies a target location for their pairwise separator. These coordinates may be predicted independently, even when no global partition has been observed or defined. For example, atomic density profiles can predict a dividing position along the line through two nuclei without assigning the rest of space to either atom. The nuclear coordinates specify the molecular geometry, so retaining them is part of the modeling task. We seek one power diagram that reconciles the supplied local divisions; observations may be missing, repeated or noisy.

We first ask which site weights, if any, are consistent with these local positions. Each coordinate specifies a desired weight difference, but a site’s single weight enters every observation involving it. The requirements can therefore conflict. Representing sites as graph vertices and observations as edges makes their compatibility explicit: signed differences must sum to zero around every closed chain. Compatible observations determine relative weights within each connected component; if all sites are connected, the remaining common shift leaves the diagram unchanged. For inconsistent observations, weighted least squares reconciles the targets through a classical graph-Laplacian problem (Jiang et al., 2011). For interface samples projected onto the site lines, this quadratic fit is the fixed-site form of the objective of Spettl et al. (2016).

The second question concerns the geometry realized by the fitted weights. Equality of two power distances does not make them minimal among all sites, so a fitted separator may contribute no shared face (Spettl et al., 2016). We therefore check both whether the cells share a face and whether that face contains the fitted separator’s intersection with the site line. We call the second check a local membership test. For projected interface samples, this is distinct from checking whether the original sample points belong to the shared face. When the intersection point lies in the face’s interior within the separator plane, its distance to the face boundary defines centered clearance, measuring how far the face extends in every direction around it.

Together, these analyses provide a way to construct a power diagram from local targets and distinguish what the observations determine from what the resulting geometry supports. The formulation accommodates noisy data and hard bounds on separator positions. For finite nonperiodic configurations, with the observation graph and fitting weights fixed, perturbation bounds for unconstrained least-squares fits give sufficient conditions for preserving the local membership classification under observation errors. A reproducible workflow combines fitting, diagram construction and face checking, including periodic systems, and is implemented in pyvoro2 (Chernyshov, 2026b).

We test this construction on synthetic data and in an application to 100 molecules. The synthetic tests examine exact recovery, missing observations, noise and model mismatch. The molecular application compares predictions from atomic density profiles, their fitted separators and the resulting cell adjacencies with a reference derived from the Quantum Theory of Atoms in Molecules (QTAIM) (Bader, 1990). These experiments show that a better fit to the supplied separator positions does not necessarily produce closer agreement with an independent reference. Among faces passing the local membership test for pairs of nonbonded atoms, clearance helps distinguish reference adjacencies. The molecular tests assess separator positions and pair adjacencies without reconstructing complete atomic basins.

Sections 2–4 develop the observation model, fitting and geometry; Section 5 presents the workflow. Sections 6 and 7 report synthetic and molecular experiments, followed by discussion and conclusions. Supporting arguments and protocols appear in the appendices.

2 Pairwise separator observations

We now express each observed or predicted dividing position as a target difference of site weights. For distinct fixed sites p1,…,pn∈ℝdp_{1},\ldots,p_{n}\in\mathbb{R}^{d}, let w1,…,wnw_{1},\ldots,w_{n} be real weights with squared-length units. We use the power-distance convention introduced above (Aurenhammer, 1987):

πi⁢(x)=‖x−pi‖2−wi.\pi_{i}(x)=\|x-p_{i}\|^{2}-w_{i}. (1)

For an ordered pair i≠ji\neq j, let Hi⁢jH_{ij} be the pairwise separator defined by πi⁢(x)=πj⁢(x)\pi_{i}(x)=\pi_{j}(x).

Set δi⁢j=pj−pi\delta_{ij}=p_{j}-p_{i} and di⁢j=‖δi⁢j‖>0d_{ij}=\|\delta_{ij}\|>0. The full affine line through the two sites is their connector line. Its intersection with Hi⁢jH_{ij} is x=pi+ti⁢j⁢(w)⁢δi⁢jx=p_{i}+t_{ij}(w)\delta_{ij}, where coordinates 00 and 11 correspond to pip_{i} and pjp_{j}. Equating the two power distances gives

ti⁢j⁢(w)2⁢di⁢j2−wi=[1−ti⁢j⁢(w)]2⁢di⁢j2−wj,t_{ij}(w)^{2}d_{ij}^{2}-w_{i}=[1-t_{ij}(w)]^{2}d_{ij}^{2}-w_{j},

and hence

ti⁢j(w)=12+wi−wj2⁢di⁢j2.\boxed{t_{ij}(w)=\frac{1}{2}+\frac{w_{i}-w_{j}}{2d_{ij}^{2}}.} (2)

The coordinate is defined on the full connector line and need not lie in [0,1][0,1].

An observed or predicted coordinate ti⁢jobst_{ij}^{\mathrm{obs}} gives the target difference

zi⁢j=(2⁢ti⁢jobs−1)⁢di⁢j2.z_{ij}=(2t_{ij}^{\mathrm{obs}}-1)d_{ij}^{2}. (3)

Matching this position requires wi−wj=zi⁢jw_{i}-w_{j}=z_{ij}; the individual weights remain undetermined. For the displaced separator in Figure 1, take pi=(0,0)p_{i}=(0,0) and pj=(2,0)p_{j}=(2,0). Its location x1=1/2x_{1}=1/2 gives ti⁢jobs=1/4t_{ij}^{\mathrm{obs}}=1/4 and zi⁢j=−2z_{ij}=-2, consistent with the displayed weights (wi,wj)=(0,2)(w_{i},w_{j})=(0,2).

Other forms of data lead to the same target difference. A signed distance ℓi⁢jobs\ell_{ij}^{\mathrm{obs}} measured from pip_{i} toward pjp_{j} gives ti⁢jobs=ℓi⁢jobs/di⁢jt_{ij}^{\mathrm{obs}}=\ell_{ij}^{\mathrm{obs}}/d_{ij}. A supplied point xi⁢jobs∈ℝdx_{ij}^{\mathrm{obs}}\in\mathbb{R}^{d} gives the coordinate by orthogonal projection onto the connector:

ti⁢jobs=(xi⁢jobs−pi)⋅δi⁢jdi⁢j2.t_{ij}^{\mathrm{obs}}=\frac{(x_{ij}^{\mathrm{obs}}-p_{i})\cdot\delta_{ij}}{d_{% ij}^{2}}. (4)

The associated target plane is perpendicular to the connector and passes through xi⁢jobsx_{ij}^{\mathrm{obs}}. Only the longitudinal component enters Eq. (3); the point’s transverse displacement has no effect on the target.

Several measurements or predictions may refer to the same pair and yield different targets. We therefore index observations, rather than just pairs, by rr. Let (ir,jr)(i_{r},j_{r}) denote the ordered site pair and yry_{r} the supplied normalized coordinate or signed distance. Let εr\varepsilon_{r} denote the discrepancy between yry_{r} and the prediction for a candidate weight vector, in the units of yry_{r}. Both conventions have the affine form

yr\displaystyle y_{r} =βr+αr⁢(wir−wjr)+εr,\displaystyle=\beta_{r}+\alpha_{r}(w_{i_{r}}-w_{j_{r}})+\varepsilon_{r}, (5)
(βr,αr)\displaystyle(\beta_{r},\alpha_{r}) ={(12,12⁢dr2),normalized coordinate,(dr2,12⁢dr),signed distance,\displaystyle=\begin{cases}(\frac{1}{2},\frac{1}{2d_{r}^{2}}),&\text{% normalized coordinate},\\[4.0pt] (\frac{d_{r}}{2},\frac{1}{2d_{r}}),&\text{signed distance},\end{cases} (6)

where dr=‖pjr−pir‖>0d_{r}=\|p_{j_{r}}-p_{i_{r}}\|>0 in the nonperiodic case. Each observation supplies the target difference zr=(yr−βr)/αrz_{r}=(y_{r}-\beta_{r})/\alpha_{r}.

The same model applies to periodic systems once the selected images are specified. Let 1≤ν≤d1\leq\nu\leq d and let the columns of Λ∈ℝd×ν\Lambda\in\mathbb{R}^{d\times\nu} form a linearly independent basis of a fixed translation lattice. Observation rr specifies a shift sr∈ℤνs_{r}\in\mathbb{Z}^{\nu}, selecting pjr(sr)=pjr+Λ⁢srp_{j_{r}}^{(s_{r})}=p_{j_{r}}+\Lambda s_{r} relative to pirp_{i_{r}}. It replaces pjrp_{j_{r}} in the connector, so dr=‖pjr(sr)−pir‖d_{r}=\|p_{j_{r}}^{(s_{r})}-p_{i_{r}}\|, while retaining the base-site weight wjrw_{j_{r}}.

We require ir≠jri_{r}\neq j_{r} and dr>0d_{r}>0, excluding observations between images of the same base site and coincident selected endpoints. Different shifts label distinct geometric observations even when they constrain the same two weight variables. Coincident unselected images are discussed in B.4.

The next section determines when these target differences can be satisfied simultaneously and how to reconcile them otherwise. Whether the fitted pairwise planes contribute actual shared cell faces is a separate geometric question, treated in Section 4.

3 Compatibility and inverse fitting on observation graphs

3.1 Observation graph, compatibility, and identifiability

For a single set of weights to reproduce all observed pairwise separators, their implied weight differences must be mutually compatible.

Consider, for example, three sites with target differences

w1−w2=0,w2−w3=0,w1−w3=1.w_{1}-w_{2}=0,\qquad w_{2}-w_{3}=0,\qquad w_{1}-w_{3}=1. (7)

The first two equations imply w1=w3w_{1}=w_{3}, contradicting the third. Thus, no weight vector can satisfy all three observations simultaneously.

We represent the observations by a graph whose vertices are the sites and whose oriented edges r:ir→jrr:i_{r}\to j_{r} carry the target differences zrz_{r}. Repeated observations of the same pair correspond to parallel edges. In periodic systems, the vertices remain the base sites: observations with different image shifts are distinct edges even when they involve the same two weight variables. Let B∈ℝn×mB\in\mathbb{R}^{n\times m} be the incidence matrix of this graph, where mm is the number of observations and column rr is eir−ejre_{i_{r}}-e_{j_{r}}, with eie_{i} the iith standard basis vector. The exact fitting conditions become

BT⁢w=z.B^{T}w=z. (8)

This is a standard graph-potential representation of pairwise differences (Jiang et al., 2011).

Figure 2 shows the signed cycle sum for this example. For any weight vector, the corresponding sum of differences must vanish by telescoping. This gives the general compatibility condition below.

Figure 2:  An abstract observation graph, with no geometric meaning assigned to the vertex positions.
Figure 2: An abstract observation graph, with no geometric meaning assigned to the vertex positions. Solid arrows orient the three observations in Eq. (7). The cycle 1→2→3→11\to 2\to 3\to 1 traverses the 1→31\to 3 observation backwards (dashed return), giving the contribution −z13-z_{13}. This is a signed traversal of the underlying undirected graph, not a fourth observation. Its nonzero sum prevents any single weight vector from reproducing all three targets. Rendered using AI-assisted code; see the AI declaration.
Proposition 1 (Cycle compatibility).

Let GG be the observation multigraph with incidence matrix BB and target differences z∈ℝmz\in\mathbb{R}^{m}. A weight vector w∈ℝnw\in\mathbb{R}^{n} satisfying BT⁢w=zB^{T}w=z exists if and only if the signed sum of target differences vanishes around every cycle of the underlying undirected multigraph:

∑r∈CsgnC⁡(r)⁢zr=0.\sum_{r\in C}\operatorname{sgn}_{C}(r)\,z_{r}=0. (9)

Here sgnC⁡(r)=+1\operatorname{sgn}_{C}(r)=+1 when the cycle traverses edge rr in its assigned orientation and −1-1 otherwise. Cycles formed by two parallel edges are included.

Proof.

If BT⁢w=zB^{T}w=z, each target difference equals the difference of its endpoint weights. Summing these differences around any cycle gives zero by telescoping.

Conversely, choose a spanning forest of GG and assign an arbitrary weight to one root in each connected component. The observations on the forest edges uniquely determine the remaining weights within each component. Every edge outside the forest closes a cycle with the corresponding forest path. By the assumed cycle condition, its target difference agrees with the difference already determined along that path. Thus, all observations are satisfied. ∎

In particular, repeated observations of the same pair must have identical targets after accounting for their orientations. The construction also leaves one arbitrary additive constant per connected component, leading to the identifiability question considered next.

Corollary 1 (Identifiability).

Let the observation graph GG have cc connected components C1,…,CcC_{1},\ldots,C_{c}, including isolated vertices. If the observations are compatible and w⋆w^{\star} is one solution of BT⁢w=zB^{T}w=z, then every solution has the form

w=w⋆+∑a=1cγa⁢𝟏Ca,γa∈ℝ,w=w^{\star}+\sum_{a=1}^{c}\gamma_{a}\mathbf{1}_{C_{a}},\qquad\gamma_{a}\in% \mathbb{R}, (10)

where 𝟏Ca\mathbf{1}_{C_{a}} is the indicator vector of component CaC_{a}. Consequently, the difference wi−wjw_{i}-w_{j} is uniquely determined by the observations if and only if sites ii and jj belong to the same connected component. Equivalently, rank⁡(B)=n−c\operatorname{rank}(B)=n-c.

Proof.

The difference between any two solutions belongs to ker⁡BT\ker B^{T}, so it must be constant across every observed edge, and hence within each connected component. Conversely, adding an arbitrary constant to the weights in any component leaves all observed differences unchanged. ∎

This ambiguity in the observations must be distinguished from a symmetry of the power diagram itself. Adding the same constant to every site weight leaves all power-distance comparisons unchanged and therefore preserves the complete diagram. In contrast, shifting the weights of disconnected observation components independently can change the competition between their cells. Thus, fixing one additive constant per component selects a particular solution, but may also select a particular geometry among several that are equally consistent with the observations.

3.2 Fitting inconsistent observations

When the cycle-compatibility conditions of Section 3.1 are violated, no weight vector can satisfy all observations exactly. We therefore seek weights that minimize the discrepancies between the observed separator positions and their predictions under the power model.

For each observation rr, let λr>0\lambda_{r}>0 be the weight assigned to its squared residual in the original measurement units. Using the affine observation model from Section 2, we minimize

ℰ⁢(w)=12⁢∑r=1mλr⁢[yr−βr−αr⁢(wir−wjr)]2.\mathcal{E}(w)=\frac{1}{2}\sum_{r=1}^{m}\lambda_{r}\left[y_{r}-\beta_{r}-% \alpha_{r}(w_{i_{r}}-w_{j_{r}})\right]^{2}. (11)

With the target differences zr=(yr−βr)/αrz_{r}=(y_{r}-\beta_{r})/\alpha_{r}, the same objective becomes

ℰ(w)=12∑r=1mρr[(wir−wjr)−zr]2,ρr=λrαr2.\boxed{\mathcal{E}(w)=\frac{1}{2}\sum_{r=1}^{m}\rho_{r}\left[(w_{i_{r}}-w_{j_{% r}})-z_{r}\right]^{2},\qquad\rho_{r}=\lambda_{r}\alpha_{r}^{2}.} (12)

This transformation preserves the objective but changes the weights assigned to individual residuals. Since αr\alpha_{r} depends on the observation type and connector length, equal weights in the original measurement units do not generally imply equal weights on the inferred differences.

Let R=diag⁡(ρ1,…,ρm)R=\operatorname{diag}(\rho_{1},\ldots,\rho_{m}). Using the incidence matrix BB from Section 3.1, we can write the objective as

ℰ⁢(w)=12⁢(BT⁢w−z)T⁢R⁢(BT⁢w−z).\mathcal{E}(w)=\frac{1}{2}(B^{T}w-z)^{T}R(B^{T}w-z). (13)

Differentiation gives

∇ℰ⁢(w)=B⁢R⁢(BT⁢w−z).\nabla\mathcal{E}(w)=BR(B^{T}w-z). (14)

Since the objective is convex, its minimizers are characterized by the normal equations

Lw=BRz,L=BRBT.\boxed{Lw=BRz,\qquad L=BRB^{T}.} (15)

Here LL is the weighted graph Laplacian, as in classical graph-potential least squares (Jiang et al., 2011). For any v∈ℝnv\in\mathbb{R}^{n},

vT⁢L⁢v=∑r=1mρr⁢(vir−vjr)2≥0.v^{T}Lv=\sum_{r=1}^{m}\rho_{r}(v_{i_{r}}-v_{j_{r}})^{2}\geq 0. (16)

Since all ρr>0\rho_{r}>0, this also shows that ker⁡L=ker⁡BT\ker L=\ker B^{T}, the space of vectors that are constant on each connected component of the observation graph. Moreover, B⁢R⁢zBRz is orthogonal to this nullspace and hence belongs to the range of LL. Thus, the normal equations have a solution for every zz, even when the target differences are incompatible. Their solutions differ only by componentwise additive constants. Fixing these unobservable constants selects one representative; we call this a gauge convention.

For the inconsistent three-site example in Fig. 2, with equal fitting weights ρr\rho_{r} and the gauge w3=0w_{3}=0, the least-squares solution is

(w1,w2,w3)=(23,13,0).(w_{1},w_{2},w_{3})=\left(\frac{2}{3},\frac{1}{3},0\right). (17)

The residuals BT⁢w−z=(1/3, 1/3,−1/3)B^{T}w-z=(1/3,\,1/3,\,-1/3) follow the order of the three observations. Each therefore has magnitude 1/31/3: the fit balances the conflicting observations rather than selecting one to discard.

For fixed generator positions, this quadratic structure also follows from the interface discrepancy of Spettl et al. (2016). For a point xx assigned to pair i,ji,j, identifying squared generator radii with the weights gives

zi⁢j⁢(x)\displaystyle z_{ij}(x) =2⁢(pj−pi)⋅x+‖pi‖2−‖pj‖2,\displaystyle=2(p_{j}-p_{i})\cdot x+\|p_{i}\|^{2}-\|p_{j}\|^{2},
dist(x,Hi⁢j(w))2\displaystyle\operatorname{dist}\bigl{(}x,H_{ij}(w)\bigr{)}^{2} =[(wi−wj)−zi⁢j⁢(x)]24⁢di⁢j2.\displaystyle=\frac{[(w_{i}-w_{j})-z_{ij}(x)]^{2}}{4d_{ij}^{2}}.

Summing these terms yields a weighted difference fit of the form above, up to an overall positive normalization. For multiple points assigned to one pair, the corresponding terms combine into a single quadratic term with their mean target and total fitting weight, plus an additive constant independent of ww. This reduction assumes fixed generator positions; the published method also optimizes those positions. The additive constant records the spread of the projected sample positions. Replacing the samples by their mean preserves the optimal weights, but agreement with that mean need not imply a small error over the sampled interface. Thus, data sufficient to determine the weights need not suffice to assess the approximation of an entire boundary.

The quadratic loss is not essential to the observation model. When large residuals should have less influence, the squared penalties can be replaced by convex losses such as the Huber loss, which is quadratic near zero and linear beyond a residual threshold (Huber, 1964). The resulting fixed-observation problem remains convex, although its minimizer is generally no longer obtained from a linear Laplacian system.

3.3 Hard separator constraints

Some separator requirements must be satisfied exactly rather than treated as approximate targets. We allow a separate set ℐH\mathcal{I}_{\mathrm{H}} of hard restrictions, which may involve site pairs absent from the mm observations used for fitting. For each h∈ℐHh\in\mathcal{I}_{\mathrm{H}}, let (ih,jh)(i_{h},j_{h}) be the ordered site pair, and let [y¯h,y¯h][\underline{y}_{h},\overline{y}_{h}] specify an admissible interval in one of the measurement conventions of Section 2. With the corresponding coefficients βh\beta_{h} and αh>0\alpha_{h}>0, the restriction reads

y¯h≤βh+αh⁢(wih−wjh)≤y¯h.\underline{y}_{h}\leq\beta_{h}+\alpha_{h}(w_{i_{h}}-w_{j_{h}})\leq\overline{y}% _{h}. (18)

This is equivalent to the bounds

ℓh≤wih−wjh≤uh,\boxed{\ell_{h}\leq w_{i_{h}}-w_{j_{h}}\leq u_{h},} (19)

where

ℓh=y¯h−βhαh,uh=y¯h−βhαh.\ell_{h}=\frac{\underline{y}_{h}-\beta_{h}}{\alpha_{h}},\qquad u_{h}=\frac{% \overline{y}_{h}-\beta_{h}}{\alpha_{h}}. (20)

An exact separator requirement is the special case ℓh=uh\ell_{h}=u_{h}. Unlike residuals in the least-squares objective, these restrictions must be satisfied by the fitted weights.

Their joint feasibility is described by a directed graph of difference constraints: each inequality wv≤wu+cu⁢vw_{v}\leq w_{u}+c_{uv} is represented by an arc u→vu\to v with cost cu⁢vc_{uv}. This constraint graph differs from the observation multigraph used for fitting. The standard negative-cycle criterion (Cormen et al., 2009, Sec. 24.4) takes the following form in our sign convention.

Proposition 2 (Feasibility of difference constraints).

Consider a finite collection of restrictions

ℓh≤wih−wjh≤uh,h∈ℐH,\ell_{h}\leq w_{i_{h}}-w_{j_{h}}\leq u_{h},\qquad h\in\mathcal{I}_{\mathrm{H}}, (21)

with finite real bounds ℓh,uh\ell_{h},u_{h}. Construct a directed weighted multigraph on the sites by adding, for each restriction hh, an arc jh→ihj_{h}\to i_{h} with cost uhu_{h} and an arc ih→jhi_{h}\to j_{h} with cost −ℓh-\ell_{h}.

There exists a weight vector satisfying all restrictions if and only if this graph contains no directed cycle with negative total cost.

Proof.

Summing the inequalities represented by arcs around any directed cycle cancels the site weights, so every cycle must have nonnegative total cost.

Conversely, suppose there are no negative directed cycles. Add an auxiliary source connected to every vertex by a zero-cost arc, and let d⁢(v)d(v) be the shortest-path distance from this source to vertex vv. These distances are finite and satisfy

d⁢(v)≤d⁢(u)+cu⁢vd(v)\leq d(u)+c_{uv} (22)

for every arc u→vu\to v. Therefore, setting wv=d⁢(v)w_{v}=d(v) satisfies every difference constraint. ∎

The criterion can be checked using standard shortest-path algorithms, such as Bellman–Ford (Bellman, 1958). A negative cycle certifies infeasibility of the prescribed restrictions, independently of any least-squares objective.

When hard restrictions are feasible, they can be imposed on the least-squares fit. Let

ℋ={w∈ℝn:ℓh≤wih−wjh≤uh⁢ for all ⁢h∈ℐH}.\mathcal{H}=\left\{w\in\mathbb{R}^{n}:\ell_{h}\leq w_{i_{h}}-w_{j_{h}}\leq u_{% h}\text{ for all }h\in\mathcal{I}_{\mathrm{H}}\right\}. (23)

The resulting optimization problem is

minw∈ℋ12(BTw−z)TR(BTw−z).\boxed{\min_{w\in\mathcal{H}}\frac{1}{2}(B^{T}w-z)^{T}R(B^{T}w-z).} (24)

This is a convex quadratic program. Whenever ℋ\mathcal{H} is nonempty, the minimum is attained, as proved in A.1. Any two minimizers differ by constants on the connected components of the observation graph, but only shifts that preserve ℋ\mathcal{H} remain admissible. In particular, hard restrictions connecting different components may constrain their relative offsets, so independently fixing one constant per component is no longer an arbitrary gauge choice. A common shift of all site weights remains free.

Algebraic compatibility, optimal fitting, and feasibility of hard restrictions do not guarantee that the corresponding site pairs share actual faces in the resulting power diagram. We address geometric realization in the next section.

4 Geometric realization and local diagnostics

4.1 Pairwise separators and realized faces

For a finite nonperiodic configuration, the power cell Ci⁢(w)C_{i}(w) of site ii consists of all points at which its power distance is minimal among the sites (Aurenhammer, 1987). For two distinct sites ii and jj, we distinguish their pairwise bisector Hi⁢j⁢(w)H_{ij}(w), where their power distances are equal, from their common cell intersection Fi⁢j⁢(w)F_{ij}(w), where both sites attain the minimum power distance. Explicitly,

Ci⁢(w)\displaystyle C_{i}(w) ={x∈ℝd:πi⁢(x)≤πk⁢(x)⁢ for all ⁢k},\displaystyle=\{x\in\mathbb{R}^{d}:\pi_{i}(x)\leq\pi_{k}(x)\text{ for all }k\}, (25)
Hi⁢j⁢(w)\displaystyle H_{ij}(w) ={x∈ℝd:πi⁢(x)=πj⁢(x)},\displaystyle=\{x\in\mathbb{R}^{d}:\pi_{i}(x)=\pi_{j}(x)\}, (26)
Fi⁢j⁢(w)\displaystyle F_{ij}(w) =Ci⁢(w)∩Cj⁢(w)\displaystyle=C_{i}(w)\cap C_{j}(w)
={x∈Hi⁢j⁢(w):πi⁢(x)≤πk⁢(x)⁢ for all ⁢k≠i,j}.\displaystyle=\{x\in H_{ij}(w):\pi_{i}(x)\leq\pi_{k}(x)\text{ for all }k\neq i% ,j\}. (27)

While the position of Hi⁢jH_{ij} depends only on the weight difference wi−wjw_{i}-w_{j}, the existence and extent of Fi⁢jF_{ij} depend on the competing sites and their weights. In particular, Fi⁢jF_{ij} may be empty even when the pairwise separator is fitted exactly. Moreover, a nonempty intersection need not form a full (d−1)(d-1)-dimensional face: the two cells may meet only in a lower-dimensional set.

Recall that Section 2 describes the position of a pairwise separator by its coordinate along the line through the two sites. For fitted weights, this identifies a particular point on the pairwise bisector,

qi⁢j⁢(w)=pi+ti⁢j⁢(w)⁢(pj−pi)∈Hi⁢j⁢(w).q_{ij}(w)=p_{i}+t_{ij}(w)(p_{j}-p_{i})\in H_{ij}(w). (28)

This gives a second geometric question beyond the existence of a shared face: does this particular point belong to the common cell intersection Fi⁢jF_{ij}? The condition qi⁢j∈Fi⁢jq_{ij}\in F_{ij} is stronger than Fi⁢j≠∅F_{ij}\neq\varnothing, since a shared face may lie elsewhere on the bisector. The following example illustrates both distinctions.

Consider four sites in the plane,

p1=(0,0),p2=(2,0),p3=(1,1),p4=(1,−1),p_{1}=(0,0),\quad p_{2}=(2,0),\quad p_{3}=(1,1),\quad p_{4}=(1,-1), (29)

with w1=w2=0w_{1}=w_{2}=0. The pairwise bisector of sites 1 and 2 is always H12={(1,y):y∈ℝ}H_{12}=\{(1,y):y\in\mathbb{R}\}, and its intersection with the line through the two sites is q12=(1,0)q_{12}=(1,0), regardless of the weights assigned to sites 3 and 4. The conditions imposed by these competing sites give

F12={(1,y):w42≤y≤−w32}.F_{12}=\left\{(1,y):\frac{w_{4}}{2}\leq y\leq-\frac{w_{3}}{2}\right\}. (30)

Figure 3 shows how changing only the competing weights makes the shared face disappear, moves it away from the connector, or places the connector point inside it.

Figure 3:  Three outcomes for the fixed sites in Eq. ( 29 ), with  w 1 = w 2 = 0.
Figure 3: Three outcomes for the fixed sites in Eq. (29), with w1=w2=0w_{1}=w_{2}=0. The dashed bisector H12H_{12} and diamond q12q_{12} stay fixed. Shading distinguishes the power cells; the blue segment shows F12F_{12} when it is nonempty. (a) F12=∅F_{12}=\varnothing. (b) F12={1}×[−3/2,−1/2]F_{12}=\{1\}\times[-3/2,-1/2], away from q12q_{12}. (c) F12={1}×[−1/2,1/2]F_{12}=\{1\}\times[-1/2,1/2], with q12q_{12} strictly inside; the bracket measures the distance 1/21/2 to an endpoint. Site markers need not lie in their own cells: in (b), p4∈F12p_{4}\in F_{12} but p4∉C4p_{4}\notin C_{4}. All panels use the same scale and drawing window; the cells are defined in the full plane. Rendered using AI-assisted code; see the AI declaration.

Since Fi⁢jF_{ij} lies in the (d−1)(d-1)-dimensional hyperplane Hi⁢jH_{ij}, it contains a full (d−1)(d-1)-dimensional portion precisely when

intHi⁢jFi⁢j≠∅,\boxed{\operatorname{int}_{H_{ij}}F_{ij}\neq\varnothing,} (31)

where intHi⁢j\operatorname{int}_{H_{ij}} denotes interior within the entire bisector hyperplane. Equivalently, Fi⁢jF_{ij} must contain a nonempty open ball measured within Hi⁢jH_{ij}. When both power cells are themselves full-dimensional, such an intersection is a shared facet of the two cells.

The distinction is visible in the four-site example. With (w3,w4)=(1,−1)(w_{3},w_{4})=(1,-1), the bounds defining F12F_{12} meet at y=−1/2y=-1/2, leaving only the point (1,−1/2)(1,-1/2). The cells intersect, but they do not share an edge.

Further degeneracies are discussed in B.1. We next test connector membership using power-distance comparisons.

4.2 Connector visibility

The fitted separator coordinate fixes qi⁢jq_{ij}, so testing qi⁢j∈Fi⁢jq_{ij}\in F_{ij} checks geometric support at that location without searching for another witness on the bisector.

To perform this test, we compare the power distances of the pair with those of the competing sites at qi⁢jq_{ij}. For each k∉{i,j}k\notin\{i,j\}, define the competitor gap

gi⁢j⁢k⁢(w)=πk⁢(qi⁢j⁢(w))−πi⁢(qi⁢j⁢(w)).g_{ijk}(w)=\pi_{k}(q_{ij}(w))-\pi_{i}(q_{ij}(w)). (32)

Since πi⁢(qi⁢j)=πj⁢(qi⁢j)\pi_{i}(q_{ij})=\pi_{j}(q_{ij}), the point belongs to both power cells exactly when no competitor has a smaller power distance. Thus,

qi⁢j(w)∈Fi⁢j(w)⟺gi⁢j⁢k(w)≥0for all k∉{i,j}.\boxed{q_{ij}(w)\in F_{ij}(w)\quad\Longleftrightarrow\quad g_{ijk}(w)\geq 0% \quad\text{for all }k\notin\{i,j\}.} (33)

We refer to this as weak connector visibility. Strict positivity of every competitor gap provides a stronger certificate: for a finite configuration, the inequalities remain satisfied in a neighborhood of qi⁢jq_{ij} within the bisector. Consequently,

gi⁢j⁢k⁢(w)>0for all ⁢k∉{i,j}⟹qi⁢j⁢(w)∈intHi⁢j⁡Fi⁢j⁢(w).g_{ijk}(w)>0\quad\text{for all }k\notin\{i,j\}\quad\Longrightarrow\quad q_{ij}% (w)\in\operatorname{int}_{H_{ij}}F_{ij}(w). (34)

Strict competitor inequalities also persist in a small ambient neighborhood of qi⁢jq_{ij}. On opposite sides of the bisector near that point, sites ii and jj, respectively, are the unique power minimizers. Thus strict visibility certifies a genuine local facet between two full-dimensional cells.

When all site weights are equal, qi⁢jq_{ij} is the midpoint, and strict positivity of the gaps means that every other site lies outside the closed ball with diameter pi⁢pjp_{i}p_{j}. This is the strict form of the classical Gabriel edge condition. Its weighted counterpart uses the full affine connector line, so the witness may lie outside the site segment (Alexa, 2020, Sec. 2). The all-strict test above is therefore a weighted Gabriel edge certificate. We use weak connector visibility separately for the non-strict condition qi⁢j∈Fi⁢jq_{ij}\in F_{ij}, which permits boundary contacts and persistent ties and does not by itself certify a genuine facet; see B.1.

The competitor gaps can be expressed directly in terms of the fitted weights. Writing δi⁢j=pj−pi\delta_{ij}=p_{j}-p_{i} and qi⁢j=pi+ti⁢j⁢δi⁢jq_{ij}=p_{i}+t_{ij}\delta_{ij}, expansion of the squared distances gives

gi⁢j⁢k⁢(w)=‖pk−pi‖2−2⁢ti⁢j⁢(w)⁢δi⁢j⋅(pk−pi)+wi−wk.g_{ijk}(w)=\|p_{k}-p_{i}\|^{2}-2t_{ij}(w)\,\delta_{ij}\cdot(p_{k}-p_{i})+w_{i}% -w_{k}. (35)

Since ti⁢j⁢(w)t_{ij}(w) is affine in wi−wjw_{i}-w_{j}, each competitor gap is an affine function of the site weights for fixed site positions. It is also invariant under adding a common constant to all weights.

For a pair i,ji,j, we summarize the competitor inequalities by the minimum signed gap

σi⁢j(w)=mink∉{i,j}gi⁢j⁢k(w).\boxed{\sigma_{ij}(w)=\min_{k\notin\{i,j\}}g_{ijk}(w).} (36)

When there are no competing sites, we set σi⁢j=+∞\sigma_{ij}=+\infty. Otherwise, σi⁢j\sigma_{ij} is a continuous, piecewise-affine function of the weights. The weak connector-visibility condition is equivalent to σi⁢j≥0\sigma_{ij}\geq 0, while σi⁢j>0\sigma_{ij}>0 guarantees strict visibility and a full-dimensional shared face near qi⁢jq_{ij}. A negative value only establishes that the selected connector point is not on the shared face; it does not exclude a face elsewhere on the bisector.

In Fig. 3(a–c), the values of σ12\sigma_{12} are respectively −1-1, −1-1, and +1+1. The same negative score occurs both when the face is absent and when it lies away from the connector.

4.3 Connector-centered clearance

A strictly positive minimum signed gap σi⁢j\sigma_{ij} places the connector point in the interior of Fi⁢jF_{ij} within the bisector. The gap has units of squared length, however, and does not directly describe the geometric extent of this interior neighborhood.

When qi⁢j∈Fi⁢jq_{ij}\in F_{ij}, we define the connector-centered clearance ci⁢jc_{ij} as the supremum of radii r≥0r\geq 0 for which the in-bisector Euclidean ball

BHi⁢j⁢(qi⁢j,r)={qi⁢j+u:u⋅δi⁢j=0,‖u‖≤r}B_{H_{ij}}(q_{ij},r)=\{q_{ij}+u:u\cdot\delta_{ij}=0,\ \|u\|\leq r\} (37)

is contained in Fi⁢jF_{ij}. This is a ball of dimension d−1d-1, with the Euclidean metric inherited from ℝd\mathbb{R}^{d}, and its center is fixed at qi⁢jq_{ij}.

Let ei⁢j⁢ke_{ijk} be the component of pk−pip_{k}-p_{i} perpendicular to the site connector:

ei⁢j⁢k=(pk−pi)−(pk−pi)⋅δi⁢j‖δi⁢j‖2⁢δi⁢j.e_{ijk}=(p_{k}-p_{i})-\frac{(p_{k}-p_{i})\cdot\delta_{ij}}{\|\delta_{ij}\|^{2}% }\delta_{ij}. (38)

For any displacement uu within the bisector, the difference of power distances becomes

πk⁢(qi⁢j+u)−πi⁢(qi⁢j+u)=gi⁢j⁢k−2⁢ei⁢j⁢k⋅u.\pi_{k}(q_{ij}+u)-\pi_{i}(q_{ij}+u)=g_{ijk}-2e_{ijk}\cdot u. (39)

The smallest value of this expression over BHi⁢j⁢(qi⁢j,r)B_{H_{ij}}(q_{ij},r) is gi⁢j⁢k−2⁢r⁢‖ei⁢j⁢k‖g_{ijk}-2r\|e_{ijk}\|. Thus, the entire ball is contained in the common cell intersection exactly when

2⁢r⁢‖ei⁢j⁢k‖≤gi⁢j⁢kfor every competitor ⁢k.2r\|e_{ijk}\|\leq g_{ijk}\qquad\text{for every competitor }k. (40)

It follows that, for σi⁢j>0\sigma_{ij}>0,

ci⁢j(w)=mink∉{i,j}‖ei⁢j⁢k‖>0gi⁢j⁢k⁢(w)2⁢‖ei⁢j⁢k‖.\boxed{c_{ij}(w)=\min_{\begin{subarray}{c}k\notin\{i,j\}\\ \|e_{ijk}\|>0\end{subarray}}\frac{g_{ijk}(w)}{2\|e_{ijk}\|}.} (41)

The minimum over an empty set is +∞+\infty, corresponding to Fi⁢j=Hi⁢jF_{ij}=H_{ij}. Under strict visibility, competitors with ei⁢j⁢k=0e_{ijk}=0 impose no restriction on motion within the bisector.

In Fig. 3(c), both competitor gaps and both projected distances equal 11. Hence c12=1/2c_{12}=1/2, the marked distance from q12q_{12} to an endpoint of the shared edge.

The formula should not be extended to negative gaps by simply allowing a negative clearance. When σi⁢j<0\sigma_{ij}<0, the connector point lies outside Fi⁢jF_{ij}, so no centered ball, not even one of radius zero, is contained in the common cell intersection. Moreover, a negative value of the expression above describes a violation of an individual competitor inequality, whereas the distance to the actual face depends on satisfying all inequalities simultaneously. The face may even be empty.

For a nonempty face, the appropriate exterior measure is instead the Euclidean distance from qi⁢jq_{ij} to Fi⁢jF_{ij}, measured within the bisector. In B.2, we derive its computation as a convex projection problem and illustrate why a negative extension of Eq. (41) does not generally give this distance. The zero-gap clearance formula is treated in B.2; persistent ties are discussed in B.1.

4.4 Stability of geometric support

The diagnostics above refer to a particular set of fitted weights. Errors in separator observations can perturb these weights, so we ask when the resulting connector-visibility classification remains stable.

We first consider a fixed finite, nonperiodic site configuration. For a pair i,ji,j and competitor kk, define the dimensionless coefficient

θi⁢j⁢k=(pk−pi)⋅(pj−pi)‖pj−pi‖2.\theta_{ijk}=\frac{(p_{k}-p_{i})\cdot(p_{j}-p_{i})}{\|p_{j}-p_{i}\|^{2}}. (42)

This is the coordinate of the orthogonal projection of pkp_{k} onto the affine line through pi,pjp_{i},p_{j}. From the affine expression for the competitor gap in Section 4.2, a weight perturbation Δ⁢w\Delta w gives the exact identity

gi⁢j⁢k⁢(w+Δ⁢w)−gi⁢j⁢k⁢(w)=(1−θi⁢j⁢k)⁢Δ⁢wi+θi⁢j⁢k⁢Δ⁢wj−Δ⁢wk.g_{ijk}(w+\Delta w)-g_{ijk}(w)=(1-\theta_{ijk})\Delta w_{i}+\theta_{ijk}\Delta w% _{j}-\Delta w_{k}. (43)

Consequently, defining

Ki⁢j=maxk∉{i,j}⁡(|1−θi⁢j⁢k|+|θi⁢j⁢k|+1),K_{ij}=\max_{k\notin\{i,j\}}\left(|1-\theta_{ijk}|+|\theta_{ijk}|+1\right), (44)

we obtain

|σi⁢j(w+Δw)−σi⁢j(w)|≤Ki⁢j∥Δw∥∞.\boxed{|\sigma_{ij}(w+\Delta w)-\sigma_{ij}(w)|\leq K_{ij}\|\Delta w\|_{\infty% }.} (45)

Here the competitor set is assumed nonempty. The bound follows because each competitor gap satisfies the corresponding estimate and taking the minimum cannot increase the largest absolute change.

In particular, if σi⁢j⁢(w)>0\sigma_{ij}(w)>0 and

Ki⁢j⁢‖Δ⁢w‖∞<σi⁢j⁢(w),K_{ij}\|\Delta w\|_{\infty}<\sigma_{ij}(w), (46)

then σi⁢j⁢(w+Δ⁢w)>0\sigma_{ij}(w+\Delta w)>0. Thus, the pair retains strict connector visibility, and its common face remains full-dimensional near the perturbed connector point.

The same argument preserves a negative sign when the perturbation bound is smaller than |σi⁢j⁢(w)||\sigma_{ij}(w)|. This only certifies that the connector point remains outside the shared face; it does not establish that the face is absent. At zero margin, the bound provides no sign-preservation guarantee.

Because the competitor gaps are invariant under a common shift of all site weights, the perturbation bound may also be expressed using the smallest infinity norm after subtracting such a shift. The result concerns the connector-visibility status of the selected pair, not the topology of the entire power diagram.

The preceding bound concerns perturbations of the site weights. To relate it to errors in the observed separators, consider the unconstrained quadratic fit of Section 3 with a fixed observation graph and fixed positive fitting weights.

Let z⋆z^{\star} be a reference vector of target differences, not necessarily compatible, and let z^=z⋆+η\widehat{z}=z^{\star}+\eta be a perturbed observation vector. Denote their least-squares solutions by w⋆w^{\star} and w^\widehat{w}, respectively, using the same fixed linear convention for the undetermined component offsets. For this fixed fitting problem, the solution depends linearly on the targets. Writing this dependence as w=G⁢zw=Gz, we obtain

w^−w⋆=G⁢η.\widehat{w}-w^{\star}=G\eta. (47)

Combining this identity with the geometric perturbation bound gives

|σi⁢j(w^)−σi⁢j(w⋆)|≤Ki⁢j∥Gη∥∞≤Ki⁢j∥G∥∞→∞∥η∥∞.\boxed{|\sigma_{ij}(\widehat{w})-\sigma_{ij}(w^{\star})|\leq K_{ij}\|G\eta\|_{% \infty}\leq K_{ij}\|G\|_{\infty\to\infty}\|\eta\|_{\infty}.} (48)

If the right-hand side is smaller than |σi⁢j⁢(w⋆)||\sigma_{ij}(w^{\star})|, the connector-visibility score keeps its sign.

The conclusion concerns the visibility classification of the reference least-squares fit. It does not automatically establish agreement with an independently specified physical weight vector: any difference between that vector and the reference fit must also be accounted for. Moreover, when the observation graph is disconnected, the chosen component offsets affect the geometry, so the comparison requires a consistent convention. The reduced-Laplacian response and error bounds are given in C.2; the additional bias when comparing with independent physical reference weights is treated in C.3.

Clipping and periodic images

The preceding stability results concern a fixed finite set of sites in an unbounded nonperiodic domain. Clipping and periodicity require additional geometric qualifications.

For a diagram restricted to a convex box Ω\Omega, the relevant common cell intersection is

Fi⁢jΩ=Fi⁢j∩Ω.F_{ij}^{\Omega}=F_{ij}\cap\Omega. (49)

Strictly positive competitor gaps alone do not guarantee that the connector point belongs to this clipped intersection: the point must also belong to Ω\Omega. If σi⁢j>0\sigma_{ij}>0 and qi⁢j∈int⁡Ωq_{ij}\in\operatorname{int}\Omega, then a neighborhood of qi⁢jq_{ij} within the bisector belongs to Fi⁢jΩF_{ij}^{\Omega}. The corresponding connector-centered clearance is

ci⁢jΩ=min⁡{ci⁢j,bi⁢jΩ},c_{ij}^{\Omega}=\min\{c_{ij},b_{ij}^{\Omega}\}, (50)

where bi⁢jΩb_{ij}^{\Omega} is the largest radius of an in-bisector ball centered at qi⁢jq_{ij} and contained in Ω\Omega. Intersections confined to the domain boundary require additional care, since an intersection of positive dimension within the bisector need not represent an interface between two full-dimensional cells inside the domain.

For periodic diagrams, the pairwise separator is associated with two selected site images, rather than merely their base-site indices. Every other image can act as a competitor, including other images of either selected base site. The power-gap and clearance constructions remain applicable to these image instances, but their evaluation requires the relevant competing images to be identified correctly. In particular, neither an arbitrary finite image cutoff nor the finite-competitor stability bound derived above is automatically valid for the complete periodic diagram.

See B.3 for clipping and B.4 for image-aware geometry. Further limitations on periodic perturbation bounds are recorded in C.4.

These diagnostics characterize local geometric support of fitted separators. They complement, rather than replace, an explicit examination of the realized power diagram, which forms part of the computational workflow described next.

5 Computational workflow

A one-pass calculation fits all supplied observations and checks which requested faces its diagram realizes (Fig. 4). When neighbor assignments in the supplied pair list are uncertain, some separator predictions may concern pairs that do not share a face in the fitted diagram. Optional refinement repeats the fit on an active subset of these candidate observations. Each observation supplies one row of the fitting problem; the active mask records which observations enter the current fit. Requested-image face matches determine which candidates remain active, while every original candidate remains available for matching and possible re-entry. The implementation described here is pyvoro2 0.6.3 (Chernyshov, 2026b).

Figure 4:  Data routes for one-pass fitting and optional refinement.
Figure 4: Data routes for one-pass fitting and optional refinement. Matching receives all resolved candidates; only active rows enter a refined fit. The dashed path updates the active subset using counters of consecutive requested-image realizations or absences. The return to fitting is taken only if another iteration executes. Residuals and connector diagnostics do not drive this update. Sections 5.3–5.4 and D.2 specify alignment, relaxation and finalization. Rendered using AI-assisted code; see the AI declaration.

5.1 Resolving observations and fitting a fixed set

The inputs are fixed site positions, numerical separator observations, and their assigned fitting weights. A domain is also needed for periodic image resolution or geometric evaluation. Each fitting call uses one measurement convention from Section 2: normalized coordinates or signed distances. An observation retains its ordered pair (ir,jr)(i_{r},j_{r}), target yry_{r}, and selected image shift srs_{r} in periodic calculations. These choices determine the connector length drd_{r} and affine coefficients (αr,βr)(\alpha_{r},\beta_{r}). A supplied periodic shift is part of the observation’s identity; when shifts are not supplied, a separate image-selection policy resolves them before fitting. Different shifts for one base pair can label distinct observations while constraining the same weight difference.

For a fixed observation set, the ordinary quadratic fit minimizes the weighted measurement-space residuals of Section 3. With the positive fitting weights assumed there, the implementation solves separately on the observation-graph components using dense linear algebra. Since additive component offsets leave the fitted differences unchanged, the solver must choose a representative weight vector on each component. These choices can affect the geometry when several components share a diagram; the version-specific conventions are given in D.2.

The solver also supports a Huber loss in the original measurement units and hard measurement bounds. A hard restriction applies one common interval or fixed value to every supplied row in those units; this is narrower than the independently indexed restrictions of Section 3.3. Nonquadratic terms or hard restrictions use an iterative solver, and infeasible hard difference bounds are detected by a graph precheck. The Huber threshold is expressed in the selected measurement units, so its equivalent threshold in weight-difference units depends on αr\alpha_{r}. Predictions are returned as normalized coordinates or signed distances, together with residuals, connectivity warnings, and fitting status. We use the term fixed-observation fit to distinguish the rows supplied to the estimator from the faces ultimately realized by the tessellation.

5.2 Constructing and matching realized faces

A fitted weight vector w^\widehat{w} defines a power diagram but does not guarantee that its observed pairs share actual faces. The three-dimensional backend is Voro++ (Rycroft, 2009); two-dimensional calculations use the separately bundled backend exposed by pyvoro2.planar (Chernyshov, 2026b). The implementation uses a common shift CC such that w^i+C≥0\widehat{w}_{i}+C\geq 0 and passes radii ri=w^i+Cr_{i}=\sqrt{\widehat{w}_{i}+C}. The shift changes none of the power comparisons. Within the chosen two- or three-dimensional domain, the computed cells supply the internal edges or faces that are subsequently matched to the resolved observation rows.

For a periodic observation requesting (ir,jr,sr)(i_{r},j_{r},s_{r}), the matching step checks that the specified image shift occurs among the realized boundaries. The flag realized records a boundary at any shift. An exact requested-image match is marked realized_same_shift; if the requested shift is absent but another image is realized, realized_other_shift is set. Reversing the pair orientation reverses the shift.

Additional diagnostics flag empty endpoint cells and realized base-site pairs absent from the supplied candidate list, recording the realized shifts of those extra pairs. Boundary length in two dimensions or face area in three dimensions may also be recorded; its image-selection convention is specified in D.2. Realization here means a boundary reported by the numerical tessellation in the chosen domain.

Requested-image matching examines the actual boundary, whereas the connector tests of Section 4 examine support at a particular point. A realized face can therefore fail connector visibility, as in Fig. 3(b). Neither property is certified by a small fitting residual.

5.3 Optional refinement of the observation set

For optional candidate observations, refinement retains a fixed collection of mm resolved rows and starts from a Boolean active mask a(0)∈{0,1}ma^{(0)}\in\{0,1\}^{m}, initially all ones unless specified otherwise. At iteration kk, only rows with ar(k)=1a_{r}^{(k)}=1, together with their hard measurement bounds, are supplied to the inner solve. Dropping a row therefore also drops its bound.

For every fit after the first, the weights are aligned component by component with the preceding evaluated weights. Alignment adds a common constant to all weights in each current fitting component, making their mean equal to the preceding mean over the same sites. A relaxation factor 0<ω≤10<\omega\leq 1 then blends the aligned fit with the preceding iterate before the diagram is constructed; the initial fit is used without blending. For unregularized fits, alignment preserves the fitting objective while carrying forward component offsets that the pair data do not determine. The optional weight regularizer adds a quadratic penalty for departure from a reference vector. With positive regularization strength, the implementation still aligns the components, which can change the regularized objective; see D.2 for the version-specific regularization and alignment conventions.

The diagram is then evaluated against every original candidate row, not only those currently active. For r=1,…,mr=1,\ldots,m, let

vr(k)={1,if the requested pair and image shift are realized,0,otherwise.v_{r}^{(k)}=\begin{cases}1,&\text{if the requested pair and image shift are % realized},\\ 0,&\text{otherwise}.\end{cases} (51)

The realized-face mask v(k)v^{(k)} drives the update. A present face increments that row’s addition streak and resets its removal streak; an absent face does the reverse. For fixed positive integer thresholds AaddA_{\mathrm{add}} and AdropA_{\mathrm{drop}}, an inactive row is added after AaddA_{\mathrm{add}} consecutive realized evaluations, while an active row is removed after AdropA_{\mathrm{drop}} consecutive absent evaluations. Until the respective threshold is reached, its membership is unchanged. Thus previously dropped rows can re-enter a later fit, but no candidate pair is created and no supplied image shift is silently changed.

Proposition 3 shows that h=max⁡(Aadd,Adrop)h=\max(A_{\mathrm{add}},A_{\mathrm{drop}}) consecutive executed mask updates with an unchanged realized-face mask suffice for the active mask to agree with it. This conditional bookkeeping result does not show that the realized-face mask becomes stationary or that the coupled fit–tessellation iteration converges.

5.4 Stopping and interpretation of the returned result

The outer stopping label, the final fitting status, and the geometric diagnostics answer different questions. In particular, a final refit can change the geometry after the last evaluated iteration.

The outer procedure reports self_consistent when the proposed active mask is unchanged, that mask coincides with the requested-image realization mask, and the change in the evaluated weights has Euclidean norm at most a prescribed tolerance. The label does not by itself certify convergence of the inner numerical solver. Other outcomes include an outer-iteration limit, an infeasible active-row problem, and numerical failure. The cycle_detected status records a repeated active mask; it does not establish a periodic orbit of the weights and streak counters.

After a normal loop stop, the implementation attempts a final, unrelaxed fit on the final active rows. If it returns weights, their component offsets are aligned to the preceding evaluated weights and the resulting diagram is matched again. The final fitting status and weight availability must be checked alongside the outer stopping label: if no weights are returned, the stored realization diagnostics describe the preceding evaluation. The precise stopping and failure conventions are given in D.2.

When final weights are available, residuals are reported both over all original candidates and over the final active subset. Both root mean square (RMS) summaries are unweighted and expressed in the selected measurement units; D.2 identifies the corresponding output fields. A small residual does not certify a shared face, while an active row need not be realized in the final tessellation.

6 Synthetic numerical experiments

For the recovery and geometric tests, we generate separator observations from known sites and weights. The generating power diagram supplies both separator positions and a reference set of neighboring pairs. We first ask which weight information can be recovered from these observations. Exact data provide a numerical control; separate experiments then remove observations or corrupt their values. This separates information that is absent from information that is present but noisy (Section 6.1).

We next test two situations in which agreement with separator data can give an incomplete picture of the geometry. Periodic observations may specify the wrong site images, and deliberately altered separator positions may fail to admit a common set of weights. We examine image identity and realized adjacency alongside numerical error (Section 6.2). Finally, we add candidate pairs to the generating neighbor graph and test whether the optional refinement of Section 5.3 improves the fitted separators or the selection of pairs (Section 6.3).

These comparisons use different references for different questions. Error against clean generating separators measures recovery from corrupted data; error against deliberately imposed targets measures agreement with those targets. Geometric scores compare either all realized adjacencies or the selected candidate observations, as specified below. The fitting and tessellation calculations use pyvoro2 0.6.3 (Chernyshov, 2026b). The scripts, configurations and numerical results are available in the powerfit version 2.0.0 archive (Chernyshov, 2026a). The experiment labels A–H identify its records; detailed configurations and evaluation conventions are collected in D.3.

6.1 Recovery from exact, incomplete, and noisy observations

We begin with compatible observations extracted from a power diagram (Experiment A). Sixteen tests cover two and three dimensions, periodic and nonperiodic domains, and connected and disconnected observation graphs. The largest recorded separator root mean square error (RMSE) is 1.31×10−141.31\times 10^{-14} in normalized-coordinate units. Thus the observed weight differences are recovered to numerical precision. When the observation graph is disconnected, however, the relative offsets of its components remain undetermined. Choosing these offsets can change competition between cells in different components, even while preserving every observed difference. The archived tests include a case in which some requested faces are consequently absent from the reconstructed diagram.

Experiment C examines this loss of information by randomly deleting observations without adding noise. Within each remaining connected component, the observations still determine all relative weights. What is lost is the relation between different components. We display this distinction using two errors against the known generating weights. The globally aligned error removes one common additive shift, whereas the componentwise aligned error removes a separate shift on each observed component. Componentwise alignment uses the generating weights for evaluation; it does not recover the missing offsets from the retained observations.

Figure 5 shows the resulting profiles for 128 sites in each dimension, selected from the 2,470 archived runs. As observations are removed, the componentwise error remains near numerical precision even where the graphs are disconnected. In the two-dimensional tests retaining half the observations, for example, all ten graphs are disconnected: the median globally aligned weight RMSE is 3.53×10−53.53\times 10^{-5}, while its componentwise counterpart is 1.42×10−151.42\times 10^{-15}. A small error on the information retained within components therefore coexists with uncertainty in the full weight vector. The connected fraction provides the corresponding diagnostic for global identifiability.

Figure 5:  Missing observations without added noise (Experiment C), for  n = 128  in two and three dimensions.
Figure 5: Missing observations without added noise (Experiment C), for n=128n=128 in two and three dimensions. The horizontal coordinate is the requested retention fraction. Left: medians of per-run weight RMSE after one global alignment or separate componentwise alignments to the known generating weights. Values below 10−1610^{-16} are floored for display on the logarithmic axis. Right: fraction of connected observation graphs. Each retention setting uses ten independently generated runs, so the curves are sampled profiles rather than nested deletion trajectories or universal connectivity thresholds. Rendered using AI-assisted code; see the AI declaration.

Observation error introduces a different difficulty even when the correct pair graph is known. Experiment B compares quadratic and Huber fitting under three noise conditions: Gaussian perturbations, Laplace perturbations, and sparse outliers on a Gaussian background. Accuracy is measured against the untouched generating separators, rather than against the corrupted fitting targets. The tested outlier cases show a modest benefit from Huber fitting. For example, in the two-dimensional setting with a nominal 5%5\% outlier fraction, the mean clean-reference separator RMSE is 0.008090.00809 for quadratic fitting and 0.007550.00755 for Huber fitting, in normalized-coordinate units. The benefit is not uniform across the Gaussian and Laplace settings; the noise levels, threshold and complete configuration are given in D.3.2.

Hard restrictions raise a separate question: can they be satisfied simultaneously? As a short control, Experiment D correctly classifies all 30 generated three-observation cases as feasible or contradictory. It uses a dedicated experimental difference-constraint checker, distinct from the production fitting precheck; its construction is described in D.3.1.

6.2 Separator agreement and geometric realization

A separator observation in a periodic system identifies both a site pair and a particular image. Experiment F asks what happens when that image information is wrong. In the noiseless control with the generating image shifts supplied, separator errors are near numerical precision and all requested faces are realized. Deliberately incorrect supplied shifts remain fixed during fitting: adjusting the weights does not revise the observation’s image identity. A realized face at another image can therefore expose a mismatch that the fitted separator value alone does not resolve.

F also tests a separate image-selection procedure. It removes the image labels, chooses nearest images, and optionally revises them using uniquely realized shifts. In the three-dimensional tests, the revised choices all agree with their realized-image diagnostics, but only a fraction 0.9240.924 agree with the generating shifts. Geometric self-consistency is therefore insufficient to establish the correct periodic-image identity. This image-selection procedure is separate from the optional observation-set refinement, which retains the supplied shifts. Repeated stripped-label inputs and the exact scoring conventions are documented in D.3.3.

Experiment G instead keeps the generating diagram’s neighbor pairs and alters their separator targets. Structured pair-dependent changes are added with amplitude η\eta; the resulting targets need not be representable by one weight per site. The type-cycle law encodes cyclic preferences among three site types, while the local-context law uses contrasts in local neighbor spacing; their definitions are given in D.3.4. We fit those targets and then compare the entire realized adjacency graph with the generating graph. This tests whether closer agreement with local separator positions also preserves the reference neighbor relations. We summarize pair agreement by F1, the harmonic mean of precision (the fraction of realized pairs belonging to the reference) and recall (the fraction of reference pairs realized).

Figure 6 compares fitting accuracy and geometric recovery throughout the tested range of structured perturbations. The fit has lower error against the imposed separator targets than the ordinary Voronoi midpoint baseline at every tested amplitude. At η=0\eta=0, when the targets come from a generating power diagram, the fitted diagrams have higher mean realized-graph F1; as the imposed targets are perturbed, this mean advantage reverses for both perturbation laws. The data at different amplitudes use independent configurations, so the trends are not trajectories of individual diagrams or universal mismatch thresholds.

Figure 6:  Target fitting and realized adjacency under structured mismatch (Experiment G).
Figure 6: Target fitting and realized adjacency under structured mismatch (Experiment G). Columns show the two perturbation laws; circles and squares denote two and three dimensions. Each amplitude/dimension/law group contains 60 runs from two geometry families and three site counts. Top: percentage reduction in separator RMSE relative to midpoints, evaluated on the imposed fitting targets. Bottom: fitted minus midpoint F1 for the entire realized adjacency graph, relative to the generating graph; positive values favor the fit in both rows. Faint points show runs, open markers their arithmetic means, and bars the middle 50% of values (not confidence intervals). Nominal amplitudes are equally spaced for display, and instances at different amplitudes are independent. At η=0.5\eta=0.5, target-coordinate clipping affects on average 38.25%38.25\% of type-cycle targets (D.3.4). Rendered using AI-assisted code; see the AI declaration.

At η=0.2\eta=0.2, all 24 configuration groups have lower mean target RMSE after fitting, but also lower mean realized-graph F1. For example, among 60 two-dimensional type-cycle runs, the mean target RMSE is 0.1090.109 for the fit versus 0.1470.147 for midpoints, while mean realized-graph F1 is 0.9610.961 versus 0.9830.983. These are means of per-run scores. The midpoint baseline is itself an admissible equal-weight fit, and the same imposed targets enter both fitting and its error evaluation; lower in-sample target error therefore does not establish better recovery of the generating geometry. The perturbation laws and numerical protocol are detailed in D.3.4.

6.3 Optional refinement: benefits and failures

In the previous tests, the generating neighbor pairs are known. Experiments E and H add other pairs as candidates and ask whether the optional refinement can identify a more useful subset of observations. Every candidate set contains all generating neighbor pairs. In E, their targets receive small random errors, while the additional candidates receive approximate midpoint targets. H combines the enlarged candidate set with structured separator changes of the kind used in G.

We compare a one-pass fit using every candidate observation with the refined fit. For pair selection, the one-pass result selects candidates whose requested faces are realized; refinement selects the observations in its returned active set. Precision, recall and F1 compare these selections with the fixed set of generating neighbor pairs. Thus the scores concern selection among the candidates, rather than all adjacencies of the final diagram. Separator RMSE is evaluated on that same fixed reference-pair set, against clean generating separators in E and the imposed, potentially incompatible targets in H. All separator errors are in normalized-coordinate units.

Table 1: One-pass and refined fits in E and H. Values are arithmetic means of paired per-run scores. RMSE uses the fixed generating neighbor pairs, with clean targets in E and imposed targets in H; F1 scores the selected candidate observations. Counts classify the paired changes: lower RMSE or higher F1 is better. H includes the 72 positive-mismatch comparisons, excluding η=0\eta=0.
Study Score One pass Refined Better Tied Worse
E (20) RMSE 0.00790 0.00385 19 0 1
F1 0.99253 0.99479 4 15 1
H (η>0\eta>0, 72) RMSE 0.13118 0.13422 70 0 2
F1 0.96755 0.96701 19 32 21

In E, refinement approximately halves the mean error against clean separators, while the already high mean pair-selection F1 changes little (Table 1). All 20 refinements reach the implemented self-consistency condition. The main benefit in these instances is therefore more accurate separator positions; it is not a substantial improvement in pair selection.

H shows why frequent improvements and a favorable mean need not coincide. Error decreases in 70 of the 72 positive-mismatch comparisons, yet its mean increases because of a severe adverse case. One run worsens from 0.12660.1266 to 0.69290.6929 with unchanged pair-selection F1 and stops after a previously seen active set recurs. Across all 96 H refinements, including zero mismatch, 85 stop on the implemented self-consistency test and 11 after an active set recurs. The recorded final inner fits have optimal status, but the recurrence of an active set does not establish convergence of the outer updates. The error, selected pairs and stopping outcome must therefore be assessed separately.

7 A molecular application

Atomic systems are a natural application of space partitions: the nuclei supply fixed sites, and cells assign a region of space to each atom. Voronoi-based constructions have long been used to study atomic volumes and molecular packing (Richards, 1974). Ordinary Voronoi cells place each pairwise dividing plane halfway between the nuclei, independently of their species or electronic environment. Radius-dependent radical, or power, diagrams allow unequal atomic sizes (Gellatly and Finney, 1982); more recent work also optimizes their radii using electron-density integrals and fluctuations of atomic and molecular charges (Brehm and Thomas, 2021). The question for an inverse construction is therefore which physical observations should determine the weights.

The Quantum Theory of Atoms in Molecules (QTAIM) supplies a physically motivated reference partition. It divides the electron density into basins whose gradient-ascent paths lead to the same attractor, usually associated with a nucleus (Bader et al., 1980; Bader, 1990). Along their boundaries the density gradient has zero normal component. This zero-flux condition has a quantum-mechanical justification in the formulation of atoms as open subsystems by Bader (1994). Basin integrals give atomic electron populations and charges, while the density’s gradient-path network describes relations between atomic regions (Bader, 1990). Thus this partition provides both integral quantities and local geometric information to approximate.

Here we ask how much of that local information a power diagram can represent while keeping the nuclei fixed. Related inverse problems use cell volumes and centroids as data (Bourne et al., 2025). Our aim is instead to locate selected interatomic separators and examine which pairs acquire shared faces. Approximating the full curved boundaries would require more extensive boundary information, such as surface samples, and a specified measure of discrepancy. We use a simpler available observation: a bond critical point (BCP), a density saddle on an interatomic boundary from which two gradient-ascent branches lead toward the neighboring atomic attractors (Bader et al., 1980).

For the connector-normal plane family fixed by the nuclear positions, a BCP specifies one target offset. Its orthogonal projection onto the connector defines a target plane that also passes through the original point. Fitting these offsets reconciles local boundary landmarks into one set of atomic weights; it need not preserve every target exactly. Nor does a plane through a landmark necessarily give the best approximation to a whole curved interface. Figure 7 illustrates the projection and the curved boundary; E gives the physical background and experimental protocols.

Figure 7:  A conceptual density model in a two-dimensional section.
Figure 7: A conceptual density model in a two-dimensional section. The bond path consists of gradient-ascent branches from the BCP bb toward the two atomic attractors. The curved zero-flux boundary passes through bb and bends around the right-hand basin. The connector-normal target plane contains both bb and its projection qq; the inset resolves their small separation. Passing through bb does not require agreement with the boundary’s tangent or curvature. The geometry is illustrative, not taken from a benchmark molecule. The drawing does not imply that the target plane contributes a shared power-cell face. Rendered using AI-assisted code; see the AI declaration.

The benchmark contains 100 molecules and 3,975 BCP-supported reference pairs (Experiment J1). Of these, 3,703 are bonded and 272 nonbonded, where bonded means adjacency in the explicit-hydrogen RDKit molecular graph (Landrum et al., 2026). Both groups contain BCPs; their names refer to this separate connectivity convention. We report them separately because pooled scores are dominated by the bonded pairs. The experiments first examine separator accuracy on the known reference pairs, then replace that input with distance-selected candidates, and finally assess the information supplied by local geometric diagnostics. Their measured outputs are separator locations and pair labels, rather than complete QTAIM basin shapes or volumes.

7.1 Separator fitting on known atom pairs

Experiment J2 assumes that the QTAIM-supported pair graph is known. We compare ordinary midpoints with a local proatomic prediction, which locates a minimum of the sum of two radial atomic density profiles along the nuclear connector for unlike atoms and uses the midpoint for homonuclear pairs. A one-pass weight fit reconciles these proatomic observations using a single weight per atom. A separate QTAIM-target reference fit instead fits the projected BCP coordinates directly, testing how those landmarks can be represented on the same known pair graph.

Both fits minimize squared error in normalized separator coordinates, using unit observation weights, no weight regularization and no hard measurement restrictions. They are performed separately on each molecule’s full reference graph. Table 2 evaluates all four models on the original reference pairs, without filtering by face realization. Errors are measured in Å and pooled over the individual pairs in each stated subset. The displayed length errors and subset errors therefore differ from the quantities minimized in fitting. Further predictor and aggregation details are in E.3.

Table 2: Separator RMSE in Å on fixed QTAIM-supported pair subsets (J2). Both fitted models minimize unweighted squared error in normalized coordinates over each molecule’s known reference-pair graph. All displayed length errors are pooled over pairs.
Subset Midpoint Proatomic Proatomic fit QTAIM-target fit
All 0.1332 0.0452 0.0473 0.0169
Bonded 0.1317 0.0457 0.0461 0.0062
Nonbonded 0.1528 0.0372 0.0619 0.0605

The local proatomic predictor has substantially smaller RMSE than midpoint prediction. The fitted proatomic model has a slightly larger overall RMSE than the local predictor, with a more marked difference on nonbonded pairs (0.06190.0619 versus 0.03720.0372 Å). Both fitted models realize every requested reference pair, so the deterioration is not caused by losing difficult pairs from the evaluation. The direct QTAIM-target fit also leaves a larger nonbonded than bonded error. These results distinguish the accuracy of a local predictor from the accuracy retained when its outputs are reconciled into one power diagram. Because the QTAIM-target fit minimizes normalized-coordinate error over each molecule’s full reference graph, its nonbonded RMSE should not be interpreted as a lower bound on attainable length error for that subset.

7.2 Fitting from candidate pairs

Experiment J3 removes the assumption that the reference pairs are known during fitting. Candidate pairs are selected by distance, with cutoffs of 44, 4.54.5 and 55 Å, and receive proatomic separator predictions. The one-pass weight fit uses the same squared loss and fitting settings as in J2, now on each molecule’s full candidate graph. Each cutoff contains all 3,975 reference pairs. Increasing the cutoff therefore adds other observations without increasing reference coverage. The reference-pair RMSE of the resulting fit rises from 0.07460.0746 to 0.07860.0786 Å between the smallest and largest cutoff. All reference pairs are realized and included in these errors. The complete cutoff comparison is given in Table 4.

We then examine which realized pairs agree with the QTAIM reference. This evaluation uses the entire realized adjacency graph, including pairs outside the input candidate set. Connector visibility is applied afterwards as a geometric filter, using the tolerance-inclusive membership test on clipped faces specified in E.4. At the 55 Å cutoff, it retains 5,703 pairs, including 3,973 of the 3,975 reference pairs: visible precision is 0.6970.697 and recall is 0.99950.9995. The aggregate result conceals a substantial difference between pair classes. Bonded recovery is nearly exact (F1 approximately 0.99970.9997); among the retained nonbonded pairs, only 13.5%13.5\% belong to the reference set. Thus almost all reference pairs are retained, but many additional nonbonded pairs remain. These additional pairs are absent from the adopted BCP-supported reference set; that label alone does not determine whether a contact has chemical significance.

J3 uses one-pass fitting followed by geometric filtering. It does not update the fitted observation set through the optional refinement of Section 5.3. The next experiment asks whether clearance provides information beyond the binary visibility decision.

7.3 Geometric diagnostics for nonbonded contacts

A visible connector point may lie near the boundary of its clipped face or well inside it. Experiment J4b tests whether the clipped connector-centered clearance ci⁢jΩc_{ij}^{\Omega} from Eq. (50) helps distinguish QTAIM-supported from additional pairs among the already visible nonbonded faces. Clearance and face area are measured in the reference box, formed by padding the atomic-coordinate bounding box by 55 Å. We rank faces by larger clearance, shorter pair distance or larger face area. Average precision (AP) summarizes how well each ranking places reference pairs ahead of additional pairs; its definition and eligible populations are specified in E.5.

Table 3 pools eligible faces across molecules, separately for an ordinary Voronoi diagram and the J3 power fit at 55 Å. Within each population, clearance has higher AP than distance or area. For the fitted-power population, median clearance is 0.6780.678 Å on reference pairs and 0.2280.228 Å on additional pairs. The two models have different eligible populations, so the comparisons among ranking variables are made within each row of the table.

Table 3: Pooled average precision for ranking QTAIM-supported pairs above additional visible nonbonded pairs (J4b). Larger clipped clearance and face area in the reference box, and shorter pair distance, give higher ranks. Each model has its own eligible population; the AP values compare ranking variables within that population and do not provide a common-population comparison between the two models.
Model Visible pairs QTAIM+ Clearance AP Short-dist. AP Area AP
Voronoi 2,269 258 0.707 0.641 0.150
Power fit 1,998 270 0.830 0.636 0.161

Checks on the recorded realized faces also confirm agreement between the analytic visibility and clipped-clearance calculations and the tessellation-based diagnostics (J4a; E.5). The ranking result is a pooled comparison, rather than a statement about every individual molecule. It shows that clearance supplies additional discriminatory information within these visible-face populations, where binary visibility alone retains many nonbonded pairs outside the reference.

8 Discussion

Applying the fixed-site separator model begins with deciding what the observations represent. A measured interface point and a numerical prediction can supply the same kind of offset while carrying different uncertainties and biases. The sites fix the plane’s orientation, so fitting its offset alone does not establish agreement with the orientation or curvature of a physical interface. Measurement units and fitting weights should therefore reflect the intended discrepancy. Pair assignments require the same care: in periodic problems, a selected image is part of an observation’s identity. The image tests in Section 6.2 show that selected images may be realized in the fitted diagram even when they do not match the generating images.

Incomplete observations leave ambiguities that improved numerical accuracy cannot resolve. The deletion experiment in Figure 5 preserves accurate relative weights within each connected component while leaving the weight offsets between components undetermined. Choosing the missing offsets selects a diagram; additional observations or suitable constraints are needed to restrict those choices. Even with a connected observation graph, sensitivity to noise depends on its structure and fitting weights. The deterministic estimates in C describe that response for a fixed fitting problem, but do not supply a statistical uncertainty model for a new source of observations.

Fitting error also answers a different question from agreement with an independent reference. In Figure 6, closer agreement with altered separator targets accompanies poorer recovery of the generating adjacency graph. In the molecular comparison, reconciling local proatomic predictions increases the pooled nonbonded separator RMSE from 0.03720.0372 to 0.06190.0619 Å, although every requested reference pair remains realized (Table 2). The fitting objective uses normalized coordinates on each molecule’s full reference graph, whereas the reported RMSE is a pooled length error for the nonbonded subset. This comparison therefore does not isolate an unavoidable loss due to compatibility alone. These examples make independent evaluation essential: neither a smaller fitting residual nor successful face realization establishes fidelity to the intended reference geometry.

Local support needs a similarly specific interpretation. Connector membership checks whether a face contains the separator’s intersection with the line through its sites; it does not assess the entire face’s agreement with a physical boundary. In the molecular experiments, the test uses clipped faces and a tolerance that admits boundary cases beyond strict positive-margin visibility. It retains almost all reference pairs but also many additional nonbonded pairs. Among the visible nonbonded faces, clearance helps distinguish reference pairs within each model’s evaluated population (Table 3), yet supplies neither a universal selection threshold nor a chemical interpretation of every additional pair. Domain clipping and periodic competitors must likewise enter the geometric checks in other applications.

Optional refinement introduces a further empirical choice. Its face-driven changes to the fitted observation set improve separator accuracy in the clean-reference comparison of Section 6.3. With structured mismatch, error against the imposed targets decreases in most paired comparisons, yet its mean increases because of a severe adverse case. Refinement therefore requires evaluation of the returned errors, selected observations and final geometry alongside the stopping outcome. Optimality of a final inner fit does not establish convergence of the outer updates, and recurrence of an observation set serves only as an implemented stopping criterion. The one-pass construction provides the baseline for assessing this optional step.

Other sources of local separator information, such as sampled interfaces or landmarks of physical fields, can be treated through the same observation model when pair assignments and fixed plane orientations are meaningful. Each application still needs its own criterion for assessing the resulting partition against the geometry or physical quantities it is intended to represent.

9 Conclusions

This work provides a reproducible method for fitting power diagrams to selected numerical separator observations at fixed sites. The affine relation between separator positions and weight differences reduces exact compatibility and identifiability to graph conditions, and unconstrained quadratic fitting to a weighted graph-Laplacian problem. Compatible observations determine relative weights within each connected component; a connected observation graph determines all weights up to a common shift that leaves the diagram unchanged. Synthetic tests with exact compatible data recover these observable differences to numerical precision and show how missing observations limit reconstruction.

Geometric assessment asks whether the cells share a face and whether it contains the fitted plane’s intersection with the line through the sites. When this point lies inside the face, centered clearance measures its in-plane distance to the boundary. For finite nonperiodic configurations, a strict power-distance advantage of the pair over all competing sites at this point certifies a shared face containing an in-plane neighborhood of that point. The perturbation bounds give sufficient conditions for retaining this local advantage. Clipping and periodicity require the corresponding domain and image checks.

The experiments show that agreement with supplied separators and with an independent reference can diverge. In synthetic tests, better target fitting can accompany poorer recovery of reference adjacencies. In the 100-molecule application, fits using the known reference pairs realize all their requested faces, although reconciling local predictions from atomic density profiles does not necessarily improve separator accuracy against electron-density landmarks. With distance-selected candidates, connector-visibility filtering retains 3,973 of the 3,975 reference pairs, together with additional nonbonded pairs. Centered clearance adds further information: among visible nonbonded faces, it ranks QTAIM-supported reference pairs more effectively than distance or face area within each model’s evaluated population. These findings concern local separator positions and pair relations; complete QTAIM basins have not been reconstructed or validated.

Optional face-driven refinement improves accuracy in some tests and degrades it in others, and its stopping diagnostics do not establish general convergence. The main outcome is a method for turning incomplete local separator information into a global power diagram whose identifiable weight information, realized faces and local geometric support can each be examined explicitly.

Statements and Declarations

Funding

This research received no external funding.

Competing interests

The author develops and maintains pyvoro2, the open-source software used and evaluated in this work. The author declares no other competing interests.

Code, data, and manuscript availability

The source code, experimental inputs, results, and manuscript are available in the powerfit v2.0.0 archive (Chernyshov, 2026a). The calculations used pyvoro2 0.6.3 (Chernyshov, 2026b), whose three-dimensional tessellation backend is Voro++ (Rycroft, 2009).

Declaration of generative AI and AI-assisted technologies

During the preparation of this work, the author used ChatGPT and Codex (OpenAI, using multiple GPT model versions) to assist with manuscript planning, drafting and editing, mathematical and editorial review, source-code inspection and development, and verification and interpretation of archived computational results. All seven figures were rendered programmatically with Matplotlib 3.10.8 using code developed with AI assistance; no direct AI image generation was used. The figure-generation code and underlying experimental records are available in the versioned archive cited above. The resulting figures and calculations were reviewed against their source code, mathematical definitions and archived numerical evidence. The author remains responsible for the research design, scientific claims, numerical evidence, figures and conclusions.

References

  • Alexa (2020) Alexa, M.: Conforming weighted Delaunay triangulations. ACM Transactions on Graphics 39(6), 248 (2020) https://doi.org/10.1145/3414685.3417776
  • Aurenhammer (1987) Aurenhammer, F.: Power diagrams: Properties, algorithms and applications. SIAM Journal on Computing 16(1), 78–96 (1987) https://doi.org/10.1137/0216006
  • Aurenhammer et al. (1998) Aurenhammer, F., Hoffmann, F., Aronov, B.: Minkowski-type theorems and least-squares clustering. Algorithmica 20, 61–76 (1998) https://doi.org/10.1007/PL00009187
  • Bader (1990) Bader, R.F.W.: Atoms in Molecules: A Quantum Theory. Oxford University Press, Oxford (1990)
  • Bader (1994) Bader, R.F.W.: Principle of stationary action and the definition of a proper open system. Physical Review B 49(19), 13348–13356 (1994) https://doi.org/10.1103/PhysRevB.49.13348
  • Bader et al. (1980) Bader, R.F.W., Tal, Y., Anderson, S.G., Nguyen-Dang, T.T.: Quantum topology: Theory of molecular structure and its change. Israel Journal of Chemistry 19(1–4), 8–29 (1980) https://doi.org/10.1002/ijch.198000003
  • Becke (1993) Becke, A.D.: Density-functional thermochemistry. III. the role of exact exchange. The Journal of Chemical Physics 98(7), 5648–5652 (1993) https://doi.org/10.1063/1.464913
  • Bellman (1958) Bellman, R.: On a routing problem. Quarterly of Applied Mathematics 16(1), 87–90 (1958) https://doi.org/10.1090/qam/102435
  • Bogiokas et al. (2025) Bogiokas, D., Finnendahl, U., Seidelmann, T., Alexa, M.: Sums of wedges: Conforming weighted Delaunay triangulations are polynomial in fixed dimension. ACM Transactions on Graphics 44(6), 248 (2025) https://doi.org/10.1145/3763368
  • Bourne et al. (2020) Bourne, D.P., Kok, P.J.J., Roper, S.M., Spanjer, W.D.T.: Laguerre tessellations and polycrystalline microstructures: A fast algorithm for generating grains of given volumes. Philosophical Magazine 100(21), 2677–2707 (2020) https://doi.org/10.1080/14786435.2020.1790053
  • Bourne et al. (2025) Bourne, D.P., Pearce, M., Roper, S.M.: Inverting Laguerre tessellations: Recovering tessellations from the volumes and centroids of their cells using optimal transport. ESAIM: Mathematical Modelling and Numerical Analysis 59(2), 841–871 (2025) https://doi.org/10.1051/m2an/2025004
  • Boyd et al. (2011) Boyd, S., Parikh, N., Chu, E., Peleato, B., Eckstein, J.: Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends in Machine Learning 3(1), 1–122 (2011) https://doi.org/10.1561/2200000016
  • Boys (1950) Boys, S.F.: Electronic wave functions. I. A general method of calculation for the stationary states of any molecular system. Proceedings of the Royal Society of London. Series A 200(1063), 542–554 (1950) https://doi.org/10.1098/rspa.1950.0036
  • Brehm and Thomas (2021) Brehm, M., Thomas, M.: Optimized atomic partial charges and radii defined by radical Voronoi tessellation of bulk phase simulations. Molecules 26(7), 1875 (2021) https://doi.org/10.3390/molecules26071875
  • Chernyshov (2026a) Chernyshov, I.Y.: powerfit: reproducibility materials for inverse fitting of power-diagram weights. Zenodo. Version 2.0.0; revised manuscript and reproducibility materials (2026a). https://doi.org/10.5281/zenodo.24047266
  • Chernyshov (2026b) Chernyshov, I.Y.: pyvoro2: 2D/3D Voronoi and power/Laguerre tessellations with periodic topology and inverse power fitting. Zenodo. Version 0.6.3 (2026b). https://doi.org/10.5281/zenodo.19143984
  • Cormen et al. (2009) Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, 3rd edn. The MIT Press, Cambridge, MA (2009)
  • Duan et al. (2014) Duan, Q., Kroese, D.P., Brereton, T., Spettl, A., Schmidt, V.: Inverting Laguerre tessellations. The Computer Journal 57(9), 1431–1440 (2014) https://doi.org/10.1093/comjnl/bxu029
  • Gellatly and Finney (1982) Gellatly, B.J., Finney, J.L.: Characterisation of models of multicomponent amorphous metals: The radical alternative to the Voronoi polyhedron. Journal of Non-Crystalline Solids 50(3), 313–329 (1982) https://doi.org/10.1016/0022-3093(82)90093-X
  • Huber (1964) Huber, P.J.: Robust estimation of a location parameter. The Annals of Mathematical Statistics 35(1), 73–101 (1964) https://doi.org/10.1214/aoms/1177703732
  • Jiang et al. (2011) Jiang, X., Lim, L.-H., Yao, Y., Ye, Y.: Statistical ranking and combinatorial Hodge theory. Mathematical Programming 127(1), 203–244 (2011) https://doi.org/10.1007/s10107-010-0419-x
  • Kim et al. (2025) Kim, S., Chen, J., Cheng, T., Gindulyte, A., He, J., He, S., Li, Q., Shoemaker, B.A., Thiessen, P.A., Yu, B., Zaslavsky, L., Zhang, J., Bolton, E.E.: PubChem 2025 update. Nucleic Acids Research 53(D1) (2025) https://doi.org/10.1093/nar/gkae1059 . pp. D1516–D1525
  • Landrum et al. (2026) Landrum, G., et al.: rdkit/rdkit: 2026_03_1 (Q1 2026) Release. Zenodo. Version Release_2026_03_1 (2026). https://doi.org/10.5281/zenodo.19250388
  • Lu (2024) Lu, T.: A comprehensive electron wavefunction analysis toolbox for chemists, Multiwfn. The Journal of Chemical Physics 161(8), 082503 (2024) https://doi.org/10.1063/5.0216272
  • Lu and Chen (2012) Lu, T., Chen, F.: Multiwfn: A multifunctional wavefunction analyzer. Journal of Computational Chemistry 33(5), 580–592 (2012) https://doi.org/10.1002/jcc.22885
  • Okabe et al. (2000) Okabe, A., Boots, B., Sugihara, K., Chiu, S.N.: Spatial Tessellations: Concepts and Applications of Voronoi Diagrams, 2nd edn. John Wiley & Sons, Chichester (2000). https://doi.org/10.1002/9780470317013
  • Richards (1974) Richards, F.M.: The interpretation of protein structures: Total volume, group volume distributions and packing density. Journal of Molecular Biology 82(1), 1–14 (1974) https://doi.org/10.1016/0022-2836(74)90570-1
  • Rockafellar (1970) Rockafellar, R.T.: Convex Analysis. Princeton Mathematical Series, vol. 28. Princeton University Press, Princeton, NJ (1970)
  • Rycroft (2009) Rycroft, C.H.: VORO++: A three-dimensional Voronoi cell library in C++. Chaos: An Interdisciplinary Journal of Nonlinear Science 19(4), 041111 (2009) https://doi.org/10.1063/1.3215722
  • Spettl et al. (2016) Spettl, A., Brereton, T., Duan, Q., Werz, T., Krill, C.E. III, Kroese, D.P., Schmidt, V.: Fitting Laguerre tessellation approximations to tomographic image data. Philosophical Magazine 96(2), 166–189 (2016) https://doi.org/10.1080/14786435.2015.1125540
  • Stephens et al. (1994) Stephens, P.J., Devlin, F.J., Chabalowski, C.F., Frisch, M.J.: Ab initio calculation of vibrational absorption and circular dichroism spectra using density functional force fields. The Journal of Physical Chemistry 98(45), 11623–11627 (1994) https://doi.org/10.1021/j100096a001
  • Sun et al. (2020) Sun, Q., Zhang, X., Banerjee, S., Bao, P., Barbry, M., Blunt, N.S., Bogdanov, N.A., Booth, G.H., Chen, J., Cui, Z.-H., Eriksen, J.J., Gao, Y., Guo, S., Hermann, J., Hermes, M.R., Koh, K., Koval, P., Lehtola, S., Li, Z., Liu, J., Mardirossian, N., McClain, J.D., Motta, M., Mussard, B., Pham, H.Q., Pulkin, A., Purwanto, W., Robinson, P.J., Ronca, E., Sayfutyarova, E.R., Scheurer, M., Schurkus, H.F., Smith, J.E.T., Sun, C., Sun, S.-N., Upadhyay, S., Wagner, L.K., Wang, X., White, A., Whitfield, J.D., Williamson, M.J., Wouters, S., Yang, J., Yu, J.M., Zhu, T., Berkelbach, T.C., Sharma, S., Sokolov, A.Y., Chan, G.K.-L.: Recent developments in the PySCF program package. The Journal of Chemical Physics 153(2), 024109 (2020) https://doi.org/10.1063/5.0006074
  • Wang and Song (2016) Wang, L.-P., Song, C.: Geometry optimization made simple with translation and rotation coordinates. The Journal of Chemical Physics 144(21), 214108 (2016) https://doi.org/10.1063/1.4952956
  • Weigend and Ahlrichs (2005) Weigend, F., Ahlrichs, R.: Balanced basis sets of split valence, triple zeta valence and quadruple zeta valence quality for H to Rn: Design and assessment of accuracy. Physical Chemistry Chemical Physics 7(18), 3297–3305 (2005) https://doi.org/10.1039/B508541A

Appendix A Supplementary graph and optimization arguments

Here we prove that the constrained quadratic fit in Eq. (24) attains its minimum and describe all its minimizers.

A.1 Attainment of the constrained quadratic fit

Proof.

Assume RR is positive diagonal and the hard-feasible set ℋ\mathcal{H} in Eq. (23) is nonempty. Put T=R1/2⁢BTT=R^{1/2}B^{T} and a=R1/2⁢za=R^{1/2}z. Then the objective is 12⁢‖T⁢w−a‖22\frac{1}{2}\|Tw-a\|_{2}^{2}. Since ℋ\mathcal{H} is a polyhedron, its linear image T⁢(ℋ)T(\mathcal{H}) is also a polyhedron (Rockafellar, 1970, Theorem 19.3) and hence a nonempty closed convex subset of ℝm\mathbb{R}^{m}. The Euclidean projection of aa onto T⁢(ℋ)T(\mathcal{H}) exists. Every point of T⁢(ℋ)T(\mathcal{H}) has a feasible preimage by its definition, so choosing one preimage of this projection gives a minimizer of Eq. (24). To characterize all minimizers, let w⋆∈ℋw^{\star}\in\mathcal{H} be one of them. The Euclidean projection onto T⁢(ℋ)T(\mathcal{H}) is unique, so another feasible weight vector ww minimizes the same objective if and only if T⁢w=T⁢w⋆Tw=Tw^{\star}. Since RR is positive diagonal, ker⁡T=ker⁡BT\ker T=\ker B^{T}. Consequently,

argminw∈ℋℰ⁢(w)=ℋ∩(w⋆+ker⁡BT).\operatorname*{argmin}_{w\in\mathcal{H}}\mathcal{E}(w)=\mathcal{H}\cap\bigl{(}% w^{\star}+\ker B^{T}\bigr{)}. (52)

Thus, hard restrictions can limit the componentwise offsets between fitting minimizers, while a common additive shift of all site weights always remains possible. ∎

Appendix B Geometric support, degeneracies, and domains

We first examine how ties affect connector visibility and face dimension, then distinguish clearance at a connector point inside the face from distance to the face when that point lies outside it. The last two subsections explain how clipping and selected periodic images affect these checks.

B.1 Weak visibility, persistent ties, and face dimension

Consider a finite set of distinct sites in ℝd\mathbb{R}^{d} with finite real weights. Fix i≠ji\neq j, and let q=qi⁢jq=q_{ij} and H=Hi⁢jH=H_{ij} be the pairwise connector point and bisector defined in Section 4. Every point x∈Hx\in H can be written x=q+ux=q+u with u⋅δi⁢j=0u\cdot\delta_{ij}=0. As in Eq. (39), the competing-site inequalities restricted to HH are

2⁢ei⁢j⁢k⋅u≤gi⁢j⁢k,k∉{i,j}.2e_{ijk}\cdot u\leq g_{ijk},\qquad k\notin\{i,j\}. (53)

Thus the common cell intersection is a (possibly empty or unbounded) closed convex polyhedron within HH.

Weak connector visibility, gi⁢j⁢k≥0g_{ijk}\geq 0 for all kk, is exactly the condition q∈Fi⁢jq\in F_{ij}; it need not imply that qq lies in the interior within the full (d−1)(d-1)-dimensional hyperplane HH. Conversely, strict positivity of every competitor gap suffices for such interior membership, but is not necessary in the presence of persistent ties.

In particular, when ei⁢j⁢k=0e_{ijk}=0, inequality (53) is constant throughout HH. If gi⁢j⁢k<0g_{ijk}<0, it excludes the entire bisector; if gi⁢j⁢k>0g_{ijk}>0, it imposes no restriction on the face; if gi⁢j⁢k=0g_{ijk}=0, it is an equality throughout HH and does not reduce the extent of Fi⁢jF_{ij} within the bisector. In contrast, when gi⁢j⁢k=0g_{ijk}=0 and ei⁢j⁢k≠0e_{ijk}\neq 0, the corresponding halfspace boundary within HH passes through qq. No ball of positive radius centered at qq within HH can then be contained in Fi⁢jF_{ij}.

For an explicit persistent tie, take pi=(0,0)p_{i}=(0,0), pj=(2,0)p_{j}=(2,0), pk=(1,0)p_{k}=(1,0) and (wi,wj,wk)=(0,0,−1)(w_{i},w_{j},w_{k})=(0,0,-1). At every point of Hi⁢j={(1,y):y∈ℝ}H_{ij}=\{(1,y):y\in\mathbb{R}\}, all three power distances agree. Consequently Fi⁢j=Hi⁢jF_{ij}=H_{ij} and qi⁢j∈intHi⁢j⁡Fi⁢jq_{ij}\in\operatorname{int}_{H_{ij}}F_{ij}, yet gi⁢j⁢k=0g_{ijk}=0 identically. Here Ci={(x,y):x≤1}C_{i}=\{(x,y):x\leq 1\} and Cj={(x,y):x≥1}C_{j}=\{(x,y):x\geq 1\} are full-dimensional cells sharing a facet, but site kk, whose cell Ck=Hi⁢jC_{k}=H_{ij} is degenerate, also attains the minimum power distance there. Thus interior membership does not exclude a third minimizing site or imply strict visibility. If instead the selected pair is i,ki,k, then Fi⁢k=Hi⁢k=Hi⁢jF_{ik}=H_{ik}=H_{ij} while CkC_{k} has empty ambient interior; full-dimensionality of the intersection within its bisector does not by itself certify that both selected cells are full-dimensional.

We always use intHi⁢j\operatorname{int}_{H_{ij}}, the interior relative to the entire pairwise bisector, not the ordinary relative interior within aff⁡(Fi⁢j)\operatorname{aff}(F_{ij}). The latter is nonempty for every nonempty convex face, including a singleton, and would fail to distinguish full-dimensional interfaces.

B.2 Centered clearance and exterior distance to a face

The gap inequalities (53) also describe the distance to a realized face when the connector point itself is not feasible. Define

Vi⁢j={u∈δi⁢j⟂:2⁢ei⁢j⁢k⋅u≤gi⁢j⁢k⁢ for all ⁢k∉{i,j}}.V_{ij}=\left\{u\in\delta_{ij}^{\perp}:2e_{ijk}\cdot u\leq g_{ijk}\text{ for % all }k\notin\{i,j\}\right\}. (54)

Then

Fi⁢j=qi⁢j+Vi⁢j.F_{ij}=q_{ij}+V_{ij}. (55)

The set Vi⁢jV_{ij} is a closed convex polyhedron, possibly empty.

Interior clearance

If qi⁢j∈Fi⁢jq_{ij}\in F_{ij}, the largest radius of a closed Euclidean ball within Hi⁢jH_{ij} centered at qi⁢jq_{ij} and contained in Fi⁢jF_{ij} satisfies

ci⁢j=mink∉{i,j}‖ei⁢j⁢k‖>0⁡gi⁢j⁢k2⁢‖ei⁢j⁢k‖,c_{ij}=\min_{\begin{subarray}{c}k\notin\{i,j\}\\ \|e_{ijk}\|>0\end{subarray}}\frac{g_{ijk}}{2\|e_{ijk}\|}, (56)

with the minimum of an empty set interpreted as +∞+\infty. Indeed, the minimum of each affine gap over the centered ball of radius rr is gi⁢j⁢k−2⁢r⁢‖ei⁢j⁢k‖g_{ijk}-2r\|e_{ijk}\|; all these values must be nonnegative. The same argument works when σi⁢j=0\sigma_{ij}=0, not only when it is positive. A zero gap with nonzero ei⁢j⁢ke_{ijk} forces ci⁢j=0c_{ij}=0; a zero gap with ei⁢j⁢k=0e_{ijk}=0 imposes no in-bisector restriction. When no constraint has a nonzero projected normal and qi⁢j∈Fi⁢jq_{ij}\in F_{ij}, the whole bisector is contained in the face and ci⁢j=+∞c_{ij}=+\infty. Redundant halfspaces do not affect this derivation.

Exterior distance

If qi⁢j∉Fi⁢jq_{ij}\notin F_{ij} but Fi⁢j≠∅F_{ij}\neq\varnothing, define its exterior face distance as the inherited Euclidean distance within the bisector,

di⁢jout=distHi⁢j⁡(qi⁢j,Fi⁢j).d_{ij}^{\mathrm{out}}=\operatorname{dist}_{H_{ij}}(q_{ij},F_{ij}). (57)

Using (55), this distance is computed by the convex quadratic program

(di⁢jout)2=minu∈δi⁢j⟂⁡‖u‖2,subject to2⁢ei⁢j⁢k⋅u≤gi⁢j⁢kfor all ⁢k∉{i,j}.\boxed{\begin{aligned} (d_{ij}^{\mathrm{out}})^{2}&=\min_{u\in\delta_{ij}^{% \perp}}\|u\|^{2},\\ \text{subject to}\quad&2e_{ijk}\cdot u\leq g_{ijk}\qquad\text{for all }k\notin% \{i,j\}.\end{aligned}} (58)

For a nonempty face the minimum is attained at a unique point: this is Euclidean projection onto a nonempty closed convex set. If the inequalities are infeasible, Fi⁢j=∅F_{ij}=\varnothing and the standard distance-to-set convention gives di⁢jout=+∞d_{ij}^{\mathrm{out}}=+\infty; there is then no nearest point. The quantity measures distance to the specified pair’s face, not to the closest face of any site pair in the full diagram.

Why negative clearance ratios are not exterior distances

Consider the formal algebraic extension

c~i⁢j=min‖ei⁢j⁢k‖>0⁡gi⁢j⁢k2⁢‖ei⁢j⁢k‖.\widetilde{c}_{ij}=\min_{\|e_{ijk}\|>0}\frac{g_{ijk}}{2\|e_{ijk}\|}. (59)

For a violated inequality with nonzero projected normal, the positive quantity −gi⁢j⁢k/(2⁢‖ei⁢j⁢k‖)-g_{ijk}/(2\|e_{ijk}\|) is the distance from qi⁢jq_{ij} to the feasible halfspace for that single inequality. The full face is the intersection of all halfspaces, so its distance from qi⁢jq_{ij} can exceed each individual halfspace distance, and the intersection itself may be empty. Constant violated inequalities (ei⁢j⁢k=0,gi⁢j⁢k<0e_{ijk}=0,\ g_{ijk}<0) are another obstruction: they make the whole face empty without appearing in (59).

An explicit example with a nonempty face occurs in ℝ3\mathbb{R}^{3}. Take

p1=(0,0,0),p2=(2,0,0),p3=(1,−1,0),p4=(1,0,−1),(w1,w2,w3,w4)=(0,0,2,2).\begin{aligned} p_{1}&=(0,0,0),&p_{2}&=(2,0,0),\\ p_{3}&=(1,-1,0),&p_{4}&=(1,0,-1),\end{aligned}\qquad(w_{1},w_{2},w_{3},w_{4})=% (0,0,2,2). (60)

Here H12={(1,y,z)}H_{12}=\{(1,y,z)\}, q12=(1,0,0)q_{12}=(1,0,0), and the two competitor inequalities require y≥1y\geq 1 and z≥1z\geq 1. The face is the nonempty quadrant {(1,y,z):y≥1,z≥1}\{(1,y,z):y\geq 1,\ z\geq 1\}, so

c~12=−1,d12out=2.\widetilde{c}_{12}=-1,\qquad d_{12}^{\mathrm{out}}=\sqrt{2}. (61)

In the four-site configuration of Eq. (29) with (w3,w4)=(1,1)(w_{3},w_{4})=(1,1), the face is instead empty despite a finite negative formal ratio. Hence a negative continuation of the centered-clearance formula cannot be identified with a signed distance to the true face. The centered interior radius and the distance to a realized face are therefore distinct geometric quantities.

B.3 Clipping to a convex box

For a convex box or, more generally, a fixed convex polytope

Ω={x∈ℝd:aℓ⋅x≤bℓ⁢ for all ⁢ℓ},\Omega=\{x\in\mathbb{R}^{d}:a_{\ell}\cdot x\leq b_{\ell}\text{ for all }\ell\}, (62)

the clipped intersection is Fi⁢jΩ=Fi⁢j∩ΩF_{ij}^{\Omega}=F_{ij}\cap\Omega. Each domain inequality restricted to x=qi⁢j+u∈Hi⁢jx=q_{ij}+u\in H_{ij} takes the form

aℓ⋅u≤bℓ−aℓ⋅qi⁢j.a_{\ell}\cdot u\leq b_{\ell}-a_{\ell}\cdot q_{ij}. (63)

Let Pi⁢jP_{ij} be orthogonal projection onto δi⁢j⟂\delta_{ij}^{\perp}. When qi⁢j∈Ωq_{ij}\in\Omega, the largest radius of a centered in-bisector ball contained in Ω\Omega is

bi⁢jΩ=minℓ:‖Pi⁢j⁢aℓ‖>0⁡bℓ−aℓ⋅qi⁢j‖Pi⁢j⁢aℓ‖,b_{ij}^{\Omega}=\min_{\ell:\|P_{ij}a_{\ell}\|>0}\frac{b_{\ell}-a_{\ell}\cdot q% _{ij}}{\|P_{ij}a_{\ell}\|}, (64)

with empty minimum +∞+\infty; a constraint with zero projected normal has no effect on motion within Hi⁢jH_{ij} when already satisfied at qi⁢jq_{ij}.

If qi⁢j∈Fi⁢j∩Ωq_{ij}\in F_{ij}\cap\Omega, the centered radius of the clipped intersection is exactly min⁡{ci⁢j,bi⁢jΩ}\min\{c_{ij},b_{ij}^{\Omega}\} by the two families of halfspace inequalities. The strict-visibility and interior-domain hypotheses in Section 4.4 guarantee that this value is positive; at the boundary, ties and domain-wall coincidences require explicit attention.

When a domain wall coincides with Hi⁢jH_{ij}, a clipped intersection may have nonempty (d−1)(d-1)-dimensional interior within Hi⁢jH_{ij} without forming an interface between two full-dimensional cells inside Ω\Omega. An interior-domain strict witness is a sufficient way to exclude this boundary-only behavior, but not a necessary condition for every useful clipped geometric intersection. No analogous finite halfspace formula is claimed here for arbitrary nonconvex clipping domains.

B.4 Selected periodic images and competitor scope

For a fixed lattice with translations Λ⁢t\Lambda t, a geometric site instance has position pk,t=pk+Λ⁢tp_{k,t}=p_{k}+\Lambda t and retains base weight wkw_{k}. A periodic pair observation specifies two selected instances, such as (i,0)(i,0) and (j,s)(j,s). The bisector and its connector point are computed for those instances; their competitors are all other instances. In particular, other copies of base sites ii or jj must not be discarded merely because their base indices match one of the endpoints. Distinct base sites may be equivalent modulo the lattice: a coincident unselected image produces a constant competitor power-gap inequality, which is redundant, excludes the selected cell, or creates a persistent tie depending on its sign. The observed selected endpoints must still be distinct as required in Section 2.

The same affine pointwise power inequalities and in-bisector projection arguments apply to each selected instance and competitor. However, an infinite collection of image inequalities is not automatically a finite polyhedron, and an arbitrary neighbor-image stencil does not establish a complete exact realization test or a uniform finite stability constant. An exact finite reduction requires a justified region of interest and relevant-image bound.

Let V=span⁡ΛV=\operatorname{span}\Lambda and let PVP_{V} denote orthogonal projection onto VV. For every xx in the power cell of the selected instance (i,0)(i,0), competition with the other images of site ii confines PV⁢(x−pi)P_{V}(x-p_{i}) to the compact lattice Voronoi region in VV. For images of any competing base site, the V⟂V^{\perp} component of squared distance is independent of the shift, and all images share the same weight. Thus, for each competing base site, its nearest image depends only on PV⁢xP_{V}x, and finitely many shifts suffice over the compact projected region even when the nonperiodic directions are unbounded. This supplies a route to a finite relevant-image reduction for selected cells and their faces under fixed partial periodicity.

It does not justify an arbitrary fixed image stencil or a uniform competitor set for connector points that move without restriction as weights change. Changing lattice geometry also requires separate control. Section 4 therefore does not extend its finite-competitor stability estimate to an unrestricted periodic theorem.

Appendix C Perturbation estimates for fitted weights and geometric diagnostics

We begin with the response of signed competitor gaps to weight perturbations, then propagate observation errors through a fixed least-squares fit. The remaining subsections account for discrepancies between the reference fit and independently specified weights, and state the competitor assumptions needed in periodic domains.

C.1 Fixed-site signed-gap stability

For a fixed finite competitor set, Eq. (43) gives an exact affine change in each gap with coefficient sum zero, so a common global shift of the weights leaves all gaps invariant. The minimum-gap bound (45) follows from the elementary inequality |mink⁡ak−mink⁡bk|≤maxk⁡|ak−bk||\min_{k}a_{k}-\min_{k}b_{k}|\leq\max_{k}|a_{k}-b_{k}|.

Invariance under a common weight shift sharpens the bound to

|σi⁢j⁢(w+Δ⁢w)−σi⁢j⁢(w)|≤Ki⁢j⁢infγ∈ℝ‖Δ⁢w−γ⁢𝟏‖∞.|\sigma_{ij}(w+\Delta w)-\sigma_{ij}(w)|\leq K_{ij}\inf_{\gamma\in\mathbb{R}}% \|\Delta w-\gamma\mathbf{1}\|_{\infty}. (65)

Only the global constant may be removed here: shifting disconnected components of the fitting graph separately need not preserve the full power diagram or its gaps. If the competitor set is empty, σi⁢j=+∞\sigma_{ij}=+\infty by convention and the ordinary finite Lipschitz inequality is not applied.

For a finite competitor set, any nonzero reference gap with perturbation bound smaller than its absolute value retains its sign. This is a certificate for the chosen connector-visibility diagnostic, not a statement that all faces or all combinatorial adjacencies of the power diagram persist.

C.2 Sensitivity of a fixed weighted least-squares fit

Let B∈ℝn×mB\in\mathbb{R}^{n\times m} be the incidence matrix of a fixed observation graph, let R=diag⁡(ρr)R=\operatorname{diag}(\rho_{r}) have strictly positive entries, and put L=B⁢R⁢BTL=BRB^{T}. Suppose rank⁡(B)=n−c>0\operatorname{rank}(B)=n-c>0, where cc is the number of observation-graph connected components. Let Q∈ℝn×(n−c)Q\in\mathbb{R}^{n\times(n-c)} have orthonormal columns spanning (ker⁡BT)⟂(\ker B^{T})^{\perp}. Choosing this subspace is equivalent to a zero-mean convention within each observation component.

On this identifiable subspace, the reduced matrix QT⁢L⁢QQ^{T}LQ is positive definite. For a target vector zz, the unique least-squares solution with zero mean in each observation component is

w⁢(z)=G⁢z,G=Q⁢(QT⁢L⁢Q)−1⁢QT⁢B⁢R.w(z)=Gz,\qquad G=Q(Q^{T}LQ)^{-1}Q^{T}BR. (66)

For a reference target z⋆z^{\star} (possibly incompatible) and perturbed target z^=z⋆+η\widehat{z}=z^{\star}+\eta, define w⋆=G⁢z⋆w^{\star}=Gz^{\star} and w^=G⁢z^\widehat{w}=G\widehat{z}. The exact response identity is

w^−w⋆=G⁢η.\widehat{w}-w^{\star}=G\eta. (67)

This statement does not identify w⋆w^{\star} with an arbitrary independently chosen vector of true physical weights. It relates two minimizers of the same fixed quadratic fitting problem evaluated at different target vectors, with the same component-offset convention. Other fixed linear gauges admit analogous expressions. A convention with fixed nonzero component offsets adds a constant vector to w⁢(z)w(z) but does not alter the response to η\eta.

Write ‖v‖L=(vT⁢L⁢v)1/2\|v\|_{L}=(v^{T}Lv)^{1/2} for the Laplacian seminorm. The fitted difference perturbation is a weighted orthogonal projection of η\eta onto the column space of BTB^{T}, giving

‖w^−w⋆‖L≤‖R1/2⁢η‖2.\|\widehat{w}-w^{\star}\|_{L}\leq\|R^{1/2}\eta\|_{2}. (68)

To see this, put A=R1/2⁢BT⁢QA=R^{1/2}B^{T}Q. The vector R1/2⁢BT⁢(w^−w⋆)R^{1/2}B^{T}(\widehat{w}-w^{\star}) is the orthogonal projection of R1/2⁢ηR^{1/2}\eta onto range⁡(A)\operatorname{range}(A), and therefore cannot have larger Euclidean norm.

If the observations are perturbed by Δ⁢yr\Delta y_{r} in their original measurement units, then ηr=Δ⁢yr/αr\eta_{r}=\Delta y_{r}/\alpha_{r} and ρr=λr⁢αr2\rho_{r}=\lambda_{r}\alpha_{r}^{2} imply

‖R1/2⁢η‖22=∑r=1mλr⁢(Δ⁢yr)2.\|R^{1/2}\eta\|_{2}^{2}=\sum_{r=1}^{m}\lambda_{r}(\Delta y_{r})^{2}. (69)

This identity is deterministic and requires no statistical error assumptions.

With λmin=λmin⁢(QT⁢L⁢Q)>0\lambda_{\min}=\lambda_{\min}(Q^{T}LQ)>0, the spectral inequality on the chosen subspace yields

‖w^−w⋆‖2≤‖R1/2⁢η‖2λmin,‖w^−w⋆‖∞≤‖R1/2⁢η‖2λmin.\|\widehat{w}-w^{\star}\|_{2}\leq\frac{\|R^{1/2}\eta\|_{2}}{\sqrt{\lambda_{% \min}}},\qquad\|\widehat{w}-w^{\star}\|_{\infty}\leq\frac{\|R^{1/2}\eta\|_{2}}% {\sqrt{\lambda_{\min}}}. (70)

For the orthogonal component-centered convention, this minimum eigenvalue is the smallest positive eigenvalue of LL. For a different chosen gauge, a reduced operator must be specified; the full Laplacian’s smallest positive eigenvalue must not be used indiscriminately for every pinned representation.

If BB has rank zero, there are no identifiable differences from the fitting objective. The response vanishes under the zero-component-mean convention, but the geometry still depends on whatever intercomponent offsets are supplied by other modeling choices.

C.3 Reference-fit qualification and conditional sign identification

Let wphysw^{\mathrm{phys}} be any independently specified reference weight vector, with its global additive constant aligned for comparison. The reference fitted solution w⋆=G⁢z⋆w^{\star}=Gz^{\star} need not equal wphysw^{\mathrm{phys}}, even in the absence of measurement noise. By the triangle inequality,

‖w^−wphys‖∞≤‖G⁢η‖∞+‖G⁢z⋆−wphys‖∞.\|\widehat{w}-w^{\mathrm{phys}}\|_{\infty}\leq\|G\eta\|_{\infty}+\|Gz^{\star}-% w^{\mathrm{phys}}\|_{\infty}. (71)

The second term is a deterministic model/reference-fit bias, which may include unconstrained component-offset choices. A common global shift in either weight vector is immaterial to the power diagram, whereas independently shifting components is generally not.

For a fixed finite competitor set, a sufficient condition for the perturbed fit to have the same sign of connector score as the physical reference is

Ki⁢j⁢(‖G⁢η‖∞+‖G⁢z⋆−wphys‖∞)<|σi⁢j⁢(wphys)|,K_{ij}\Bigl{(}\|G\eta\|_{\infty}+\|Gz^{\star}-w^{\mathrm{phys}}\|_{\infty}% \Bigr{)}<|\sigma_{ij}(w^{\mathrm{phys}})|, (72)

provided the reference score is nonzero. The sufficient sign-preservation condition in Section 4.4 is the special case in which the comparison is made to w⋆=G⁢z⋆w^{\star}=Gz^{\star} itself, so the deterministic bias term is absent. This condition remains valid even for incompatible z⋆z^{\star}.

These implications concern preservation of the sign of a nonzero connector score, not the identification of all actual power faces. In particular, they do not imply one-step recovery of a prescribed topology, nor convergence of an outer iteration in which the observation mask, fitting weights, or realization diagnostic are updated. With hard constraints, the fitted response need not be globally linear, so a single fixed operator GG cannot be used without further analysis.

C.4 Scope of periodic perturbation bounds

For a fixed finite set of selected periodic image instances, the same affine competitor-gap calculation applies, with base-site weight variables repeated across image copies and the geometry held fixed. The resulting coefficients must be assembled for the actual image-labelled selected pair and competitor list.

For the complete infinite periodic configuration, no universal finite constant of the form (44) is asserted without a justified finite relevant-image reduction or other uniform control on the competitors over the weight neighborhood of interest. Likewise, clipping introduces the additional domain-wall margin described in B.3; weight-gap stability alone does not imply a positive clipped clearance. Neither caveat alters the exact finite, nonperiodic argument.

Appendix D Algorithmic and experimental details

We first analyze the streak-based update of Section 5.3. Its hysteresis requires consecutive consistent diagnostics before changing a row’s membership. We then specify the implementation conventions and document the synthetic protocols and evaluation populations used in Section 6.

D.1 Conditional rowwise hysteresis stabilization

Let a(k)∈{0,1}ma^{(k)}\in\{0,1\}^{m} be the active observation mask before evaluation kk, and let v(k)∈{0,1}mv^{(k)}\in\{0,1\}^{m} be its requested-image realized-face diagnostic. Each row has nonnegative integer add/drop streak counters, with fixed thresholds Aadd,Adrop∈ℤ≥1A_{\mathrm{add}},A_{\mathrm{drop}}\in\mathbb{Z}_{\geq 1}. An incoming one increases its add counter and resets its drop counter; an incoming zero does the reverse. The update to a(k+1)a^{(k+1)} activates an inactive row once its add counter reaches AaddA_{\mathrm{add}}, and deactivates an active row once its drop counter reaches AdropA_{\mathrm{drop}}.

Proposition 3 (Conditional hysteresis).

Set h=max⁡{Aadd,Adrop}h=\max\{A_{\mathrm{add}},A_{\mathrm{drop}}\}. Suppose that hh consecutive rowwise updates are actually executed and their incoming diagnostic masks satisfy

v(k)=v⋆(k=k0,…,k0+h−1)v^{(k)}=v^{\star}\qquad(k=k_{0},\ldots,k_{0}+h-1)

for one fixed v⋆∈{0,1}mv^{\star}\in\{0,1\}^{m}. Then a(k0+h)=v⋆a^{(k_{0}+h)}=v^{\star}, regardless of the preceding active mask and streak counters. If subsequent evaluated masks also equal v⋆v^{\star}, active-mask agreement persists for those subsequent updates.

Proof.

Fix a row rr. If vr⋆=1v_{r}^{\star}=1, each update in the specified window increments the add streak and resets the drop streak. After at most Aadd≤hA_{\mathrm{add}}\leq h updates the row is active, and it cannot be dropped while that incoming value remains one. If vr⋆=0v_{r}^{\star}=0, the analogous argument with the drop streak makes the row inactive after at most Adrop≤hA_{\mathrm{drop}}\leq h updates, and it cannot be added while the incoming value remains zero. This holds independently for each row and therefore for the whole mask. ∎

This is a property of the Boolean update conditional on executed mask updates with a stationary incoming mask. It neither proves that the fit and tessellation generate such a stationary mask nor guarantees that the loop survives its other stopping tests for hh updates. In particular, it supplies no convergence theorem for the outer solver. Stability of a connector-visibility sign under a fixed-site weight perturbation, proved in Section 4.4, does not establish stability of the requested-image realized-face predicate used here.

D.2 Implementation scope and final-state conventions

The conventions below describe pyvoro2 0.6.3, source snapshot eaffdcb (Chernyshov, 2026b).

Inputs and image diagnostics

The realization procedure operates on resolved observations in two or three spatial dimensions. The observation confidences are the fitting weights λr\lambda_{r}; the implementation allows them to be zero. A fitting call selects one measurement convention, and any hard restriction applies the same interval or fixed value in those units to every supplied row. Subsetting removes the restrictions on omitted rows. Supplied periodic shifts are preserved; missing shifts are resolved before fitting by the selected input policy, not by the mask update.

Requested-row matching distinguishes exact image identity from realization at another shift. The separate unaccounted-pair diagnostic instead checks whether an unordered base-site pair is absent from the candidate list. It excludes same-base image pairs and does not count additional shifts of an already represented base pair as unaccounted; it records the realized shifts of wholly absent base pairs. For each candidate row, the optional boundary measure refers to the requested image when that image is realized. Otherwise, if another image of the base pair is realized, the measure refers to the lexicographically first realized shift in the row’s orientation; with no realized image, the measure is unavailable.

Weight regularization

The declared and reported weight penalty in version 0.6.3 is

ℛ⁢(w)=γ⁢∑i(wi−wiref)2,γ≥0,\mathcal{R}(w)=\gamma\sum_{i}(w_{i}-w_{i}^{\mathrm{ref}})^{2},\qquad\gamma\geq 0,

where wrefw^{\mathrm{ref}} is the supplied reference vector, or zero when none is supplied. Its strength is independent of the observation confidences. For squared mismatch, the implementation uses ∑rλr⁢(yr−y^r)2\sum_{r}\lambda_{r}(y_{r}-\widehat{y}_{r})^{2}, where y^r\widehat{y}_{r} is the affine prediction from Eq. (5), without the factor 1/21/2 used in Eq. (11). The analytic quadratic solver is consistent with this reported mismatch-plus-regularization objective. The frozen weight update in the alternating direction method of multipliers (ADMM) (Boyd et al., 2011), however, uses the effective penalty (γ/2)⁢∑i(wi−wiref)2(\gamma/2)\sum_{i}(w_{i}-w_{i}^{\mathrm{ref}})^{2}, while the objective reporter retains the coefficient γ\gamma. At positive regularization strength, ADMM convergence therefore does not certify minimization of the reported objective. The benchmark fits in Sections 6 and 7 use zero weight-regularization strength.

Component representatives

For mismatch-only fitting, the effective graph contains the positive-confidence rows. If hard restrictions or any additional penalties are configured, all supplied rows are included. With nonempty observations and zero weight-regularization strength, the standalone component solves pin one site per nontrivial component. A connected effective graph retains that pinned representative. For a disconnected effective graph, each component is subsequently shifted to zero mean, or to the mean of a supplied reference vector on that component even when its regularization strength is zero. Thus the raw connected output need not equal the component-centered representative of C.2. With no observations, the standalone solver returns the reference vector if supplied, and otherwise zeros; the same convention applies to singleton effective components when all observation confidences are zero and no restrictions or additional penalties are configured.

Positive weight regularization removes the need for the internal anchors, and the standalone solver does not subsequently center its result. The outer procedure nevertheless aligns every current effective component to the preceding evaluated weights whenever such a vector exists, including during final refitting. For an unregularized objective this changes only its component representatives. With positive regularization, it can change the regularization term after the inner solve; the stored inner fitting status is retained after alignment. For example, an empty active set has a regularization-only solution equal to the reference, but alignment of its singleton components restores the previous evaluated weights. Component offsets must therefore be interpreted as a continuation convention, not as new information recovered from absent pair data.

Stopping and finalization

The self-consistency test requires equality of the current, proposed, and requested-image realization masks, together with an evaluated-weight step at most the tolerance. The first step is defined as zero. An inner iterative fit that reaches its iteration limit can still supply weights to this test, so outer self-consistency does not certify inner convergence. After the self-consistency test, a changed proposed mask is checked against previous recorded mask entries. The initial mask is recorded at iteration zero, and timestamps are updated only on mask changes. The cycle window measures outer iterations since a recorded entry; iterations without a mask change do not refresh its timestamp. No full-state periodic orbit is certified, and an outer-iteration limit has no implied self-consistency.

An inner failure that returns no weights exits the loop immediately, with all-false realization flags and unavailable predictions rather than diagnostics from a constructed tessellation. After a normal loop stop, the updated active mask is used for a final unrelaxed fitting attempt. Returned weights are aligned and rematched, so the final diagram can differ from the last relaxed intermediate diagram. Final numerical failure replaces the outer label by numerical_failure and clears the outer convergence flag. Final hard infeasibility is recorded as infeasible_hard_constraints in the nested fit and need not replace the preceding outer label. If the final fit returns no weights, the realization diagnostics are retained from the preceding evaluation and all-candidate predictions are unavailable (stored as NaN). The nested fit status and weight availability must therefore be checked before treating those diagnostics as a newly fitted diagram.

Residual populations

For available final weights, the returned residual fields have distinct populations:

Residual fields Population
fit.residuals, fit.rms_residual, fit.max_residual Final active rows
diagnostics.residuals, rms_residual_all, max_residual_all All original candidate rows

Both RMS summaries are the square root of the unweighted arithmetic mean of squared residuals in the selected measurement units, irrespective of the confidence weights used in fitting. An empty population is assigned zero. The iteration history and path summary describe the evaluated outer-loop path; the final refit and rematching do not add another outer-iteration record.

D.3 Synthetic experimental protocols and evaluation populations

The powerfit version 2.0.0 archive (Chernyshov, 2026a) contains the experiment code, configurations, and numerical outputs. These experimental materials are unchanged from version 1.0.0. The files experiments/registry/README.md and results/README.md map the labels A–H to their scripts and result directories. The Experiment C results reported here use the dense sweep in results/missing_data_manuscript/.

D.3.1 Exact recovery, missing observations, and hard feasibility

Experiment A contains eight configurations with two runs each: two or three dimensions, periodic or nonperiodic domains, and either the full realized-pair graph or an observation subgraph with two components. The site counts are 16 in two dimensions and 24 in three. Requested-image face recall is the fraction of supplied observations whose specified pair and image share a face after fitting. In the nonperiodic three-dimensional two-component configuration, its mean over the two runs is 0.9940.994. This population comprises the supplied observations, rather than every adjacency of the generating diagram.

Experiment C contains 2,470 noiseless runs, with ten independently generated instances at each dimension, site count and requested retention level. The requested fractions range from 0.100.10 to 1.001.00 in steps of 0.050.05. A connected generating pair graph is sampled for each instance; the number of retained observations is the requested fraction times the original count, rounded to an integer and bounded between one and the original count. Different retention levels therefore use independent instances, rather than nested removals from one common diagram. Requested and actual retained fractions can differ slightly because of rounding.

Both weight errors average over all sites. Global alignment subtracts the mean fitted-to-generating weight difference once, while componentwise alignment subtracts that mean separately within each observed component. The latter uses the known generating weights; it is an oracle evaluation convention, not an estimator of unidentified intercomponent offsets. Figure 5 uses n=128n=128 in both dimensions. At each requested fraction, the median per-run weight RMSE is taken before applying the display floor 10−1610^{-16}, so its logarithmic ordinate corresponds to log10⁡(max⁡{median⁡(RMSE),10−16})\log_{10}(\max\{\operatorname{median}(\mathrm{RMSE}),10^{-16}\}), not the median of log errors. The connected fraction is empirical across the ten runs and does not specify a universal connectivity threshold.

Experiment D applies a separate experiment-side difference-bound feasibility checker to 30 generated three-observation cycles. Its individual observations admit separate bounds, unlike the common measurement restriction in the fitting interface described in Section 5.1. In the between-points contradiction, one observation is restricted to [0,1][0,1] while the other two retain exact equality targets; the interval [0,1][0,1] alone is not asserted to make a complete cycle infeasible. The experiment-side Bellman–Ford implementation correctly classifies these controlled instances. It does not exercise the production hard-bound precheck or establish its behavior on arbitrary numerical inputs.

D.3.2 Observation noise and outliers

Experiment B contains 144 runs on nonperiodic generating diagrams, with 16 sites in two dimensions and 24 in three. There are six replicates for each method, dimension and noise condition. Gaussian and Laplace errors have standard deviations 0.0050.005 or 0.020.02 in normalized separator coordinates; the Laplace scale is the specified standard deviation divided by 2\sqrt{2}. The sparse-outlier conditions instead use a Gaussian background of standard deviation 0.0050.005 and add independently signed offsets of magnitude 0.050.05 to nominal fractions f=0.05f=0.05 or 0.100.10 of the observations. For mm observations, round⁡(f⁢m)\operatorname{round}(fm) distinct rows are sampled without replacement, so the realized contamination fraction need not equal ff.

The quadratic fit uses the analytic solver. The Huber fit uses a threshold of 0.030.03 in normalized-coordinate units and is solved by ADMM (Boyd et al., 2011), with the archived limit of 5,000 iterations and ADMM penalty parameter ρ=1\rho=1. Clean-reference separator RMSE is evaluated on the original generating pair observations against their uncorrupted targets. In the two-dimensional nominal 10%10\% outlier condition, the mean of the six per-run RMSE values is 0.009590.00959 for quadratic fitting and 0.009040.00904 for Huber fitting. Together with the 5%5\% comparison in Section 6.1, these are results for the specified outlier conditions; the Gaussian and Laplace comparisons do not establish uniform Huber superiority.

D.3.3 Periodic image choices

Experiment F contains 132 archived result records based on six generating instances per dimension, with 16 sites in two dimensions and 24 in three. The scenarios include correct supplied images, a correct-image control with Gaussian noise of standard deviation 0.010.01 in normalized separator coordinates, deliberately incorrect supplied images, nearest-image inference after removing the labels, and a separate realized-shift refinement of the inferred images. Nominal image corruption fractions are 0.100.10, 0.250.25 and 0.500.50.

In the supplied-label scenario, the selected shifts are authoritative: weight fitting preserves them. At nominal 25%25\% corruption in three dimensions, the mean fraction of labels agreeing with the generating shifts is 0.7500.750, whereas the mean fraction of rows with a positive realized_other_shift diagnostic is approximately 0.2490.249. The first compares input choices with known truth; the second detects another image in the fitted geometry. Each is calculated on the supplied rows within a run and then averaged over the six instances.

For the separate inference scenarios, removing the image labels produces identical inputs across the three nominal corruption fractions for a given generating instance. Those repeated records are not independent corruption-sweep results. The realized-shift procedure starts from nearest images and permits up to three rounds of reassignment using uniquely realized shifts. In the three-dimensional cases its mean correct-image fraction is 0.9240.924, despite a requested-image realization rate of one and an other-image diagnostic rate of zero. It revises inferred shifts on the stripped-label input; it neither repairs the authoritative labels in the other scenario nor tests the face-driven active-observation update of Section 5.3.

D.3.4 Structured mismatch and optional refinement

Perturbation laws and graph comparison

Experiments G and H add η⁢ψi⁢j\eta\psi_{ij} to exact normalized separator coordinates ti⁢j0t_{ij}^{0}. For the type-cycle law, assign three site types τi\tau_{i} and use a preference matrix with P12=P23=P31=1P_{12}=P_{23}=P_{31}=1, P21=P32=P13=−1P_{21}=P_{32}=P_{13}=-1 and zero diagonal:

ψi⁢j=Pτi⁢τj⁢exp⁡[−12⁢(di⁢j/dmed−10.55)2],\psi_{ij}=P_{\tau_{i}\tau_{j}}\exp\!\left[-\frac{1}{2}\left(\frac{d_{ij}/d_{% \rm med}-1}{0.55}\right)^{2}\right],

where dmedd_{\rm med} is the median distance among the supplied pairs. G also uses a local-context law

ψi⁢j=tanh⁡(0.75⁢(ci−cj))1+(di⁢j/dmed)2,\psi_{ij}=\frac{\tanh\!\left(0.75(c_{i}-c_{j})\right)}{1+(d_{ij}/d_{\rm med})^% {2}},

where cic_{i} is the negative mean distance to the four nearest sites, standardized over sites to zero mean and unit variance. The generator sets all cic_{i} to zero if the unstandardized standard deviation is at most 10−1210^{-12}. In both laws, the perturbed target is clipped to [min⁡{ti⁢j0,0.05},max⁡{ti⁢j0,0.95}][\min\{t_{ij}^{0},0.05\},\max\{t_{ij}^{0},0.95\}]; thus exact targets outside the nominal clipping interval are preserved when η=0\eta=0.

G keeps the generating diagram’s true pair graph as its observation set. Its 2,280 runs combine random geometries with a minimum site separation and perturbed lattices, two dimensions with n∈{32,64,128}n\in\{32,64,128\}, three dimensions with n∈{24,48,96}n\in\{24,48,96\}, and ten replicates per configuration. Besides the exact control, each perturbation law uses amplitudes 00, 0.030.03, 0.060.06, 0.10.1, 0.150.15, 0.20.2, 0.30.3, 0.40.4 and 0.50.5. Separator error compares the fit or midpoint prediction with the imposed targets used in fitting. Graph precision, recall and F1 instead compare all unordered realized adjacency pairs with the generating pair graph.

At η=0.2\eta=0.2, the two geometries, two dimensions, three sizes per dimension and two laws give 24 groups with ten runs each. Relative to the midpoint baseline, realized-graph F1 decreases in 193 of these 240 runs, increases in 36 and is unchanged in 11; fitted target RMSE decreases in all 240. The representative 60-run averages in Section 6.2 combine both geometries and all three sizes for the two-dimensional type-cycle cases. They are arithmetic means of per-run RMSE and F1 values, rather than RMSE pooled over observations or F1 pooled over graph-edge counts.

Candidate sets, fitting settings and evaluation populations

E and H use 16 sites in two dimensions and 24 in three. Their candidate sets unite all generating true pairs with either a symmetric nearest-neighbor graph (k=12k=12 in two dimensions and k=16k=16 in three) or pairs within four times the median nearest-neighbor distance. Candidate recall is therefore one by construction. E applies independent Gaussian noise of standard deviation 0.0050.005 to the normalized separator coordinates of true pairs and assigns midpoint-centered Gaussian surrogate targets of standard deviation 0.030.03 to additional pairs. H applies the type-cycle law to the normalized separator coordinates of all candidate pairs at η∈{0,0.1,0.2,0.4}\eta\in\{0,0.1,0.2,0.4\}.

Both studies use analytic inner fits. The outer settings are addition threshold one, removal threshold two, relaxation one, at most 25 outer iterations, an eight-iteration mask-history window and weight-step tolerance 10−810^{-8}. These runs do not test under-relaxation. E has 20 paired instances; H has 96, of which 72 have positive mismatch. The E/H table excludes H’s 24 zero-mismatch comparisons, while its stopping counts include them.

For the one-pass fit, selection uses the realized_same_shift diagnostic. Refinement instead returns the final active observation mask. Selected-pair precision, recall and F1 compare these masks with the fixed generating true-pair mask on the original candidate set. They do not score the entire realized adjacency graph, and a retained observation need not be realized after the final refit. Both methods’ separator errors use the same fixed generating true-pair subset, without filtering by either selection: E compares with clean generating-power separators, whereas H compares with the imposed, potentially incompatible targets. The table reports arithmetic means of per-run scores and paired change counts, not pooled-row errors.

All 20 E refinements stop as self_consistent. Across all 96 H refinements, the outer labels are 85 self_consistent and 11 cycle_detected, while the recorded final inner fits have optimal status. The final optimal status does not establish optimality of earlier inner fits or convergence of the outer updates. A repeated active mask is distinct from an infeasible difference-constraint cycle and does not establish a periodic orbit of the full numerical state.

Appendix E Molecular background and experimental details

We first describe the QTAIM partition and the conversion of a boundary landmark into a separator observation. The remaining subsections document the molecular dataset and predictors, the candidate-pair comparison, and the populations and limits of the auxiliary geometric checks. The background in E.1 and E.2 can be read before the results in Section 7.

E.1 Atomic regions and the density-based reference

A molecule has identifiable nuclei but a continuous electron density ρ\rho shared throughout space. In calculations with atom-centered Gaussian basis sets, the molecular orbitals are expanded in functions centered on the nuclei (Boys, 1950; Weigend and Ahlrichs, 2005). These basis functions are built from Gaussians multiplied by polynomial factors. In a real basis {χμ}\{\chi_{\mu}\}, the density has the form

ρ⁢(x)=∑μ,νDμ⁢ν⁢χμ⁢(x)⁢χν⁢(x),\rho(x)=\sum_{\mu,\nu}D_{\mu\nu}\chi_{\mu}(x)\chi_{\nu}(x),

where DD is the density matrix in that basis. Products involving different centers contribute to the density between atoms. The result is a molecular density, rather than a sum of independent spherical atomic densities; the locations of the basis centers do not prescribe its basin boundaries.

QTAIM defines those basins from the gradient field of the total density: points whose gradient-ascent paths end at the same attractor belong to one basin, with attractors usually associated with nuclei (Bader et al., 1980; Bader, 1990). At regular points of an interatomic boundary with normal n⁢(x)n(x), the field is tangent to the boundary:

∇ρ⁢(x)⋅n⁢(x)=0.\nabla\rho(x)\cdot n(x)=0.

Integrating ρ\rho over an atomic basin gives its electron population; subtracting this population from the nuclear charge gives the atomic charge in units of the elementary charge (Bader, 1990).

The zero-flux condition also has a physical role. Bader (1994) connects it to a generalization of Schwinger’s principle of stationary action for open quantum subsystems. An atom defined in this way remains an interacting part of the molecule. The condition concerns the gradient of the density, not an electronic current or isolation from the other atoms. This connection to subsystem quantum mechanics motivates QTAIM as a reference beyond a purely geometric division of space.

The basin boundaries need not be planar or perpendicular to nuclear connectors. A nondegenerate bond critical point (BCP) is a stationary point of ρ\rho with two negative and one positive Hessian eigenvalues. Its two ascending branches are tangent at the BCP to the positive-curvature eigenvector. They lead toward neighboring atomic attractors and together form a bond path (Bader et al., 1980; Bader, 1990). The BCP lies on the intervening basin boundary and supplies a local landmark associated with that atom pair. The experiments use these landmarks to assess separator positions and pair relations; they do not compare complete basin surfaces, electron populations or atomic charges.

E.2 From a critical point to a separator observation

Let bb be the BCP associated with nuclei pi,pjp_{i},p_{j}, and retain the notation δi⁢j=pj−pi\delta_{ij}=p_{j}-p_{i} and di⁢j=‖δi⁢j‖d_{ij}=\|\delta_{ij}\|. Its normalized connector coordinate and projected point are

ti⁢jBCP=(b−pi)⋅δi⁢jdi⁢j2,q=pi+ti⁢jBCP⁢δi⁢j.t_{ij}^{\mathrm{BCP}}=\frac{(b-p_{i})\cdot\delta_{ij}}{d_{ij}^{2}},\qquad q=p_% {i}+t_{ij}^{\mathrm{BCP}}\delta_{ij}. (73)

The connector-normal target plane through qq is

Hi⁢jBCP={x:(x−q)⋅δi⁢j=0}.H_{ij}^{\mathrm{BCP}}=\{x:(x-q)\cdot\delta_{ij}=0\}.

Since (b−q)⋅δi⁢j=0(b-q)\cdot\delta_{ij}=0, this plane also passes through bb. Projection therefore preserves all offset information that the BCP can provide for this fixed-normal family. In particular, the transverse displacement ‖b−q‖\|b-q\| is neither a longitudinal separator error nor, by itself, evidence that the observation is incompatible with a power diagram.

For fitted weights w^\widehat{w}, the pairwise plane Hi⁢j⁢(w^)H_{ij}(\widehat{w}) has the same normal but may have a different offset. Its distance from the original BCP is exactly

dist⁡(b,Hi⁢j⁢(w^))=di⁢j⁢|ti⁢j⁢(w^)−ti⁢jBCP|.\operatorname{dist}\bigl{(}b,H_{ij}(\widehat{w})\bigr{)}=d_{ij}\bigl{|}t_{ij}(% \widehat{w})-t_{ij}^{\mathrm{BCP}}\bigr{|}. (74)

Equation (74) explains the length error used for the fitted models. It concerns the infinite pairwise plane. Even zero distance does not place bb on the actual shared face: the other atoms may dominate the power distance there, as in the general distinction of Section 4.1.

Nor does a plane through one boundary point necessarily approximate the whole boundary well. Its normal is constrained by the nuclear connector, while the physical boundary can have a different tangent plane and nonzero curvature (Figure 7). The boundary’s intersection with the connector need not be qq. A best plane approximation to a surface patch would require a choice of patch and error criterion, which is not part of these experiments. In addition, offsets from different BCPs can violate the cycle compatibility condition of Section 3. These are separate limitations of the chosen geometric family and the available observations.

E.3 Dataset, predictors and error aggregation

The J1 benchmark contains 100 neutral singlet molecules, with 50 acyclic and 50 cyclic structures containing H, C, N, O, F, S and Cl. The dataset was assembled through deterministic PubChem searches (Kim et al., 2025), followed by RDKit filtering and deduplication by molecular connectivity (Landrum et al., 2026). The selection records and final molecule manifest are in data/qtaim_main/ of the powerfit version 2.0.0 archive (Chernyshov, 2026a). Its scripts/qtaim/README.md describes the calculation pipeline, and results/qtaim_main/README.md locates the J1–J4 result records.

Geometry optimization used geomeTRIC (Wang and Song, 2016) with PySCF energies and gradients; the subsequent single-point calculations also used PySCF (Sun et al., 2020). Both used the B3LYP functional (Becke, 1993; Stephens et al., 1994) and def2-SVP basis (Weigend and Ahlrichs, 2005). Multiwfn supplies the critical points and their reported atom-pair associations (Lu and Chen, 2012; Lu, 2024); the reference graph uses those associations, deduplicated as unordered pairs. A separate explicit-hydrogen RDKit graph supplies the bonded label: two atoms are bonded precisely when their graph distance is one. Thus both bonded and nonbonded reference pairs can have a BCP.

The archive’s reproduction environment is specified in environments/requirements-lock-py313.txt. It includes PySCF 2.12.1, geomeTRIC 1.1 and RDKit 2026.3.1.

J1 also records the BCP distance from the nuclear connector. A distance at most 0.020.02 Å occurs for 3,637 of the 3,703 bonded reference pairs (98.22%98.22\%), but only 3 of the 272 nonbonded pairs (1.10%1.10\%). This describes the landmarks’ spatial distribution; by Eq. (73), off-axis displacement alone does not create a separator-offset error.

The proatomic inputs are spherically averaged radial electron-density profiles of isolated neutral ground-state atoms, computed with PySCF at B3LYP/def2-SVP and exported through Multiwfn. For unlike atoms separated by dd, a bounded scalar minimization locates a minimum of

ρi⁢(x)+ρj⁢(d−x),0≤x≤d.\rho_{i}(x)+\rho_{j}(d-x),\qquad 0\leq x\leq d.

The radial profiles use piecewise cubic Hermite interpolation. Homonuclear pairs are assigned x=d/2x=d/2. The lookup covers separations from 0.50.5 to 55 Å at 0.010.01 Å spacing. At application time, it linearly interpolates the position xx and the normalized fraction tt separately as functions of dd. Consequently xlookup⁢(d)x_{\mathrm{lookup}}(d) need not equal d⁢tlookup⁢(d)d\,t_{\mathrm{lookup}}(d) between tabulated distances. The raw proatomic length error uses the former; the fitted model takes the latter as its observations.

All J2 and J3 fits minimize squared mismatch to their normalized separator targets, separately for each molecule. They use unit observation weights, zero weight-regularization strength and no hard measurement restrictions. J2 uses the full reference graph, whereas J3 uses the distance-selected candidate graph.

For an evaluated subset SS of pairs pooled across molecules, the reported length error is

RMSEÅ⁡(S)=(1|S|⁢∑e∈Sεe2)1/2,\operatorname{RMSE}_{\!\text{\AA}}(S)=\left(\frac{1}{|S|}\sum_{e\in S}% \varepsilon_{e}^{2}\right)^{1/2}, (75)

where εe=de⁢(tefit−teBCP)\varepsilon_{e}=d_{e}(t_{e}^{\mathrm{fit}}-t_{e}^{\mathrm{BCP}}) for a fitted model and εe=xelookup−de⁢teBCP\varepsilon_{e}=x_{e}^{\mathrm{lookup}}-d_{e}t_{e}^{\mathrm{BCP}} for the raw proatomic prediction. The midpoint error is εe=de⁢(1/2−teBCP)\varepsilon_{e}=d_{e}(1/2-t_{e}^{\mathrm{BCP}}). These are not means of per-molecule RMSE; molecules with more evaluated pairs contribute more terms. For J2’s direct BCP-target reference fit, the normalized-coordinate objective weights εe2\varepsilon_{e}^{2} by 1/de21/d_{e}^{2} in length-error notation and does not separately minimize the nonbonded subset error.

E.4 Candidate graphs and realized pairs

The nonperiodic molecular diagrams use atom-coordinate bounding boxes padded by 55 Å in the reference calculations. The distance cutoffs selecting J3’s input pairs are a separate choice.

Table 4: J3 candidate-pair sweep. RMSE in Å pools errors on all 3,975 realized reference pairs before visibility filtering. Precision and recall compare all connector-visible realized pairs, under the clipped-face convention in the text, with the fixed reference set. Counts of realized and visible pairs cover the whole diagram, including pairs outside the fitted candidates.
Cutoff (Å) Candidates Realized Visible RMSE Visible precision Visible recall
4.0 27,178 19,472 5,704 0.0746 0.6965 0.9995
4.5 32,991 19,463 5,700 0.0770 0.6970 0.9995
5.0 39,054 19,468 5,703 0.0786 0.6967 0.9995

A realized pair is counted as visible when the connector-line intersection belongs to its clipped face under the archived polygon-membership test (Chernyshov, 2026b). This numerical convention includes boundary points rather than requiring a strictly positive analytic gap. In orthonormal face coordinates measured in Å, the test treats oriented edge cross products of magnitude at most 10−1010^{-10} Å2 as zero. The resulting intersection_inside flag supplies the visibility filter in J3 and the eligible-face selection in J4b.

Table 4 collects the three cutoff settings. Every setting contains and realizes all 3,975 reference pairs, which are evaluated before visibility filtering. The visible subset retains 3,973 reference pairs in each setting.

Pairs outside the candidate set account for 2,360, 1,660 and 1,059 of the realized pairs at cutoffs 44, 4.54.5 and 55 Å, respectively; after visibility filtering, the corresponding counts are 21, 3 and 0. These counts illustrate why a score restricted to input pairs can differ from J3’s whole-diagram pair evaluation. Visibility is a post hoc filter here and does not trigger a new fit.

E.5 Local diagnostics and limits of the auxiliary checks

J4a compares the analytic formulas with diagnostics computed from the tessellation in the reference box. The visibility decisions agree on all 38,746 recorded faces. On the 11,677 visible faces, the maximum clipped-clearance discrepancy is 3.52×10−153.52\times 10^{-15} Å. The population consists of faces already reported by the tessellation; this check does not test detection of missing faces.

For J4b, eligible faces are realized, connector-visible under the convention of E.4, and nonbonded under the RDKit convention. Faces from all molecules are pooled separately for the ordinary Voronoi model and the J3 power fit at the 55 Å cutoff. The ranked clearance is ci⁢jΩc_{ij}^{\Omega} from Eq. (50); both clearance and face area refer to the clipped reference-box diagrams. Each population is ranked by decreasing clearance, decreasing face area, or increasing pair distance. Writing yk∈{0,1}y_{k}\in\{0,1\} for the QTAIM-reference label at rank kk and N+=∑kykN_{+}=\sum_{k}y_{k}, the archived average precision is

AP=1N+⁢∑kyk⁢∑ℓ≤kyℓk.\operatorname{AP}=\frac{1}{N_{+}}\sum_{k}y_{k}\,\frac{\sum_{\ell\leq k}y_{\ell% }}{k}.

It is the mean precision at the ranks occupied by positive reference pairs. The archived stable sort preserves record order for equal scores. This calculation is performed once on each pooled population, rather than averaging molecule-level AP values. The exploratory clearance cutoff of 0.500.50 Å in the source archive is not a calibrated classification rule.

The additional J4c molecular illustrations use fits to projected BCP targets, not J3’s proatomic candidate observations. They are therefore not used here as evidence for that prediction pipeline. J4d varies box margins over 33, 55, 77 and 1010 Å. Voronoi geometries are recomputed, giving 18,798, 19,278, 19,605 and 19,830 realized-pair records. In contrast, all 19,468 records for the fitted power diagrams are reused unchanged at each margin. These repetitions do not independently establish robustness of the fitted diagrams to a changed clipping box.