Manuscript Offprint
arXiv:2609.01319Matched Queries for Curvature and Density at Branching Junctions
Abstract
At a junction, a score field can reveal weighted tangent rays, but these rays do not determine how branches bend or how density changes away from the center. This missing information matters when local geometry is used to describe continuation beyond a single point. Small-noise expansions place curvature and density in the first correction, but do not establish whether finite observations can separate the branchwise contributions when the center is estimated. We study this inverse problem through matched queries at scales and . For a finite union of half-branches in , the normalized score satisfies . Matched subtraction cancels the tangent term and exposes , which is linear in branchwise curvature and log-density slope. Given tangent directions and weights, uniquely identifies all branch parameters on distinct rays; a geometry-dependent condition number governs stability as rays approach one another. The fixed component observations are also necessary. This is a scalar-information count rather than a count of vector-valued score-network evaluations. Under coarse-localization and full-rank calibration conditions, an center error adds translation modes, giving scalar observations except for a translation-invariant full line. We derive a perturbation bound and a conditional kernel-density-estimation (KDE) rate. Experiments recover the predicted population and trends and remain full rank up to with 16 supplied branches. A known-count frontend fitted directly to finite-noise scores composes with the inverse in : all 135 population systems are full rank, with median relative jet error 0.132. Under strong population first-order error, matched responses reduce median parameter error by 49.4 times relative to naive tangent subtraction.
1 Introduction
Score fields are learned by score matching [8], drive noise-conditional generative models [19, 20], and serve as local measurements of data geometry. Near a smooth manifold, they reveal tangent spaces, intrinsic dimension, and other first-order structure [12, 21, 22]. A junction, however, has no single tangent space. Its first-order description is a set of outgoing directions and relative masses. For
Corresponding author.
(a) Two finite-scale neighborhoods
(b) One weighted tangent limit

Figure 1: The same tangent geometry can hide different local structure. Tangent blow-up keeps branch directions and weights but removes curvature and outward density change.
local geometric recovery, that description is incomplete: it cannot tell how each branch continues away from the junction or how mass changes along it.
At leading order, a junction is therefore represented only by weighted tangent rays. The two neighborhoods in Figure 1 have the same such representation, yet bend differently and carry different outward density trends. Rescaling toward the junction removes these differences and leaves the same leading score field . The missing quantities survive only in the next-order term. Recovering them requires isolating a weak cross-scale signal, assigning a superposition of responses to individual branches, and controlling center error at the same asymptotic order.
Variation across noise scales offers a route to this hidden structure. Forward expansions near boundaries and corners show how curvature and density derivatives enter the first small-noise correction [3]. They map known geometry to its correction, but do not establish whether a superposed correction uniquely determines every branchwise coefficient from finite observations under center error. This inverse question matters because tangent geometry cannot test whether a score representation preserves how each branch continues through a junction.
The leading tangent field can be canceled rather than estimated. Consider a finite junction of one-dimensional branches in . Branch has direction , weight , curvature vector , and logarithmic density slope ; we call its branch jet. The normalized score obeys
where depends only on and is linear in the branch jets. Curvature displaces mass normally to a tangent ray, whereas density slope changes mass along it. Gaussian smoothing preserves these distinct signatures inside .
Querying the same normalized location z at scales and exposes G directly:
The common field cancels. With known directions and weights, scalar component evaluations become rows of a linear inverse problem. The superposed field determines every branch jet without an angular-separation assumption, and sD scalar observations are necessary and sufficient. This is an information count, not a forward-pass count: a score network usually returns all D coordinates at one location. Quantitative stability is governed by the condition number, which captures ray collisions and vanishing weights.
(a) Matched physical queries
(b) What survives subtraction
the common tangent field cancels

same center; same normalized z
curvature and density change remain
Figure 2: Matched physical queries use the same provisional center and normalized location. Their subtraction removes the shared tangent field, leaving curvature, density change, and the center correction visible.
The estimated center creates a second difficulty. Given an coarse localization and a full-rank weak calibration system, first-order score calibration gives . This physical error is small, but normalization promotes it to the same order as . Reusing the provisional center at both scales gives
Thus contributes known translation-shaped basis fields. Except when the tangent measure is invariant along a complete line, the branch jets and center bias remain jointly identifiable from scalar observations, and estimating refines the center to .
-
A locally uniform two-term expansion and matched scale difference make the correction observable by canceling the tangent field rather than estimating and subtracting it.
-
Fixed continuous schemes have scalar-information complexity sD. An augmented inverse jointly identifies the center bias and branch jets with complexity , except for the intrinsic full-line ambiguity.
-
A perturbation bound separates finite-scale, score, center, and first-stage errors and yields a conditional KDE rate.
Evidence. Across 180 population fits in , the median remainder exponent is 0.998, matching the predicted order. Controlled-perturbation scale-up remains full rank through D = 20 and 16 supplied branches. The phase map shows a 184-fold error contrast between near-collision and well-separated corners, and matched responses are 49.4 times more accurate than naive subtraction under strong population first-order error.
A known-count frontend fitted directly to finite-noise scores runs end to end in D = 3–5. All 135 population systems are full rank, with median relative jet error 0.132. KDE scores retain a median maximum tangent error of 0.0222 radians and provide measurable jet recovery with median relative error 0.957 under a fixed 131,072-sample budget; at , the dimensionwise medians improve to 0.688–0.810. For learned scores, median jet error reaches its minimum before score RMS. Together, these experiments test finite observations, imperfect first-order geometry, sampling, and learned scores.
2 Model and Second-Order Target
First-order geometry consists of tangent directions and relative masses; the second-order target is curvature and density change. Let be the junction center. In a neighborhood of , assume
plus a finite remainder supported away from . The curves are parameterized by arc length and satisfy
Distinct branches have distinct . Arc-length parameterization implies .
Assumption 2.1 (Uniform jet remainder). For some and finite constants ,
for , and .
The weighted tangent measure is
A score cannot see its total scale, so the weights may be normalized to sum to one. The known first-order geometry is ; the target is
Here measures bending and measures outward log-density change.
Let , where is the centered Gaussian density with covariance , and define
Write the repeated one-dimensional Gaussian integrals as
The leading scalar transform and its first correction are
(a) Density slope

