NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Lab-Aware Safety Margins for Data-Driven Structural Capacity Models

Machine learning models now predict how much load a concrete beam or a composite tank can carry far better than design-code formulas do. Yet engineers still cannot put these predictions into design codes, because no one knows how reliable they are for a specimen built and tested somewhere new. The databases behind these models are stitched together from dozens of separate laboratory papers. Each lab has its own test rig, loading rate, curing room, and definition of "failure." Current models treat every specimen as an independent draw from one population and test themselves on random splits. A random split leaves sibling specimens from the same lab in both training and test sets, so the reported accuracy and confidence intervals are likely optimistic for a new lab. That optimism is exactly the risk a code committee covers with a blanket safety factor.

This proposal borrows the central device of medical meta-analysis: split observed variation into a within-study part and a between-study part (written $\tau^2$). We apply it to the ratio of tested capacity to predicted capacity. The claim is that a code's safety margin is mostly a hedge against between-lab variation that nobody has measured. Once that variation is measured, two things follow. The first is an honest lower-bound capacity for a new, unseen lab, which has guaranteed coverage at the level of labs rather than specimens. The second is a decomposition of existing code conservatism into the part that this heterogeneity justifies and the part that is simply excess. We test this on the 563-specimen ultra-high-performance concrete (UHPC) beam shear database and on three smaller multi-source materials datasets.

Core Claim

The quantity that matters for setting a safety margin is not a model's accuracy on a random test split. It is the spread of the model's errors across labs. Consider a fitted capacity predictor $f$. For specimen $i$ tested in lab $j$, define the log capacity ratio

$$\log\frac{V_{ij}}{f(x_{ij})} = \mu + u_j + \varepsilon_{ij}, \qquad u_j \sim N(0,\tau^2),\ \ \varepsilon_{ij} \sim N(0,\sigma_j^2),$$

where $V_{ij}$ is the measured capacity, $x_{ij}$ the specimen's features, $\mu$ the predictor's average bias, $u_j$ the lab's systematic offset, and $\sigma_j^2$ the scatter among specimens within lab $j$. A design lower bound for a specimen from an unseen lab must cover $\tau^2 + \sigma^2$. A bound fitted to pooled residuals implicitly assumes something closer to $\sigma^2$ alone, because labs that contribute many specimens dominate the pool. This weighting problem is the same one random-effects meta-analysis fixes by weighting each study by $1/(\sigma_i^2+\tau^2)$. Conversely, for a fabricator or lab with a qualifying track record, the estimated offset $\hat u_j$ can be shrunk toward the mean and a tighter margin justified. In short, one blanket factor is replaced by a margin that depends on how much is known about where the component comes from.

Relation to Prior Work

The work that motivates this proposal is Machine-Learning-Based Probabilistic Model and Design-Oriented Formula of Shear Strength Capacity of UHPC Beams. It compiles 563 UHPC shear tests from the literature, trains tree ensembles, deep networks, and a weighted stacking ensemble, and builds 95% intervals from empirical residuals. It reports a test $R^2$ of 0.96, a CoV of 0.17, 95.1% empirical coverage, and a distilled formula with $R^2$ of 0.83. It uses random splits, does not model lab clustering, and names multi-laboratory blind validation as an open need. We reuse its database and model families. Our change is to evaluate and calibrate them by lab, so its 95.1% coverage figure becomes the hypothesis we test.

The work that supplies the strongest evidence that lab-level shift matters is Bayesian machine learning for inverse design of ultra-high-performance concrete. It pools four literature sources of UHPC mix designs. A Gaussian process on raw mix proportions scores $R^2=0.91$ on a familiar split but $R^2=-0.06$ on an in-house set with new materials. A version built on physics-based intermediate variables holds $R^2=0.67$. That study concerns material strength and does not quantify $\tau^2$ or tie its results to code margins. We treat its result as evidence that source-level shift can be severe, and we use its five sources as a small but clean leave-one-source-out testbed.

