WorksEngineering
Local Consistency Does Not Guarantee Global Conservation: Auditing Zero-Shot Composition of Airway Flow Operators
Abstract
Neural operators approximate PDE solutions within a geometry family, but independently learned local operators need not form a consistent global simulator. We study frozen, single-pass composition for steady incompressible flow in idealized two-dimensional airway trees. Separate Tube, bifurcation, and trifurcation DeepONets are trained on 4,872 primitive CFD cases using field supervision and auxiliary divergence, port-flux, component-balance, and port-pressure penalties. The validation-selected deployment is frozen before whole-tree CFD fields are inspected and assembled without tree training, iterative coupling, flux correction, or CFD-informed adjustment. It retains major flow patterns and controlled pathology responses with 0.204-0.215 s CPU inference, but has a 22.68% prescribed-inlet-normalized external residual. A post-hoc sensitivity protocol, frozen before new training and evaluation, repeats Data, Div, and Full models across three seeds with Tube fixed. Relative to Data, Full reduces primitive composite scores by 26.7% for Y2 and 26.4% for Y3 and reduces assembled component-residual and interface-mismatch RMS by 7.2% and 16.6%, respectively. Nevertheless, mean tree velocity error increases by 7.5%, while external residual increases from 17.49 +/- 4.38% to 26.77 +/- 3.65%. Local regularization can therefore improve primitive and assembled local diagnostics without ensuring accurate global fields or conservation.
Introduction
High-fidelity numerical simulation is essential for analysing flow and transport in complex branching systems, but repeatedly solving geometrically detailed domains can be computationally expensive. Learned surrogates amortize this cost by mapping geometries and operating parameters to solution fields. A full-domain surrogate, however, must cover the distribution of complete configurations encountered at inference and offers limited reuse when similar local structures recur across systems. This motivates our central question: can operators learned independently on reusable physical primitives be frozen and composed into an unseen larger system without full-domain retraining?
Neural operators provide a natural framework for this question. Deep Operator Networks (DeepONets), Fourier Neural Operators (FNOs), and physics-informed DeepONets learn mappings between input functions or parameterized physical configurations and their solution fields [9, 11, 15]. Geometry-aware extensions such as GINO accommodate varying irregular geometries, but still predict a solution over each complete computational domain [10]. Generalization across full-domain geometries is therefore distinct from independently learning local component operators and assembling them into a previously unseen hierarchy: the latter additionally requires predictions from different operators to be mutually compatible at their interfaces.
Physics-informed objectives can improve local fidelity by incorporating differential-equation residuals, boundary conditions, conservation penalties, and interface or flux constraints [7, 15]. These constraints act within the domains on which they are imposed, whereas composition introduces additional system-level requirements. Consequently, low field and physics errors on isolated primitives do not imply a consistent assembled solution:
In an incompressible branching system, small component residuals can coexist with parent–child flux mismatches, incompatible pressure gauges, or errors that accumulate across successive generations.
Classical Schwarz methods obtain global consistency through iterative transmission of interface information [3]. Recent learned local-to-global solvers retain explicit coupling: Schwarz Neural Inference and Neural-Schwarz Tiling repeatedly update predictions over overlapping subdomains [6, 14], while CoMLSim combines local representations with iterative inference [13]. M2PDE instead generates coupled multiphysics or multi-component solutions by sampling from a joint generative model [17]. We study a deliberately stricter regime: independently trained operators are frozen and evaluated once, then assembled without iterative exchange, joint generation, flux correction, or projection. The contribution is therefore a controlled composition audit, rather than a converged learned domain-decomposition solver.
We investigate this regime using steady two-dimensional airway flow. Airway trees are organized as multigeneration tubular segments connected by branching junctions [5, 8]. Following the reusable primitive abstraction developed in RespGeomLib [16], we represent these structures as Tube, bifurcation (Y2), and trifurcation (Y3) components, here idealized in two dimensions to permit controlled auditing of component and interface errors. This setting preserves nontrivial velocity, pressure, resistance, and interface physics while allowing component and connection errors to be audited separately. The study is not a patient-specific respiratory model and does not claim unrestricted topology generalization or prediction of physiological terminal-flow redistribution. Here, zero-shot field composition is conditional on a predeclared terminal-flow allocation. Before any monolithic solution field is accessed, each component inflow is obtained from the sum of its descendant terminal flows and determines its parabolic inlet-speed scale; resistance inputs follow the training-row matching rule documented in Appendix § 6.§ 4. No assembled tree enters training, validation, selection, or correction, and Selected predictions are frozen before monolithic CFD velocity and pressure fields are inspected. The post-hoc sensitivity audit reuses primitive-selected checkpoints without tree-based selection.
We contribute a controlled audit of frozen, single-pass operator composition. The primary validation-selected deployment is archived before whole-tree CFD fields are inspected. A subsequent sensitivity protocol, frozen before new training and evaluation, repeats Data, Div, and Full branching operators over three seeds while holding Tube fixed. The resulting audit separates primitive consistency, assembled component and interface discrepancies, and the external boundary budget. It shows that improvements in the first two levels do not ensure improved global fields or conservation.
Algorithm 1. COMPOSETREE: frozen zero-shot composition and audit
Require: Tree ; component data ; frozen
for all do
end for
for all do
end for
return
| Setting | Value |
| Operators | Independent Tube, Y2, and Y3 DeepONets |
| Network | Branch/trunk , tanh; rank 128/field |
| Optimization | AdamW; LR ( refinement); WD ; clip 1.0 |
| Batch / samples | 8 cases; 256 field and 64 divergence points/case |
| Schedule | 20-epoch warm-up; 40-epoch ramp; patience 60; primary seed 2026; sensitivity 2026–2028 |
| Loss weights | .05/.10/.10/.05 for divergence/flux/balance/port pressure |
| Port integration | 32-point midpoint on pilot caps; 32-point Gauss–Legendre at tree interfaces |
| Frozen selection | Tube refine (1); Y2 ; Y3 |
Table 1. Essential implementation details. D/F: Data/Full; subscripts denote epochs.
Method
Primitive operators. An airway tree is represented as a directed graph , whose components are straight Tubes, bifurcations (Y2), or trifurcations (Y3). For component family , an independent DeepONet
maps geometry, inlet-speed scale, outlet resistances, and normalized local coordinate to two-dimensional velocity and pressure. The 4,872 geometry–operating-point cases comprise 1,000 Tube, 2,162 Y2, and 1,710 Y3 cases. Within each family, original-template groups are disjoint across the 3,412/737/723 train/validation/test cases. Each case stores 1,024 field samples; branch and target normalization statistics are fitted on training cases only (Appendix § 6.§ 1). No assembled tree enters training, validation, selection, or refinement.
Closure-aware learning. For port , with cross-section and outward normal , the signed flux and neural mean pressure are
Inlet flux is negative, and is the component mass residual. The Full model minimizes
The field term is equal-weight MSE over standardized ; is zero through epoch 20 and ramps linearly to one at epoch 60. compares the learned outlet-mean pressure with the stored CFD target, uses no resistance, and excludes inlet pressure; only pilot Y2/Y3 cases are supervised. Data uses field loss, Div adds divergence, and Full uses Eq. (2); primitive validation selects checkpoints on fixed Data/Full blends. Validation, selection, and auditing additionally form , which is not a pressure output, does not replace , and does not enter gauge alignment (Appendix § 6.§ 2).
Frozen zero-shot composition. Each component is predicted in its canonical frame and placed in the tree by
where and specify orientation and translation. Pressure is not rotated. Algorithm 1 aligns only its additive gauge using raw neural port pressures and reports conservation errors without modifying the predicted flow.

