betaFeedback

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:

local field accuracy⇏globally consistent composition.(1)\text{local field accuracy} \not\Rightarrow\text{globally consistent composition}. \tag*{(1)}

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 T=(V,E)T=(\mathcal{V},\mathcal{E}); component data {ac,Ac,oc,fc}\{a_c,A_c,o_c,f_c\}; frozen {Gf}\{G_f\}

  1. for all c∈Vc\in\mathcal{V} do

  2. (u^c,p^c)←Denorm⁡[Gfc(ac,x~c)](\hat{u}_c,\hat{p}_c)\leftarrow\operatorname{Denorm}[G_{f_c}(a_c,\tilde{x}_c)]

  3. ({Q^c,k,p^ˉc,k}k,rc)←PortAudit⁡(u^c,p^c)(\{\hat{Q}_{c,k},\bar{\hat{p}}_{c,k}\}_k,r_c)\leftarrow\operatorname{PortAudit}(\hat{u}_c,\hat{p}_c)

  4. end for

  5. for all e=(i,j)∈Ee=(i,j)\in\mathcal{E} do

  6. me←Q^i,eout+Q^j,einm_e\leftarrow\hat{Q}^{\mathrm{out}}_{i,e}+\hat{Q}^{\mathrm{in}}_{j,e}

  7. end for

  8. γ⋆←arg⁡min⁡γroot=0 ∑e=(i,j)∈EΔpe(γ)2\gamma^\star\leftarrow\underset{\gamma_{\mathrm{root}}=0}{\arg\min}\ \sum_{e=(i,j)\in\mathcal{E}}\Delta p_e(\gamma)^2

    Δpe=(p^ˉi,eout+γi)−(p^ˉj,ein+γj)\Delta p_e=(\bar{\hat{p}}^{\mathrm{out}}_{i,e}+\gamma_i)-(\bar{\hat{p}}^{\mathrm{in}}_{j,e}+\gamma_j)

  9. (u^g,p^g)←Assemble⁡geom{Acu^c,p^c+γc⋆,oc}c∈V(\hat{u}^{g},\hat{p}^{g})\leftarrow\operatorname{Assemble}_{\mathrm{geom}}\{A_c\hat{u}_c,\hat{p}_c+\gamma_c^\star,o_c\}_{c\in\mathcal{V}}

  10. Rext←∑crc−∑emeR_{\mathrm{ext}}\leftarrow\sum_c r_c-\sum_e m_e

  11. εmass←100∣Rext∣/Qref\varepsilon_{\mathrm{mass}}\leftarrow100|R_{\mathrm{ext}}|/Q_{\mathrm{ref}}

  12. return (u^g,p^g),εmass,{rc},{me}(\hat{u}^{g},\hat{p}^{g}),\varepsilon_{\mathrm{mass}},\{r_c\},\{m_e\}

SettingValue
OperatorsIndependent Tube, Y2, and Y3 DeepONets
NetworkBranch/trunk 4×2564\times256, tanh; rank 128/field
OptimizationAdamW; LR 10−310^{-3} (10−410^{-4} refinement); WD 10−610^{-6}; clip 1.0
Batch / samples8 cases; 256 field and 64 divergence points/case
Schedule20-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 integration32-point midpoint on pilot caps; 32-point Gauss–Legendre at tree interfaces
Frozen selectionTube refine (1); Y2 0.2D45+0.8F850.2D_{45}+0.8F_{85}; Y3 0.3D45+0.7F250.3D_{45}+0.7F_{25}

Table 1. Essential implementation details. D/F: Data/Full; subscripts denote epochs.

Method

Primitive operators. An airway tree is represented as a directed graph T=(V,E)T=(\mathcal{V},\mathcal{E}), whose components are straight Tubes, bifurcations (Y2), or trifurcations (Y3). For component family fcf_c, an independent DeepONet

Gfc:(ac,x~)↦(u^c,p^c)(x)G_{f_c}:(a_c,\tilde{x})\mapsto(\hat{u}_c,\hat{p}_c)(x)

maps geometry, inlet-speed scale, outlet resistances, and normalized local coordinate x~\tilde{x} 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 k∈Pck\in\mathcal{P}_c, with cross-section Γc,k\Gamma_{c,k} and outward normal n\mathbf{n}, the signed flux and neural mean pressure are