mass changes along the ray
(b) Curvature

the branch moves normally
Figure 3: Two distinct order- signatures. Density slope changes mass along a tangent ray, whereas curvature moves the branch normally away from it.
3 Why Second-Order Geometry Appears Across Scale
The mechanism is visible before the formal expansion. At physical radius , both the density change and the normal displacement , after division by the observation scale , contribute at order . Gaussian smoothing therefore places both effects in the same correction .
Theorem 3.1 (Second-order junction expansion). Under Theorem 2.1, for every compact and every fixed integer , there are and such that
where is the locally rescaled Gaussian convolution after removal of its z-independent normalization. Consequently, for ,
with
records the tangent rays, whereas G superposes all branch jets. The expansion is forward; Section 4 proves that the superposition is uniquely invertible.
The proof substitutes into the curve and density expansions, expands the Gaussian kernel once, and integrates under a uniform Gaussian envelope. The far-away measure is exponentially small, and positivity of permits the logarithm. Section A gives the complete derivative and remainder argument.
For a fixed scale ratio , define
The two scores are evaluated at and , respectively, so they share the same normalized location .
Corollary 3.2 (Renormalized scale derivative). For fixed and compact Q,
Equivalently, .
Thus matched subtraction removes the common tangent field and exposes G without differentiating a noisy score.
If an exact tangent score were available, would have the same limit. The matched difference is preferable in practice because it cancels the leading field present in the observations themselves.
4 Recovering Branch Jets
With the two-scale response in hand, two questions remain: does it uniquely determine the branch jets, and how many scalar observations are needed? Both become finite-dimensional once the directions and weights are known.
Choose an orthonormal basis for and write , with . Define
Then
Thus each density slope and curvature coordinate multiplies a known response pattern.
Theorem 4.1 (Jet identifiability). Fix distinct directions and positive weights . The map
is injective over and .
The geometric reason is that density changes act along a ray, while curvature acts normally to it; a localized observation can therefore separate both from every other branch.
The proof represents the correction as a distribution on the tangent rays. Because Gaussian convolution is injective, a zero field implies a zero distribution. A test supported in a narrowing tube isolates one ray, first its normal curvature and then its tangential density change. Repeating this test proves uniqueness for distinct rays, although stability may deteriorate as two rays approach. Section B gives the full argument.
Theorem 4.2 (Sharp scalar-information complexity). Under the conditions of Theorem 4.1, there exist sD scalar component evaluations of G whose values uniquely determine all branch jets. Conversely, any fixed continuous observation scheme that identifies every jet vector in a nonempty open subset of requires at least sD scalar outputs.
Each branch contributes one density slope and curvature coordinates. One scalar observation is one coordinate at one location; because a network evaluation usually returns all coordinates, is a scalar-information count, not a forward-pass count.
Point-coordinate evaluations span the dual of the sD-dimensional space generated by Equations (20) and (21), so sD of them suffice. For necessity, invariance of domain rules out a continuous injection from an open subset of into fewer coordinates. In computation, we select well-conditioned rows from a larger candidate matrix; Section C gives the formal proof.
Algorithm 1 Two-scale branch-jet reconstruction
Require: First-order estimate , scales and , candidate normalized grid .
1: Construct the branch basis fields in Equations (20) and (21); for center-robust recovery, append Equation (28).
2: Select scalar point-coordinate rows by rank-revealing QR, or retain an overdetermined design.
3: At each selected , query the same center at and .
4: Form Equation (26) and solve least squares.
5: Return and, when applicable, .
(a) View normalized by

(b) View normalized by

Figure 4: The same physical center error occupies different lengths in the two normalized views: at scale and at scale . Both panels keep the query location z fixed.
5 Recovering Jets with an Imperfect Center
The previous section assumed the exact center . A score-only first stage instead returns a nearby point. The key question is whether its error hides the order- branch signal or can be estimated with it.
Proposition 5.1 (Center accuracy after local calibration). Fix smooth localized score tests around a bounded reference offset. If the resulting exact tangent-model least-squares matrix has full column rank, then using the finite-noise score from Theorem 3.1 returns a physical center of the form
for some bounded .
In normalized coordinates, the calibration error is order ; multiplying by the noise scale makes the physical error order .
The proposition is local: a coarse procedure must first place the calibration window within of . Section D gives the full weak-system and least-squares expansion. More generally, we allow any first stage satisfying
Use this same physical center at both noise scales and define
Theorem 5.2 (Center-bias expansion). Under Theorem 2.1 and Equation (25), uniformly on compact normalized query sets,
where is the Jacobian of the tangent score.
The shared physical offset becomes at the small scale and at the large scale, so their mismatch has a known translation shape.
The proof expands at the two normalized offsets and subtracts them. All quadratic shift terms are smaller than the retained order. The complete Taylor calculation is in Section D.
Append the D known translation fields
The inverse now has coordinates. The only intrinsic exception is a tangent measure that is unchanged by translation along a nonzero direction; for a finite positive ray junction, this requires a complete line formed by opposite rays with matching density.
Theorem 5.3 (Center-robust identifiability and scalar information). If is not invariant under any nonzero translation, the map
is injective. Consequently, fixed scalar component evaluations are sufficient, and fewer than fixed continuous scalar observations cannot identify every parameter vector in an open set.
Unless the junction itself is translation-invariant along a full line, a center shift cannot imitate branchwise curvature and density changes.
A narrowing-tube test first removes curvature and center components normal to each ray. The endpoint term can cancel only in the full-line case. Otherwise b = 0, and Theorem 4.1 removes the density terms. Section D gives the proof and formal invariance criterion.
Estimating b immediately refines the center:
If , then .
6 Error Propagation and Finite Samples
Finite-scale approximation, score noise, and first-stage geometry error determine accuracy. Let for a known center and for joint center recovery. Select scalar evaluations, stack the exact basis rows into , and let be the corresponding two-scale response for parameter vector .
Theorem 6.1 (Deterministic perturbation bound). Assume . Let the implemented design be and the observed response be . If , the least-squares estimator obeys
If the two normalized score fields have stacked errors and , and the center remainder in Equation (25) is , one may take
Errors in recovered directions and weights enter through E by smooth dependence of the basis on the first-order geometry over any declared separated, positive-weight class.
The bound makes conditioning explicit: finite-scale bias and response noise are amplified by the inverse smallest singular value of the selected design.
The bound follows from the pseudoinverse identity and Weyl's inequality; Section E gives the proof. Its main message is the decomposition: scale differencing divides normalized-score noise by , while an unmodeled physical center remainder is divided by .
Corollary 6.2 (Kernel-density score rate). Assume a fixed finite query design, a positive lower bound on local tangent mass, bounded branch jets, and the conditions of Theorem 6.1. For N independent samples and fixed , the score of the empirical Gaussian kernel density estimate (KDE) gives, with probability at least ,
Ignoring the lower-order Bernstein term and assuming a comparably accurate first stage,
The variance term reflects two losses: only samples fall locally, and the scale difference contributes another factor .
The rate balances the deterministic remainder against the scale-differenced sampling fluctuation. A learned score enters the same response bound through its errors at both scales. Thus cross-scale consistency, rather than accuracy at either scale alone, is the quantity that controls second-order recovery.
7 Experiments
Each experiment tests one proof interface: finite-scale expansion, query conditioning, sampling, first-stage composition, or learned-score consistency. All results use the retained paper configuration; Section F gives full grids, seeds, hardware, and tables.
Finite-scale expansion. Across 180 population fits in , the median remainder exponent is 0.998 (5th–95th percentile 0.957–1.03), with median 1. Exact- and -biased-center runs follow the predicted order in Theorems 3.1 and 5.2, providing an independent numerical check of the analytic results (Figure 6).
Scalar information versus stable designs. At response-noise RMS and twice the parameter count, determinant-maximizing (D-optimal) row selection attains median relative error 0.00552, 2.89 times lower than random selection. Overdetermination and conditioning-aware rows increase the smallest singular value: Theorem 4.2 gives the information limit, whereas design controls noise amplification.
How geometry controls stability and scale. The 42-cell phase map in Figure 5a has 20 seeds per cell. From (3°, 0.01) to (45°, 0.2), median error falls from 0.698 to 0.00379 (184-fold) and condition number from to 24.6. All 200 scale-up systems remain full rank through D = 20, 16 branches, 340 unknowns, and 680 queries. These runs use perturbed supplied geometry; the frontend study below covers D = 3–5. In the largest case, strong first-order perturbation raises error from 0.0825 to 85.6, so first-stage accuracy controls error even when rank is preserved.