Figure 2. Held-out primitive predictions for Tube, Y2, and Y3: CFD and Selected DeepONet fields, velocity-vector error magnitude , and signed pressure error .
For interface , is the parent–child flux mismatch. The pressure offsets are determined only from neural interface pressures, with ; they change neither velocity nor pressure gradients. Geometry-only ownership is used without spatial blending, coordinate clipping, velocity rescaling, flux correction, target-flow forcing, or CFD-informed adjustment.
The external residual and prescribed-inlet-normalized imbalance , where , are diagnostic only. Geometry, graph, prescribed boundary conditions, and component metadata are predeclared; models, assembly rules, and predictions are frozen before monolithic velocity and pressure CFD fields are inspected. The three final monolithic-tree CFD references use FEniCSx/DOLFINx [2] with Taylor–Hood (vector-quadratic velocity/scalar-linear pressure) at bulk ; the L40–L45 maximum pressure-drop change is below (Appendix § 6.§ 3). Scoring uses one tree-wide pressure offset and no component-wise CFD-fitted shifts.
Results
Evaluation protocol. The Selected primitive checkpoints and tree arrays constitute the primary prediction-before-CFD-field-inspection evaluation. The Data/Div/Full comparisons are post-hoc after unblinding. Before training seeds 2027 and 2028, we froze their configurations, seeds, checkpoint-selection rule, evaluation order, and output locations. We then evaluated all 18 primitive checkpoints and all 27 matched-seed tree deployments without result-based substitution. Seed-2026 tree outputs reproduce the previous post-hoc arrays bitwise. All seed summaries are computed from individual runs and report mean sample SD; the three controlled tree conditions are not treated as statistical replicates.
Primitive seed sensitivity. Across all three matched seeds, both Div and Full lower the composite test score relative to Data for Y2 and Y3. Full lowers the mean score by 26.7% for Y2 and 26.4% for Y3, driven principally by divergence-MSE reductions of 90.5% and 75.0%. These improvements occur in all six matched family-seed comparisons. Field and port changes are less uniform: mean velocity changes are small, while Y3-Div increases flux RMSE by 15.5%. Auxiliary objectives therefore transfer robustly to the composite score and divergence, but not uniformly to every metric.
Blinded tree deployment. Figure 1(c) and Table 3(a) show that the Selected composition retains axial-flow organization and stenosis acceleration; CPU inference is 0.204–0.215 s. Its external boundary residual is 22.676%, versus for CFD. Prescribed inlet normalization, alternate normalization, and pathology details are in Appendices § 6.7, § 6.§ 5, and § 6.6.
Figure 1. (a) Local primitive CFD. (b) Family-specific DeepONets are trained with primitive-level auxiliary constraints and then frozen. (c) Single-pass whole-tree deployment is evaluated against CFD; global conservation is audited, not enforced.
Three-seed tree sensitivity. Full lowers the case-averaged component-residual and interface-mismatch RMS relative to Data in each of the three seeds; their mean reductions are 7.2% and 16.6%. Mean vector and speed increase by 7.5% and 2.4%, while pressure decreases by only 0.9%. External residual increases from 17.49 4.38% for Data to 26.77 3.65% for Full and is higher for Full in every seed. Div reaches 33.75 8.74%. Thus, improved primitive and assembled-local diagnostics do not guarantee improved global fields or external conservation.
tbl:3: Tree evaluation. (a) Selected deployment, frozen before CFD-field inspection. (b) Results averaged over the three controlled conditions within each seed, then reported as mean sample SD across seeds 2026–2028. Comp./Edge are 100 and 100 over all nine components and eight interfaces; External is condition-invariant. Conditions are not statistical replicates.
| Case | u Rel | Speed Rel | MAE (Pa) | Peak speed pred./CFD | CPU (s) |
| Normal | 0.594 | 0.376 | 0.085 | 0.135/0.157 | 0.209 |
| 30% stenosis | 0.554 | 0.348 | 0.094 | 0.181/0.197 | 0.204 |
| 30% dilation | 0.602 | 0.370 | 0.080 | 0.130/0.157 | 0.215 |
| Variant | u Rel | Speed Rel | Rel | Comp. RMS (%) | Edge RMS (%) | External (%) |
| Data | 0.498 0.039 | 0.371 0.018 | 0.834 0.010 | 15.55 0.31 | 13.96 1.95 | 17.49 4.38 |
| Div | 0.523 0.023 | 0.373 0.014 | 0.835 0.009 | 16.21 0.65 | 11.91 0.97 | 33.75 8.74 |
| Full | 0.535 0.063 | 0.380 0.017 | 0.827 0.009 | 14.44 0.74 | 11.64 1.48 | 26.77 3.65 |
Table 3.
Pathology attribution. Within each variant-seed, the condition-invariant external residual measures the external-port budget by telescoping and cannot localize internal error; signed attribution is in Appendix § 6.6.
Limitations
This non-clinical study treats steady laminar flow in idealized 2D rigid-wall airways, excluding patient anatomy, unsteadiness, wall motion, and turbulence. One topology with prescribed inputs and terminal flows is tested, not arbitrary topologies or physiological redistribution. Selected is one validation-fixed seed-2026 blend. The three-seed Data/Div/Full protocol was frozen before new training and evaluation but after original primitive-test and whole-tree CFD unblinding; gives descriptive, not inferential, variability. Pathology conditions are not independent replicates. The external residual telescopes to the external-port budget and cannot localize error; the assembler enforces neither interface-flux continuity nor global balance. Unmatched hardware precludes a normalized speedup claim.
Conclusion
Across three seeds, auxiliary objectives improve primitive composite scores and divergence, while Full reduces assembled component-residual and interface-mismatch RMS. Yet Full raises mean external residual from 17.49% to 26.77%; such gains do not ensure lower whole-tree field error or imbalance. Frozen primitive operators are useful diagnostics, but reliable composition requires conservative interface coupling, global projection, or iterative correction rather than local regularization alone.
Additional material
Broader impacts. Faster reusable flow surrogates could reduce the computational cost of exploratory scientific simulation. However, the present model is not clinically validated, and its pressure and conservation errors could lead to unsafe conclusions if used for diagnosis, treatment planning, or device design without independent CFD or experimental verification.
Primitive dataset construction and splits
The dataset contains 4,872 geometry–operating-point cases rather than 4,872 necessarily distinct geometries: multiple operating speeds can share one original-template group. Family, source, split, and port-supervision counts are given in Table 4.
| Family | Legacy/pilot | Train/val/test cases | Train/val/test groups | Port-supervised train/val/test |
| Tube | 1000/0 | 700/148/152 | 175/37/38 | 0/0/0 |
| Y2 | 1982/180 | 1523/326/313 | 351/76/73 | 132/24/24 |
| Y3 | 1566/144 | 1189/263/258 | 280/61/59 | 96/24/24 |
| Total | 4548/324 | 3412/737/723 | – | 228/48/48 |
Table 4. Audited primitive dataset composition and leakage-safe splits. Entries are case or original-template-group counts.
The split-by-source case counts are Tube: 700/148/152 legacy; Y2: 1,391+132, 302+24, and 289+24 legacy+pilot for train, validation, and test; and Y3: 1,093+96, 239+24, and 234+24. The grouping key is the original legacy template identifier, and every group is assigned to exactly one split. When a pilot case reuses a legacy template, the authoritative pilot assignment is propagated to the matching legacy cases. This required 32 Y2 and 8 Y3 legacy split-label overrides. Direct intersections of the train, validation, and test group sets are empty for Tube, Y2, and Y3; cases are not independently split point samples.
Field sampling and normalization. Every prepared case stores 1,024 field points. Legacy cases retain their frozen prepared samples. Pilot points are sampled deterministically and uniformly with respect to triangle area, followed by interpolation of the CFD fields. At each training epoch, 256 stored field points are randomly selected per case, and 64 points are selected independently for divergence. Frozen primitive-test evaluation uses all 1,024 field points and 256 divergence points per case.
Branch-feature normalization uses population means and standard deviations fitted across training cases only. Target-channel population means and standard deviations are fitted across all 1,024 spatial samples of the training cases only. The same training-fitted statistics are applied without refitting to validation and test cases.
Port supervision. Only pilot branch cases provide port supervision: Y2 has 180 supervised cases split 132/24/24, Y3 has 144 split 96/24/24, and Tube has none. Legacy Y2/Y3 port losses are masked because exact port geometry is unavailable. Primitive supervision uses 32-point fixed-order arclength midpoint quadrature on tagged, mesh-realized CFD caps. Whole-tree inference instead uses 32-point Gauss–Legendre quadrature on exact analytic interfaces; these are distinct quadrature procedures.
Loss, score, and metric definitions
Standardized field loss and auxiliary objective. For output channel , training uses
so the three standardized channels receive equal pointwise weight. Here field points are sampled per training case; the 64 divergence points are sampled independently. The auxiliary schedule is
and therefore reaches full weight at epoch 60. The implemented Full objective is
For case and sampled point ,
For outward-signed port fluxes,
and
The pressure term supervises the learned outlet pressure against the stored primitive-CFD port target:
Here is the quadrature-weighted mean of the learned pressure field and is the stored CFD port-pressure target. The training loss does not use , does not form , and does not supervise inlet pressure. Port losses apply only to the pilot Y2/Y3 cases described in Appendix § 6.§ 1. Data uses only , Div uses , and Full uses all four auxiliary terms.
Training allowed at most 300 epochs, evaluated validation metrics every five epochs, used a minimum learning rate of , and stopped after 60 epochs without an improvement of at least ; the learning-rate scheduler patience was six validation evaluations.
Common primitive audit score. The reported Score column is the post-training audit quantity
where the field and divergence terms are evaluated on the frozen audit points. For validation, selection, and diagnostic auditing, the evaluation-only analytic decoder is
Its error diagnostic is
It is not a network pressure output, does not replace , and is not used for tree pressure-gauge alignment. For Tube, all three port terms are absent. When both data sources exist, a bar denotes source-balanced averaging,
Tube has only the legacy mean, and port metrics use only port-supervised pilot cases. Training checkpoints used their variant-specific validation objectives, whereas the reported primitive audit score applies one common post-training definition; the two quantities should not be interpreted as identical.
Primitive metrics and uncertainty. For primitive case , the physical-unit velocity error is
and the reported value is its source-balanced mean. Primitive pressure uses training-set standardization without a fitted gauge shift,
The reported pressure value is the source-balanced mean of . The reported divergence is the source-balanced mean of per-case dimensionless divergence MSE. The table reports , , and the -decoder NRMSE . Frozen testing uses 1,024 field and 256 divergence points per case.
Confidence intervals are percentile 95% intervals from exactly 2,000 source-stratified, nonparametric geometry-group bootstrap replicates. Within each source, geometry/template groups are sampled with replacement and all cases in a selected group are retained. They quantify held-out group variability for each fixed checkpoint, not training-seed uncertainty or paired model-difference significance.
Whole-tree field metrics and pressure gauge. The frozen query grid has 0.2-mm spacing and constant cell-area weights
The velocity-vector and speed errors are
Exactly one scalar pressure offset is fitted over the complete tree,
The reported gauge-adjusted pressure RelL2 and MAE are
The same applies to the entire tree; component-wise CFD-fitted shifts are prohibited. Velocity is neither rescaled nor corrected, and the evaluation-only -decoder diagnostic is not used for pressure alignment.
Whole-tree CFD reference simulations
Scope and governing equations. This subsection documents only the three final L45 monolithic-tree CFD references: normal, approximately 30% stenosis, and approximately 30% dilation. They solve steady, two-dimensional, incompressible Newtonian Navier–Stokes flow,
The material parameters are and . The convective term is retained, and no physical body force is applied.
Software, discretization, and licenses. The three solves used FEniCSx/DOLFINx 0.10.0.post2 [2], Python 3.12.3, UFL 2025.2.1 [1], Basix 0.10.0, PETSc and petsc4py 3.19.6, mpi4py 3.1.5, and meshio 5.3.5 on one MPI rank. The Taylor–Hood discretization uses vector continuous Lagrange velocity and scalar continuous Lagrange pressure on first-order triangular geometry, without stabilization. No quadrature degree was set manually; FEniCSx/FFCx defaults were used. Gmsh generated the meshes [4]. The post-run snapshot of the original CFD environment contained Gmsh 4.15.2; an independently archived pre-run lock file proving its exact run-time version was not retained.
The neural implementation used PyTorch 2.11.0+cu128 [12]. Table 5 records the verified licenses of the major direct software assets. No external pretrained model or external patient dataset is used.
| Software | Recorded version | Purpose | License |
| DOLFINx | 0.10.0.post2 | Whole-tree finite-element solve | LGPL-3.0-or-later |
| UFL | 2025.2.1 | Weak-form specification | LGPL-3.0-or-later |
| Gmsh | 4.15.2 post-run snapshot | Mesh generation | GPL-2.0-or-later with the Gmsh linking exception |
| PyTorch | 2.11.0+cu128 | Neural training and inference | BSD-3-Clause |
| PETSc/petsc4py | 3.19.6 | Linear algebra and solver interface | BSD-2-Clause |
| Basix | 0.10.0 | Finite-element definitions | MIT |
Table 5. Recorded software versions, purposes, and verified licenses.
Boundary conditions. The inlet uses the two-dimensional parabolic profile
Here , , and . Thus and . The reported bulk Reynolds number is
All seven terminals use prescribed smooth parabolic outward-normal velocity profiles, not pressure outlets or uniform profiles:
The prescribed target flows are listed in Table 6.
| Terminal | |
| outlet_L1 | |
| outlet_L2 | |
| outlet_R0 | |
| outlet_R1 | |
| outlet_R2 | |
| outlet_R3 | |
| outlet_R4 |
Table 6. Prescribed terminal target flows for the final whole-tree CFD references.
They satisfy
All walls are no-slip. The parabolic opening profiles vanish at their endpoints, so no separate corner correction was used. With , outlet flow is positive and the raw inlet outward flux is negative.
Pressure reference. The CFD pressure null space was removed by fixing the pressure degree of freedom nearest the inlet centre to 0 Pa. No zero-mean pressure constraint or PETSc pressure-null-space object was used, and no post-solution shift was applied to the saved CFD field. The saved CFD pressure was not shifted during the solve. The single tree-wide scalar pressure alignment used for error scoring is a separate evaluation operation; no component-wise CFD-fitted shifts are permitted.
Nonlinear and linear solution. Picard fixed-point iteration started from , without continuation, ramping, or line search. It used at most 100 iterations, under-relaxation , and the criterion
The relaxed state update was
The linear configuration was PETSc preonly with LU factorization, requesting MUMPS when available and otherwise SuperLU_DIST. The selected factorization backend was not retained.
Mesh and mesh-independence study. Gmsh generated metre-based, first-order triangular meshes using Mesh.Algorithm = 6 and MSH 2.2 ASCII output, with no boundary-layer elements and with local terminal refinement. L45 targets approximately 45 boundary elements across the smallest terminal diameter:
The generated meshes contained approximately 47 boundary elements across the smallest terminal. Their sizes are reported in Table 7.
| Case | Points | Triangles |
| Normal | 178,313 | 344,886 |
| Stenosis | 188,823 | 365,670 |
| Dilation | 201,786 | 391,607 |
Table 7. Final L45 whole-tree CFD meshes.
Mesh independence was assessed using the maximum relative L40-to-L45 change among the seven inlet-to-outlet pressure drops, with a predefined threshold below 1%. The changes were 0.0001882% for normal, 0.0003814% for stenosis, and 0.0002722% for dilation; this was not a comparison with an analytical solution.
Numerical conservation and exported fields. Finite-element boundary integration gave final mass imbalances of , , and for normal, stenosis, and dilation, respectively, using
These numerical values come from finite-element boundary integration, not merely the analytical target-flow sum. Velocity was solved in vector , then interpolated to vector for the exported nodal arrays. Pressure was solved in scalar and reordered to the Gmsh vertex ordering. Paper field comparisons use these exported nodal velocity and pressure fields. Boundary fluxes were integrated from the original finite-element velocity, not the exported visualization field. Mean boundary pressure was computed as
Timing and remaining provenance limits. The normal, stenosis, and dilation Picard-loop times were 498.52 s, 512.42 s, and 588.23 s, respectively, on one MPI rank. Timing began immediately before the Picard loop and stopped after the nonlinear solve; it excludes mesh generation, initial mesh loading, complete boundary-condition setup, post-processing, and NPZ/VTU writing. These unmatched-hardware timings are not compared directly with neural CPU inference and do not support a hardware-normalized speedup claim.
The supplied records do not retain the CFD CPU model or core count, RAM or peak memory, exact LU backend selected, exact pressure-gauge coordinates, nonlinear iteration counts, total-script times, solver or mesh hashes, or exact integrated per-port final flows.
Whole-tree operating-input provenance
Let denote the prescribed terminal outlets downstream of component . Its conditioning inflow is
where is the exact operator-compatible inlet radius and the second identity follows from the two-dimensional parabolic profile. These quantities were constructed from boundary-condition metadata before any monolithic solution field was opened and were not imposed on the predicted velocity.
Resistance inputs were neither obtained from whole-tree solution fields nor computed by recursive resistance reduction. For each target component, resistance entries were copied together from one training-split row selected by nearest standardized geometry and inlet-speed features. Y2 and Y3 matching additionally used an equally weighted normalized-conductance split-proxy block. The proxy was used only to select a plausible conditioning row and was not treated as a terminal-flow predictor. The target geometry and were retained exactly.
The input-support audit placed all target features within their training-split marginal ranges except for the root_tube_2 and root_tube_3 instances in the stenosis condition. These are controlled marginal extrapolations; joint-distribution support and arbitrary-topology generalization are not claimed.
Detailed primitive and tree results
The original Selected Tube, Y2, and Y3 operators were fixed using validation data before primitive-test access, and their original Selected primitive metrics were evaluated blind. Data, Div, and Full in the primitive audit were evaluated post hoc, after primitive-test and monolithic-tree CFD solution-field unblinding, using already frozen checkpoints. They did not alter checkpoints, blend weights, selection, hyperparameters, or the original blind deployment. Reconstructing the Selected Y2/Y3 blends reproduced every frozen aggregate metric and 2,000-replicate bootstrap interval exactly (maximum absolute difference = 0). All five protected source/result artifacts and both Div checkpoints remained unchanged.
The tree audit likewise fixes the selected refined Tube operator in every row and uses pre-existing primitive-validation checkpoints for Y2 and Y3. The reconstructed Selected tree arrays are bitwise identical to the original blind prediction arrays, and all original prediction and evaluation hashes remain unchanged.
Three-seed sensitivity protocol. Before seeds 2027 and 2028 were trained or evaluated, the sensitivity registry froze seeds 2026–2028, Data/Div/Full configurations, validation-only checkpoint selection, matched Y2/Y3 deployment, evaluation order, and output locations. For each seed and variant, Y2 and Y3 use matching validation-selected checkpoints, while the selected Tube operator is fixed in every tree run. All 18 primitive checkpoints and 27 tree deployments were evaluated without test- or tree-result-based substitution. Seed-2026 tree predictions reproduce the previous post-hoc Data/Div/Full arrays bit-for-bit. Table 2–3 report mean sample standard deviation across seeds; controlled tree conditions are first averaged within a seed and are not statistical replicates. The detailed tables and figures below retain the original seed-2026 audit unless explicitly identified otherwise.
Table 2: Primitive sensitivity. Data/Div/Full: mean sample SD over seeds 2026–2028; †: original validation-fixed seed-2026 Selected point estimate. Lower is better.
| Family | Variant | Score | Vel. | Div. | Flux | Bal. |
| Tube | Sel.† | 0.269 | 0.337 | 0.078 | – | – |
| Y2 | Data | 0.437 0.024 | 0.406 0.006 | 1.926 0.326 | 0.158 0.028 | 0.302 0.039 |
| Div | 0.323 0.008 | 0.397 0.007 | 0.287 0.082 | 0.124 0.006 | 0.250 0.022 | |
| Full | 0.320 0.009 | 0.403 0.014 | 0.183 0.054 | 0.127 0.014 | 0.181 0.044 | |
| Sel.† | 0.310 | 0.381 | 0.171 | 0.126 | 0.232 | |
| Y3 | Data | 0.417 0.027 | 0.434 0.024 | 2.352 0.195 | 0.149 0.012 | 0.252 0.065 |
| Div | 0.314 0.046 | 0.434 0.037 | 0.537 0.397 | 0.173 0.012 | 0.244 0.031 | |
| Full | 0.307 0.046 | 0.420 0.041 | 0.589 0.274 | 0.127 0.037 | 0.178 0.051 | |
| Sel.† | 0.325 | 0.421 | 1.075 | 0.139 | 0.211 |
Table 2. Score: common primitive audit; Vel.: vector RelL2; Div.: dimensionless MSE; Flux: relative RMSE; Bal.: component RMS. Definitions: Appendix § 6.§ 2; seed-level values and intervals: Appendix § 6.§ 5.
Table 8: Seed-2026 primitive test audit. Score is the common post-training audit metric defined in Appendix § 6.§ 2. Selected rows reproduce the original blind evaluation; Data, Div, and Full are secondary post-hoc diagnostics of frozen checkpoints. All metrics are lower-is-better.
| Family | Variant | Score | Velocity | Pressure | Divergence | Flux | Balance | dec. |
| Tube | Fixed Sel. | 0.269178 | 0.337450 | 0.083064 | 0.077469 | – | – | |
| Y2 | Data | 0.464965 | 0.408830 | 0.398393 | 1.860018 | 0.182180 | 0.346551 | 0.091558 |
| Y2 | Div | 0.328721 | 0.396934 | 0.332981 | 0.193215 | 0.131076 | 0.258782 | 0.067785 |
| Y2 | Full | 0.309975 | 0.387806 | 0.353782 | 0.121270 | 0.121437 | 0.213957 | 0.079152 |
| Y2 | Selected | 0.310178 | 0.381449 | 0.346766 | 0.171014 | 0.125744 | 0.231625 | 0.067719 |
| Y3 | Data | 0.389745 | 0.418063 | 0.268420 | 2.224966 | 0.137017 | 0.176431 | 0.113189 |
| Y3 | Div | 0.367250 | 0.476292 | 0.279453 | 0.982131 | 0.186244 | 0.212262 | 0.111624 |
| Y3 | Full | 0.358716 | 0.467224 | 0.259273 | 0.895990 | 0.167268 | 0.236334 | 0.145284 |
| Y3 | Selected | 0.324784 | 0.420967 | 0.239259 | 1.074812 | 0.136863 | 0.210766 | 0.125023 |
Table 8.
Figure A1 provides the corresponding visual comparison.
Figure A1. Seed-2026 primitive test audit for the frozen branching operators. Panel (a) compares primitive audit score, velocity, pressure, port-flux, component-balance, and evaluation-only -decoder errors for Data, Div, Full, and Selected on Y2 and Y3; all metrics are lower-is-better. Panel (b) shows divergence MSE on a logarithmic scale, with the fixed Selected Tube divergence as a reference. Selected reproduces the blind evaluation; Data, Div, and Full are post-hoc diagnostics of frozen checkpoints. Exact values are reported in Table 8.
Table 9: Seed-2026 marginal 95% intervals from 2,000 source-stratified template/group bootstrap replicates. They quantify held-out geometry-group variability for each fixed checkpoint, not training-seed uncertainty. Paired-difference intervals were not computed, so disjoint marginal intervals are not called statistically significant. Audit-score and divergence intervals are disjoint in both families; Y3 velocity intervals overlap.
| Family | Metric | Data 95% interval | Selected 95% interval |
| Y2 | Audit score | [0.372584, 0.557496] | [0.270228, 0.349891] |
| Y2 | Divergence | [1.747966, 1.980354] | [0.158439, 0.184643] |
| Y2 | Velocity | [0.397353, 0.420415] | [0.376390, 0.386641] |
| Y3 | Audit score | [0.369387, 0.411504] | [0.290133, 0.360052] |
| Y3 | Divergence | [2.034604, 2.418207] | [0.992298, 1.158008] |
| Y3 | Velocity | [0.398465, 0.438081] | [0.402319, 0.439646] |
Table 9.
Figure A2 visualizes these marginal intervals.
Figure A2. Marginal 95% bootstrap intervals for Data and Selected on held-out Y2 and Y3 geometries. Intervals use 2,000 source-stratified template/group bootstrap replicates and quantify held-out geometry-group variability for each fixed checkpoint. They do not measure training-seed uncertainty and are not paired-difference confidence intervals. Lower values are better; exact endpoints are reported in Table 9.
Table 10: Controlled pathology responses for the primary seed-2026 Selected deployment.
| Response | Prediction | CFD |
| Stenosis (m/s) | +0.04508 | +0.03986 |
| Stenosis (Pa) | +0.05550 | +0.07433 |
| Dilation (Pa) | −0.02690 | −0.02697 |
Table 10.
The corresponding CFD and Selected response pairs are shown in Figure A3.
Figure A3. Controlled pathology responses of the frozen Selected deployment relative to the normal tree. Panel (a) shows the change in maximum velocity under approximately 30% stenosis. Panel (b) shows lesion-pressure changes under stenosis and dilation. Gray circles denote CFD and green diamonds denote the Selected prediction; the dilation pressure-response markers are nearly coincident. Exact values are given in Table 10.
Figure A4 shows the per-condition field metrics.
Figure A4. Per-condition whole-tree field errors for the frozen Data, Div, Full, and Selected branching variants with the same fixed Tube operator. Panels report (a) velocity-vector Rel, (b) speed Rel, (c) pressure Rel, and (d) pressure MAE. Values are descriptive results for the three controlled same-topology conditions (Normal, approximately 30% stenosis, and approximately 30% dilation), not independent replicate samples. Exact values are listed in Table 11.
| Model | Condition | Velocity Rel | Speed Rel | Pressure Rel | Pressure MAE (Pa) |
| Selected | Normal | 0.59360 | 0.37563 | 0.82877 | 0.084993 |
| Selected | Stenosis30 | 0.55423 | 0.34829 | 0.80073 | 0.094035 |
| Selected | Dilation30 | 0.60231 | 0.36982 | 0.84015 | 0.079662 |
| Data | Normal | 0.53377 | 0.36139 | 0.84677 | 0.087219 |
| Data | Stenosis30 | 0.49765 | 0.33473 | 0.81802 | 0.096390 |
| Data | Dilation30 | 0.53797 | 0.35405 | 0.85835 | 0.081642 |
| Div | Normal | 0.55936 | 0.36752 | 0.83894 | 0.085989 |
| Div | Stenosis30 | 0.52187 | 0.34057 | 0.81049 | 0.095115 |
| Div | Dilation30 | 0.56555 | 0.36085 | 0.85042 | 0.080588 |
| Full | Normal | 0.61839 | 0.37154 | 0.82326 | 0.084391 |
| Full | Stenosis30 | 0.57765 | 0.34439 | 0.79544 | 0.093395 |
| Full | Dilation30 | 0.62885 | 0.36531 | 0.83458 | 0.079119 |
Table 11. Complete seed-2026 per-case whole-tree field metrics.
Fixed-Tube and branching-only conservation attribution
This subsection is a secondary post-hoc attribution of the seed-2026 arrays; the three-seed robustness result in Table 3 uses all nine components and all eight interfaces.
The composed graph contains four Tube components followed by five Y2/Y3 components, with three Tube–Tube interfaces, one mixed Tube–Y2 interface, four branch–branch interfaces, and eight external ports. Every audited deployment uses the same protected Tube checkpoint; consequently, Tube residuals are identical across Data, Div, Full, and Selected for a fixed condition.
For each deployment, the complete external-port flux vector is bitwise identical across normal, stenosis, and dilation (maximum absolute difference = 0; array_equal=True). Branch-component RMS, branch–branch interface RMS, and the external boundary residual are therefore each reported once per deployment rather than averaged over the controlled conditions. Field errors remain descriptive means because they vary by condition. The single mixed Tube–Y2 edge is condition-dependent and is not averaged as a pure branching-operator statistic.
With outward-signed port fluxes,
Each internal port occurs once in the component sum and once in the interface sum and thus cancels. Component RMS diagnoses component-level residual magnitude, interface RMS diagnoses internal connection mismatch, and diagnoses only the external boundary-flux budget; it does not localize internal error. Here it contains no pathology signal because the external-port vectors do not change across conditions.
The decomposition is visualized in Figure A5.
Figure A5. Conservation decomposition under the frozen tree audit, normalized by the prescribed inlet reference . Panel (a) shows branch-component RMS, branch–branch interface RMS, and external boundary residual for the four branching deployments; these quantities are condition-invariant for a fixed deployment. Panel (b) shows fixed-Tube component and Tube–Tube edge terms across the controlled conditions; these are model-independent because every deployment uses the same protected Tube operator. Panel (c) shows the single mixed Tube–Y2 interface, which is condition-dependent. Exact values are reported in Table 12.
| Model | Case | Tube Comp. | Branch Comp. | Tube Edge | Mixed Edge | Branch Edge | External |
| Data | Normal | 13.608 | 10.830 | 10.720 | 31.214 | 11.201 | 21.266 |
| Data | Stenosis | 22.567 | 10.830 | 16.381 | 40.063 | 11.201 | 21.266 |
| Data | Dilation | 24.742 | 10.830 | 15.273 | 7.824 | 11.201 | 21.266 |
| Div | Normal | 13.608 | 10.640 | 10.720 | 8.379 | 6.147 | 39.685 |
| Div | Stenosis | 22.567 | 10.640 | 16.381 | 17.229 | 6.147 | 39.685 |
| Div | Dilation | 24.742 | 10.640 | 15.273 | 15.011 | 6.147 | 39.685 |
| Full | Normal | 13.608 | 2.227 | 10.720 | 6.178 | 3.618 | 23.147 |
| Full | Stenosis | 22.567 | 2.227 | 16.381 | 15.028 | 3.618 | 23.147 |
| Full | Dilation | 24.742 | 2.227 | 15.273 | 17.212 | 3.618 | 23.147 |
| Selected | Normal | 13.608 | 1.752 | 10.720 | 11.186 | 4.986 | 22.676 |
| Selected | Stenosis | 22.567 | 1.752 | 16.381 | 20.035 | 4.986 | 22.676 |
| Selected | Dilation | 24.742 | 1.752 | 15.273 | 12.205 | 4.986 | 22.676 |
Table 12. Secondary seed-2026 conservation decomposition normalized by . Tube Comp. and Tube Edge contain the fixed Tube-chain contributions; Branch Comp. covers five Y2/Y3 components; Mixed Edge is the single Tube–Y2 interface; and Branch Edge covers four branch–branch interfaces. Branch-component, branch-edge, and external values are identical across the three conditions.
The pathology-dependent signed shifts therefore arise entirely from three instances of the shared fixed Tube operator, not from one component. For the dilation case, ; the equal internal-edge-sum shift cancels it from the external boundary residual.
Figure A6 shows this signed cancellation.
Figure A6. Signed pathology-minus-normal conservation shifts, expressed as percentages of . Panels (a) and (b) show stenosis–normal and dilation–normal, respectively. Pathology-dependent shifts arise from the shared fixed Tube instances, while the Y2/Y3 component contribution is unchanged. The component-sum shifts, +1.280% and +36.965%, are matched by equal internal-edge-sum shifts, so in both controlled conditions. The omitted root Tube has zero pathology-dependent change. Exact values are reported in Table 13.
| Component/group | Stenosis–normal | Dilation–normal |
| root_tube_0 | 0.000 | 0.000 |
| root_tube_1 | +14.947 | −18.034 |
| root_tube_2 | +15.348 | +26.293 |
| root_tube_3 | −29.016 | +28.707 |
| All Y2/Y3 components | 0.000 | 0.000 |
| Component-sum shift | +1.280 | +36.965 |
| Internal-edge-sum shift | +1.280 | +36.965 |
| External-boundary shift | 0.000 | 0.000 |
Table 13. Secondary seed-2026 signed pathology-minus-normal changes as percentages of . Values are identical across Data, Div, Full, and Selected because the pathology modifies only instances of the fixed Tube operator. Equal component- and edge-sum shifts cancel from the telescoping external residual.
Signed whole-tree sums and alternative normalization
For each controlled tree condition, define
RMS values in Table 14 quantify unsigned local discrepancy magnitude, whereas the signed sums reconstruct the external residual. The identity holds up to numerical precision. Data’s smaller external residual in this controlled diagnostic does not imply uniformly smaller local errors. The external/reference column uses the prescribed ; external/predicted-root is included only as an additional normalization and is not the primary paper metric.
| Model | Case | Comp. RMS | Edge RMS | External/reference | External/pred. root | ||
| Selected | Normal | 3.428e-05 | 3.155e-05 | 15.829 | -6.847 | 22.676 | 30.602 |
| Selected | Stenosis | 5.648e-05 | 4.778e-05 | 17.108 | -5.567 | 22.676 | 30.602 |
| Selected | Dilation | 6.188e-05 | 4.072e-05 | 52.794 | 30.119 | 22.676 | 30.602 |
| Data | Normal | 4.542e-05 | 5.643e-05 | -21.180 | -42.446 | 21.266 | 28.699 |
| Data | Stenosis | 6.385e-05 | 7.135e-05 | -19.900 | -41.166 | 21.266 | 28.699 |
| Data | Dilation | 6.868e-05 | 4.699e-05 | 15.785 | -5.480 | 21.266 | 28.699 |
| Div | Normal | 4.507e-05 | 3.146e-05 | 60.084 | 20.399 | 39.685 | 53.556 |
| Div | Stenosis | 6.360e-05 | 4.681e-05 | 61.363 | 21.678 | 39.685 | 53.556 |
| Div | Dilation | 6.845e-05 | 4.338e-05 | 97.049 | 57.364 | 39.685 | 53.556 |
| Full | Normal | 3.449e-05 | 2.759e-05 | 26.413 | 3.266 | 23.147 | 31.238 |
| Full | Stenosis | 5.661e-05 | 4.352e-05 | 27.692 | 4.545 | 23.147 | 31.238 |
| Full | Dilation | 6.200e-05 | 4.281e-05 | 63.378 | 40.231 | 23.147 | 31.238 |
Table 14. Secondary seed-2026 whole-tree aggregate residual magnitudes, signed sums, and alternative normalizations. Aggregate RMS mixes four fixed Tube and five branching components and all eight internal interfaces; it is retained only for completeness. RMS values are in flow units; signed and external columns are percentages.
Figure A7 summarizes how model ordering changes between local and whole-tree metrics.
Figure A7. Secondary seed-2026 cross-scale change relative to the Data branching deployment. For each lower-is-better metric, the plotted quantity is , so positive values denote improvement over Data and negative values denote degradation. Auxiliary objectives substantially improve primitive audit score and local branching conservation metrics, whereas the same ordering does not transfer to whole-tree velocity error or the external boundary residual. Data defines the zero baseline. This is a visualization of the frozen post-hoc audit and does not introduce an additional evaluation or model-selection criterion.
Code availability. Upon acceptance, we will release the complete training, evaluation, composition, and figure-generation implementation in a public GitHub repository, together with environment specifications and reproduction instructions.
References
- [1]Martin S. Alnæs, Anders Logg, Kristian B. Ølgaard, Marie E. Rognes, and Garth N. Wells. Unified form language: A domain-specific language for weak formulations of partial differential equations. ACM Transactions on Mathematical Software, 40(2):9:1–9:37, 2014. doi: 10.1145/2566630. URL https://doi.org/10.1145/2566630.
- [2]Igor A. Baratta, Joseph P. Dean, Jørgen S. Dokken, Michal Habera, Jack S. Hale, Chris N. Richardson, Marie E. Rognes, Matthew W. Scroggs, Nathan Sime, and Garth N. Wells. DOLFINx: The next generation FEniCS problem solving environment, 2023. URL https://doi.org/10.5281/zenodo.10447666.
- [3]Martin J. Gander. Optimized Schwarz methods. SIAM Journal on Numerical Analysis, 44(2):699–731, 2006. doi: 10.1137/S0036142903425409. URL https://doi.org/10.1137/S0036142903425409.
- [4]Geuzaine, C., & Remacle, J.-F. (2009). Gmsh: A three-dimensional finite element mesh generator with built-in pre- and post-processing facilities. International Journal for Numerical Methods in Engineering, 79(11), 1309–1331. https://doi.org/10.1002/nme.2579
- [5]Keith Horsfield, Geoffrey Dart, Donald E. Olson, Giles F. Filley, and Gordon Cumming. Models of the human bronchial tree. Journal of Applied Physiology, 31(2):207–217, 1971. doi: 10.1152/jappl.1971.31.2.207. URL https://doi.org/10.1152/jappl.1971.31.2.207.
- [6]Jianing Huang, Kaixuan Zhang, Youjia Wu, and Ze Cheng. Operator learning with domain decomposition for geometry generalization in PDE solving. In International Conference on Learning Representations, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/710445227fa8c1b6a9ceada902dd4741-Paper-Conference.pdf.proceedings.iclr.cc/paper_files/paper/2026/file/710445227fa8c1b6a9ceada902dd4741-Paper-Conference.pdf
- [7]Ameya D. Jagtap, Ehsan Kharazmi, and George Em Karniadakis. Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems. Computer Methods in Applied Mechanics and Engineering, 365:113028, 2020. doi: 10.1016/j.cma.2020.113028. URL https://doi.org/10.1016/j.cma.2020.113028.
- [8]Hiroko Kitaoka, Ryoji Takaki, and Béla Suki. A three-dimensional model of the human airway tree. Journal of Applied Physiology, 87(6):2207–2217, 1999. doi: 10.1152/jappl.1999.87.6.2207. URL https://doi.org/10.1152/jappl.1999.87.6.2207.
- [9]Li, Z., Kovachki, N. B., Azizzadenesheli, K., Liu, B., Bhattacharya, K., Stuart, A., & Anandkumar, A. (2021). Fourier neural operator for parametric partial differential equations. International Conference on Learning Representations. https://openreview.net/forum?id=c8P9NQVtmn0openreview.net/forum?id=c8P9NQVtmn0
- [10]Zongyi Li, Nikola Kovachki, Chris Choy, Boyi Li, Jean Kossaifi, Shourya Otta, Mohammad Amin Nabian, Maximilian Stadler, Christian Hundt, Kamyar Azizzadenesheli, and Anima Anandkumar. Geometry-informed neural operator for large-scale 3D PDEs. In Advances in Neural Information Processing Systems, volume 36, pages 35836–35854, 2023. doi: 10.52202/075280-1556. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/70518ea42831f02afc3a2828993935ad-Paper-Conference.pdf.DOI
- [11]Lu Lu, Pengzhan Jin, Guofei Pang, Zhongqiang Zhang, and George Em Karniadakis. Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators. Nature Machine Intelligence, 3(3):218–229, 2021. doi: 10.1038/s42256-021-00302-5. URL https://doi.org/10.1038/s42256-021-00302-5.
- [12]Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Köp̈f, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. PyTorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems, volume 32, pages 8024–8035, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/bdbca288fee7f92f2bfa9f7012727740-Abstract.html.proceedings.neurips.cc/paper/2019/hash/bdbca288fee7f92f2bfa9f7012727740-Abstract.html
- [13]Rishikesh Ranade, Chris Hill, Lalit Ghule, and Jay Pathak. A composable machine-learning approach for steady-state simulations on high-resolution grids. In Advances in Neural Information Processing Systems, volume 35, pages 17386–17401, 2022. doi: 10.52202/068431-1264. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/6f697c55beafa9049ab8334400dd1ff5-Paper-Conference.pdf.DOI
- [14]Paolo Secchi, Daniel S. Balint, and Marco Maurizi. Neural-Schwarz tiling for geometry-universal PDE solving at scale, 2026. URL https://arxiv.org/abs/2605.12343.
- [15]Sifan Wang, Hanwen Wang, and Paris Perdikaris. Learning the solution operator of parametric partial differential equations with physics-informed DeepONets. Science Advances, 7(40): eabi8605, 2021. doi: 10.1126/sciadv.abi8605. URL https://doi.org/10.1126/sciadv.abi8605.
- [16]Nichula Wasalathilaka, Mervyn Parakrama Ekanayake, and Roshan Godaliyadda. Respgeomlib: A reproducible parametric engine for generating analysis-ready human airway lumen geometry. In 2026 Moratuwa Engineering Research Conference (MERCon), pages 554–559, 2026. doi: 10.1109/MERCon71835.2026.11691379.DOI
- [17]Tao Zhang, Zhenhai Liu, Feipeng Qi, Yongjun Jiao, and Tailin Wu. M2PDE: Compositional generative multiphysics and multi-component PDE simulation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 75638–75666. PMLR, 2025. URL https://proceedings.mlr.press/v267/zhang25bb.html.proceedings.mlr.press/v267/zhang25bb.html