Q^c,k=∫Γc,ku^c⋅n ds,p^ˉc,k=1∣Γc,k∣∫Γc,kp^c ds.\hat{Q}_{c,k}=\int_{\Gamma_{c,k}}\hat{\mathbf{u}}_c\cdot\mathbf{n}\,\mathrm{d}s,\qquad \bar{\hat{p}}_{c,k}=\frac{1}{|\Gamma_{c,k}|}\int_{\Gamma_{c,k}}\hat{p}_c\,\mathrm{d}s.

Inlet flux is negative, and rc=∑k∈PcQ^c,kr_c=\sum_{k\in\mathcal{P}_c}\hat{Q}_{c,k} is the component mass residual. The Full model minimizes

L=Lfield+sτ(0.05⟨d2⟩+0.10⟨q2⟩+0.10⟨b2⟩+0.05Lp),(2)\mathcal{L}=\mathcal{L}_{\mathrm{field}}+s_\tau\left(0.05\langle d^2\rangle+0.10\langle q^2\rangle+0.10\langle b^2\rangle+0.05\mathcal{L}_p\right), \tag*{(2)}
ℓc,kp=p^ˉc,k−pˉc,k⋆σp,fc,Lp=⟨(ℓp)2⟩.\ell^p_{c,k}=\frac{\bar{\hat{p}}_{c,k}-\bar{p}^{\star}_{c,k}}{\sigma_{p,f_c}},\qquad \mathcal{L}_p=\langle(\ell^p)^2\rangle.

The field term is equal-weight MSE over standardized ux,uy,pu_x,u_y,p; sτs_\tau is zero through epoch 20 and ramps linearly to one at epoch 60. Lp\mathcal{L}_p 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 R^c,kQ=Rc,kQ^c,k\hat{R}^{Q}_{c,k}=R_{c,k}\hat{Q}_{c,k}, which is not a pressure output, does not replace p^\hat{p}, 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

xg=oc+Acxc,u^g=Acu^c,x^{g}=o_c+A_cx^{c},\qquad\hat{u}^{g}=A_c\hat{u}_c,

where AcA_c and oco_c 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.

Held-out primitive predictions for Tube, Y2, and Y3

Figure 2. Held-out primitive predictions for Tube, Y2, and Y3: CFD and Selected DeepONet fields, velocity-vector error magnitude ∥u^−u∥2\lVert\hat{\mathbf{u}}-\mathbf{u}\rVert_2, and signed pressure error p^−p\hat{p}-p.