Figure 5: Stability and response construction. (a) Median error over 20 seeds per angle-weight cell grows as rays collide or weights vanish. (b) Paired naive/matched error ratio; values above one favor the matched response. Bands are interquartile ranges.
Why match two scales? Naive subtraction divides first-order error by the base scale. Its population error is 7.75, 26.6, and 49.4 times the matched error under mild, moderate, and strong perturbations; the smallest-scale strong ratio is 143. KDE noise reduces it to 1.96. The exact- curve is an idealized reference for perfect nuisance removal; with estimated geometry, matched responses avoid the amplification (Figure 5b).
Finite-sample kernel density estimates. Across four planar junctions and twenty seeds, all seed-bootstrap 95% intervals contain the predicted slope, and error falls by 52.1–66%. Seed halves select bandwidth multipliers within 0.4 in 68.8% of comparisons; the dense [1.8, 3.2] sweep identifies a broad stable operating region across geometries (Figure 7).
Estimated first-order frontends. On planar junctions, a Fourier-based frontend estimates branch count, directions, and weights. Blind count accuracy is 100% for population and 98.8% for KDE scores. A separate known-count frontend fits the same first-order quantities directly from finite-noise scores in D = 3–5 with up to 6 branches. All 270 second-stage systems are full rank. Population runs have median maximum tangent error 0.0197 radians and median relative jet error 0.132. With KDE scores, these medians are 0.0222 and 0.957; at , the dimensionwise median jet errors range from 0.688 to 0.810 (Table 6). Changing the query rows has negligible effect (median error ratio 1). In population runs, the estimated basis absorbs part of the finite-scale remainder, giving an estimated/exact-basis error ratio of 0.611 (Figure 9).
Learned scores. Across 20 base jobs, the training trajectories separate single-scale score fit from recovered-jet accuracy. In the enlarged hard-case study (width 256, 6 blocks, 50000 updates), median jet error reaches 0.511 at 40000; score RMS continues to improve to 0.0143 at the final checkpoint, where jet error is 0.676. This controlled synthetic experiment isolates cross-scale consistency as the mechanism used by the inverse (Figures 9 and 10).
The support material contains the experiment code and its full configuration; each entry point writes its numerical observations as CSV files (Section F).
8 Related Work
Classical work reconstructs manifolds and estimates tangent spaces or curvature from samples [1, 6, 7, 14, 15, 17]; score methods recover first-order and smooth-support geometry, including weighted singular tangents [5, 9, 12, 21, 22, 25]. Our target is instead the branchwise second-order continuation of a singular junction on supplied rays.
Denoising identities expose local scores [2, 23], and forward asymptotics derive their density and curvature corrections [3, 18, 24]. Those results map known geometry to a correction. We solve the converse coefficient problem: uniquely decomposing the superposed correction with finite scalar information while accounting for center translation. Unlike Prony and super-resolution, the unknowns are coefficients on supplied rays, not atom locations [4, 10, 11].
9 Limitations and Conclusion
Limitations. The theory covers zero-thickness half-branches, positive densities, Gaussian smoothing, two known scales, branch correspondence, and supplied first-order geometry. The condition number quantifies the effect of ray collisions and vanishing weights, and the KDE rate is conditioned on first-stage accuracy. Experiments separate full-pipeline recovery with known counts in D = 3–5 and blind planar counts from second-stage scaling through D = 20 and 16 branches with supplied perturbed geometry. The full-line case exhibits the intrinsic translation symmetry, while learned-score runs isolate cross-scale consistency on controlled synthetic junctions.
Conclusion. The first score correction has an inverse role: on supplied distinct rays, its superposed field uniquely determines how every branch bends and how its density changes. Matched subtraction makes the correction observable with sharp scalar-information complexity, while translation modes accommodate imperfect localization. Known-count experiments carry score-estimated first-order geometry through the inverse in D = 3–5, and the supplied-geometry interface scales to larger systems. The stability map, matched-response comparison, and learned-score trajectories identify the geometric and statistical conditions that govern accuracy. Branch jets thus test whether a score field retains junction continuation and provide a target for thicker supports, higher-dimensional strata, pretrained models, and adaptive queries.
References
[1] Eddie Aamari and Clément Levrard. Nonasymptotic rates for manifold, tangent space and curvature estimation. The Annals of Statistics, 47(1):177–204, 2019. doi: 10.1214/18-AOS1685.
[2] Guillaume Alain and Yoshua Bengio. What regularized auto-encoders learn from the data-generating distribution. Journal of Machine Learning Research, 15(110):3743–3773, 2014.
[3] Nicolas Brosse and Arnak S. Dalalyan. Boundary-layer asymptotics for gaussian-smoothed singular measures. arXiv:2607.04514, 2026.
[4] Emmanuel J. Candès and Carlos Fernandez-Granda. Towards a mathematical theory of super-resolution. Communications on Pure and Applied Mathematics, 67(6):906–956, 2014.
[5] Willem Diepeveen, Georgios Batzolis, Zakhar Shumaylov, and Carola-Bibiane Schönlieb. Score-based pullback riemannian geometry: Extracting the data manifold geometry using anisotropic flows. In International Conference on Machine Learning, 2025.
[6] Herbert Federer. Curvature measures. Transactions of the American Mathematical Society, 93(3):418–491, 1959. doi: 10.1090/S0002-9947-1959-0110078-1.
[7] Christopher R. Genovese, Marco Perone-Pacifico, Isabella Verdinelli, and Larry Wasserman. Minimax manifold estimation. Journal of Machine Learning Research, 13(43):1263–1291, 2012.
[8] Aapo Hyvärinen. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6(24):695–709, 2005.
[9] Andrey Kharitenko, Zebang Shen, Riccardo De Santi, Niao He, and Florian Dörfler. Landing with the score: Riemannian optimization through denoising. In International Conference on Learning Representations, 2026.
[10] Stefan Kunis, Thomas Peter, Tim Römer, and Ulrich von der Ohe. A multivariate generalization of prony's method. Linear Algebra and its Applications, 490:31–47, 2016.
[11] Stefan Kunis, H. Michael Möller, and Ulrich von der Ohe. Prony's method on the sphere. SMAI Journal of Computational Mathematics, S5:87–97, 2019.
[12] Xiang Li, Zebang Shen, Ya-Ping Hsieh, and Niao He. When scores learn geometry: Rate separations under the manifold hypothesis. In International Conference on Learning Representations, 2026.
[13] James R. Munkres. Topology. Prentice Hall, 2 edition, 2000.
[14] Partha Niyogi, Stephen Smale, and Shmuel Weinberger. Finding the homology of submanifolds with high confidence from random samples. Discrete & Computational Geometry, 39(1–3): 419–441, 2008. doi: 10.1007/s00454-008-9053-2.
[15] Umut Ozertem and Deniz Erdogmus. Locally defined principal curves and surfaces. Journal of Machine Learning Research, 12(34):1249–1286, 2011.
[16] Iosif Pinelis. Optimum bounds for the distributions of martingales in banach spaces. The Annals of Probability, 22(4):1679–1706, 1994.
[17] David Preiss. Geometry of measures in : Distribution, rectifiability, and densities. Annals of Mathematics, 125(3):537–643, 1987.
[18] Divit Rawal. Rao-blackwellized score matching on manifolds. arXiv:2605.25567, 2026.
[19] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems, volume 32, 2019.
[20] Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
[21] Jan Pawel Stanczuk, Georgios Batzolis, Teo Deveney, and Carola-Bibiane Schönlieb. Diffusion models encode the intrinsic dimension of data manifolds. In International Conference on Machine Learning, 2024.
[22] Enrico Ventura, Beatrice Achilli, Gianluigi Silvestri, Carlo Lucibello, and Luca Ambrogioni. Manifolds, random matrices and spectral gaps: The geometric phases of generative diffusion. In International Conference on Learning Representations, 2025.
[23] Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23(7):1661–1674, 2011. doi: 10.1162/NECO_a_00142.
[24] Zixuan Zhang, Kaixuan Huang, Tuo Zhao, Mengdi Wang, and Minshuo Chen. Diffusion model for manifold data: Score decomposition, curvature, and statistical complexity. arXiv:2603.20645, 2026.
[25] Ziqi Zhao and Qingjian Ni. Recovering weighted tangent geometry from a single-scale score field. arXiv:2608.22334, 2026.
A Proof of the two-term expansion
The local argument below tracks every power of . Constants may depend on the compact query set, the branch count, the jet bounds, , , and the far mass, but not on .
A.1 A Gaussian envelope
Lemma A.1 (Polynomial Gaussian envelope). Fix a compact . There are and constants such that the following holds. Let , , and let for , with . For every fixed mixed-derivative order of in ,
The same form holds for vector and matrix derivatives.
Proof. Let . Since , for we have . For bounded , every polynomial factor is absorbed into the constant. Derivatives of a Gaussian equal a polynomial in times the same Gaussian, giving the claim.
A.2 Expansion of the rescaled convolution
After changing variables , remove the common factor and write
where .
By Equation (7),
Decrease if needed so that for . Taylor's theorem and Theorem A.1 give, uniformly in ,
The last inequality uses and . Since and ,
Likewise, Equation (8) gives
Multiplying Equations (38) and (41), collecting the order-zero and order- terms, and applying the envelope to cross terms yields
(42) with
The right-hand side is integrable on . Extending the tangent integrals from to infinity contributes a Gaussian tail smaller than every power of .
For the far measure, . On a compact normalized query set and for small , . Hence the rescaled far denominator and its z-gradient are bounded by a polynomial in times , again smaller than . Integrating Equation (42) proves Equation (15).
Finally, is strictly positive and has a positive minimum on . Write . For every fixed , the preceding envelope applies to all -derivatives through order . The map is smooth on a compact interval bounded away from zero, so composition in gives
which proves Equation (16).
B Distributional proof of jet identifiability
Let . The tangent transform is . Associate to the jet parameters the tempered distribution
Direct evaluation on the translated kernel gives
(46)
where .
Suppose . Since and is connected, implies . Thus . Taking Fourier transforms in the space of tempered distributions gives
The Gaussian multiplier is everywhere positive, so .
Fix branch and an interval such that the compact ray segment has a tubular neighborhood disjoint from the other rays and the origin. In local coordinates , , choose with and arbitrary . Then , and all branches except vanish by support. Equality gives
Arbitrary and imply .
Now take and . Then
(49) for every . Hence on . Since contains more than one point, and . Repeating for every branch proves the nullspace is trivial. Applying the result to the difference of two parameter collections proves Theorem 4.1.
C Finite evaluations and the query lower bound
Lemma C.1 (Evaluation basis). Let be linearly independent as functions. Then there exist pairs , , such that the matrix [e_r_m^\top f_\ell(x_m)]_m, \ell=1 is nonsingular.
Proof. Let . Point-coordinate evaluations separate points of : if every such functional vanishes on , then is the zero function. Therefore their restrictions span . Select of them forming a basis of ; their matrix in the basis is nonsingular.
By Theorem 4.1, the fields in Equations (20) and (21) are linearly independent, so Theorem C.1 proves the upper bound in Theorem 4.2. For the lower bound, restrict the parameter vector to a nonempty open box in . Any fixed continuous scheme with scalar outputs induces a continuous injective map from that box to . If , compose with the standard coordinate embedding . Invariance of domain [13] would make the image open in , although it lies in a lower-dimensional coordinate subspace, a contradiction.
D Center Calibration and Center-Robust Identifiability
D.1 Why weak calibration has a physical error
Let with bounded , and use normalized coordinates . The normalized finite-noise score can be written
on every compact set containing the test supports. For a smooth localized test , the corresponding weak-calibration row and response are
Both maps are smooth polynomial functionals of u on the compact test supports. Substitution of Equation (50) therefore gives
The exact tangent identity gives with because each branch is one-dimensional. If has full column rank, the least-squares solution is
The full-rank least-squares map is smooth in a neighborhood of . Differentiating its normal equations, or expanding the pseudoinverse, yields
(55) where the apparent derivatives of cancel because . If denotes the first D coordinates of the order- coefficient, the physical center returned by the calibration is
This proves Theorem 5.1. It also makes the role of the local-window assumption explicit: a separate coarse procedure must place the reference within of .
D.2 Two-scale center expansion
To prove Theorem 5.2, put and . Uniform regularity of Equation (16) and a Taylor expansion give
Terms quadratic in and products of with the order- correction are , which is contained in for . Subtraction proves Equation (27).
Definition D.1 (Translation lineality). The tangent measure has translation lineality if there exists such that for every . For a finite positive ray junction, this can occur only along a complete line represented by opposite rays with matching density.
For injectivity, suppose the augmented field in Equation (29) is zero. Since
(59)
Hence . Distributional differentiation commutes with convolution, so Gaussian injectivity yields
Use the same tube around an interior segment of ray . For a test function whose value is zero on the ray and whose normal gradient is arbitrary, Equation (60) becomes
Therefore for all , which implies
for every j. Thus b is parallel to every ray direction.
With the normal part removed, is supported at the common endpoint. Indeed, for a smooth compactly supported ,
Neither nor the remaining density-slope distribution has an atom at zero, so the coefficient must vanish. Under Equation (62), this cancellation is equivalent to lying in a translation-lineality direction of the finite ray measure. The no-lineality assumption gives . The argument in Section B then gives . Linear independence and the query count follow exactly as in Theorem C.1 and the invariance-of-domain lower bound.
E Perturbation Composition and Finite-Sample Score Error
E.1 Deterministic least-squares composition
Let be the branch-jet vector, with the center coefficient appended in the augmented model. After selecting scalar point-coordinate evaluations, write
where is the limiting design and is the finite-scale remainder from Theorems 3.2 and 5.2. The implemented design and response are and . Whenever has full column rank,
Weyl's inequality gives , which proves Equation (31).
Suppose the normalized score vectors at the selected queries have stacked errors and . Scale differencing contributes at most
If the provisional center has an additional physical remainder , its normalized displacements are and . A mean-value bound for the two normalized score fields, followed by division by , gives
This proves Equation (32).
Finally, for a fixed finite candidate set the map from distinct directions and positive normalized weights to every design entry is smooth: the ray-Gaussian integrals and their derivatives are dominated by polynomial Gaussian envelopes, and is uniformly positive. Hence on a compact first-order class with angular separation and minimum weight ,
after the branch correspondence is fixed. This is the explicit “first-stage design error” term used in the end-to-end experiment.
E.2 A simultaneous empirical KDE score bound
At a physical query x, define
with means and . The normalized population and empirical KDE scores are and . The elementary envelopes
follow by maximizing and using .
Let . Scalar Bernstein for and a Hilbert-space Bernstein inequality for [16], followed by a union bound over queries, imply with probability at least that simultaneously
Whenever , direct ratio subtraction gives
On a declared compact normalized query set for a one-dimensional branch junction, positivity and the local density lower bound give for all sufficiently small , while is bounded. If , Equation (74) simplifies to
The same bound holds at with constants depending on fixed .
Substituting Equation (75) into Equation (67), absorbing the fixed finite design and into the constant, and adding Equations (64) and (69) yields
Here collects the center remainder and the tangent direction/weight error after multiplication by their deterministic Lipschitz constants. Under sample splitting, or under an independently validated first stage whose contribution is no larger than the displayed stochastic terms, balancing and gives Equation (34). The term is lower order at that bandwidth for every .
E.3 Learned-score error units
If a learned physical score has pointwise error , then its normalized score error is . Consequently the two-scale response error is bounded by
The bound shows why a small average score loss does not certify the cross-scale derivative: the errors at the two scales must also be aligned, not simply small in isolation.
F Experimental Design and Reproduction Details
F.1 Experiment-to-claim map
| Question | Script and primary output | Interpretation |
|---|---|---|
| Does the finite-scale remainder have order ? | run_population.py; parameter error and refined-center error over decreasing | Numerical check of Theorems 3.1 and 5.2 alongside the analytic proof. |
| Can the sharp query theorem be implemented stably? | run_query_design.py; , condition number, error under response noise | Compares D-optimal, pivoted-QR, random, and uniform scalar rows. |
| Does sampling create the predicted bias-variance tradeoff? | run_kde.py; score error, two-scale response error, jet error, effective sample size | Tests the conditional trend in Theorem 6.2 on the retained twenty-seed grid. |
| Does the first-order front-end compose with the jet inverse? | run_end_to_end.py; branch count, tangent error, jet/center proxy error | Separates known-count, blind-count, and exact-first-order interfaces. |
| Does score-estimated geometry compose beyond the plane? | run_general_end_to_end.py; center, tangent, weight, and jet errors in | Tests the known-count score-to-jet pipeline without supplied directions or weights. |
| Does ordinary score training preserve the two-scale derivative? | run_learned_score.py; score RMS, scale-difference RMS, jet error | Isolates cross-scale consistency on controlled synthetic junctions. |
| How do angle and minimum weight control stability? | run_stability_phase.py; singular values, condition number, relative error | Separates exact identifiability from uniform stability over 42 cells. |
| Does the inverse remain tractable in larger systems? | runscalability.py; rank, error, timing through and 16 branches | Tests computation and sensitivity to first-order perturbations. |
| Why match two scales instead of subtracting a tangent estimate? | run_response_baselines.py; paired response and parameter errors | Compares the proposed response with naive subtraction and an exact- diagnostic. |
| Which E4 interface produces the observed error? | run_end_to_end_diagnostics.py; crossed basis and query-row policies | Separates first-order basis error, row choice, finite-scale remainder, and KDE noise. |
| Does a larger learned score solve the inverse mismatch? | run_learned_score.py; six hard-case jobs through 50k updates | Width-256, six-block follow-up; checkpoint conclusions remain post hoc. |
Table 1: Every experiment targets a distinct proof interface.
F.2 Geometries and exact population evaluation
Each synthetic branch is a constant-curvature arc
with the continuous straight-ray limit at . This curve is exactly arc-length parameterized, satisfies , and has nonzero higher-order terms. The density is
(79) where the quadratic coefficient keeps the finite-radius sampling distribution well behaved without changing the target slope . The normalized population score is evaluated as a Gaussian-weighted first-moment/zeroth-moment ratio using fixed Gauss–Legendre quadrature. It is never obtained by numerical differentiation.
The analytic design uses the posterior moment identities
and corresponding differentiated ray moments for the density and curvature columns. The implemented design uses this column order and sign convention, the center coefficient , exact planar tangent reconstruction, and generic-rank constructions in .
F.3 Population and finite-query matrices
The population matrix crosses ambient dimension, branch count, random seed, scale ratio, true versus -biased center, and decreasing base scale. Directions are generated with a minimum angular separation, weights are positive and normalized, and curvature/density-slope coordinates are independently sampled inside declared bounds. The fitted exponent uses only the smallest configured scales.
For query design, a candidate normalized grid is built independently of the unknown second-order coefficients. Every point contributes D possible scalar component rows. We compare:
-
Greedy D-optimal: sequentially maximize with a small ridge;
-
Pivoted QR: select a rank-revealing minimal basis, then add high-norm rows;
-
Random: uniform sampling without replacement;
-
Uniform: equally spaced row indices, retained as a deliberately geometry-agnostic baseline.
The response perturbation has a configured RMS and is regenerated from a recorded seed. The code records scalar-query count, number of unique physical locations, rank, , condition number, and relative parameter error.
F.4 Stability phase, scale-up, and response baselines
The stability phase experiment uses three planar rays with configured minimum angles and weights drawn from
Each of the 42 cells has 20 seeds, response-noise RMS , and twice as many scalar queries as unknowns. We retain the entire grid, including the high-error near-collision cells. The full grid characterizes the transition across angle and weight without imposing a universal separation threshold.
The scale-up crosses , ten seeds, and four first-order perturbation levels. Direction/weight RMS pairs are , , , and . Every case uses , , and twice the parameter count in scalar queries. Timing separates population-response evaluation, row design, and least-squares solution.
The response baseline uses four planar geometries, ten seeds, four base scales, population and KDE scores, and the same four perturbation levels. Three methods share fixed exact-geometry query rows: the matched two-scale response, naive subtraction of a tangent field, and an exact- diagnostic. The exact- diagnostic is an idealized reference that isolates the cost of estimating the nuisance field. Method ratios are paired before aggregation.
F.5 KDE and estimated frontends
A branch is selected according to its finite-radius mass and its radial coordinate is sampled by an inverse CDF. Empirical Gaussian KDE scores are evaluated exactly from the stored samples, with a per-query log-weight shift for numerical stability. The effective sample size
is recorded at both scales. One sampled dataset is reused across the bandwidth sweep for a paired comparison.
The planar first-stage frontend queries a tangential score on an equally spaced shell, spectrally integrates the circular log density, divides by the positive Gaussian-ray Fourier multipliers, infers Toeplitz rank, recovers directions through a matrix pencil, and fits nonnegative weights. The end-to-end experiment reports known-count and blind-count variants separately. The second-order error is evaluated only when the recovered count matches, and a separate exact-first-order row isolates the second stage.
The nonplanar frontend treats the branch count as known and fits the leading tangent-ray score directly. Its variables are a normalized center offset, hyperspherical branch directions, and softmax-normalized weights. Multistart nonlinear least squares uses shell and interior score queries; the fitted center and first-order geometry then determine the second-stage query rows. Ground-truth directions and weights enter only the final permutation alignment and error calculation. The grid crosses , branch counts , five seeds, population and KDE scores, and base scales . KDE rows use 131,072 curve samples. Every case also includes an exact-first-order diagnostic evaluated at the same fitted center.
The crossed E4 diagnostic uses the same four geometries, five seeds, four scales, known/blind counts, population/KDE scores, and 32,768 samples. For every successful first stage, it independently crosses an estimated or exact first-order basis with rows selected from estimated or exact geometry. This separates coefficient-basis error from row-selection error. A failed blind-count case produces one explicit sentinel instead of four inverse rows; count accuracy includes that sentinel, whereas error summaries contain only successful inversions. Median relative error changes by a factor of 1 when the row policy is switched. In population scores, the estimated-basis/exact-basis ratio 0.611 reflects finite-scale bias cancellation: the estimated tangent basis can absorb part of the remainder, so the comparison diagnoses bias absorption rather than geometric accuracy.
F.6 Learned-score protocol and hardware scaling
The network predicts the normalized score from a normalized noisy location and a bounded-frequency sinusoidal encoding of . Clean samples are restricted to radius 1.25 around the junction, and the noise scale is drawn log-uniformly across the configured interval. Training samples
then minimizes . The residual MLP has width 128, four blocks, eight sinusoidal frequencies up to 8, and 135042 trainable parameters. Each job starts from 32,768 physical samples, of which 7544–8110 fall within the radius cutoff. AdamW uses batch size 1,024, initial learning rate , weight decay , and gradient-norm clipping at 10. A cosine schedule decays to 5% of the initial rate over 20,000 updates. Evaluation uses an exponential moving average with decay 0.999 after a 1,000-update warmup at checkpoints .
All geometries, initializations, sample draws, minibatches, and noise draws use recorded integer seeds. The base configuration has one independent job per geometry–seed pair. The launcher assigns the 20 jobs round-robin across two NVIDIA GeForce RTX 3090 GPUs; each process sees one device as cuda:0. Median job time is 241 seconds, aggregate GPU time is 1.33 hours, and dual-GPU wall time is seconds.
The scale-up retains the two harder four-ray geometries and three seeds, increases the model to width 256 with 6 residual blocks, uses 65,536 physical samples, and trains through 50000 updates. The seven checkpoints are k. The 6 jobs were run concurrently on one RTX 3090; median per-job wall time was 736 seconds. Independent population and empirical score evaluations diagnose the same controlled synthetic distribution. Jet-error checkpoint selection is reported post hoc; the nonmonotone parameter trajectory is the mechanism under study.
F.7 Support Material
The anonymous package contains analysis/configs/paper.yaml, ten experiment entry points, and the shared numerical routines they import. The entry points cover the eleven studies above because run_learned_score.py accepts both the base and scale-up configurations. Each script writes only CSV output to an ignored results/ directory. The package contains neither generated results nor code for manuscript figures or tables. Exact commands and the mapping from scripts to experiments appear in analysis/README.md.
F.8 Generated tables and additional figures
The following tables report aggregates from the experiment CSVs and are included here for completeness.
| center | median slope | IQR | median | instances | |
|---|---|---|---|---|---|
| 2 | biased | 1.005 | [0.993, 1.021] | 1.0000 | 30 |
| 2 | true | 0.992 | [0.978, 1.003] | 1.0000 | 30 |
| 3 | biased | 1.003 | [0.989, 1.009] | 1.0000 | 30 |
| 3 | true | 0.999 | [0.992, 1.010] | 1.0000 | 30 |
| 5 | biased | 0.996 | [0.988, 1.001] | 1.0000 | 30 |
| 5 | true | 0.999 | [0.992, 1.002] | 1.0000 | 30 |
Table 2: Population finite-scale fits from the active result profile.
| design | median | median cond. | median relative error | 95th pct. |
|---|---|---|---|---|
| D-optimal | 0.468 | 23.2 | 0.00552 | 0.011 |
| pivoted QR | 0.321 | 42.7 | 0.00754 | 0.0151 |
| random | 0.138 | 33.6 | 0.016 | 0.0629 |
| uniform | 0.109 | 46.6 | 0.0195 | 0.0714 |
Table 3: Query-design summary at approximately twice the parameter dimension.
| geometry | error slope | seed-bootstrap 95% CI | theory | bandwidth slope |
|---|---|---|---|---|
| clustered four-ray | -0.189 | [-0.248, -0.134] | -0.200 | -0.184 |
| regular Y | -0.256 | [-0.327, -0.187] | -0.200 | -0.163 |
| weak four-ray | -0.231 | [-0.283, -0.196] | -0.200 | -0.200 |
| weak Y | -0.201 | [-0.266, -0.126] | -0.200 | -0.159 |
Table 4: Best bandwidth and error slopes on the retained twenty-seed grid.
| field | tangent input | count rate | median jet error | 95th pct. | median angle |
|---|---|---|---|---|---|
| kde | blind count | 98.8% | 1.77 | 5.78 | 0.0216 |
| kde | known count | 100.0% | 1.79 | 5.76 | 0.0214 |
| kde | exact first-order | 100.0% | 1.8 | 5.77 | 0 |
| population | blind count | 100.0% | 0.0396 | 0.0892 | 0.0177 |
| population | known count | 100.0% | 0.0396 | 0.0892 | 0.0177 |
| population | exact first-order | 100.0% | 0.0672 | 0.15 | 0 |
Table 5: Composition of the planar tangent frontend and the second-order inverse.
| Pop. angle | Pop. jet error | KDE angle | KDE jet error | |
|---|---|---|---|---|
| 3 | 0.0212 | 0.142 | 0.0235 | 0.975 |
| 4 | 0.0167 | 0.124 | 0.0206 | 0.967 |
| 5 | 0.0209 | 0.125 | 0.0219 | 0.927 |
Table 6: Known-count nonplanar composition from to . Entries are medians over 45 cases per source and dimension; angle errors are in radians, jet errors are relative, and every displayed design is full rank.
| geometry | seeds | score RMS | scale-diff. RMS | jet error | KDE jet error |
|---|---|---|---|---|---|
| clustered four-ray | 5 | 0.0149 | 0.231 | 0.972 | 0.861 |
| regular Y | 5 | 0.0164 | 0.215 | 0.34 | 0.277 |
| weak four-ray | 5 | 0.0169 | 0.238 | 0.746 | 0.599 |
| weak Y | 5 | 0.0203 | 0.303 | 0.761 | 0.677 |
Table 7: Final-checkpoint learned-score diagnostics.
| Regime | Angle | Min. weight | Median | Median cond. | Median rel. error |
|---|---|---|---|---|---|
| near collision | 3 | 0.01 | 0.0018 | 5.61e+04 | 0.698 |
| well separated | 45 | 0.2 | 0.553 | 24.6 | 0.00379 |
Table 8: Opposite corners of the angle-minimum-weight stability phase map.
| Score source | Perturbation | Median naive/matched | IQR | n |
|---|---|---|---|---|
| population | exact | 0.334 | [0.332, 0.337] | 160 |
| population | mild | 7.75 | [3.5, 15.7] | 160 |
| population | moderate | 26.6 | [10.2, 52.4] | 160 |
| population | strong | 49.4 | [21.4, 115] | 160 |
| KDE | exact | 0.863 | [0.652, 1.24] | 160 |
| KDE | mild | 0.893 | [0.676, 1.32] | 160 |
| KDE | moderate | 1.21 | [0.916, 1.78] | 160 |
| KDE | strong | 1.96 | [1.32, 3.09] | 160 |
Table 9: Paired naive-subtraction error divided by matched-response error.
| Case | Perturbation | Median rel. error | Median cond. | Response time (s) |
|---|---|---|---|---|
| D2/s4 | exact | 0.205 | 40.2 | 0.011 |
| D2/s4 | mild | 0.215 | 40.1 | 0.011 |
| D2/s4 | moderate | 0.259 | 38.2 | 0.011 |
| D2/s4 | strong | 0.609 | 38.5 | 0.011 |
| D3/s8 | exact | 0.524 | 169 | 0.022 |
| D3/s8 | mild | 0.52 | 143 | 0.022 |
| D3/s8 | moderate | 0.831 | 174 | 0.022 |
| D3/s8 | strong | 0.989 | 307 | 0.022 |
| D5/s8 | exact | 0.162 | 44 | 0.030 |
| D5/s8 | mild | 0.163 | 49.7 | 0.030 |
| D5/s8 | moderate | 0.311 | 60.3 | 0.030 |
| D5/s8 | strong | 0.556 | 117 | 0.030 |
| D10/s16 | exact | 0.124 | 99.8 | 0.096 |
| D10/s16 | mild | 0.161 | 104 | 0.096 |
| D10/s16 | moderate | 0.485 | 175 | 0.096 |
| D10/s16 | strong | 79.2 | 8.55e+03 | 0.096 |
| D20/s16 | exact | 0.0825 | 128 | 0.121 |
| D20/s16 | mild | 0.131 | 137 | 0.121 |
| D20/s16 | moderate | 0.408 | 162 | 0.121 |
| D20/s16 | strong | 85.6 | 2.43e+04 | 0.121 |
Table 10: Scale-up errors and timings. Every displayed cell has ten seeds and full column rank.
| Source | Basis | Rows | Projected error | Relative proxy error | Remainder | Cond. |
|---|---|---|---|---|---|---|
| population | estimated | estimated | 0.039 | 0.0781 | 0.0219 | 20.7 |
| population | estimated | exact | 0.0376 | 0.0741 | 0.0219 | 20.3 |
| population | exact | estimated | 0.0785 | 0.164 | 0.0387 | 20.8 |
| population | exact | exact | 0.0675 | 0.131 | 0.0375 | 20.4 |
| kde | estimated | estimated | 1.68 | 3.29 | 0.852 | 19.8 |
| kde | estimated | exact | 1.67 | 3.14 | 0.844 | 19.7 |
| kde | exact | estimated | 1.63 | 3.3 | 0.851 | 19.5 |
| kde | exact | exact | 1.66 | 3.44 | 0.833 | 19.5 |
Table 11: Crossed E4 diagnostic on successful inverse rows. “Basis” and “Rows” vary independently.
| Step | Score RMS | Response RMS | Parameter error | Parameter-error IQR |
|---|---|---|---|---|
| 1k | 0.0872 | 0.675 | 2.11 | [1.81, 2.9] |
| 5k | 0.0345 | 0.184 | 0.725 | [0.705, 0.768] |
| 10k | 0.0215 | 0.201 | 0.768 | [0.674, 1.03] |
| 20k | 0.0187 | 0.222 | 0.739 | [0.686, 0.977] |
| 30k | 0.0148 | 0.217 | 0.65 | [0.452, 0.931] |
| 40k | 0.0145 | 0.192 | 0.511 | [0.473, 0.648] |
| 50k | 0.0143 | 0.21 | 0.676 | [0.665, 0.708] |
Table 12: Width-256, six-block hard-case learned-score follow-up. Values are medians over six jobs.

(a) Predicted population order.

query budget / parameter count
query budget / parameter count
(b) Conditioning controls recovery.
Figure 6: Two theorem-facing checks. Lines show medians and bands show interquartile ranges. Left: exact- and joint-center errors follow the reference. Right: additional, well-selected scalar queries stabilize noisy recovery.

clustered four-ray
weak four-ray
sample size N
d
sample size N
Figure 7: KDE finite-sample rate by geometry. Faint points are individual seeds at the median-selected bandwidth; solid curves and bands show the seed median and interquartile range. Red references have slope . Insets report 5,000-resample seed-bootstrap percentile intervals.

base scale
b
KDE score field

base scale
Figure 8: First-order frontend followed by second-order recovery. Bands are interquartile ranges over correct-count rows. Population error decreases with scale; at fixed sample size, KDE variance reverses the trend. Blind-count accuracy is computed on all rows.

A better score need not improve the response
Inverse quality peaks before 50k steps
Figure 9: Supplemental diagnostics. (a) Dimension/branch scale-up under exact through strong first-order perturbations. (b) E4 with first-order basis (B) and query-row geometry (Q) crossed. (c–d) Width-256 learned-score follow-up through 50k updates; bands are interquartile ranges, and thin curves in (d) are all six jobs.

Figure 10: Learned-score diagnostics across seven checkpoints. Thin curves show all 20 jobs; thick curves and bands show the median and 5th–95th percentiles. Median jet error reaches its minimum at 5000 updates before score RMS reaches its lowest value; dotted and dashed lines are matched KDE and population baselines.