Two papers frame the conservatism being targeted. Prediction of composite pressure vessels’ burst strength through machine learning predicts burst pressure for 24 carbon-fiber tanks across 11 manufacturing configurations, against a code margin of 2.25 times design pressure. It reports a MAPE of 1.46% against 2.42% for a dummy model under leave-one-out validation. Leave-one-out validation still lets specimens from the same configuration inform one another, which is the specimen-versus-cluster issue at small scale. Explainable Machine Learning for Multicomponent Concrete: Predictive Modeling and Feature Interaction Insights pools 9,998 mix records from many Chinese regional labs, reaching XGBoost $R^2=0.91$ without modeling lab effects. It is the largest available test of whether lab-level variance survives at scale. The underprediction literature (for example, single-angle interaction equations underpredicting by more than 50% in Toward the Simplified Design of Single-Angle Beam-Columns) motivates the goal of trimming excess margin. It also warns that some conservatism stems from formula errors, as Amending the Traditional ‘ACI Commentary Jc Method’ and Other Sources shows for slab-column connections, and our decomposition would not fix those.

The statistical machinery comes from evidence synthesis. Random-effects weighting is standard across the clinical meta-analyses in the file. Association of sarcopenic obesity with the risk of all-cause mortality among adults over a broad range of different settings: a updated meta-analysis shows that heterogeneity ($I^2=64.3\%$) largely traced back to differing operational definitions. That finding is our template for treating each lab's failure criterion as a moderator. Leave-One-Out Stable Conformal Prediction gives coverage-guaranteed intervals from a single fit under i.i.d. data. Its guarantee does not cover clustered data. With only tens of labs, refitting per held-out lab is cheap, so we use exchangeability at the lab level instead and keep the stability idea only as an optional speedup.

Research Program

The first step is to rebuild the UHPC shear database with provenance. For every specimen, we recover the source paper, lab, loading protocol, and the stated failure criterion (peak load, a fixed load drop, or a crack or displacement limit). The 563-specimen compilation is drawn from published studies, so this is recoverable but laborious. If the original table is not released, we recompile it from the cited sources and report any count mismatch.

The second step is diagnostic. We train the same model families as Yang et al. and compare random-split performance and residual-interval coverage with leave-one-lab-out performance and coverage. We then estimate $\mu$, $\tau^2$, and $\sigma_j^2$ by restricted maximum likelihood on out-of-fold capacity ratios. We also fit a meta-regression with lab-level moderators (failure criterion, loading rate, specimen scale) to see how much of $\tau^2$ is explained by definitions rather than by unexplained lab artifacts.

The third step builds the bound. We produce two lab-aware lower bounds. One is parametric, using the random-effects predictive distribution above, inflated for uncertainty in $\hat\mu$. The other is distribution-free, using lab-level conformal calibration: compute held-out-lab residuals, weight each lab equally, and take the lower quantile, which gives coverage for a new lab under exchangeability of labs. For known labs, we add an empirical-Bayes shrunk offset $\hat u_j$.

The fourth step translates bounds into a resistance factor, the code multiplier on nominal strength. We compare it to current code provisions and to the 2.25 tank margin. This splits existing conservatism into three parts: the part justified by within-lab scatter, the part justified by between-lab heterogeneity, and the residual excess.

The scope is limited to capacity. The ductility concern Yang et al. raise for plastic-hinge zones is outside this work, and we state that limit plainly in any recommended factor.

Baselines

The naive reference point is the current code provision on the UHPC database, evaluated as the test-to-predicted ratio. It represents the margin practitioners actually use. A proposal that recommends a less conservative factor must show its lower bound sits above this provision while keeping nominal lab-level coverage.

The strongest existing method is the Yang et al. weighted stacking ensemble with residual-based 95% intervals. On random splits they report test $R^2$ 0.96, CoV 0.17, and 95.1% coverage. We rerun it on the same rebuilt database, with the same feature set, model families, and hyperparameter search budget. The only change is that all evaluation and calibration happen under leave-one-lab-out splits, and tuning is nested inside the training labs. Beating it means one of two outcomes. Either its lab-level coverage falls materially below 95% while ours stays within sampling error of nominal, or both reach nominal coverage and ours yields a higher (less conservative) median lower bound.

The ablation that isolates the key ingredient keeps the predictor and conformal procedure fixed and changes only the calibration unit: specimen-level random splits versus lab-level held-out calibration. If the two give the same coverage on held-out labs, between-lab heterogeneity is not doing the work and the central claim fails.

For the mix datasets, the comparison points are the reported compositional Gaussian process ($R^2$ 0.91 in-distribution, −0.06 out of distribution) and the latent-variable version ($R^2$ 0.67) from Bayesian machine learning for inverse design of ultra-high-performance concrete, and XGBoost ($R^2$ 0.91) from Explainable Machine Learning for Multicomponent Concrete: Predictive Modeling and Feature Interaction Insights. For the tanks, it is the 1.46% MAPE ensemble from Prediction of composite pressure vessels’ burst strength through machine learning. No reported result was found on Lacuna for any of these models under leave-one-lab-out or leave-one-configuration-out evaluation, so we produce those numbers ourselves.

Why not just…?

Why not just run leave-one-lab-out cross-validation and stop there? This is the necessary first step, and the proposal includes it. However, it only says how much accuracy drops. It does not produce a lower bound with stated coverage, does not separate lab offsets from within-lab scatter, and cannot justify a tighter margin for a qualified lab. The diagnostic tells us whether there is a problem. The variance decomposition and lab-level calibration turn the answer into a safety factor.

Why not just use the reliability calibration code committees already perform, computing a bias factor and CoV of test-to-predicted ratios and setting the resistance factor from a target reliability? This is the real threat. If labs contribute roughly equal numbers of specimens and the offsets are small, pooled CoV and our $\sqrt{\tau^2+\sigma^2}$ coincide, and our method adds nothing. We run that classical calibration as an additional baseline on the same data. It differs from ours only in pooling versus lab weighting. If its implied factor matches ours on held-out labs, we will report that the existing practice is adequate and that the gain lies only in the shrinkage-based margin for known labs.

Why not just train a stronger or more physics-informed model so the heterogeneity disappears? Better features do reduce source shift; the latent-variable model's 0.67 versus −0.06 shows this. But no model removes lab-specific artifacts such as a different failure criterion or machine stiffness, which are not in the features. Our method sits on top of any predictor. We test it with both raw-feature and physics-informed predictors and report how much $\tau^2$ shrinks between them. A $\tau^2$ near zero for the physics-informed model would mean the better model, not our calibration, is doing the work.

Proposed Experiments

The decisive experiment uses the rebuilt UHPC shear database. We report Yang-style coverage under leave-one-lab-out evaluation, the estimated $\tau^2$ alongside $\sigma^2$, and the share of $\tau^2$ explained by failure-criterion and protocol moderators. We then report held-out-lab coverage and median lower-bound capacity for our parametric and conformal bounds against the baselines above.

The central prediction is twofold. Pooled residual intervals should undercover on held-out labs. Lab-aware bounds should reach nominal coverage while still sitting above the current code provision, which would put a number on how much of the provision's conservatism the heterogeneity does not justify.

Two replications follow. The first uses the five-source UHPC mix data, with each literature source and the in-house set held out in turn. The second uses the 9,998-record concrete dataset, if lab or region identifiers can be recovered. These test whether $\tau^2$ dominates in a small-source setting and whether it persists at scale.

The tank data act as a stress test of the small-cluster limit, with 11 configurations treated as clusters. We expect lab-level bounds there to be wide, and we will report that honestly as evidence of how few clusters suffice before the approach becomes useful.

A secondary check simulates a "qualified lab." We hold out half of a lab's specimens, estimate its shrunk offset from the other half, and verify that the tightened margin keeps coverage on the held-out half.

The project fails cleanly in either of two ways. If $\tau^2$ is negligible relative to $\sigma^2$, specimen-level calibration is fine and the code margin cannot be blamed on lab heterogeneity. If lab-level coverage cannot be achieved with the number of labs available, the method is not yet usable for code calibration.