For interface e=(i,j)e=(i,j), mem_e is the parent–child flux mismatch. The pressure offsets γc\gamma_c are determined only from neural interface pressures, with γroot=0\gamma_{\mathrm{root}}=0; 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 Rext=∑crc−∑emeR_{\mathrm{ext}}=\sum_c r_c-\sum_e m_e and prescribed-inlet-normalized imbalance ϵmassref=100∣Rext∣/Qinref\epsilon_{\mathrm{mass}}^{\mathrm{ref}}=100|R_{\mathrm{ext}}|/Q_{\mathrm{in}}^{\mathrm{ref}}, where Qinref=3.74×10−4 m2 s−1Q_{\mathrm{in}}^{\mathrm{ref}}=3.74\times10^{-4}\,\mathrm{m}^2\,\mathrm{s}^{-1}, 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 P2/P1P_2/P_1 (vector-quadratic velocity/scalar-linear pressure) at bulk Re=25.6\mathrm{Re}=25.6; the L40–L45 maximum pressure-drop change is below 3.82×10−4%3.82\times10^{-4}\% (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 ±\pm 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 4.5×10−7%4.5\times10^{-7}\% 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 RelL2\mathrm{Rel}L_2 increase by 7.5% and 2.4%, while pressure RelL2\mathrm{Rel}L_2 decreases by only 0.9%. External residual increases from 17.49 ±\pm 4.38% for Data to 26.77 ±\pm 3.65% for Full and is higher for Full in every seed. Div reaches 33.75 ±\pm 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 ±\pm sample SD across seeds 2026–2028. Comp./Edge are 100 RMSc(rc)/Qinref\mathrm{RMS}_{c}(r_c)/Q_{\mathrm{in}}^{\mathrm{ref}} and 100 RMSe(me)/Qinref\mathrm{RMS}_{e}(m_e)/Q_{\mathrm{in}}^{\mathrm{ref}} over all nine components and eight interfaces; External is condition-invariant. Conditions are not statistical replicates.

Caseu RelL2L_2Speed RelL2L_2pp MAE (Pa)Peak speed pred./CFDCPU (s)
Normal0.5940.3760.0850.135/0.1570.209
∼\sim 30% stenosis0.5540.3480.0940.181/0.1970.204
∼\sim 30% dilation0.6020.3700.0800.130/0.1570.215
Variantu RelL2L_2Speed RelL2L_2pp RelL2L_2Comp. RMS (%)Edge RMS (%)External (%)
Data0.498 ±\pm 0.0390.371 ±\pm 0.0180.834 ±\pm 0.01015.55 ±\pm 0.3113.96 ±\pm 1.9517.49 ±\pm 4.38
Div0.523 ±\pm 0.0230.373 ±\pm 0.0140.835 ±\pm 0.00916.21 ±\pm 0.6511.91 ±\pm 0.9733.75 ±\pm 8.74
Full0.535 ±\pm 0.0630.380 ±\pm 0.0170.827 ±\pm 0.00914.44 ±\pm 0.7411.64 ±\pm 1.4826.77 ±\pm 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; n=3n = 3 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.

FamilyLegacy/pilotTrain/val/test casesTrain/val/test groupsPort-supervised train/val/test
Tube1000/0700/148/152175/37/380/0/0
Y21982/1801523/326/313351/76/73132/24/24
Y31566/1441189/263/258280/61/5996/24/24
Total4548/3243412/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 P1P_1 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 n∈{ux,uy,p}n \in\{u_x,u_y,p\}, training uses

y~ijn=yijn−μnσn,Lfield=13BNx∑i=1B∑j=1Nx∑n=13(y~^ijn−y~ijn)2\widetilde{y}_{ijn}=\frac{y_{ijn}-\mu_n}{\sigma_n}, \qquad\mathcal{L}_{\mathrm{field}}=\frac{1}{3BN_x}\sum_{i=1}^{B}\sum_{j=1}^{N_x}\sum_{n=1}^{3}\left(\widehat{\widetilde{y}}_{ijn}-\widetilde{y}_{ijn}\right)^2

so the three standardized channels receive equal pointwise weight. Here Nx=256N_x = 256 field points are sampled per training case; the 64 divergence points are sampled independently. The auxiliary schedule is

sτ={0,τ≤20,min⁡{(τ−20)/40,1},τ>20,s_{\tau} = \begin{cases} 0, & \tau\le20, \\ \min\{(\tau- 20)/40, 1\}, & \tau> 20, \end{cases}

and therefore reaches full weight at epoch 60. The implemented Full objective is

LFull=Lfield+sτ(0.05Ldiv+0.10Lflux+0.10Lbal+0.05Lp).\mathcal{L}_{\mathrm{Full}} = \mathcal{L}_{\mathrm{field}} + s_{\tau}\left(0.05\mathcal{L}_{\mathrm{div}} + 0.10\mathcal{L}_{\mathrm{flux}} + 0.10\mathcal{L}_{\mathrm{bal}} + 0.05\mathcal{L}_{p}\right).

For case ii and sampled point jj,

dij=LiUi∇⋅u^ij,Li=WiHi,Ldiv=mean⁡i,jdij2.d_{ij} = \frac{L_i}{U_i}\nabla\cdot\hat{\mathbf{u}}_{ij}, \qquad L_i = \sqrt{W_i H_i}, \qquad\mathcal{L}_{\mathrm{div}} = \operatorname{mean}_{i,j} d_{ij}^{2}.

For outward-signed port fluxes,

eikQ=Q^ik−Qik⋆∣Qi,in⋆∣,Lflux=mean⁡i,k(eikQ)2,e^{Q}_{ik} = \frac{\hat{Q}_{ik} - Q^{\star}_{ik}}{\lvert Q^{\star}_{i,\mathrm{in}}\rvert}, \qquad\mathcal{L}_{\mathrm{flux}} = \operatorname{mean}_{i,k}\left(e^{Q}_{ik}\right)^{2},

and

Lbal=mean⁡i(∑kQ^ik∣Qi,in⋆∣)2.\mathcal{L}_{\mathrm{bal}} = \operatorname{mean}_{i}\left(\frac{\sum_k \hat{Q}_{ik}}{\lvert Q^{\star}_{i,\mathrm{in}}\rvert}\right)^{2}.

The pressure term supervises the learned outlet pressure against the stored primitive-CFD port target:

ℓikp=pˉ^ik−pˉik⋆σp,Lp=mean⁡i,k∈out(ℓikp)2.\ell^{p}_{ik} = \frac{\hat{\bar{p}}_{ik} - \bar{p}^{\star}_{ik}}{\sigma_p}, \qquad\mathcal{L}_{p} = \operatorname{mean}_{i,k\in\mathrm{out}}\left(\ell^{p}_{ik}\right)^{2}.

Here pˉ^ik\hat{\bar{p}}_{ik} is the quadrature-weighted mean of the learned pressure field and pˉik⋆\bar{p}^{\star}_{ik} is the stored CFD port-pressure target. The training loss does not use RikR_{ik}, does not form RikQ^ikR_{ik}\hat{Q}_{ik}, and does not supervise inlet pressure. Port losses apply only to the pilot Y2/Y3 cases described in Appendix § 6.§ 1. Data uses only Lfield\mathcal{L}_{\mathrm{field}}, Div uses Lfield+0.05sτLdiv\mathcal{L}_{\mathrm{field}} + 0.05s_{\tau}\mathcal{L}_{\mathrm{div}}, 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 10−510^{-5}, and stopped after 60 epochs without an improvement of at least 10−510^{-5}; the learning-rate scheduler patience was six validation evaluations.

Common primitive audit score. The reported Score column is the post-training audit quantity

Sf=Eˉfield+0.05Eˉdiv+1f∈{Y2,Y3}(0.10Eˉflux+0.10Eˉbal+0.05EˉRQ).S_f = \bar{E}_{\mathrm{field}} + 0.05\bar{E}_{\mathrm{div}} + \mathbb{1}_{f\in\{\mathrm{Y2},\mathrm{Y3}\}}\left(0.10\bar{E}_{\mathrm{flux}} + 0.10\bar{E}_{\mathrm{bal}} + 0.05\bar{E}_{RQ}\right).

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

π^ikRQ=RikQ^ik.\hat{\pi}^{RQ}_{ik} = R_{ik}\hat{Q}_{ik}.

Its error diagnostic is

ERQ=mean⁡i,k∈out(π^ikRQ−pˉik⋆σp)2.E_{RQ} = \operatorname{mean}_{i,k\in\mathrm{out}}\left(\frac{\hat{\pi}^{RQ}_{ik} - \bar{p}^{\star}_{ik}}{\sigma_p}\right)^{2}.

It is not a network pressure output, does not replace p^(x)\hat{p}(x), 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,

zˉ=12[mean⁡i∈legacyzi+mean⁡i∈pilotzi];\bar{z} = \frac{1}{2}\left[\operatorname{mean}_{i\in\mathrm{legacy}} z_i + \operatorname{mean}_{i\in\mathrm{pilot}} z_i\right];

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 ii, the physical-unit velocity error is

Eu,i=[∑j∥u^ij−uij∥22∑j∥uij∥22]1/2,E_{\mathbf{u},i}=\left[\frac{\sum_j\lVert\widehat{\mathbf{u}}_{ij}-\mathbf{u}_{ij}\rVert_2^2}{\sum_j\lVert\mathbf{u}_{ij}\rVert_2^2}\right]^{1/2},

and the reported value is its source-balanced mean. Primitive pressure uses training-set standardization without a fitted gauge shift,

Ep,istd=[1Nx∑j(p^ij−pijσp)2]1/2.E^{\mathrm{std}}_{p,i}=\left[\frac{1}{N_x}\sum_j\left(\frac{\widehat{p}_{ij}-p_{ij}}{\sigma_p}\right)^2\right]^{1/2}.

The reported pressure value is the source-balanced mean of Ep,istdE^{\mathrm{std}}_{p,i}. The reported divergence is the source-balanced mean of per-case dimensionless divergence MSE. The table reports EQ=EfluxE_Q=\sqrt{\mathcal{E}_{\mathrm{flux}}}, Ebal=EbalE_{\mathrm{bal}}=\sqrt{\mathcal{E}_{\mathrm{bal}}}, and the RQRQ-decoder NRMSE ERQ=ERQE_{RQ}=\sqrt{\mathcal{E}_{RQ}}. 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

wj=(0.2×10−3 m)2.w_j=(0.2\times10^{-3}\,\mathrm{m})^2.

The velocity-vector and speed errors are

Eu=[∑jwj∥u^j−uj∥22∑jwj∥uj∥22]1/2,E∣u∣=[∑jwj(∥u^j∥2−∥uj∥2)2∑jwj∥uj∥22]1/2.E_{\mathbf{u}}=\left[\frac{\sum_j w_j\lVert\widehat{\mathbf{u}}_j-\mathbf{u}_j\rVert_2^2}{\sum_j w_j\lVert\mathbf{u}_j\rVert_2^2}\right]^{1/2},\qquad E_{\lvert\mathbf{u}\rvert}=\left[\frac{\sum_j w_j\left(\lVert\widehat{\mathbf{u}}_j\rVert_2-\lVert\mathbf{u}_j\rVert_2\right)^2}{\sum_j w_j\lVert\mathbf{u}_j\rVert_2^2}\right]^{1/2}.

Exactly one scalar pressure offset is fitted over the complete tree,

δ=∑jwj(pj−p^j)∑jwj,p‾w=∑jwjpj∑jwj.\delta=\frac{\sum_j w_j(p_j-\widehat{p}_j)}{\sum_j w_j},\qquad \overline{p}_w=\frac{\sum_j w_jp_j}{\sum_j w_j}.

The reported gauge-adjusted pressure RelL2 and MAE are

Ep=[∑jwj(p^j+δ−pj)2∑jwj(pj−p‾w)2]1/2,MAEp=∑jwj∣p^j+δ−pj∣∑jwj.E_p=\left[\frac{\sum_j w_j(\widehat{p}_j+\delta-p_j)^2}{\sum_j w_j(p_j-\overline{p}_w)^2}\right]^{1/2},\qquad \mathrm{MAE}_p=\frac{\sum_j w_j\lvert\widehat{p}_j+\delta-p_j\rvert}{\sum_j w_j}.

The same δ\delta applies to the entire tree; component-wise CFD-fitted shifts are prohibited. Velocity is neither rescaled nor corrected, and the evaluation-only RQRQ-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,

ρ(u⋅∇)u−∇⋅(2μϵ(u))+∇p=0,∇⋅u=0,ϵ(u)=12(∇u+∇uT).(3)\rho(\mathbf{u}\cdot\nabla)\mathbf{u}-\nabla\cdot(2\mu\boldsymbol{\epsilon}(\mathbf{u}))+\nabla p=0,\qquad\nabla\cdot\mathbf{u}=0,\qquad\boldsymbol{\epsilon}(\mathbf{u})=\frac{1}{2}\left(\nabla\mathbf{u}+\nabla\mathbf{u}^{\mathsf{T}}\right). \tag*{(3)}

The material parameters are ρ=1.225 kg m−3\rho=1.225\ \mathrm{kg}\ \mathrm{m}^{-3} and μ=1.7894×10−5 Pa s\mu=1.7894\times10^{-5}\ \mathrm{Pa}\ \mathrm{s}. 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 P2P_2 velocity and scalar continuous Lagrange P1P_1 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.

SoftwareRecorded versionPurposeLicense
DOLFINx0.10.0.post2Whole-tree finite-element solveLGPL-3.0-or-later
UFL2025.2.1Weak-form specificationLGPL-3.0-or-later
Gmsh4.15.2 post-run snapshotMesh generationGPL-2.0-or-later with the Gmsh linking exception
PyTorch2.11.0+cu128Neural training and inferenceBSD-3-Clause
PETSc/petsc4py3.19.6Linear algebra and solver interfaceBSD-2-Clause
Basix0.10.0Finite-element definitionsMIT

Table 5. Recorded software versions, purposes, and verified licenses.

Boundary conditions. The inlet uses the two-dimensional parabolic profile

u(x)=−ninUmax⁡max⁡(1−η2,0),η=(x−cin)⋅tinRin.\mathbf{u}(\mathbf{x})=-\mathbf{n}_{\mathrm{in}}U_{\max}\max(1-\eta^2,0), \qquad\eta=\frac{(\mathbf{x}-\mathbf{c}_{\mathrm{in}})\cdot\mathbf{t}_{\mathrm{in}}}{R_{\mathrm{in}}}.

Here Umax⁡=0.110 m s−1U_{\max}=0.110\ \mathrm{m\,s^{-1}}, Rin=2.55 mmR_{\mathrm{in}}=2.55\ \mathrm{mm}, and Din=5.10 mmD_{\mathrm{in}}=5.10\ \mathrm{mm}. Thus Umean=(2/3)Umax⁡=0.0733333 m s−1U_{\mathrm{mean}}=(2/3)U_{\max}=0.0733333\ \mathrm{m\,s^{-1}} and Qin=UmeanDin=3.74×10−4 m2 s−1Q_{\mathrm{in}}=U_{\mathrm{mean}}D_{\mathrm{in}}=3.74\times10^{-4}\ \mathrm{m^2\,s^{-1}}. The reported bulk Reynolds number is

Re=ρUmeanDinμ=25.60.\mathrm{Re}=\frac{\rho U_{\mathrm{mean}}D_{\mathrm{in}}}{\mu}=25.60.

All seven terminals use prescribed smooth parabolic outward-normal velocity profiles, not pressure outlets or uniform profiles:

uo=noUmax⁡,omax⁡(1−ηo2,0),Umax⁡,o=1.5QoDo.\mathbf{u}_{o}=\mathbf{n}_{o}U_{\max,o}\max(1-\eta_o^2,0), \qquad U_{\max,o}=\frac{1.5Q_o}{D_o}.

The prescribed target flows are listed in Table 6.

TerminalQo (m2 s−1)Q_o\ (\mathrm{m^2\,s^{-1}})
outlet_L11.17740740740741×10−41.17740740740741\times10^{-4}
outlet_L21.07351851851852×10−41.07351851851852\times10^{-4}
outlet_R04.1555555555556×10−54.1555555555556\times10^{-5}
outlet_R12.2509259259259×10−52.2509259259259\times10^{-5}
outlet_R23.2898148148148×10−53.2898148148148\times10^{-5}
outlet_R32.2509259259259×10−52.2509259259259\times10^{-5}
outlet_R42.9435185185185×10−52.9435185185185\times10^{-5}

Table 6. Prescribed terminal target flows for the final whole-tree CFD references.

They satisfy

∑oQo=3.74×10−4 m2 s−1=Qin.\sum_o Q_o=3.74\times10^{-4}\ \mathrm{m^2\,s^{-1}}=Q_{\mathrm{in}}.

All walls are no-slip. The parabolic opening profiles vanish at their endpoints, so no separate corner correction was used. With QΓ=∫Γu⋅n dsQ_{\Gamma}=\int_{\Gamma}\mathbf{u}\cdot\mathbf{n}\,\mathrm{d}s, outlet flow is positive and the raw inlet outward flux is negative.

Pressure reference. The CFD pressure null space was removed by fixing the P1P_1 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 u0=0\mathbf{u}^0=0, without continuation, ramping, or line search. It used at most 100 iterations, under-relaxation α=0.7\alpha=0.7, and the criterion

Ek=∥uk−uk−1∥2max⁡(∥uk∥2,10−14),Ek<10−8.E_k=\frac{\lVert\mathbf{u}^k-\mathbf{u}^{k-1}\rVert_2}{\max(\lVert\mathbf{u}^k\rVert_2,10^{-14})}, \qquad E_k<10^{-8}.

The relaxed state update was

uprev←0.7unew+0.3uprev.\mathbf{u}_{\mathrm{prev}}\leftarrow0.7\mathbf{u}_{\mathrm{new}}+0.3\mathbf{u}_{\mathrm{prev}}.

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:

Dmin⁡=0.26 mm,hterminal=Dterminal/45.D_{\min}=0.26\ \mathrm{mm},\qquad h_{\mathrm{terminal}}=D_{\mathrm{terminal}}/45.

The generated meshes contained approximately 47 boundary elements across the smallest terminal. Their sizes are reported in Table 7.

CasePointsTriangles
Normal178,313344,886
Stenosis188,823365,670
Dilation201,786391,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 4.50655518×10−7%4.50655518 \times10^{-7}\%, 4.50655503×10−7%4.50655503 \times10^{-7}\%, and 4.50655503×10−7%4.50655503 \times10^{-7}\% for normal, stenosis, and dilation, respectively, using

100∣Qin−∑oQo∣∣Qin∣.100\frac{\left|Q_{\mathrm{in}}-\sum_o Q_o\right|}{\left|Q_{\mathrm{in}}\right|}.

These numerical values come from finite-element boundary integration, not merely the analytical target-flow sum. Velocity was solved in vector P2P_2, then interpolated to vector P1P_1 for the exported nodal arrays. Pressure was solved in scalar P1P_1 and reordered to the Gmsh vertex ordering. Paper field comparisons use these exported P1P_1 nodal velocity and pressure fields. Boundary fluxes were integrated from the original finite-element velocity, not the exported P1P_1 visualization field. Mean boundary pressure was computed as

pˉΓ=∫Γp ds∫Γds.\bar{p}_{\Gamma}=\frac{\int_{\Gamma}p\,\mathrm{d}s}{\int_{\Gamma}\mathrm{d}s}.

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 T(c)\mathcal{T}(c) denote the prescribed terminal outlets downstream of component cc. Its conditioning inflow is

Qc=∑o∈T(c)Qo,Umax⁡,c=3Qc4rc2.Q_c=\sum_{o\in\mathcal{T}(c)}Q_o,\qquad U_{\max,c}=\frac{3Q_c}{4r_c^2}.

where rcr_c 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 1/R1/R proxy was used only to select a plausible conditioning row and was not treated as a terminal-flow predictor. The target geometry and Umax⁡,cU_{\max,c} were retained exactly.

The input-support audit placed all target features within their training-split marginal ranges except Umax⁡,cU_{\max,c} 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 ±\pm 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 ±\pm sample SD over seeds 2026–2028; †: original validation-fixed seed-2026 Selected point estimate. Lower is better.

FamilyVariantScoreVel.Div.FluxBal.
TubeSel.†0.2690.3370.078––
Y2Data0.437 ±\pm 0.0240.406 ±\pm 0.0061.926 ±\pm 0.3260.158 ±\pm 0.0280.302 ±\pm 0.039
Div0.323 ±\pm 0.0080.397 ±\pm 0.0070.287 ±\pm 0.0820.124 ±\pm 0.0060.250 ±\pm 0.022
Full0.320 ±\pm 0.0090.403 ±\pm 0.0140.183 ±\pm 0.0540.127 ±\pm 0.0140.181 ±\pm 0.044
Sel.†0.3100.3810.1710.1260.232
Y3Data0.417 ±\pm 0.0270.434 ±\pm 0.0242.352 ±\pm 0.1950.149 ±\pm 0.0120.252 ±\pm 0.065
Div0.314 ±\pm 0.0460.434 ±\pm 0.0370.537 ±\pm 0.3970.173 ±\pm 0.0120.244 ±\pm 0.031
Full0.307 ±\pm 0.0460.420 ±\pm 0.0410.589 ±\pm 0.2740.127 ±\pm 0.0370.178 ±\pm 0.051
Sel.†0.3250.4211.0750.1390.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.

FamilyVariantScoreVelocityPressureDivergenceFluxBalanceRQRQ dec.
TubeFixed Sel.0.2691780.3374500.0830640.077469––
Y2Data0.4649650.4088300.3983931.8600180.1821800.3465510.091558
Y2Div0.3287210.3969340.3329810.1932150.1310760.2587820.067785
Y2Full0.3099750.3878060.3537820.1212700.1214370.2139570.079152
Y2Selected0.3101780.3814490.3467660.1710140.1257440.2316250.067719
Y3Data0.3897450.4180630.2684202.2249660.1370170.1764310.113189
Y3Div0.3672500.4762920.2794530.9821310.1862440.2122620.111624
Y3Full0.3587160.4672240.2592730.8959900.1672680.2363340.145284
Y3Selected0.3247840.4209670.2392591.0748120.1368630.2107660.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 RQRQ-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.

FamilyMetricData 95% intervalSelected 95% interval
Y2Audit score[0.372584, 0.557496][0.270228, 0.349891]
Y2Divergence[1.747966, 1.980354][0.158439, 0.184643]
Y2Velocity[0.397353, 0.420415][0.376390, 0.386641]
Y3Audit score[0.369387, 0.411504][0.290133, 0.360052]
Y3Divergence[2.034604, 2.418207][0.992298, 1.158008]
Y3Velocity[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.

ResponsePredictionCFD
Stenosis Δumax⁡\Delta u_{\max} (m/s)+0.04508+0.03986
Stenosis Δplesion\Delta p_{\mathrm{lesion}} (Pa)+0.05550+0.07433
Dilation Δplesion\Delta p_{\mathrm{lesion}} (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 RelL2L_2, (b) speed RelL2L_2, (c) pressure RelL2L_2, 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.

ModelConditionVelocity RelL2L_2Speed RelL2L_2Pressure RelL2L_2Pressure MAE (Pa)
SelectedNormal0.593600.375630.828770.084993
SelectedStenosis300.554230.348290.800730.094035
SelectedDilation300.602310.369820.840150.079662
DataNormal0.533770.361390.846770.087219
DataStenosis300.497650.334730.818020.096390
DataDilation300.537970.354050.858350.081642
DivNormal0.559360.367520.838940.085989
DivStenosis300.521870.340570.810490.095115
DivDilation300.565550.360850.850420.080588
FullNormal0.618390.371540.823260.084391
FullStenosis300.577650.344390.795440.093395
FullDilation300.628850.365310.834580.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,

rc=∑k∈∂cQ^c,k,me=Q^i,eout+Q^j,ein,Rext=∑crc−∑eme=∑b∈∂GQ^b.r_c = \sum_{k \in\partial c} \hat{Q}_{c,k}, \qquad m_e = \hat{Q}^{\mathrm{out}}_{i,e} + \hat{Q}^{\mathrm{in}}_{j,e}, \qquad R_{\mathrm{ext}} = \sum_c r_c - \sum_e m_e = \sum_{b \in\partial G} \hat{Q}_b.

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 RextR_{\mathrm{ext}} 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 QinrefQ_{\mathrm{in}}^{\mathrm{ref}}. 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.

ModelCaseTube Comp.Branch Comp.Tube EdgeMixed EdgeBranch EdgeExternal
DataNormal13.60810.83010.72031.21411.20121.266
DataStenosis22.56710.83016.38140.06311.20121.266
DataDilation24.74210.83015.2737.82411.20121.266
DivNormal13.60810.64010.7208.3796.14739.685
DivStenosis22.56710.64016.38117.2296.14739.685
DivDilation24.74210.64015.27315.0116.14739.685
FullNormal13.6082.22710.7206.1783.61823.147
FullStenosis22.5672.22716.38115.0283.61823.147
FullDilation24.7422.22715.27317.2123.61823.147
SelectedNormal13.6081.75210.72011.1864.98622.676
SelectedStenosis22.5671.75216.38120.0354.98622.676
SelectedDilation24.7421.75215.27312.2054.98622.676

Table 12. Secondary seed-2026 conservation decomposition normalized by QinrefQ_{\mathrm{in}}^{\mathrm{ref}}. 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, −18.033671+26.292509+28.706573=36.965410%-18.033671 + 26.292509 + 28.706573 = 36.965410\%; 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 QinrefQ_{\mathrm{in}}^{\mathrm{ref}}. 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 ΔSext=0\Delta S_{\mathrm{ext}} = 0 in both controlled conditions. The omitted root Tube has zero pathology-dependent change. Exact values are reported in Table 13.

Component/groupStenosis–normalDilation–normal
root_tube_00.0000.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 components0.0000.000
Component-sum shift+1.280+36.965
Internal-edge-sum shift+1.280+36.965
External-boundary shift0.0000.000

Table 13. Secondary seed-2026 signed pathology-minus-normal changes as percentages of QinrefQ_{\mathrm{in}}^{\mathrm{ref}}. 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

Scomp=100∑crcQinref,Sedge=100∑emeQinref,Sext=Scomp−Sedge.S_{\mathrm{comp}} = 100 \frac{\sum_c r_c}{Q_{\mathrm{in}}^{\mathrm{ref}}}, \qquad S_{\mathrm{edge}} = 100 \frac{\sum_e m_e}{Q_{\mathrm{in}}^{\mathrm{ref}}}, \qquad S_{\mathrm{ext}} = S_{\mathrm{comp}} - S_{\mathrm{edge}}.

RMS values in Table 14 quantify unsigned local discrepancy magnitude, whereas the signed sums reconstruct the external residual. The identity Scomp−Sedge=SextS_{\mathrm{comp}} - S_{\mathrm{edge}} = S_{\mathrm{ext}} 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 QinrefQ_{\mathrm{in}}^{\mathrm{ref}}; external/predicted-root is included only as an additional normalization and is not the primary paper metric.

ModelCaseComp. RMSEdge RMSScompS_{\mathrm{comp}}SedgeS_{\mathrm{edge}}External/referenceExternal/pred. root
SelectedNormal3.428e-053.155e-0515.829-6.84722.67630.602
SelectedStenosis5.648e-054.778e-0517.108-5.56722.67630.602
SelectedDilation6.188e-054.072e-0552.79430.11922.67630.602
DataNormal4.542e-055.643e-05-21.180-42.44621.26628.699
DataStenosis6.385e-057.135e-05-19.900-41.16621.26628.699
DataDilation6.868e-054.699e-0515.785-5.48021.26628.699
DivNormal4.507e-053.146e-0560.08420.39939.68553.556
DivStenosis6.360e-054.681e-0561.36321.67839.68553.556
DivDilation6.845e-054.338e-0597.04957.36439.68553.556
FullNormal3.449e-052.759e-0526.4133.26623.14731.238
FullStenosis5.661e-054.352e-0527.6924.54523.14731.238
FullDilation6.200e-054.281e-0563.37840.23123.14731.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 100(Data−model)/Data100(\mathrm{Data}-\mathrm{model})/\mathrm{Data}, 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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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

Paper details

vlnc:W_eahppdba
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents